OpenRouter
by OpenRouter, Inc. · API service · also known as openrouter.ai
Unified API gateway to hundreds of models from many providers with automatic fallbacks, credit-based pass-through billing, BYOK, free models and data-policy routing
Overview
OpenRouter is a hosted gateway that fronts hundreds of models from many providers behind one API key and one endpoint. Requests use an OpenAI-compatible schema (plus a native Responses-style endpoint), so the OpenAI SDK works by changing the base URL, and thin TypeScript and Python client SDKs and an agent SDK with tool loops are also offered. The service routes each request to a provider, falls back automatically on errors, exposes latest aliases that resolve to the newest model in a family, and lets callers constrain routing by data policy, region or provider. A models endpoint lists everything available, and a hosted MCP server lets coding assistants query live catalog data.
Billing is credit-based: inference is charged at the provider's list price and a platform fee applies when credits are purchased, with bring-your-own-key use billed by the provider directly. A Free plan grants access to free models with daily caps; Standard adds the full catalog and spend controls; Business adds EU or US in-region routing and workload identity; Enterprise adds private endpoints, SSO and contractual terms. OpenRouter is useful for comparing models or hedging against provider outages, at the cost of an extra hop, an intermediary in the data path (logging is configurable) and dependence on third-party capacity.
Capabilities
- Single API key and endpoint for hundreds of models
- Automatic fallbacks and provider routing with data-policy and region constraints
- OpenAI-compatible schema plus native SDKs and an agent SDK
- Credit-based pass-through pricing and BYOK
- Free models with daily caps
- Models endpoint and hosted MCP server for catalog data
Typical workflows
- Benchmark several providers' models with one client
- Add provider fallback to a production assistant
- Route EU workloads in-region on the Business plan
Strengths
- Broadest model catalog from one account
- No provider markup on inference
- Easy migration via OpenAI compatibility
Limitations
- Extra network hop and intermediary in the data path
- Platform fee on credit purchases
- Model availability depends on upstream providers
Prerequisites
- OpenRouter account with credits or BYOK keys
Who it is for
- Developers comparing or hedging across providers
- Teams wanting one bill for many models
- Hobbyists using free models
Alternatives & comparison
- Claude Platform
Anthropic's developer platform for the Claude models: Messages API, tool use, structured outputs, prompt caching, batch processing and Managed Agents, plus cloud availability
ProprietaryUsage-based - Gemini API
Google's developer API for the Gemini model family, keyed from Google AI Studio, with function calling, Search grounding, Live API, image and video generation and a free tier
ProprietaryFreemium - GroqCloud
Low-latency hosted inference API for open-weight models on Groq's LPU hardware, OpenAI-compatible, with speech-to-text, text-to-speech, tool use and batch tiers
ProprietaryUsage-based - LiteLLM
Open-source Python SDK and self-hosted AI gateway that calls 100+ LLM providers in the OpenAI format, with routing, fallbacks, virtual keys, budgets, spend tracking and logging callbacks
MixedOpen source - OpenAI API
OpenAI's hosted developer platform: Responses and Chat Completions APIs, Realtime voice, embeddings, images, audio, fine-tuning, evals and managed agents
ProprietaryUsage-based - Together AI
Cloud platform for open-source models: serverless and dedicated inference, fine-tuning, GPU clusters, batch jobs and code sandboxes behind an OpenAI-compatible API
ProprietaryUsage-based
Sources & verification
Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.
- Official documentationOpenRouter quickstartchecked Nov 1, 2026
https://openrouter.ai/docs/quickstart
Supports: capabilities, interfaces, languages
- Official sitechecked Nov 1, 2026
- Pricing pagehttps://openrouter.ai/pricingchecked Nov 1, 2026
Supports: pricing_model
Free, Standard, Business, Enterprise; credits with platform fee; BYOK
- Confidence
- High
- Reviewed
- Nov 1, 2026
- Links
- Broken · Nov 2, 2026
Spotted an error?
More in Model providers & APIs
Claude Platform
Anthropic · Model providers & APIs
Anthropic's developer platform for the Claude models: Messages API, tool use, structured outputs, prompt caching, batch processing and Managed Agents, plus cloud availability
Hugging Face Hub
Hugging Face · Training & fine-tuning
Hosting platform for open models, datasets and Spaces demo apps built on git repositories and Xet storage, with Inference Providers, Endpoints, Jobs and an open-source Python client and CLI
Gemini API
Google (Chrome DevTools team) · Model providers & APIs
Google's developer API for the Gemini model family, keyed from Google AI Studio, with function calling, Search grounding, Live API, image and video generation and a free tier
Cohere
Cohere Inc. · Model providers & APIs
Enterprise-focused model provider with Command generation, Embed and Rerank retrieval models, Aya multilingual research models, the North agent platform and private or dedicated deployment options
Mistral AI
Mistral AI · Model providers & APIs
French model provider offering open-weight and proprietary models through the Studio API, OCR and speech models, the Vibe agent for productivity and coding, and self-deployment options