1. Price
“Free 25+ free models Standard 600+ models Business 600+ models Enterprise 600+ models Providers Explore all models → Free 4 free providers Standard 80+ providers”
Free tier: 25+ free models, 50 requests/day. As reported on the official pricing page, checked Nov 1, 2026.
openrouter.ai/pricing2. Commercial use
“You are solely responsible for reviewing the Model Terms applicable to each Model before accessing or using that Model and for determining whether the applicable Model Terms allow you and your Authorized Users to access and use the Service, Inputs, and Outputs as you intend.”
Allowed inside your own product, but each model's terms apply to its output, and reselling access to the models is not allowed.
openrouter.ai/terms3. Key & sign-up
“Our API authenticates requests using Bearer tokens.”
API key as a Bearer token in the Authorization header; users can also connect their own key through OAuth PKCE
openrouter.ai/docs/api_reference/authentication.md4. Agent access
“It's a remote server hosted by OpenRouter (nothing is installed locally).”
Our agent check: 5 of 6 (Nov 13, 2026).
openrouter.ai/docs/guides/overview/mcp-server.mdChecked against the maker's official pages, pricing on Nov 1, 2026. Tap a verdict to see its source.How we checkedReport an error
What OpenRouter does
OpenRouter is an online service that lets your app talk to hundreds of AI chat models from many companies through one account and one key. You pay each model's own price from prepaid credits, plus a fee when you buy credits. If one provider is down, it can switch to another automatically.
- OpenRouter is one of 8 APIs in the LLM gateways and routers category on AgentGid.
- It is one of 7 that can be started for free.
- It ships an official MCP server, like 3 others here.
- Its official SDK is the 3rd most downloaded in the category (2.2M a week).
What people build with it
Swap AI models without rewriting code
Keep code written for OpenAI and point it at OpenRouter, then try Claude, Gemini or open models by changing one name.
A backup model when one fails
List a second model so your chatbot still answers when the first one is down, overloaded or refuses.
Build a prototype for free
Start with models marked free while you test an idea, with a small daily request limit and no bill.
Users pay for their own AI use
Let each user connect their own OpenRouter account to your app, so their usage is billed to them, not to you.
Keep prompts in Europe
On the Business plan, send requests to the EU address so prompts and answers are processed inside the EU.
Pick the cheapest good model Idea
Run the same test questions through several models and keep the cheapest one whose answers are good enough for your app.
OpenRouter popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
25+ free models, 50 requests/day
No monthly plan
Provider list price per token (no markup); fee on credit purchases: 5.5% Standard, 8% Business
Pay-as-you-go credits, no subscription. BYOK: first $25,000 of list-price inference per month without fee, 5% after. Business adds EU/US in-region routing.
What one action costs
| Action | Price |
|---|---|
| Buying credits, standard plan (fee on the purchase) | 5.5% |
| 1 input token, openai/gpt-4o-mini on Azure (= $0.15 per 1M tokens) | $0.00000015 |
| 1 output token, openai/gpt-4o-mini on Azure (= $0.60 per 1M tokens) | $0.0000006 |
| Platform fee on the Free plan (free models only) | N/A |
Price history
- 1 change in our catalog since Oct 9, 2026, last on Oct 9, 2026.
As reported on the official pricing page, checked Nov 1, 2026. Prices change: confirm before you buy. openrouter.ai/pricing
Limits
20 requests a minute, 50 a day
20 requests a minute, 1,000 a day
No platform request cap; the provider's own limits pass through
Optional credit limit per key; keys made during onboarding get a $100 limit and expire after 180 days
From the official docs. openrouter.ai/docs/api_reference/limits.md
Key and access
API key as a Bearer token in the Authorization header; users can also connect their own key through OAuth PKCE
OPENROUTER_API_KEYNo
Steps only a person can do
- Sign up, buy credits if you need paid models, and create a key with a credit limit. Put it in .env as OPENROUTER_API_KEY (kept out of git) and read it on the server.
- In privacy settings, choose whether providers that may train on prompts are allowed, and whether to require zero data retention. No code change; requests that no allowed provider can serve return 503.
- For EU in-region processing, move the organization to the Business plan. Use https://eu.openrouter.ai/api/v1 as the base address with an EU-eligible model.
Commercial use and your data
OpenRouter is a paid service with some free models. Each model's own terms decide what you may do with its answers, and reselling access to the models is not allowed.
Allowed inside your own product, but each model's terms apply to its output, and reselling access to the models is not allowed.
“You are solely responsible for reviewing the Model Terms applicable to each Model before accessing or using that Model and for determining whether the applicable Model Terms allow you and your Authorized Users to access and use the Service, Inputs, and Outputs as you intend.” source
OpenRouter sets no single rule; the terms of each model you use decide whether its output may train other models.
“Your ownership rights in the Output are set forth in the Model Terms for each Model you use.” source
Fine; for commercial use read the DPA, and check each model's terms for your client's use.
“If you are part of and represent an organization in entering into these Terms or use the Service for commercial, for-profit purposes, please read the OpenRouter Data Processing Agreement (" DPA ") relating to our processing of your Personal Data (as defined in the DPA).” source
“OpenRouter does not store your prompts or responses, unless you opt in to one or both of the following, or content is flagged as potential CSAM”
“On the Business and Enterprise plans, OpenRouter supports in-region routing in the EU and US.”
Errors to handle
The key is invalid or disabled, or the OAuth session expired.
Check OPENROUTER_API_KEY; create a new key if it was deleted after a leak.
The account or the key has run out of credits, or a spending budget is reached.
Add credits or raise the key limit (the person decides); retry only when a Retry-After header is present.
Rate limited, by OpenRouter (free models) or by the provider.
Retry with exponential backoff and honor Retry-After; add fallback models.
The chosen model is down or sent an invalid response.
Retry, or list fallback models in the models parameter.
No provider meets your routing requirements (for example data-policy or region filters).
Relax provider preferences or pick another model; honor Retry-After.
Use it from an agent
5 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page yes, AI assistants allowed yes
Checked Nov 13, 2026.
OpenRouter MCP server (remote, OAuth sign-in; for coding help, not for running models in your app)
claude mcp add --transport http openrouter https://mcp.openrouter.ai/mcp claude mcp login openrouter
npm install @openrouter/sdkpip install openrouterInstructions in its docs to check first
“Read github.com/OpenRouterTeam/skills/tree/main/skills/create-agent-tui and follow the instructions to build an agent using OpenRouter.”
A note aimed at agents to fetch and follow outside instructions; ask the person before acting on it.
“/plugin install openrouter@openrouter”
Installs a plugin into the coding agent from a marketplace; ask the person first.
Alternatives
OpenRouter This page
Pick Vercel AI Gateway when your app already runs on Vercel and you want one bill there for many models at provider list prices.
Pick LiteLLM when you want to run the gateway yourself with your own provider keys, budgets and logging.
Pick Cloudflare AI Gateway when you keep your own provider accounts and want caching, logging and rate limits in front of them.
Get started
Tell your AI assistant
“Call OpenRouter from my server with the openai package (base_url https://openrouter.ai/api/v1) and OPENROUTER_API_KEY from .env, use one main model plus a fallback in the models list, and handle 402 and 429 errors; never put the key in browser code.”
Create an account and a key with a credit limit, and keep it in an environment variable on your server.
export OPENROUTER_API_KEY=<your key>Install the official client, or keep using the OpenAI package with OpenRouter's address.
npm install @openrouter/sdkSend a first request (example from the quickstart).
curl https://openrouter.ai/api/v1/responses \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENROUTER_API_KEY" \ -d '{ "model": "~openai/gpt-sol-latest", "input": "What is the meaning of life?" }'
First request
Request from the quickstart; response is the example from the API reference overview. The older /api/v1/chat/completions shape also works.
curl https://openrouter.ai/api/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{
"model": "~openai/gpt-sol-latest",
"input": "What is the meaning of life?"
}'{
"id": "resp_1234567890",
"object": "response",
"created_at": 1234567890,
"model": "openai/gpt-5.2",
"status": "completed",
"output": [
{
"type": "message",
"id": "msg_abc123",
"status": "completed",
"role": "assistant",
"content": [{ "type": "output_text", "text": "The meaning of life is...", "annotations": [] }]
}
],
"usage": { "input_tokens": 12, "output_tokens": 45, "total_tokens": 57 }
}Mistakes to avoid
A leaked key or a runaway agent can spend the whole balance, auto top-ups included.
The fallback is billed at the paid model's price.
Errors that happen after the model started are sent with status 200.
A 402 without the header means credits or the key limit are used up.
The docs say the MCP is for build-time help.
Questions
Is there a free plan?
Yes. The free plan gives access to free models with a limit of 50 requests a day; buying at least 10 credits raises it to 1,000.
Is it more expensive than going to each AI company directly?
Model prices are passed through without markup; you pay a fee when you buy credits (5.5% on the standard plan).
Does OpenRouter keep my prompts?
Not by default. It keeps them only if you turn on logging or product use, or when content is flagged as possible child abuse material; request metadata is stored.
Can I use my existing OpenAI code?
Yes; set the base address to https://openrouter.ai/api/v1 and use your OpenRouter key.
Do more keys give me higher limits?
No; limits are counted for the whole account, but different models have different limits.