- OpenRouter charges no markup on tokens, but as of November 16, 2026 it adds a 5.5% fee to credit purchases (8% on its Business plan) and 5% on bring-your-own-key usage above $25,000 a month. Every request also passes through its service.
- OpenRouter alternatives come in two kinds: gateways you run on your own provider keys, such as Bifrost, LiteLLM, and Kong, and hosted services, such as Cloudflare AI Gateway, Vercel AI Gateway, and Requesty.
- Bifrost, an open-source Go gateway, is the top pick here: Apache 2.0, provider fallbacks, virtual-key budgets, and 11 microseconds of overhead at 5,000 requests per second in the Bifrost team's own benchmark.
- LiteLLM vs OpenRouter comes down to who runs the proxy. LiteLLM is MIT-licensed and needs your own PostgreSQL for virtual keys and budgets, while OpenRouter asks you to run nothing and charges on credits.
- At $50,000 a month of list-price inference, the fee is $2,750 a month on OpenRouter Standard and $0 on a self-hosted gateway, which costs whatever its machines cost instead.
OpenRouter is a hosted API that sells access to 600+ models from 80+ providers through one OpenAI-compatible endpoint and one prepaid credit balance. Teams start comparing OpenRouter alternatives when the credit fee, the extra company in the request path, or Enterprise-only single sign-on starts to outweigh that convenience. This list ranks six of them, from gateways you run on your own provider keys to hosted services that work much as OpenRouter does. Every price and limit was read from the vendor's own pages on November 16, 2026, and the platform directory lists more tools in each group.
#OpenRouter's fees, data path, and limits
Teams leave OpenRouter for three reasons: a fee that grows with spend, a third party between their code and the model provider, and plan limits on regional routing and identity. None of these matters much for a prototype. They matter once a team spends thousands of dollars a month or has to pass a security review.
| OpenRouter plan | Free | Standard | Business | Enterprise |
|---|---|---|---|---|
| Platform fee | None, free models only | 5.5% on credit purchases, $0.80 minimum | 8% on credit purchases | Discounts by contract |
| Models | 25+ free models | 600+ | 600+ | 600+ |
| Your own provider keys | Not available | $25,000 a month with no fee, then 5% | Same as Standard | Custom allowance |
| Rate limits | 20 a minute and 50 a day on free models | The provider's own | The provider's own | Higher allowances |
| EU or US in-region routing | No | No | Yes | Yes |
| SSO and SCIM | No | No | No | Yes |
The fee is the only price difference. On November 16, 2026, OpenRouter's models API listed Claude Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens, the same as Anthropic's own rate in the LLM pricing dataset and in the Claude API pricing guide. The fee comes on top when you buy credits, and the OpenRouter FAQ adds that refunds are possible only within 24 hours, platform fees are never refunded, and unused credits can expire after a year.
Bringing your own provider keys removes the credit fee for the first $25,000 of list-price inference each month. Above that, the BYOK guide charges 5% of what the request would cost on OpenRouter, deducted from your credits. By default, a BYOK request that hits a rate limit falls back to OpenRouter's shared capacity, which spends credits too.
Every request passes through OpenRouter's edge, which its latency guide says runs on Cloudflare Workers. OpenRouter logs metadata such as timestamps, model, and token counts, but not prompts or completions unless you opt in. Zero data retention routing is available on every plan, and EU processing through eu.openrouter.ai needs Business or Enterprise.
In OpenRouter's favor, an attempt that errors is not billed, fallback across providers needs no setup, and one bill covers every lab. The alternatives below either keep that convenience at a lower fee or remove the hosted hop entirely.
#OpenRouter alternatives compared
The six OpenRouter alternatives here split by where the AI gateway runs. A self-hosted gateway sits in your network and calls providers with your keys, so no third party sees the traffic and no percentage fee applies. A hosted gateway or router does the operations work for you and stays in the request path.
| Rank | Tool | Where it runs | Provider keys | Fee on inference | License |
|---|---|---|---|---|---|
| 1 | Bifrost | Your infrastructure | Yours | None; Enterprise is custom-priced | Apache 2.0 core |
| 2 | LiteLLM | Your infrastructure | Yours | None; Enterprise license for SSO past 5 users | MIT, except its enterprise directory |
| 3 | Cloudflare AI Gateway | Cloudflare's network | Yours, or Cloudflare credits | None with your keys; 5% on Unified Billing credits | Proprietary service |
| 4 | Vercel AI Gateway | Vercel's hosted API | Vercel's, or yours | No markup or platform fee on tokens; paid add-ons | Proprietary service |
| 5 | Kong AI Gateway | Your infrastructure, or hosted by Kong | Yours | Enterprise subscription for advanced AI plugins | Apache 2.0 core, 3.9.x line |
| 6 | Requesty | Requesty's hosted API | Requesty's, or yours | 5% on model cost | Proprietary service |
The ranking puts control first: who runs the gateway, and whose key reaches the provider. Bifrost and LiteLLM remove both the third party and the fee. Cloudflare and Vercel keep a hosted hop but take no cut of tokens. Kong fits teams that already run it, and Requesty is the closest like-for-like swap.
#1. Bifrost: an open-source gateway on your own provider keys
Bifrost is the top pick for teams leaving OpenRouter because it replaces the hosted hop with one Go binary in your network, keeps the features teams use OpenRouter for, and has no license fee. Its core is Apache 2.0, and it reaches 10,000+ models across 25+ providers through one OpenAI-compatible API, including self-hosted engines such as vLLM, SGLang, and Ollama.
It starts with npx -y @maximhq/bifrost or docker run -p 8080:8080 maximhq/bifrost and serves a web UI and the API on port 8080, per the setup guide. Existing OpenAI SDK code changes only its base URL. For production, the deployment guides cover Helm, EKS, GKE, AKS, ECS, Cloud Run, and Terraform, on SQLite for one instance or PostgreSQL 16 and later.
Each OpenRouter feature a team relies on has a counterpart:
- Retries and fallbacks retry a 5xx on the same key with exponential backoff, rotate to another key on a 429, then move to the next provider in a
fallbackslist. The response names the provider that served it. - Virtual keys carry their own budgets, rate limits, and model and provider allowlists, and budgets stack from customer to team to key to provider config.
- Semantic caching replays a stored response for an identical request by hash, or for a similar one by embedding search, so the provider is never called. This is separate from provider prompt caching.
- Built-in observability records inputs, outputs, tokens, cost, and latency for each request, written asynchronously.
- OpenRouter is a supported provider, so it can stay on as one route among several.
On a single AWS t3.xlarge at 5,000 requests per second, Bifrost's benchmark page reports 11 microseconds of gateway overhead at a 100% success rate. That figure excludes JSON marshaling and the provider HTTP call. In the Bifrost team's published head-to-head benchmark at 500 RPS on a t3.medium, Bifrost sustained 424 requests per second against LiteLLM's 44.84, with a P99 latency of 1.68 seconds against 90.72. The Bifrost team ran both tests and does not state the LiteLLM version, so treat the comparison as a vendor result to reproduce on your own traffic.
The open-source build runs as one node. The budgets page says several OSS nodes sharing one PostgreSQL backend are not supported, and it puts one instance at about 3,000 to 5,000 RPS. High availability needs Enterprise clustering. An offline install must also load the pricing datasheet and the MCP server catalog from local files, because Bifrost fetches them from getbifrost.ai by default and will not start without the datasheet, per the air-gapped guide.
OpenRouter reserves SSO and SCIM for its Enterprise plan. Bifrost Enterprise adds identity-provider sign-in, guardrails, and audit logs on a gateway inside your own VPC. Bifrost Edge extends the same governance to employee machines: it routes AI traffic from desktop chat apps, browser AI, and coding agents through the gateway, so the budgets, guardrails, and audit logs set there apply on the laptop too, as the Edge overview describes. Edge requires the Enterprise gateway and is priced per endpoint.
Teams already on LiteLLM can move with the migration tool, npx @maximhq/bifrost-migration-cli, which copies models, keys, teams, users, and virtual keys.
Best for: In this author's assessment, Bifrost is the best OpenRouter alternative for teams that want one API across providers with no third party in the path. That covers platform teams putting several labs behind one set of budgets and fallbacks, regulated teams whose prompts must stay in their own VPC, and any team whose spend has made a percentage fee a visible line item.
#2. LiteLLM: the self-hosted proxy with the longest provider list
LiteLLM is BerriAI's open-source Python SDK and AI gateway, a proxy server that calls 100+ providers in the OpenAI format. It is the self-hosted tool most often compared with OpenRouter, and release v1.109.1 shipped on November 12, 2026.
The open-source gateway includes virtual keys, budgets, rate limits, spend tracking, an admin UI, load balancing, guardrails, and an MCP gateway, per LiteLLM's Enterprise page. SSO is free for up to 5 users. Beyond that, and for audit logs, SCIM, secret managers, and IP allowlists, you need an Enterprise license. The repository is MIT apart from its enterprise/ directory, which carries its own license.
LiteLLM's virtual keys and budgets need a database. The quickstart runs the proxy on port 4000 beside PostgreSQL, and without a database only the master key works: no virtual keys, no spend tracking, and no enforced budgets. LiteLLM's own benchmark reports 3,000 RPS at a p95 gateway latency of 54 ms, measured on 33 gateway pods with PostgreSQL and Redis against a mock model.
Best for: Python-heavy teams that want an MIT-licensed proxy with broad provider coverage, and that are comfortable running PostgreSQL and, at scale, Redis beside it.
#3. Cloudflare AI Gateway: free core features on Cloudflare's network
Cloudflare AI Gateway is a managed gateway on Cloudflare's network that proxies requests to OpenAI, Anthropic, Google, Workers AI, and other providers, with an OpenAI-compatible unified endpoint. Its pricing page says the core features, analytics, caching, and rate limiting, are free on all plans.
Provider keys go into Cloudflare's Secrets Store through BYOK, with no fee on inference. Unified Billing lets Cloudflare pay the providers instead, for a 5% fee on credits: $100 of credits costs $105. The limits page caps Unified Billing at 200 requests per 60 seconds per gateway, a limit that does not apply to BYOK traffic. Spend limits, dynamic routes with fallbacks, DLP scanning, and Llama Guard guardrails billed as Workers AI inference are also available.
Log storage depends on when the account was created. Accounts that created their first gateway on or after September 24, 2026 store logs in Workers Logs at its pricing, while older accounts keep legacy limits of 100,000 logs on the free plan and 10 million per gateway on paid plans. Cloudflare operates the gateway as a service, so the traffic still crosses a third party.
Best for: Teams already on Cloudflare that want free caching, rate limits, and analytics in front of their own provider keys.
#4. Vercel AI Gateway: hosted, with no markup on tokens
Vercel AI Gateway is a hosted API at ai-gateway.vercel.sh that works from any cloud, not only from Vercel deployments. Its pricing docs say it adds no markup and no platform fee to tokens, including with BYOK, and it accepts OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages requests.
You still pay any payment processing fees, and add-ons bill per request: team-wide zero data retention and team-wide provider allowlists cost $0.10 per 1,000 requests, and regional endpoints in the EU or US, in beta, cost 5% of inference. BYOK needs purchased credits, failed BYOK requests can fall back to Vercel's keys at your expense, and budgets cover only spend on Vercel's keys.
Best for: Teams that want OpenRouter's hosted convenience without a percentage fee, and that can accept a hosted hop.
#5. Kong AI Gateway: AI routing for teams already running Kong
Kong AI Gateway adds LLM routing, semantic caching, PII sanitization, token-based limits, and MCP features to Kong's API gateway. It suits organizations that already run Kong in front of their REST APIs and want AI traffic under the same control plane.
Which Kong features are open source depends on the plugin. Kong released its first AI plugins, including AI Proxy, as open source in Kong Gateway 3.6 in February 2024, and AI Proxy translates OpenAI-format requests for providers including OpenAI, Anthropic, Bedrock, Gemini, Mistral, and vLLM. AI Proxy Advanced, which adds round-robin, lowest-latency, semantic, and priority balancing with failover across targets, is listed as AI Gateway Enterprise only. The Apache 2.0 repository's newest release line is 3.9.x, with 3.9.4 out on October 12, 2026, while Kong's current AI Gateway docs describe a 2.x entity model deployed through Konnect, Kong-hosted gateways, or on-premises installs.
Best for: Organizations with a Kong subscription and an API platform team that wants one gateway for REST and LLM traffic.
#6. Requesty: the closest hosted swap for OpenRouter
Requesty is a hosted router built on the same model as OpenRouter: one OpenAI-compatible endpoint at router.requesty.ai/v1, 600+ models from 30+ providers, and a fee on spend. Pay-as-you-go adds 5% to model cost, so a model listed at $10 per million tokens costs $10.50.
Its main difference is EU data residency on every plan, including the free one, where OpenRouter requires Business for regional routing. The free tier allows 200 requests a day on free models, pay-as-you-go supports your own keys, and SSO, full RBAC, and audit logs are listed under Enterprise. It remains a third party in the path, and its fee at any spend sits within half a point of OpenRouter Standard's.
Best for: Teams that like OpenRouter's model but need EU data residency without buying a Business plan.
#LiteLLM vs OpenRouter
LiteLLM vs OpenRouter is a choice between running a proxy and renting one. LiteLLM runs in your infrastructure on your provider keys with no fee on inference, and you own PostgreSQL, upgrades, and uptime. OpenRouter runs everything for you, adds 5.5% to credits, and sits between your app and every provider.
| LiteLLM, open-source proxy | OpenRouter | |
|---|---|---|
| Who runs it | You, on Docker, Helm, or Terraform | OpenRouter |
| Provider keys | Yours | OpenRouter's, or yours through BYOK |
| Fee | None; Enterprise license for SSO past 5 users and audit logs | 5.5% on credits, 8% on Business; BYOK 5% above $25,000 a month |
| Catalog | 100+ providers you configure yourself | 600+ models from 80+ providers, ready to call |
| Request path | Your network to the provider | Through OpenRouter's edge to the provider |
| Keys and budgets | Virtual keys, budgets, rate limits, with PostgreSQL | Workspaces, per-key credit caps, budgets |
| SSO | Free up to 5 users, then Enterprise | Enterprise only |
| Failover | Router retries and fallbacks you configure | Automatic across providers; failed attempts not billed |
| Default base URL | http://localhost:4000 | https://openrouter.ai/api/v1 |
OpenRouter vs LiteLLM is not an either-or choice. LiteLLM lists OpenRouter as a provider, so a team can run LiteLLM for keys and budgets and send long-tail models through OpenRouter, and Bifrost supports the same pattern. Pick OpenRouter alone for prototypes and for teams that do not want to run a database. Pick LiteLLM when prompts must stay in your network and your team works in Python. If throughput or the PostgreSQL dependency is the concern, the Bifrost vs LiteLLM comparison and the migration tool above cover the move.
#Platform fees from $1,000 to $100,000 a month
The fee gap between OpenRouter and a self-hosted gateway grows in a straight line with spend, so it is small for a prototype and large in production. At $10,000 a month of inference, OpenRouter Standard's credit fee is $550. At $100,000 it is $5,500 a month, or $66,000 a year, before any savings from caching or routing.
This script reproduces the fee rows from each vendor's pricing page. It assumes one credit purchase a month equal to that month's spend, and it ran for this article with Python 3.15.1:
"""Monthly platform fees on top of list-price inference, from vendor pricing pages on November 16, 2026."""
BYOK_ALLOWANCE = 25_000 # OpenRouter: list-price inference per month with no BYOK fee
def openrouter_credits(spend, rate=0.055, minimum=0.80):
return max(spend * rate, minimum)
def openrouter_byok(spend, rate=0.05, credit_fee=0.055):
# The 5% fee is deducted from OpenRouter credits, and buying those credits costs 5.5%.
over = max(0, spend - BYOK_ALLOWANCE)
return over * rate * (1 + credit_fee)
OPTIONS = {
"OpenRouter Business, credits (8%)": lambda s: s * 0.08,
"OpenRouter Standard, credits (5.5%)": openrouter_credits,
"Cloudflare Unified Billing (5%)": lambda s: s * 0.05,
"Requesty pay as you go (5%)": lambda s: s * 0.05,
"OpenRouter BYOK (5% over $25k)": openrouter_byok,
"Vercel AI Gateway (0% on tokens)": lambda s: 0.0,
"Self-hosted gateway (no fee)": lambda s: 0.0,
}
SPEND = [1_000, 10_000, 25_000, 50_000, 100_000]
print(f"{'monthly inference spend':38}" + "".join(f"{f'${s:,}':>10}" for s in SPEND))
for name, fee in OPTIONS.items():
print(f"{name:38}" + "".join(f"{f'${fee(s):,.0f}':>10}" for s in SPEND))monthly inference spend $1,000 $10,000 $25,000 $50,000 $100,000
OpenRouter Business, credits (8%) $80 $800 $2,000 $4,000 $8,000
OpenRouter Standard, credits (5.5%) $55 $550 $1,375 $2,750 $5,500
Cloudflare Unified Billing (5%) $50 $500 $1,250 $2,500 $5,000
Requesty pay as you go (5%) $50 $500 $1,250 $2,500 $5,000
OpenRouter BYOK (5% over $25k) $0 $0 $0 $1,319 $3,956
Vercel AI Gateway (0% on tokens) $0 $0 $0 $0 $0
Self-hosted gateway (no fee) $0 $0 $0 $0 $0Under $25,000 a month, OpenRouter on your own keys costs nothing extra, which makes it the cheapest way to keep OpenRouter at that size. Above the allowance, the 5% comes out of credits that carry the 5.5% purchase fee, so the marginal rate is 5.275%.
A self-hosted gateway is not free. You pay for the instance, the database, and the engineering hours to run them, and Bifrost's benchmark ran on a single 4-vCPU, 16 GB t3.xlarge. Compare that bill with the fee row for your spend, not with zero.
#Move off OpenRouter, or keep it as a fallback
Moving from OpenRouter to a self-hosted gateway takes three changes in your code: the base URL, the API key, and the model IDs. OpenRouter writes version numbers with dots, as in anthropic/claude-sonnet-5.5, while Anthropic's own ID is claude-sonnet-5-5, so a gateway that calls Anthropic directly needs anthropic/claude-sonnet-5-5.
- Export your activity from OpenRouter and list every model ID your code sends.
- Configure each provider in the gateway with your own key, and add OpenRouter with its key as the last fallback.
- Point your client's base URL at the gateway, swap the OpenRouter key for a gateway virtual key, and rename the model IDs.
- Watch which provider served each response for a week. If OpenRouter's share stays near zero, decide whether its long-tail models are worth a funded credit balance.
This config.json follows the provider setup reference. It sets two retries on Anthropic and keeps OpenRouter configured for fallbacks. The JSON was checked for syntax, but Bifrost was not run for this article:
{
"providers": {
"anthropic": {
"keys": [{ "name": "anthropic-main", "value": "env.ANTHROPIC_API_KEY", "models": ["*"], "weight": 1.0 }],
"network_config": { "max_retries": 2, "retry_backoff_initial": 500, "retry_backoff_max": 5000 }
},
"openai": {
"keys": [{ "name": "openai-main", "value": "env.OPENAI_API_KEY", "models": ["*"], "weight": 1.0 }]
},
"openrouter": {
"keys": [{ "name": "openrouter-fallback", "value": "env.OPENROUTER_API_KEY", "models": ["*"], "weight": 1.0 }]
}
}
}npx -y @maximhq/bifrost -app-dir ./bifrost-data # reads ./bifrost-data/config.json
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-sonnet-5-5", "fallbacks": ["openai/gpt-6.1-sol", "openrouter/anthropic/claude-sonnet-5.5"], "messages": [{"role": "user", "content": "Explain an AI gateway in one sentence."}]}'The default max_retries is 0, so without the network_config above a 503 goes straight to the first fallback. Each fallback gets its own retry budget, and the response's extra_fields.routing_info reports the provider that answered and whether it was a fallback. Count that field in step 4. The vendor details in this article describe each product as of November 16, 2026.
#Questions
What is the best alternative to OpenRouter?
For teams that want control, Bifrost is the strongest OpenRouter alternative: an Apache 2.0 gateway you run on your own provider keys, with fallbacks, virtual-key budgets, and semantic caching, and no fee on spend. LiteLLM is the main open-source rival. If you want to keep a hosted service, Vercel AI Gateway charges no markup or platform fee on tokens, and Cloudflare AI Gateway's core features are free.
Is there a free, open-source alternative to OpenRouter?
Yes. Bifrost (Apache 2.0) and LiteLLM (MIT, apart from its enterprise directory) are both free to self-host and call providers with your own keys. Neither charges a fee on inference. You pay for the machines and, for LiteLLM's virtual keys and budgets, a PostgreSQL database. Single sign-on and audit logs need a paid Enterprise license on both.
Is OpenRouter cheaper than calling providers directly?
No, but the gap is only the fee. OpenRouter passes through each provider's list price, then charges 5.5% when you buy credits, or 8% on its Business plan, as of November 16, 2026. With your own keys, the first $25,000 of list-price inference each month carries no OpenRouter fee. A discount you negotiate with a provider applies only to requests made with your own key.
Can I self-host OpenRouter?
No. OpenRouter is a hosted service, and every request passes through its edge on Cloudflare Workers before reaching a provider. Its Enterprise plan sells Private Endpoints as an add-on, which bring your own model endpoints into OpenRouter. To keep the whole request path inside your network, run a self-hosted gateway such as Bifrost, LiteLLM, or Kong and configure each provider with your own keys.
Does OpenRouter store my prompts?
Not by default. OpenRouter's FAQ says it logs request metadata, such as timestamps, the model used, and token counts, but not prompts or completions unless you opt in, which earns a 1% usage discount. Upstream providers keep their own policies, so OpenRouter offers zero data retention routing on every plan and lets you exclude providers that train on prompts.
Can I use OpenRouter together with LiteLLM or Bifrost?
Yes. Both gateways list OpenRouter as a provider, so you can call your main providers directly with your own keys and send long-tail models, or a last-resort fallback, through OpenRouter. In Bifrost the model ID takes an openrouter/ prefix, such as openrouter/anthropic/claude-sonnet-5.5. You then pay OpenRouter's credit fee only on the traffic that reaches it.