What Is OpenRouter? How It Works, Pricing and Limits (2026)
Table of contents:
Quick Answer:
What is OpenRouter? It's a hosted AI model gateway: one API key and one OpenAI-compatible endpoint that reach 700+ models from 100+ providers, including OpenAI, Anthropic, Google and open-weight models.
You pay each provider's list price for tokens, plus a 5.5% fee when you buy credits (8% on the Business plan).
It adds automatic fallbacks between providers, an Auto Router that picks a model for you, and 25+ free models capped at 50 requests a day.
Stripe agreed to acquire OpenRouter in August 2026. Facts checked on December 2, 2026.
If you build with AI, you've probably seen OpenRouter mentioned in Claude Code setups, Cursor settings and agent tools.
So what is OpenRouter, exactly?
In short, it's a single API that sits between your app and hundreds of AI models, so you can switch models without opening new accounts or rewriting code.
This guide answers what is OpenRouter AI in plain terms: how it works, what it costs, its free limits and routing features, how it handles your data, who owns it, and when another gateway fits better.
If you mainly want one OpenAI-compatible key across a few major providers, ScriptRun's Open API is another way to get it.
Pricing, rate limits, and technical specifications are based on official documentation reviewed in December 2026.
What is OpenRouter
OpenRouter is a model gateway and marketplace for large language models and other AI models.
According to OpenRouter's About page, it started in early 2023 "as the first LLM marketplace" and now serves 15M+ users, with 700+ models from 100+ providers and more than 1,000 trillion tokens a month.
So, what is OpenRouter.ai in practice? It's three things in one:
-
An API gateway. One endpoint and one key for every model, instead of a separate account, key and SDK for each provider.
-
A router. For each request, it picks a provider that serves the model you asked for, and can fail over to another one if that provider is down.
-
A marketplace. A public catalog of models with prices, context windows and usage rankings, plus a chat app to try them.
OpenRouter, Inc. was cofounded by CEO Alex Atallah. Stripe agreed to buy the company in August 2026 (more on that below).
What is OpenRouter and how does it work
Here's what happens when your app sends a request through OpenRouter:
-
You send one request to OpenRouter's endpoint with your OpenRouter API key and a model ID such as anthropic/… or openai/…. Model IDs always start with the company that made the model.
-
OpenRouter picks a provider that serves that model. Many models, especially open-weight ones, are hosted by several providers at different prices and speeds.
-
If a provider fails, OpenRouter can retry with another provider or a fallback model you listed.
-
You get one response and one bill. The cost is deducted from your OpenRouter credit balance.
Because OpenRouter's OpenAI compatibility guide says it is "wire-compatible with OpenAI's REST API and official client SDKs," most apps can switch to it by changing three settings: the base URL, the API key and the model name.
For how this works across other providers too, see our guide to OpenAI-compatible APIs.
What is OpenRouter used for
What is OpenRouter used for in real projects? The most common uses are:
-
Trying and comparing models without signing up with each provider.
-
Coding tools and agents. Many developers connect tools such as Claude Code, Cursor and other agent harnesses to OpenRouter to use models from several labs with one key.
-
Production apps that need uptime. Automatic fallbacks keep an app running when one provider has an outage.
-
Cost control. Teams send simple requests to cheaper models and hard ones to flagships, with budgets and spend limits per key.
-
Access to open-weight models from many hosting providers through the same API.
So what is the point of OpenRouter compared with going direct?
Convenience and resilience: one integration, one bill and automatic failover.
The trade-off is a fee and one more company between you and the model provider.
What is OpenRouter pricing: plans, fees and BYOK
After "what is OpenRouter?", the next question is usually what it costs.
OpenRouter doesn't mark up model prices. Its pricing page says inference "is billed at the provider's list price on every plan," and OpenRouter makes its money from a fee when you buy credits:
Plan | Platform fee | What you get |
Free | None | 25+ free models from 4 free providers; 50 requests a day; no auto-routing, budgets or prompt caching |
Standard (pay as you go) | 5.5% on credit purchases | 700+ models, 100+ providers, auto-routing, budgets and spend controls, prompt caching |
Business (pay as you go) | 8% on credit purchases | Everything in Standard, plus EU or US in-region routing and up to 1,000 workspaces |
Enterprise | Discounted fees | SSO, contractual SLAs, invoicing and a dedicated support team |
A few details matter for your bill. According to OpenRouter's FAQ, the 5.5% fee has a $0.80 minimum, and crypto payments are charged 5%.
The fee applies when you buy credits, never per request. So if you buy $100 of credits on Standard, you pay $105.50 and get $100 to spend on models at their list prices.
Two more pricing rules work in your favor. Failed attempts aren't charged for their model tokens, and using the Auto Router adds no extra fee.
To compare with what you'd pay going direct, see our breakdown of OpenAI API costs per model.
What is BYOK in OpenRouter
BYOK means "bring your own key." You add your own API keys from providers such as OpenAI or Anthropic, OpenRouter routes your requests through them, and the provider bills you directly.
On Standard and Business, the first $25,000 of list-price usage a month through BYOK carries no OpenRouter fee; above that, OpenRouter charges 5% of what that usage would normally cost.
BYOK is useful if you already have provider credits, discounts or rate limits you want to keep.
What is OpenRouter's free tier: Free models and limits
What is OpenRouter free access worth? You can sign up and use 25+ free models with no fee.
Free models have IDs ending in
, which OpenRouter's docs describe as free versions of models that "may have different rate limits or availability compared to paid versions."What is OpenRouter free limit in numbers? According to OpenRouter's pricing FAQ:
-
free models are capped at 20 requests a minute and 50 requests a day;
-
the daily cap rises to 1,000 requests once your account has bought at least $10 of credits;
-
failed attempts count toward the daily cap;
-
a negative balance blocks free models until you add credits.
People often ask: what is the best free model on OpenRouter? The free list changes too often for a fixed answer, so filter the models catalog by price to see what's free today, and test two or three on your own prompts.
For free options beyond OpenRouter, see our guide to free LLM API providers.
What is OpenRouter routing: Auto Router, Fusion and fallbacks
Routing is what makes OpenRouter more than a proxy.
These are the main options, all documented in OpenRouter's docs:
Feature | How you use it | What it does |
Provider routing | Default; optional provider preferences | Chooses which provider serves a model, and can prefer price, speed or specific providers |
Model fallbacks | A list of backup models | Tries the next model if the first one fails |
Auto Router | openrouter/auto | Picks a model and reasoning effort for each request |
Auto Code | openrouter/auto-code | The same router, tuned for coding agents |
Fusion | openrouter/fusion | Sends a hard prompt to a panel of up to 8 models, then an analyst model compares their answers |
Model variants | :free, :nitro, :floor, :exacto | Free version, fastest providers, lowest-cost providers, or quality-first provider order |
What is OpenRouter Auto? The Auto Router is a model ID you send like any other. OpenRouter then picks a model and a reasoning effort for each request, within any limits you've set. You pay the rate of whichever model serves the request.
What is OpenRouter Fusion? The Fusion router is built for deep research. Your model can call a panel of up to 8 models that answer in parallel, then an analyst model returns a structured comparison of where they agree, contradict each other and leave gaps. It costs more than one model call, because every panel member's answer is billed, so use it where a wrong answer is expensive.
For the general idea behind routing, see our explainer on how model routing works.
Is OpenRouter safe: what is OpenRouter's data policy
OpenRouter's documented defaults are reasonably privacy-friendly, but your prompts still pass through both OpenRouter and the provider that serves the model.
According to OpenRouter's FAQ:
-
Logging: it logs request metadata (timestamps, model used, token counts). Prompts and completions aren't logged by default. You can opt in to logging for a 1% discount.
-
Training: its pricing page says, "We do not train on your data."
-
Provider policies: each provider endpoint falls into one of three data tiers: Zero Data Retention (ZDR), Safety Retention, or Retention and Training. You can restrict routing to ZDR providers on every plan.
-
Region: on Business and Enterprise, requests to eu.openrouter.ai or us.openrouter.ai keep inference with providers in that region.
For sensitive data, turn on ZDR-only routing and check the policy of every provider your requests can reach. Enterprise buyers can review OpenRouter's Trust Center.
Who owns OpenRouter: the Stripe deal
Ownership is now part of the answer to what is OpenRouter. On August 19, 2026, Stripe announced that it had agreed to acquire OpenRouter, describing it as "a leading AI model gateway and routing platform."
Neither company disclosed the price. Stripe was already OpenRouter's payments provider before the deal.
For users, OpenRouter's own post, "OpenRouter is Joining Stripe", says it "will continue to operate as it is: same mission, same name, same product, same roadmap," and that "nothing about your integration changes."
Before the deal, OpenRouter raised $113 million in a round backed by an Alphabet investment arm, according to its About page.
What is OpenRouter good at? pros and cons
Pros | Cons |
One key and one OpenAI-compatible endpoint for 700+ models | A 5.5% fee on credit purchases (8% on Business), so the same model costs slightly more than going direct |
No markup on model prices; failed attempts aren't billed | Another company in your data path, alongside the provider |
Automatic fallbacks across providers for better uptime | Latency and quality can vary by provider; OpenRouter suggests pinning a model and provider for consistency |
Free models and a free plan to experiment | Free models have tight daily limits |
Auto Router, Fusion and spend controls built in | A hosted service only; you can't self-host it |
Public rankings show what models people actually use | Credits are refundable for only 24 hours and may expire after a year |
How to start with OpenRouter
Getting started takes a few minutes:
-
Create an account on openrouter.ai and add credits, or start with free models.
-
Create an API key on the Keys page of your settings.
-
Point your OpenAI SDK at OpenRouter and choose a model ID from the catalog.
What is the base URL for OpenRouter? It's https://openrouter.ai/api/v1.
What is OpenRouter API key, and what is openrouter_api_key? Your OpenRouter API key is the secret that authenticates your requests and charges your credit balance.
OpenRouter's docs read it from an environment variable named OPENROUTER_API_KEY, which is why that name shows up in so many tutorials and config files.
Here's the smallest working example, using OpenAI's Python SDK:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key=os.environ["OPENROUTER_API_KEY"]
)
reply = client.chat.completions.create(
model="openrouter/auto",
messages=[{"role": "user", "content": "Hello"}]
)
print(reply.choices[0].message.content)
Replace openrouter/auto with a specific model ID once you know which model you want. What is OpenRouter API access without an SDK?
The same endpoint accepts plain HTTP requests, and OpenRouter's quickstart also shows its Responses-style endpoint.
When another gateway fits better
Knowing what is OpenRouter good for also shows where it isn't the best fit. OpenRouter isn't the only gateway.
Some teams want a self-hosted proxy, a cloud provider's own gateway, lower fees at their volume, or a smaller set of models with one bill.
We compare seven options in our review of OpenRouter alternatives.
The bottom line: what is OpenRouter good for?
What is OpenRouter, in one sentence?
It's the easiest way to reach hundreds of AI models through one OpenAI-compatible API, with list-price tokens, a 5.5% fee on credits, automatic fallbacks and a generous catalog of free models to start with.
It suits teams that want model choice and uptime without managing many accounts.
If you want a self-hosted gateway or only need a few major providers under one bill, compare the alternatives, including ScriptRun's Open API.
FAQs about What Is OpenRouter
Is OpenRouter free?
Partly. Signing up is free, and the Free plan gives you 25+ free models with no fee, capped at 20 requests a minute and 50 a day. Paid models cost the provider's list price plus a 5.5% fee when you buy credits.
Is OpenRouter reliable?
It's designed for uptime: if a provider fails, OpenRouter can retry with another provider or a fallback model, and failed attempts aren't billed. Latency can vary by provider, so pin a model and provider where you need consistent speed. You can check live uptime and incidents on the OpenRouter status page.
How many times can you refund OpenRouter?
OpenRouter doesn't publish a limit on the number of refunds, but each one has a strict window. Unused credits can be refunded only within 24 hours of the purchase, using the refund button on the Credits page. After 24 hours they become non-refundable, the platform fee is never refunded, and crypto payments can't be refunded at all.
Does OpenRouter have free models?
Yes, 25+ of them, with IDs ending in :free. They're limited to 50 requests a day, or 1,000 a day once you've bought at least $10 of credits.
How does OpenRouter make money?
From a fee on credit purchases: 5.5% on Standard (minimum $0.80) and 8% on Business, with discounts on Enterprise. It doesn't mark up model prices, and you pay the same per-token rate as the provider's list price.
Does OpenRouter have rate limits?
On paid models, OpenRouter sets no plan-based rate limits; the limits come from the providers, and only very high burst traffic is blocked by its DDoS protection. Free models are capped at 20 requests a minute and 50 a day (1,000 a day after buying $10 of credits).
Is OpenRouter safe?
It logs only request metadata by default, says it doesn't train on your data, and lets you restrict routing to zero-data-retention providers on every plan. Your prompts still reach the model provider, so check provider policies for sensitive data.
Who owns OpenRouter?
OpenRouter, Inc. was cofounded by CEO Alex Atallah. Stripe agreed to acquire the company in August 2026; OpenRouter says its name, product and roadmap stay the same.
Is OpenRouter open source?
No. OpenRouter is a hosted, managed service, and you can't run it on your own servers. If you need a self-hosted gateway, see our comparison of OpenRouter alternatives.
When was OpenRouter founded?
In early 2023, according to OpenRouter's About page.
Do OpenRouter credits expire?
They can. OpenRouter's FAQ says it reserves the right to expire unused credits one year after purchase, so buy credits in amounts you'll use within a year.
Related posts
Zapier Alternatives: 8 Tools Compared on Price (2026)
Zapier alternatives compared: what each tool costs, how it counts usage, a 10,000-action cost example, and open-source and enterprise picks.
LLM Vision API: Processing Images and PDFs Across OpenAI, Claude, and Gemini
Run images and PDFs through OpenAI, Claude, and Gemini from one OpenAI-compatible LLM vision API. Includes Python and TypeScript base64 examples, 2026 token math, pre-resizing, JSON extraction, and async Workflow API batch jobs.
OpenAI API Alternative: 8 Providers Compared for 2026
Eight OpenAI API alternatives compared on current prices, speed, context and what changes when you switch, with a checklist and a gateway option.
OpenAI API Cost in 2026: Prices per Model and Examples
OpenAI API cost explained: GPT-6.x prices, cached tokens, Batch and Flex discounts, a cost formula with worked examples, and ways to save.








