OpenRouter
Unified LLM API aggregation platform to access hundreds of models through a single interface with usage-based routing.
At a Glance & Reviews
About OpenRouter
OpenRouter is a model aggregation API service that addresses the problem of products needing to use multiple providers' models, where each provider would otherwise require a separate account, separate integration, and separate management of API keys and billing. It brings models from many providers into a single API entry point, allowing developers to switch models and providers using one calling pattern.
According to the official pricing page, paid tiers provide access to more than 500 models from more than 80 providers, covering text chat and reasoning as well as image, video, audio, and embedding types. The exact number available changes as models are listed and delisted, so selections should be based on the model list on the site and the API responses.
Its core mechanism is routing. After a request is sent to the unified entry point, the platform distributes load across providers that offer the requested model based on price and availability, keeping other providers as fallbacks. When a provider becomes unavailable, the request can move to the next provider rather than failing directly on the user's side—this is the main difference between its stability handling and connecting to each provider directly.
Model-level fallback and provider-level fallback are two different things. In addition to switching providers for the same model, a request can also include alternative models, while auto-routing entry points let the platform select a model based on cost-effectiveness. This suits scenarios where there is no strong requirement for a specific model and the priority is simply getting functionality running.
Provider routing can be fine-tuned. The provider object in a request can specify a provider's priority order, allow only certain providers, exclude certain providers, or disable fallback so that the request uses only the specified provider and returns an error if it cannot proceed, rather than silently switching to a provider outside the list. This matters most for teams that have already verified a particular provider's output quality.
Data policies are also implemented at the routing layer. Setting data_collection to deny restricts usage to providers that do not collect user data, while the zdr parameter limits routing to endpoints with zero data retention. These can be set per request or configured as global defaults in the account's privacy settings, allowing different business lines to apply separate constraints.
Regional compliance is also supported. According to the official documentation, Business and Enterprise accounts can use European regional endpoints for in-region routing, where requests are decrypted in Europe and routed only to shared provider endpoints located in Europe; the same applies to the US region. Whether to enable this should be verified against your own compliance requirements and the official description of its data processing scope.
The official quickstart outlines three integration paths. For direct API calls, standard HTTP requests are sent to the unified API endpoint with streaming support, usable with any language or framework. Using the Client SDK provides a type-safe wrapper, with types automatically generated from the OpenAPI specification and less boilerplate code. Using the Agent SDK is for agent development, with the package name @openrouter/agent.
The core of the Agent SDK is the callModel function, which consolidates multi-turn conversation loops, tool execution, and state management. The SDK sends prompts, receives tool calls returned by the model, executes the tools locally, feeds the results back to the model, and returns the final response—completing the entire interaction within a single call, with additional support for stop conditions, streaming, and dynamic parameters.
Teams with existing OpenAI SDK code have an even simpler option: pointing the OpenAI SDK's base URL to OpenRouter allows them to keep their existing code structure. This suits projects that want to validate multi-model performance at low cost before deciding whether to switch to the official SDK.
For development assistance, it provides a hosted MCP server that requires no local installation. After adding its URL to an MCP client and completing authorized login, coding assistants can query real-time data such as currently available models, prices, account balances, and usage rankings, and search the official documentation, reducing cases where assistants provide advice based on outdated knowledge.
Getting started begins with registering an account and creating an organization if team collaboration is needed. Then purchase credits, which can be used for any model and provider, create an API key in the console, pass the key through the OPENROUTER_API_KEY environment variable, and send requests to the unified API with the target model specified. The official Request Builder can also generate request code for the selected language.
The pricing structure has two layers. Inference itself is billed at each provider's public price, with the official pricing page and FAQ explicitly stating that no markup is added. The platform's charges occur when purchasing credits: the Standard tier charges 5.5% of the purchase amount, with a minimum fee of $0.80 for card purchases and a 5% fee for cryptocurrency payments.
The Business tier carries an 8% platform fee, in exchange for Europe and US in-region routing, up to 1,000 workspaces, and organizational features such as data processing agreements signed on request. The Enterprise tier is contract-based with negotiable fees, adding single sign-on, contract-level service guarantees, invoicing, and dedicated support.
Bring Your Own Key mode is billed separately. When connecting your own provider keys, Standard and Business tiers incur no platform fee on the first $25,000 per month of inference volume calculated at public prices, with a 5% fee on the excess, while the Enterprise tier has a higher free allowance. This suits teams that already have contract pricing with a provider and only want to use OpenRouter's routing and fallback capabilities.
The free tier includes over 25 free models from 4 free providers. Free models are limited to 20 requests per minute and 50 requests per day; after an account has purchased at least $10 in credits, the daily limit increases to 1,000 requests. Paid model limits follow each provider's own limits directly.
For cost management, paid tiers offer budget and spending controls and prompt caching. Combined with call logs and usage statistics in the console, teams can review spending by model and time period, eliminating the need to build a separate statistics system for model comparison.
One typical use case is routing by task difficulty: simple classification and rewriting use cheaper models, while complex reasoning and code generation use more capable models, with switching requiring only a change to the model name in the request. A second scenario is maintaining continuity for online services: when the primary provider fails or is rate-limited, automatic fallback avoids the need to write separate retry logic for each provider. A third scenario is compliance-sensitive workloads, where data policies and regional routing constrain requests to providers that meet the required standards.
Its limitations also stem from its aggregator nature. Requests pass through an additional forwarding layer, so latency and availability are affected by both the platform and upstream providers. Free models have low limits and are only suitable for testing and light usage, while paid models' actual limits, context windows, and parameter support remain subject to each provider's endpoints. Details of the same model may differ across providers, so each item should be verified on the model page before integration.
Compared to self-hosted gateways, OpenRouter eliminates deployment and operations, centralizing billing and API keys, but data passes through a third-party platform and routing rules are limited to its provided parameter system. Compared to connecting to each provider directly, it adds a platform fee when purchasing credits, in exchange for unified billing, a unified API, and ready-made fallback capabilities. For teams with very high call volumes and a single model source, direct connections have lower costs on paper.
Another easily overlooked difference is selection efficiency. New models typically appear in its catalog relatively quickly after launch, allowing teams to test multiple models under the same balance and codebase before deciding which providers to connect to directly long-term. Many teams therefore use it as an entry point for model evaluation and early-stage products, then migrate core traffic away or mix approaches once usage stabilizes.
Frequently Asked Questions
Is OpenRouter free?
Partly. OpenRouter has a free tier; higher limits or advanced features are paid. Check the official site for current plans and limits.