OpenRouter Alternatives
Six ways to replace <em>OpenRouter</em>, hosted or self-hosted, and when to stay.
OpenRouter gives you one API for 600+ models and adds a 5.5% fee when you buy credits. If you want the same endpoint without any fee and can run a server, LiteLLM is the replacement. If you want it hosted, Vercel AI Gateway charges no markup on tokens, and Portkey adds production logs and guardrails for a flat $49 a month. Cloudflare AI Gateway is free in front of your own keys, TrueFoundry suits governed multi-team setups, and Together AI is the host to buy from when open models carry your traffic. Stripe agreed in 2026 to acquire OpenRouter, which is one more reason to know your way out.
The ranking is editorial: a sponsored spot is always flagged on its card, and no affiliate link changes a score.
Why teams look past OpenRouter
OpenRouter is good at what it promises: one OpenAI-compatible API, 600+ models from 80+ providers, routing and fallbacks, and consolidated billing. Many teams start there and stay. The ones who leave usually hit one of the points below.
A percentage fee on every credit
EU and US in-region routing cost more
Prepaid credits carry risk
BYOK is free only up to a ceiling
The free tier is for trials
Provider hops can change behaviour
LiteLLM
LiteLLM is the open-source answer to OpenRouter. It comes as a Python SDK and as a proxy server, which its documentation describes as a self-hosted OpenAI-compatible gateway. You call 100+ LLMs through one interface, issue virtual keys to teams or apps, track spend per key and manage it all in an admin UI. The gateway is under the MIT licence, so you can run and modify it freely. The free edition already includes virtual keys, budgets and teams, load balancing, rate limits and LLM guardrails; the Enterprise tier adds SSO, JWT auth, audit logs and dedicated support on the same core, at a price you request from sales.
How the price reads against OpenRouter: there is no platform fee on top of your tokens, because you bring your own provider accounts and pay them directly. On OpenRouter's pay-as-you-go plan, buying $1,000 of credits costs $55 in platform fees at 5.5%; with LiteLLM that $55 becomes the cost of running a small server and the hours to maintain it. The trade-off is operations: you host it, you update it, you watch it. Tip: start with the SDK inside one service, then move to the proxy when a second team needs access, so you only run infrastructure when it pays.
- MIT licence
- 100+ LLMs through one interface
- Virtual keys and spend tracking
- Admin UI included
- ✓No platform fee on tokens
- ✓Your data stays on your infrastructure
- ✓Python SDK and proxy in one project
- ✗You run and update the server
- ✗Upgrades and security patches are on you
- ✗SSO and audit logs need Enterprise
| Criterion | LiteLLM | OpenRouter |
|---|---|---|
| Hosting | Self-hosted | Hosted SaaS |
| Fee on tokens | None, your own keys | 5.5% on credits (Standard) |
| Licence | MIT | Proprietary |
Pick LiteLLM if you have someone to run it and want zero fees and full control. If you want a hosted service with the same idea, take Portkey or Vercel AI Gateway.
Portkey
Portkey is a hosted AI gateway with observability built in. Every plan includes a universal API, fallbacks, load balancing, retries, prompt management and routing. The free Developer plan records 10k logs per month, keeps logs for 3 days and metrics for 30 days, and comes with simple caching, deterministic guardrails and community support; Portkey itself says it is for prototyping and testing, not production workloads. Production costs $49 a month for 100k recorded logs, with $9 overages per additional 100k requests, 30-day log retention, LLM and partner guardrails, role-based access control, semantic caching and production support. Portkey adds that Production is not recommended when you need custom security controls or data residency guarantees. Enterprise is custom-priced, with SSO, granular budgets and rate limits, private cloud or VPC hosting and SOC2 Type 2, GDPR and HIPAA compliance. If you would rather run it yourself, Portkey also offers an open-source edition of the gateway, with retries, fallbacks, load balancing, guardrails and a basic dashboard, and no request limit.
How the price reads against OpenRouter: Portkey's fee is a flat subscription tied to logs, not a percentage of your spend, and exceeding the log limit on Developer only stops recording logs, not requests. At $49 a month, Production costs less than OpenRouter's 5.5% fee once you spend more than about $890 a month on credits. You bring your own provider keys. Watch the ceiling: the $9 overage applies up to 3M requests a month, so 1M requests cost $130 ($49 plus nine blocks of 100k), and past 3M you move to Enterprise. Tip: tag requests with metadata per customer from day one, so cost per customer is a filter in Portkey rather than a spreadsheet job later.
- Logs, traces and feedback built in
- Fallbacks, retries, load balancing
- Production at $49/month
- SOC2, GDPR, HIPAA on Enterprise
- ✓Flat price instead of a percentage fee
- ✓Strong observability for production
- ✓Guardrails and caching included
- ✗Free plan keeps logs only 3 days
- ✗SSO and VPC hosting need Enterprise
- ✗You still manage provider accounts and keys
| Criterion | Portkey | OpenRouter |
|---|---|---|
| Pricing model | Flat, per recorded logs | % fee on credits |
| Log retention | 3 days free, 30 days Production | Opt-in logging |
| Entry paid plan | $49/month | Pay-as-you-go + 5.5% |
Pick Portkey if you run LLM features in production and want logs, guardrails and fallbacks in one hosted tool. If you only need model access, Vercel AI Gateway is simpler.
Vercel AI Gateway
Vercel AI Gateway is the closest hosted twin of OpenRouter: one endpoint, many models, credits you top up. The gateway charges no markup and no platform fee on tokens: you pay the provider's list price, pay as you go, from AI Gateway Credits. Every Vercel team gets a free tier with $5 of credit per month, limited to free-tier eligible models and lower rate limits per model. Buying credits moves the team to the paid tier, with all available models, custom limits and bring-your-own-key (BYOK) support, still at zero markup, but the $5 monthly credit stops applying once you buy credits. You can set budgets per team, project, API key or team member.
How the price reads against OpenRouter: on $1,000 of model usage, OpenRouter Standard adds $55 in platform fees, Vercel adds nothing on tokens, and you remain responsible for any payment processing fees. The free tiers differ in kind: OpenRouter Free gives 25+ free models with daily request caps, Vercel gives $5 of credit a month on a subset of models. Two details catch BYOK users: when a request with your own key fails, the gateway retries it with Vercel's credentials and charges your credit balance, and gateway budgets exclude BYOK spend, so set caps at the provider too. Some options cost extra: team-wide zero data retention is $0.10 per 1,000 requests, and regional inference passes through the provider's regional price, which can be higher. The limit is depth: evaluations need another tool, and OpenTelemetry traces go to your own tool through Trace Drains, billed at $0.05 per 1,000 traces on Pro and Enterprise. In n8n, it has its own Vercel AI Gateway Chat Model node. If you are leaving Vercel for other reasons, read our guide to switching from Vercel. Tip: free credits start with your first request, so make that request when you are ready to test, not on sign-up day.
- No markup, no platform fee on tokens
- $5 free credit a month before you buy credits
- BYOK on the paid tier
- Budgets per team, project, key or member
- ✓Provider list prices with zero markup
- ✓Native to the AI SDK
- ✓Budgets at four levels
- ✗Free tier limited to a subset of models
- ✗BYOK requires the paid tier
- ✗Free credit ends once you buy credits
| Criterion | Vercel AI Gateway | OpenRouter |
|---|---|---|
| Fee on tokens | None | 5.5% on credits (Standard) |
| Free tier | $5 credit/month | 25+ free models |
| BYOK | Paid tier | Free up to $25,000/month, then 5% |
Pick Vercel AI Gateway for hosted, zero-markup access to many models. If you need logs and guardrails for production, Portkey goes further.
Cloudflare AI Gateway
Cloudflare AI Gateway sits between your app and the model providers and adds caching, rate limiting and analytics. Its core features (dashboard analytics, caching and rate limiting) are free on all plans, and so is DLP scanning; guardrails are billed as Workers AI inference. Log storage depends on when your account created its first gateway: newer accounts store logs in Workers Logs and pay Workers Logs rates, while older ones keep the legacy caps of 100,000 logs in total on Workers Free and 10,000,000 logs per gateway on Workers Paid. If you would rather not keep accounts with each provider, Unified Billing lets you buy credits from Cloudflare: inference is billed at the provider's per-token rates with no markup, and a 5% fee applies to credits, so $100 of credit costs $105, paid by credit card.
How the price reads against OpenRouter: with your own provider keys, the gateway itself costs nothing; with Unified Billing, the 5% fee sits just under OpenRouter Standard's 5.5%. Caching is where the savings hide: a repeated prompt served from Cloudflare's cache does not reach the provider. The limit is the catalogue: you work from the providers Cloudflare supports rather than one marketplace of 600+ models. OpenRouter is one of those providers, so you can also put the gateway in front of OpenRouter and add caching and analytics without leaving it. If Cloudflare is a broader question for you, see our guide to switching from Cloudflare. Tip: turn on caching only for deterministic calls (classification, extraction), since a cached creative answer will repeat word for word.
- Core features free
- Caching, rate limiting, analytics
- DLP scanning free on all plans
- Unified Billing at a 5% credit fee
- ✓Free with your own keys
- ✓Cache cuts repeated calls
- ✓Runs on Cloudflare's network
- ✗Log limits depend on account age
- ✗No single model marketplace
- ✗Unified Billing paid by card only
| Criterion | Cloudflare AI Gateway | OpenRouter |
|---|---|---|
| Fee on tokens | None with own keys; 5% via Unified Billing | 5.5% on credits (Standard) |
| Caching | Included free | Prompt caching on Standard |
| Model catalogue | Supported providers, OpenRouter included | 600+ models |
Pick Cloudflare AI Gateway if you hold your own provider keys and want free caching and analytics. If you want a ready catalogue of models, Vercel AI Gateway is closer to OpenRouter.
TrueFoundry
TrueFoundry is an AI gateway built for governance: an LLM gateway and an MCP gateway in one, with a registry for prompts, skills and agents. The Developer plan is free forever for up to 3 users, with 10K requests and tool calls per user per month, 5 model accounts, 5 MCP servers, one budget rule, 7-day log retention and community support on Discord. Pro costs $25 per user per month, for unlimited users, 20K requests and tool calls per user per month, $20 per additional 100K requests, built-in guardrails, budget limiting, 30-day log retention, SSO and custom roles. Enterprise runs on a custom annual commitment, with VPC, on-premise deployment, data residency and an SLA.
How the price reads against OpenRouter: TrueFoundry charges per seat, not per token, so a team of 5 on Pro pays $125 a month whatever it spends on models, as long as it stays within its 100K pooled requests and tool calls. That beats a percentage fee once model spend is high, and costs more than OpenRouter when spend is low. The MCP gateway is the distinctive part: agents reach tools and models through the same governed layer. Tip: count requests, not users, before choosing a plan. Pro's 20K per user is pooled across the team, a tool call counts like a request, and overage is $20 per 100K: TrueFoundry's own example puts 7 users and 1M requests at $355 a month.
- LLM and MCP gateway together
- Free for up to 3 users
- Pro at $25 per user per month
- VPC, on-premise and data residency on Enterprise
- ✓Governance: SSO, roles, budgets
- ✓Tools and models behind one layer
- ✓Deployment options for regulated firms
- ✗Per-seat pricing hurts small, low-spend teams
- ✗7-day logs on the free plan
- ✗More setup than a hosted marketplace
| Criterion | TrueFoundry | OpenRouter |
|---|---|---|
| Pricing model | Per user | % fee on credits |
| MCP gateway | Included | Separate tools |
| Private deployment | VPC, on-prem (Enterprise) | Hosted SaaS |
Pick TrueFoundry if several teams and agents need governed access to models and tools. A solo developer will pay less with OpenRouter, LiteLLM or Vercel.
Together AI
Together AI is a different kind of alternative: an inference provider rather than a router. It runs open models itself, with serverless inference billed per million tokens, then provisioned throughput, dedicated endpoints, GPU clusters, fine-tuning and post-training as you grow. Each model has an input, cached input and output price; for example GLM-5.3 costs $1.40 per million input tokens, $0.26 cached and $4.40 per million output tokens, and GLM-5.3-Flash costs $0.15 input and $0.50 output.
How the price reads against OpenRouter: if most of your traffic goes to a handful of open models, buying from the host removes the middle layer and its fee, and gives you a direct relationship for rate limits and dedicated capacity. The limit is breadth: you get the models in Together's catalogue, and for anything else you keep the lab's own API, so many teams pair Together with LiteLLM or a hosted gateway. For no-code workflows, see our Together AI integration for Make. Tip: check the cached-input price for long system prompts; on GLM-5.3 it is about a fifth of the standard input price.
- Serverless inference per million tokens
- Cached-input pricing listed per model
- Dedicated endpoints and GPU clusters
- Fine-tuning and post-training
- ✓Buy inference from the host itself
- ✓Cheap cached input on long prompts
- ✓Path to dedicated capacity
- ✗Catalogue limited to Together's models
- ✗Pair with a gateway for closed models
- ✗Dedicated capacity priced separately
| Criterion | Together AI | OpenRouter |
|---|---|---|
| Role | Inference host | Router across 80+ providers |
| Fee | Per-token price only | 5.5% on credits (Standard) |
| Scale-up path | Dedicated endpoints, GPUs | Provider routing |
Pick Together AI when open models carry most of your traffic. Keep a gateway such as LiteLLM in front if you also call closed models.
6 OpenRouter alternatives compared
Scores are our editorial score on five criteria (ease of setup, value, routing and features, observability, model coverage). Prices were read on each pricing page in 2026. The edge column says what each tool does differently from OpenRouter's credit-and-fee model.
| Best for | Edge over OpenRouter | Free plan | Team size | Visit | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | LiteLLM | Best self-hosted replacement | Self-hosted, MIT licence, no fee on tokens | 4.4/5 | Free (self-hosted) | ✓ | Platform teams | Visit → |
| 2 | Portkey | Best hosted gateway for production teams | Flat price, logs and guardrails built in | 4.3/5 | Free; Production $49/mo | ✓ | Production apps | Visit → |
| 3 | Vercel AI Gateway | Best zero-markup hosted gateway | No markup on tokens, BYOK with no fee | 4.2/5 | Pay as you go | ✓ | AI SDK users | Visit → |
| 4 | Cloudflare AI Gateway | Best free gateway on top of your own keys | Free caching and analytics on your keys | 4.1/5 | Free | ✓ | Cloudflare users | Visit → |
| 5 | TrueFoundry | Best for governance across teams | LLM and MCP gateway with governance | 4.0/5 | Free; Pro $25/user/mo | ✓ | Multi-team companies | Visit → |
| 6 | Together AI | Best direct host for open models | Buy open-model inference from the host | 3.7/5 | Per token | — | Open-model users | Visit → |
Prices in USD as shown on each pricing page in 2026. Model usage is billed on top, by the provider or by the gateway at provider rates.
Is your tool missing from this page? Email us: hello@hackceleration.com
You're leaving OpenRouter because... take this
MIT-licensed proxy, your own keys, no fee on tokens.
You need logs, guardrails and fallbacks in productionPortkeyProduction at $49 a month for 100k logs.
You want a hosted catalogue without markupVercel AI GatewayProvider list prices; $5 free credit a month before you buy credits.
You already hold provider keys and use CloudflareCloudflare AI GatewayCaching, rate limits and analytics free.
Several teams and agents need governed accessTrueFoundryLLM and MCP gateway, SSO on Pro.
Open models carry most of your trafficTogether AIBuy inference from the host, per million tokens.
How to choose an OpenRouter alternative
An LLM gateway is a layer between your application and the model providers. Your code calls one endpoint, usually OpenAI-compatible, and the gateway forwards the request to OpenAI, Anthropic, Google or an open-model host, then adds what providers do not coordinate between them: fallbacks when one fails, retries, load balancing, caching, budgets, logs and access keys per team. OpenRouter is one such gateway that also resells model access through credits. The alternatives fall into three families: self-hosted gateways (LiteLLM), hosted gateways on top of your keys or with pass-through billing (Portkey, Vercel, Cloudflare, TrueFoundry), and inference hosts you buy from directly (Together AI). For a wider field, see our best AI gateways ranking; for the models themselves, our best LLM APIs ranking.
What to demand from any gateway
Compare fees on your real spend
Decide who holds the provider accounts
Plan the migration in five steps
Watch latency and caching
Plan for the gateway going down
Tools we looked at and left out
- OpenAI-compatible endpoint
- Your models supported, with tool calls
- Fee compared on your real monthly spend
- Budgets per key or team
- Log retention and data region checked
- Migration replayed on real traffic
OpenRouter alternatives, your questions
Is Stripe buying OpenRouter, and does it change anything?
Yes, Stripe announced in 2026 that it had agreed to acquire OpenRouter, describing it as a gateway that routes across 400+ models from more than 80 providers. For now the plans are unchanged: 5.5% on Standard and 8% on Business. Keep your base URL in configuration so a later switch stays cheap.Are failed or fallback requests billed on OpenRouter?
No. An attempt that errors is not charged for its model tokens, so with fallbacks you pay only for the run that answers, and routing through openrouter/auto adds no fee. Auxiliary services that already ran, such as web search or file parsing, may still be billed.Does OpenRouter keep my prompts?
Not by default. OpenRouter logs basic request metadata such as timestamps, model and token counts, and does zero logging of prompts and completions unless you opt in. The 1% discount on usage comes only with letting OpenRouter use your prompts and completions to improve its product; private logging for your own debugging gives no discount.Can I leave OpenRouter without a penalty?
Yes. Standard and Business have no minimum spend and no lock-in, and you can downgrade from Business 30 days after upgrading. The catch is the balance: unused credits can only be refunded within 24 hours of purchase, so spend them down before you cut over.Can I put Cloudflare AI Gateway in front of OpenRouter?
Yes. OpenRouter is one of the providers Cloudflare AI Gateway supports: you replace the OpenRouter endpoint with your gateway's OpenRouter URL and keep the same models. You add free caching, rate limiting and analytics, while OpenRouter's credit fee still applies.Which alternative keeps data in the EU?
Self-hosted LiteLLM in an EU region is the most direct answer, since requests never leave your servers. TrueFoundry lists data residency on Enterprise, while Portkey says its $49 Production plan is not recommended when you need data residency guarantees. On Vercel, regional inference is billed at the provider's regional price, which can be higher.How do Portkey overages add up at 1 million requests a month?
To $130 a month on Production: $49 for the first 100k, then $9 for each of the nine extra blocks of 100k. The overage only runs up to 3M requests a month; above that, Portkey moves you to a custom Enterprise plan.Can I use an OpenRouter alternative in n8n?
Yes. n8n has dedicated chat model nodes for both OpenRouter and Vercel AI Gateway, so moving an n8n workflow built on the OpenRouter node to Vercel is a node swap. For gateways without their own node, check that n8n can reach their OpenAI-compatible endpoint before migrating.