OpenRouter is a hosted API that puts 600+ AI models from 80+ providers behind 1 OpenAI-compatible endpoint, 1 key and 1 bill. You add credits, send requests to https://openrouter.ai/api/v1 with a model ID, and OpenRouter chooses a provider that serves that model, retrying on another if the first fails.
OpenRouter bills tokens at each provider's list price and charges a fee when you buy credits: 5.5% on its Standard plan and 8% on Business, per its pricing page on November 16, 2026.
OpenRouter, Inc. runs it as a hosted service, and its pricing and enterprise pages list no self-hosted edition. Stripe owns the company. It announced the acquisition on August 19, 2026 and posted on November 10 that "OpenRouter is now part of Stripe." OpenRouter said the same day that "Our commitment to neutrality stays the same."
How a request flows through OpenRouter
- Your app sends an OpenAI-style request with your OpenRouter key and a model ID, such as
~openai/gpt-sol-latest. OpenRouter implements the OpenAI spec for/responses,/chat/completionsand/completions, so an OpenAI SDK works once you change the base URL. - OpenRouter lists the providers that serve the model and removes any your settings rule out, such as providers that may train on your data or that don't offer zero data retention (ZDR) when you require it.
- Default routing picks 1 of the rest, weighing each provider's effective price, throughput, time to first token, rate limits, reliability and tool-call quality, measured from recent traffic. Follow-up requests in a conversation stay with the same provider while its prompt cache is warm.
- If the provider fails before any of the answer reaches you, OpenRouter retries on another provider. If you sent a list of models, it moves to the next model when the first one returns an error.
- The answer comes back, and its cost is deducted from your credits at the price of the model and provider that served it. Providers can price the same model differently.
Routing you control
A provider object in the request narrows or replaces OpenRouter's default routing:
onlyandignoreallow or skip providers, and default routing still picks among the ones left.ordersets which providers to try first andsortranks them by price, throughput or latency. Bothorderandsortbypass default routing.allow_fallbacks: falsestops OpenRouter from trying backups.
The :floor and :nitro suffixes on a model ID sort by price and by throughput. Both also admit service-tier endpoints, so a :nitro request can be billed at a priority rate.
To let OpenRouter choose the model as well, send openrouter/auto. The Auto Router picks a model and a reasoning effort for each request, and it adds no fee. Per the pricing page, auto-routing and preferred-provider selection need Standard or above.
Fallbacks and failed requests
OpenRouter's models parameter takes a list of model IDs in priority order, and per the fallback docs the request is "priced using the model that was ultimately used".
The pricing FAQ says: "An attempt that errors is not charged for its model tokens, so with fallback you pay only for the run that answers." Services that already ran, such as web search, may still be billed, and on your own keys your provider's billing rules apply.
Per the error reference, OpenRouter sends 200 OK as soon as a provider accepts the request, streaming or otherwise, and failover stops once part of the answer has reached you. Any failure after that arrives inside the response, so the status stays 200 even if the backup providers fail too.
A non-streaming request gets an error body, and a Chat Completions stream gets an error event with finish_reason: "error". The Responses API uses its own error events. Check the finish reason and error body as well as the status code.
Bring your own key
You can add your own provider keys, which OpenRouter calls BYOK. Your provider bills those requests, and when a request sets no provider order, OpenRouter tries the keys you mark as prioritized before its own capacity.
By default, if your keys fail or hit a rate limit, OpenRouter falls back to its shared capacity, which spends your OpenRouter credits. A per-key setting, Shared capacity fallback, turns that off.
What OpenRouter costs
OpenRouter has 4 plans. Its platform fee applies when you buy credits, never per request, and the only usage-based fee is on your own keys above a monthly allowance. Inference is billed at the provider's list price on every plan.
- Free: no fee, free models only, 50 requests a day.
- Standard: 5.5% on each credit purchase, with a $0.80 minimum per the docs FAQ. Crypto payments carry a flat 5% with no minimum, per OpenRouter's fee post.
- Business: 8% on each credit purchase. It adds EU and US in-region routing and up to 1,000 workspaces, and you can upgrade without a sales call and downgrade 30 days later.
- Enterprise: pricing by contract, with fee discounts, invoicing and custom BYOK allowances.
What OpenRouter charges on your own keys
On Standard and Business, requests on your own keys carry no OpenRouter fee until they reach $25,000 of list-price inference in a month. Above that, OpenRouter charges 5% of what the same requests would cost through it, deducted from your credits, which carry the purchase fee when you buy them. Free doesn't include BYOK.
Credit purchase limits and refunds
OpenRouter's terms set a $5 minimum and a $25,000 maximum on each credit purchase, and Standard and Business have no minimum spend and no lock-in.
Platform fees aren't refundable, a refund of unused credits must be requested within 24 hours of purchase, crypto payments are never refundable, and the terms let OpenRouter expire unused credits a year after purchase.
Worked example: $1,000 of spend a month
For $1,000 of inference a month at list price, you pay:
| How you pay | OpenRouter fee | Inference | Total a month |
|---|---|---|---|
| Standard, 1 purchase of $1,000 | 5.5% of $1,000 = $55 | $1,000 from credits | $1,055 |
| Standard, 100 top-ups of $10 | $0.80 minimum x 100 = $80, since 5.5% of $10 is only $0.55 | $1,000 from credits | $1,080 |
| Business, 1 purchase of $1,000 | 8% of $1,000 = $80 | $1,000 from credits | $1,080 |
| Your own keys, Standard or Business | $0, under the $25,000 monthly allowance | $1,000 billed by your provider | $1,000 |
A Standard card purchase of $14.55 or more pays 5.5% instead of the minimum. At $20,000 a month on Standard, the fee is $1,100.
OpenRouter's free models and rate limits
OpenRouter's pricing page lists 25+ free models on the Free plan. Free variants have IDs ending in :free, and the Free Models Router (openrouter/free) picks one at random for each request.
Free models are capped at 20 requests a minute and 50 a day, rising to 1,000 a day once you've bought $10 of credits, per the pricing FAQ and the limits docs. Failed attempts count toward the daily cap, and a negative balance blocks free models until you add credits.
Paid models carry no plan-based rate limit. A limit you hit there usually comes from the provider, and OpenRouter retries other providers. Very high bursts can also get a 429 from OpenRouter's own DDoS protection, and a paid request on a low-balance or newer prepaid account can get a 402 while earlier requests settle.
What OpenRouter does with your data
OpenRouter logs request metadata. Per its data collection docs, it keeps prompts only when you opt in or when retention is needed for child sexual abuse material (CSAM) review, reporting and related legal preservation.
OpenRouter also samples a small number of prompts for categorization and, unless you opted in, stores the categorization anonymously. 1 opt-in setting lets OpenRouter use your prompts to improve the product in exchange for a 1% discount on usage.
On endpoints in the Safety Retention tier, OpenRouter or the provider may keep prompts and responses from any request to prevent abuse. Per the ZDR docs, enforcing ZDR is available on every plan and limits routing to endpoints with no routine storage apart from a CSAM exception. On self-serve accounts, it also admits Safety Retention endpoints until you choose ZDR only.
How to make your first OpenRouter API call
Create an API key in your OpenRouter account, set it as OPENROUTER_API_KEY, and run:
curl https://openrouter.ai/api/v1/responses \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "openrouter/free", "input": "Say hello in 5 words."}'
In Python, the OpenAI SDK makes the same call:
import os from openai import OpenAI client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])response = client.responses.create(model="openrouter/free", input="Say hello in 5 words.")print(response.output_text)
Both examples use the Responses API, as OpenRouter's quickstart and free router docs do as of November 16, 2026. They were written against curl 8.7.1 and version 3.52.0 of the openai Python package. The Chat Completions endpoint also works, with a messages list.
openrouter/free routes to a free model, so the call costs nothing. For a paid model, replace it with the ID of a chat model from openrouter.ai/models, such as ~openai/gpt-sol-latest, once you have credits.
When another gateway is the better fit
A gateway with no percentage fee on credits is worth a look over OpenRouter when your spend is high and goes to a few models, when you need to run the gateway on your own infrastructure, or when you'd rather pay a monthly plan than a percentage. OpenRouter's fee is small on 1 purchase and grows with spend.
Experiential's plans and pricing
Experiential is an OpenAI-compatible gateway, and we build it. It adds no markup of its own on tokens paid with its credits or on requests through your own keys; models it serves through OpenRouter pass through OpenRouter's price plus its 5.5% fee. 1 credit is $0.01, and top-ups buy credits at that rate without a plan, so $1,000 of usage at catalog price costs $1,000.
Experiential's plans are $0, $20, $200 and $2,000 a month, per the pricing page, and paid plans include their price in monthly credits. Free includes 1M tokens a day across GPT-6 Luna, DeepSeek V4.1 Flash and the Clef decision endpoint, each capped at 10 requests and 250K input tokens a minute, after a temporary $1 card verification.
Other models, and included models past plan limits if you turn that on, bill per token from your credits. Your own keys need Pro or above. The gateway is open source under Apache-2.0, and the enterprise page offers it self-hosted.
When OpenRouter is the better fit
OpenRouter is the better fit in 3 cases:
- If you use many models with no dominant provider, OpenRouter puts 600+ models on 1 key and 1 bill with no gateway to run.
- If your traffic on your own keys stays under $25,000 a month on Standard or Business, OpenRouter charges nothing on it.
- If you want no prompt storage without paying for a plan, OpenRouter keeps metadata only by default, with the exceptions above. On Experiential, storage is on by default and Free accounts can't turn it off; subscribers turn it off in data controls. Subscribers can enable ZDR for uncensored models; content moderation still applies.
For 7 alternatives side by side, see OpenRouter alternatives in 2026.
Questions answered
What is OpenRouter used for?
OpenRouter gives developers 1 OpenAI-compatible API and 1 bill for 600+ models from 80+ providers. Teams use it to switch between models without new integrations, to fall back to another provider or model when one fails, and to track usage and spend for every model in one place.
How much does OpenRouter cost?
OpenRouter bills inference at each provider's list price and charges a fee when you buy credits: 5.5% on Standard, with a $0.80 minimum, and 8% on Business, as its pricing page read on November 16, 2026. $1,000 of credits costs $1,055 on Standard. On Standard and Business, requests on your own provider keys carry no fee until $25,000 of list-price inference a month, then 5%, deducted from your credits.
Is OpenRouter free?
Partly. The Free plan includes 25+ free models with no fee, capped at 20 requests a minute and 50 a day, or 1,000 a day once you've bought at least $10 of credits. Failed attempts count toward the daily cap. Paid models need credits.
Who owns OpenRouter?
Stripe. It announced on August 19, 2026 that it had agreed to acquire OpenRouter, and said on November 10, 2026 that "OpenRouter is now part of Stripe." OpenRouter keeps its name, its pricing page and terms still name OpenRouter, Inc., and OpenRouter said on November 10 that "Our commitment to neutrality stays the same."
Does OpenRouter store my prompts?
Not by default. OpenRouter logs request metadata such as timestamps, the model and token counts, and keeps prompts only if you opt in or retention is needed for child sexual abuse material review, reporting and legal preservation. The providers it routes to have their own policies, and on Safety Retention endpoints OpenRouter or the provider may keep prompts to prevent abuse. Choosing ZDR only in privacy settings limits routing to zero-data-retention endpoints.
How do I use OpenRouter with the OpenAI SDK?
Set the SDK's base URL to https://openrouter.ai/api/v1, pass your OpenRouter API key, and use an OpenRouter model ID such as openrouter/free or ~openai/gpt-sol-latest. OpenRouter's quickstart uses the Responses API (client.responses.create), and OpenRouter also implements the OpenAI spec for the Chat Completions and Completions endpoints.
Is OpenRouter good?
OpenRouter is a strong fit when you want many models behind 1 key with automatic provider fallback and no gateway to run. The trade-offs are a fee on credit purchases (5.5% on Standard with a $0.80 minimum, 8% on Business), no self-hosted edition on its pricing or enterprise pages, and failover that stops once part of the answer has reached you.