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.

Romain CochardCEO of Hack'celeration
Updated 20266alternatives compared10Google results read2026prices checked

The ranking is editorial: a sponsored spot is always flagged on its card, and no affiliate link changes a score.

The honest take

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

The Standard pay-as-you-go plan charges a 5.5% platform fee on credits, and Business charges 8%. On $10,000 of model spend a month, that is $550 on Standard or $800 on Business, every month, for routing that LiteLLM does for free on your own server and Vercel does with zero markup.

EU and US in-region routing cost more

In-region routing for the EU and the US is listed on Business and Enterprise only, not on Standard. A European company with data rules therefore pays the 8% Business fee to keep requests in the region, or looks at a self-hosted gateway.

Prepaid credits carry risk

OpenRouter reserves the right to expire unused credits one year after purchase. Refunds for unused credits must be requested within 24 hours of the transaction, platform fees are non-refundable, and crypto payments are never refunded.

BYOK is free only up to a ceiling

With your own provider keys, the first $25,000 a month of list-price usage carries no BYOK fee on pay-as-you-go. Above that, OpenRouter charges 5% of what the same model would cost on its platform. Large teams that bring their keys still pay a percentage.

The free tier is for trials

Free gives 25+ free models from 4 providers, capped at 20 requests a minute and 50 a day until your account has bought at least $10 of credits, then 1,000 a day. Failed attempts count toward that daily cap. Budgets, spend controls and prompt caching are listed on Standard and above, not on Free.

Provider hops can change behaviour

Developers report in 2026 that OpenRouter can move a request to another provider, and since each provider keeps its own prompt cache, the switch turns cached tokens into full-price ones. OpenRouter sends a cached request back to the same provider, but that sticky routing ends after 60 minutes of inactivity, is skipped when you set your own provider order, and falls back elsewhere when the provider fails. OpenRouter itself advises pinning a specific model and provider for consistent latency, which gives up part of the routing benefit.
1
Best self-hosted replacement

LiteLLM

4.4/5

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.

Standout features
  • MIT licence
  • 100+ LLMs through one interface
  • Virtual keys and spend tracking
  • Admin UI included
+Pros
  • ✓No platform fee on tokens
  • ✓Your data stays on your infrastructure
  • ✓Python SDK and proxy in one project
−Cons
  • ✗You run and update the server
  • ✗Upgrades and security patches are on you
  • ✗SSO and audit logs need Enterprise
LiteLLM vs OpenRouter
CriterionLiteLLMOpenRouter
HostingSelf-hostedHosted SaaS
Fee on tokensNone, your own keys5.5% on credits (Standard)
LicenceMITProprietary
Verdict

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.

Visit LiteLLM →
2
Best hosted gateway for production teams

Portkey

4.3/5

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.

Standout features
  • Logs, traces and feedback built in
  • Fallbacks, retries, load balancing
  • Production at $49/month
  • SOC2, GDPR, HIPAA on Enterprise
+Pros
  • ✓Flat price instead of a percentage fee
  • ✓Strong observability for production
  • ✓Guardrails and caching included
−Cons
  • ✗Free plan keeps logs only 3 days
  • ✗SSO and VPC hosting need Enterprise
  • ✗You still manage provider accounts and keys
Portkey vs OpenRouter
CriterionPortkeyOpenRouter
Pricing modelFlat, per recorded logs% fee on credits
Log retention3 days free, 30 days ProductionOpt-in logging
Entry paid plan$49/monthPay-as-you-go + 5.5%
Verdict

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.

Visit Portkey →
3
Best zero-markup hosted gateway

Vercel AI Gateway

4.2/5

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.

Standout features
  • 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
+Pros
  • ✓Provider list prices with zero markup
  • ✓Native to the AI SDK
  • ✓Budgets at four levels
−Cons
  • ✗Free tier limited to a subset of models
  • ✗BYOK requires the paid tier
  • ✗Free credit ends once you buy credits
Vercel AI Gateway vs OpenRouter
CriterionVercel AI GatewayOpenRouter
Fee on tokensNone5.5% on credits (Standard)
Free tier$5 credit/month25+ free models
BYOKPaid tierFree up to $25,000/month, then 5%
Verdict

Pick Vercel AI Gateway for hosted, zero-markup access to many models. If you need logs and guardrails for production, Portkey goes further.

Visit Vercel AI Gateway →
4
Best free gateway on top of your own keys

Cloudflare AI Gateway

4.1/5

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.

Standout features
  • Core features free
  • Caching, rate limiting, analytics
  • DLP scanning free on all plans
  • Unified Billing at a 5% credit fee
+Pros
  • ✓Free with your own keys
  • ✓Cache cuts repeated calls
  • ✓Runs on Cloudflare's network
−Cons
  • ✗Log limits depend on account age
  • ✗No single model marketplace
  • ✗Unified Billing paid by card only
Cloudflare AI Gateway vs OpenRouter
CriterionCloudflare AI GatewayOpenRouter
Fee on tokensNone with own keys; 5% via Unified Billing5.5% on credits (Standard)
CachingIncluded freePrompt caching on Standard
Model catalogueSupported providers, OpenRouter included600+ models
Verdict

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.

