OpenRouter alternatives: 7 LLM gateways compared
What OpenRouter does well, how its fees work, and how hosted and self-hosted gateways from Vercel, Cloudflare, LiteLLM, Portkey, Bifrost, Agent Router and Kong compare.
Last updated October 22, 2026
What are the best OpenRouter alternatives?
If you want another hosted service, the closest OpenRouter alternatives are Vercel AI Gateway and Cloudflare AI Gateway. If you want the gateway in your own cloud, using your own provider accounts, look at LiteLLM, Portkey, Bifrost, Agent Router or Kong AI Gateway. OpenRouter is still the simplest way to reach hundreds of models with one key.
Get started with the LLM Gateway
Sign up and our team will walk you through Perimattic LLM Gateway for your models, providers and budgets.
Sign upWhat is OpenRouter and what does it do well?
OpenRouter is a hosted service that gives you “hundreds of AI models through a single API endpoint”, according to its quickstart. You can point the OpenAI SDK at it as a drop-in replacement, buy credits once and call models from many providers with one key.
What it does well, from its own documentation:
- Provider routing and fallback. By default, the provider routing docs say requests are load balanced across top providers, weighted toward cheaper ones, with the rest used as fallbacks. You can set a provider order or sort by price, throughput or latency.
- No markup on inference. Its pricing page says inference is billed at each provider’s list price on every plan.
- Data controls. The FAQ says prompts and completions are not logged by default, and routing can be limited to providers that do not collect data or that offer zero data retention.
- Spend controls. Its spend controls guide describes guardrail budgets per person or per key, and pooled workspace budgets.
- Provider prompt caching. It passes through prompt caching on supported providers and tries to send follow-up requests to the same provider to keep that cache warm (docs).
How does OpenRouter billing work?
You prepay credits and each request’s cost is deducted from the balance. From the OpenRouter pricing page:
| Plan | Platform fee | Bring your own key (BYOK) | Notes |
|---|---|---|---|
| Free | N/A | — | Free models only, capped at 20 requests per minute and 50 per day (1,000 per day after buying at least $10 of credits) |
| Standard (Pay-as-you-go) | 5.5%, charged when you buy credits | $25,000 of list-price inference a month with no fee, then 5% | Up to 5 workspaces |
| Business (Pay-as-you-go) | 8%, charged when you buy credits | Same as Standard | Up to 1,000 workspaces |
| Enterprise | Fee discounts available | Custom | Contract pricing, invoicing, higher rate limits |
The pricing page’s FAQ puts it plainly: the fee is “charged when you buy credits, 5.5% on Standard and 8% on Business, never on individual requests.”
Prices checked October 22, 2026; providers change prices often — confirm on the provider’s page.
Why do teams look for OpenRouter alternatives?
These reasons follow from how OpenRouter itself says it works, not from complaints:
- The credit-purchase fee adds up at volume. 5.5% or 8% on every top-up is small for a prototype and a real line item at large monthly spend. Some alternatives charge no fee on tokens, others are free software you run yourself.
- You already have provider contracts. If you hold your own OpenAI, Anthropic or Google agreements, committed-use discounts or cloud credits, a gateway that calls providers with your keys avoids the BYOK fee above the monthly allowance.
- Data must stay in your cloud. OpenRouter is hosted, so every prompt passes through its infrastructure on the way to the provider. A self-hosted gateway keeps that hop in your own network.
- You want a response cache. OpenRouter’s caching docs describe provider prompt caching, not a cache that answers repeated requests without calling a model. Several alternatives offer exact or semantic response caching.
How do the OpenRouter alternatives compare?
Each cell comes from the vendor’s own GitHub repository, documentation or pricing page, linked in the first column and in the notes below. “Not stated” means we could not find it on those pages, not that the feature is missing.
| Gateway | Hosting | Licence | OpenAI-compatible API | Routing and fallback | Caching | Budgets and rate limits | Pricing model |
|---|---|---|---|---|---|---|---|
| OpenRouter (baseline) | Managed only | Proprietary service | Yes: works with the OpenAI SDK as a drop-in | Automatic provider fallback; sort by price, throughput or latency | Passes through provider prompt caching | Guardrail budgets per member or key; workspace budgets | Provider list price; 5.5% (Standard) or 8% (Business) fee on credit purchases |
| Vercel AI Gateway | Managed only (your app can run anywhere) | Proprietary service | Yes: OpenAI Chat Completions and Responses, and Anthropic Messages | Provider ordering, provider and model fallbacks | Caching listed in its models and providers settings | Budgets per team, project, API key or member (soft cap) | No markup or platform fee on tokens, including BYOK; payment processing fees may apply; paid add-ons |
| Cloudflare AI Gateway | Managed only | Proprietary service | Yes: a compat chat completions endpoint (Cloudflare now recommends its REST API for single-model calls) | Retries and model fallbacks (dynamic routing) | Serves repeat requests from Cloudflare’s cache | Request rate limiting | Core features free; 5% fee on Unified Billing credits |
| LiteLLM | Self-hosted | MIT, except the enterprise/ directory | Yes | Load balancing, fallbacks, retries | Memory, Redis, S3, disk; semantic on Redis or Qdrant | Budgets and rate limits per virtual key; tag and model-specific budgets need Enterprise | Open source; Enterprise licence priced on request |
| Portkey | Self-hosted open-source gateway, or Portkey Cloud | MIT (gateway repo) | Yes | Fallbacks, retries (up to 5), weighted load balancing | Simple and semantic; semantic is in hosted and enterprise versions | Granular budgets and rate limits listed on the Enterprise plan | Developer free (10K logs a month); Production $49 a month; Enterprise custom |
| Bifrost (Maxim) | Self-hosted (npx, Docker); enterprise private deployments | Apache 2.0 | Yes | Automatic fallbacks, load balancing | Semantic caching | Hierarchical budgets across virtual keys, teams and customers; rate limiting | Open source free; Enterprise custom, 14-day trial |
| Agent Router (formerly Envoy AI Gateway) | Self-hosted: Kubernetes with Envoy Gateway, or standalone | Apache 2.0 | Yes | Routing and failover | Not stated | Global rate limiting and quotas | Open source (Agentic AI Foundation project) |
| Kong AI Gateway | Konnect-managed control plane with your data planes, or fully self-hosted | Kong Gateway is Apache 2.0; AI Proxy Advanced, AI Semantic Cache and AI Rate Limiting Advanced are AI Gateway Enterprise only | Yes: AI Proxy accepts OpenAI-format requests and translates them | Load balancing, retries and failover (AI Proxy Advanced) | AI Semantic Cache | AI Rate Limiting Advanced, by tokens or cost | Plus from $25 a month plus usage; Enterprise custom |
Sources beyond the first column: OpenRouter provider routing, prompt caching and spend controls; Vercel pricing; Cloudflare OpenAI-compatible endpoint and pricing; LiteLLM LICENSE, proxy, caching and enterprise docs; Portkey pricing; Bifrost pricing; Kong Kong Gateway repo, AI Proxy Advanced, AI Semantic Cache, AI Rate Limiting Advanced and pricing.
Prices checked October 22, 2026; providers change prices often — confirm on the provider’s page.
Which OpenRouter alternative fits which team?
Vercel AI Gateway: the closest hosted swap
Like OpenRouter, Vercel sells model access through credits, with provider ordering and model fallbacks. Its pricing docs say it “charges no markup and no platform fee on tokens”, and BYOK carries no fee either; you are responsible for payment processing fees, and some features such as custom reporting and team-wide zero data retention are paid add-ons. Budgets are soft caps and cover spend on Vercel’s credentials, not BYOK spend.
Cloudflare AI Gateway: caching and rate limits in front of providers
Cloudflare’s pricing page says the core features — analytics, caching and rate limiting — are free. You can use your own provider keys or buy credits through Unified Billing, which carries a 5% fee. It suits teams already on Cloudflare that want a response cache, which OpenRouter does not offer.
LiteLLM, Portkey, Bifrost: self-hosted, with your own provider keys
These run in your cloud and call providers with your API keys, so there is no fee on top of provider prices, but you operate the gateway. LiteLLM has the broadest open-source feature set; Portkey keeps semantic caching and granular budgets for its paid tiers; Bifrost lists budgets and semantic caching in its Apache 2.0 build. If you like LiteLLM but not the operations, Perimattic ManageStacks offers managed LiteLLM hosting. See LiteLLM alternatives for more on this group.
Agent Router and Kong: for platform teams
Agent Router (formerly Envoy AI Gateway) suits teams running Envoy on Kubernetes. Kong AI Gateway suits teams already on Kong, but its load-balancing, semantic cache and token rate-limiting plugins are AI Gateway Enterprise only.
When should you stay with OpenRouter?
- You want the most models with the least setup. One key, hundreds of models and nothing to run.
- You do not have provider contracts. OpenRouter handles accounts and billing with each provider for you, and bills inference at list price.
- You are experimenting. Trying many models quickly is easier through one catalog than through separate provider sign-ups.
- Your spend is modest. At low volume, the credit-purchase fee is likely smaller than the cost of running and maintaining your own gateway.
- Your data rules are met by its controls. No logging by default, data-collection filters and zero data retention routing may be enough for your policy. Check with your security team.
Which OpenRouter alternative should you choose? A decision checklist
| If this describes you… | Look at | Why |
|---|---|---|
| You want hosted, many models, one bill, without a credit-purchase fee | Vercel AI Gateway | No markup or platform fee on tokens, per its pricing docs |
| You want a response cache and rate limits in front of providers | Cloudflare AI Gateway | Caching and rate limiting are core features, offered free |
| You have your own provider contracts and want no fee on top | LiteLLM, Bifrost or Portkey (self-hosted) | Requests go to providers with your keys |
| Prompts must not leave your cloud account | A self-hosted gateway | No third-party hop between you and the provider |
| You like LiteLLM but do not want to run it | Managed LiteLLM hosting | Same software, operated for you |
| You run Envoy on Kubernetes | Agent Router | Apache 2.0 and built on Envoy Gateway |
| You run Kong for other APIs | Kong AI Gateway | One gateway, but AI plugins need AI Gateway Enterprise |
| You are prototyping across many models | Stay with OpenRouter | The fastest way to try many models |
General guidance from vendor pages checked on October 22, 2026. Confirm features and terms with each vendor.
Where does Perimattic LLM Gateway fit?
Perimattic LLM Gateway is left out of the comparison above, which covers third-party tools. It is built for teams that want one API across providers, using their own provider accounts, with cost controls built in. Its features:
- One OpenAI-compatible API in front of OpenAI, Anthropic, Google, Mistral, DeepSeek and open models.
- Routing rules by cost, latency or task, with automatic fallback when a provider errors or rate-limits.
- Exact-match and semantic caching of responses.
- Budgets and rate limits per team, API key or customer.
- Cost tracking and attribution by team, feature and customer, with alerts.
- Request logging with PII redaction.
- Runs in your own cloud (VPC) or managed.
Get started: Sign up and our team will get in touch, or read the LLM gateway overview.
Keep comparing
OpenRouter alternatives, answered
Does OpenRouter charge more than going direct to the provider?
Not per token. OpenRouter’s pricing page says inference is billed at each provider’s list price on every plan. Its fee is charged when you buy credits: 5.5% on Standard and 8% on Business, as of October 22, 2026. Bring-your-own-key use above a monthly allowance carries a 5% fee. Check the pricing page for current terms.
Is there a self-hosted OpenRouter alternative?
OpenRouter is a hosted service only. Self-hosted alternatives that give you one OpenAI-compatible API across providers include LiteLLM (MIT, except its enterprise directory), Portkey’s gateway (MIT), Bifrost (Apache 2.0) and Agent Router, formerly Envoy AI Gateway (Apache 2.0). With these you use your own provider API keys and contracts.
Does OpenRouter log my prompts?
OpenRouter’s FAQ says prompts and completions are not logged by default, and that you can opt in to logging for a 1% discount. The providers it routes to have their own policies; OpenRouter lets you restrict routing to providers that do not collect data or that have a zero data retention policy.
Want one API for every model, with costs under control?
Sign up to tell us which models and providers you use, and our team will get in touch to set up the LLM Gateway for your stack.
Sign up