Skip to content

OpenRouter

Unified API to access and route across many LLMs with usage controls.

Developer tools & APIsFree planAdvanced
Visit openrouter.ai ↗

Overview

OpenRouter provides a single endpoint to try and route between many model providers.

How to get started

For developer tools & apis with OpenRouter.

  1. 1

    Read the quickstart and pricing limits.

  2. 2

    Keep API keys on a server, never in browser code.

  3. 3

    Add rate limits and monitoring before launch.

Starter prompt

Show a minimal server-side example that calls this API and handles errors and retries.

Alternatives to OpenRouter

All alternatives →

Compare:Hugging Face vs OpenRouterOpenRouter vs GroqOpenRouter vs Together AIOpenRouter vs Replicate