Visit Cloudflare AI Gateway →
5
Best for governance across teams

TrueFoundry

4.0/5

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.

Standout features
  • 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
+Pros
  • ✓Governance: SSO, roles, budgets
  • ✓Tools and models behind one layer
  • ✓Deployment options for regulated firms
−Cons
  • ✗Per-seat pricing hurts small, low-spend teams
  • ✗7-day logs on the free plan
  • ✗More setup than a hosted marketplace
TrueFoundry vs OpenRouter
CriterionTrueFoundryOpenRouter
Pricing modelPer user% fee on credits
MCP gatewayIncludedSeparate tools
Private deploymentVPC, on-prem (Enterprise)Hosted SaaS
Verdict

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.

Visit TrueFoundry →
6
Best direct host for open models

Together AI

3.7/5

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.

Standout features
  • Serverless inference per million tokens
  • Cached-input pricing listed per model
  • Dedicated endpoints and GPU clusters
  • Fine-tuning and post-training
+Pros
  • ✓Buy inference from the host itself
  • ✓Cheap cached input on long prompts
  • ✓Path to dedicated capacity
−Cons
  • ✗Catalogue limited to Together's models
  • ✗Pair with a gateway for closed models
  • ✗Dedicated capacity priced separately
Together AI vs OpenRouter
CriterionTogether AIOpenRouter
RoleInference hostRouter across 80+ providers
FeePer-token price only5.5% on credits (Standard)
Scale-up pathDedicated endpoints, GPUsProvider routing
Verdict

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.

Visit Together AI →
At a glance

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 forEdge over OpenRouterFree planTeam sizeVisit
1LiteLLMBest self-hosted replacementSelf-hosted, MIT licence, no fee on tokens4.4/5Free (self-hosted)✓Platform teamsVisit →
2PortkeyBest hosted gateway for production teamsFlat price, logs and guardrails built in4.3/5Free; Production $49/mo✓Production appsVisit →
3Vercel AI GatewayBest zero-markup hosted gatewayNo markup on tokens, BYOK with no fee4.2/5Pay as you go✓AI SDK usersVisit →
4Cloudflare AI GatewayBest free gateway on top of your own keysFree caching and analytics on your keys4.1/5Free✓Cloudflare usersVisit →
5TrueFoundryBest for governance across teamsLLM and MCP gateway with governance4.0/5Free; Pro $25/user/mo✓Multi-team companiesVisit →
6Together AIBest direct host for open modelsBuy open-model inference from the host3.7/5Per token—Open-model usersVisit →

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

Buyer's guide

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

An OpenAI-compatible endpoint, fallbacks across providers, per-key budgets, logs you can search and export, and a clear statement of what is stored and for how long. Then check the models you actually use are supported, including tool calls and structured outputs, not only plain chat.

Compare fees on your real spend

A percentage fee is cheap at low spend and expensive at high spend; a flat plan is the opposite. At $1,000 a month, OpenRouter Standard adds $55 and Portkey Production costs $49. At $10,000 a month, the fee becomes $550 while Portkey stays at $49 plus $9 per extra 100k requests. Do this sum with your own numbers before deciding.

Decide who holds the provider accounts

OpenRouter, Vercel's credits and Cloudflare's Unified Billing pay providers for you. LiteLLM, Portkey and Cloudflare with your own keys let you keep a direct account with each lab, which brings their own rate limits, discounts and data terms, but also one invoice per provider.

Plan the migration in five steps

Change the base URL and key in one service; rewrite each OpenRouter model slug to the new gateway's identifier; recreate fallbacks and provider preferences; set budgets per key; then replay a sample of production requests through both systems and compare errors, latency, tokens and cost before cutting over. Spend your remaining OpenRouter credits first, since platform fees are not refunded.

Watch latency and caching

Every hop adds a little latency, and each provider keeps its own prompt cache. If your prompts are long and repeated, pin one provider per model and use a gateway with caching (Cloudflare, Portkey) so repeated calls do not hit the provider at all.

Plan for the gateway going down

A gateway sits on every request, so its outage is yours. On OpenRouter, contractual SLAs come with Enterprise only, and TrueFoundry puts its SLA on Enterprise too. Keep a direct key for your main model as a last fallback, and keep the base URL in configuration so the next switch is one value, not a release.

Tools we looked at and left out

Kong AI Gateway is a plugin set for companies that already run Kong as their API gateway; it is a fit there, and heavy elsewhere. Helicone and Braintrust are observability-first tools with a gateway attached. Requesty, Opper, AI/ML API and Merge Gateway are hosted routers close to OpenRouter's model. Groq, Fireworks and DeepInfra are inference hosts like Together. For automation workflows that call these models, see our n8n vs Zapier comparison; for the labs themselves, our Anthropic review, guide to switching from OpenAI and Hugging Face alternatives.
  • 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
FAQ · 8 questions

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.
Hack'celeration Lab

Get the next breakdown in your inbox

No spam. Unsubscribe anytime.