OpenRouter doesn't mark up your tokens. It charges you when you buy the credits.

That 5.5% fee on every top-up is the reason most teams start looking for an OpenRouter alternative. The other reasons are control (you can't self-host it), compliance (where your prompts go) and logs.

The short answer: LiteLLM if you want to self-host for free, Vercel AI Gateway if you want a hosted gateway with no fee at all, Cloudflare AI Gateway if you want caching and analytics on top of your own keys, and Opper if your data has to stay in the EU.

If you're:

  • paying OpenRouter's fee on a growing monthly bill,
  • needing your own keys, logs and budgets per team,
  • or shipping to customers who ask where their data goes,

this list is for you.

Pricing checked on 2026-11-26 on each vendor's pricing page and docs.

OpenRouter alternatives compared

Gateway Type Fee on tokens BYOK Models / providers OpenAI-compatible
OpenRouter (baseline) Hosted 0% markup, 5.5% fee on credit purchases First $25k/month free, then 5% "Hundreds of models" Yes
LiteLLM Self-hosted, open source None Native (your keys) 100+ LLMs Yes
Vercel AI Gateway Hosted 0%, no platform fee 0% 400+ models Yes
Cloudflare AI Gateway Hosted (edge) Core features free, 5% on Unified Billing credits Yes Not published Yes
Helicone Hosted or self-hosted 0% markup Yes, your keys first 100+ providers Yes
Bifrost Self-hosted, open source None Native (your keys) 25+ providers Yes
Requesty Hosted (EU region) 5% markup Yes, 5% still applies 600+ models, 30+ providers Yes
LLM Gateway Hosted or self-hosted 5% fee on credit purchases Free, no fee 200+ models, 40+ providers Yes
Opper Hosted (EU) 3% fee on credit purchases Not published 700+ models, 70+ providers Yes

Pricing compared

Gateway Free tier Cheapest paid option What you're billed for
OpenRouter 25+ free models, 50 requests/day Pay as you go Provider list price + 5.5% on credits
LiteLLM Open source, free Enterprise: custom (30-day trial) Your providers directly
Vercel AI Gateway Monthly free credit on some models Pay as you go credits Provider list price, no markup
Cloudflare AI Gateway Core features free, 100,000 logs on Workers Free Workers Paid: 10M logs per gateway Your providers directly (5% only with Unified Billing)
Helicone 10,000 requests/month, 7-day retention Pro $79/month Plan + provider list price
Bifrost Open source, "Free Forever" Enterprise: custom (14-day trial) Your providers directly
Requesty 200 requests/day, free models only Pay as you go Provider price + 5%
LLM Gateway Free plan, 20 requests/min on free models Pay as you go; Enterprise from $3,000/year Provider list price + 5% on credits (0% with BYOK)
Opper Free models, no card Gateway plan, pay as you go Provider price + 3% on credits

The pattern is clear once it's in one table.

Hosted gateways make money on a fee. Self-hosted ones make money on enterprise licenses.

Switching away from OpenRouter takes two lines

Every gateway on this list speaks the OpenAI API. If your code already calls OpenRouter with the OpenAI SDK, switching is a new base_url, a new key and, sometimes, a different model string:

from openai import OpenAI # Before: OpenRouter # client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=OPENROUTER_KEY) # After: any gateway below, e.g. Vercel AI Gateway client = OpenAI(base_url="https://ai-gateway.vercel.sh/v1", api_key=AI_GATEWAY_KEY) resp = client.chat.completions.create( model="openai/gpt-6-luna", messages=[{"role": "user", "content": "Summarize this ticket in one line."}], ) print(resp.choices[0].message.content) 
Gateway base_url Model string
LiteLLM http://0.0.0.0:4000 (your server) The alias you define in config.yaml
Vercel AI Gateway https://ai-gateway.vercel.sh/v1 openai/gpt-6-luna
Cloudflare AI Gateway https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/compat openai/gpt-6-luna
Helicone https://ai-gateway.helicone.ai gpt-6-luna/openai
Bifrost http://localhost:8080/v1 (your server) openai/gpt-6-luna
Requesty https://router.requesty.ai/v1 openai/gpt-6-luna
LLM Gateway https://api.llmgateway.io/v1 gpt-6-luna
Opper https://api.opper.ai/v3/compat provider/model

1. LiteLLM — best open-source, self-hosted gateway

LiteLLM homepage

LiteLLM is the default answer when someone says "self-hosted OpenRouter". It's a proxy you run yourself, with 64k GitHub stars, that puts 100+ LLMs behind one OpenAI-compatible endpoint.

You define your models in a config.yaml, point your app at the proxy, and get virtual keys, spend tracking per project, load balancing and fallbacks. There's no fee because there's no middleman: you pay your providers directly.

I ran it locally while researching this list. The same JSON-extraction prompt through LiteLLM and straight to OpenAI took about the same time (1.16 s vs 1.32 s to first token, median of 10), and a broken primary model fell back to Groq automatically. One Windows gotcha: use 127.0.0.1, not localhost, or each call waits about 2 seconds on IPv6.

Pros

  • Free and open source (MIT, except the enterprise folder)
  • Your keys, your servers, no fee
  • Mature: virtual keys, budgets, fallbacks, load balancing

Cons

  • You run and maintain it
  • Virtual keys need a Postgres database
  • SSO, audit logs and SLAs are Enterprise-only (custom price)

Best for: teams that want OpenRouter's convenience without sending traffic or money through a third party.

2. Vercel AI Gateway — best hosted gateway with no fee

Vercel AI Gateway page

Vercel AI Gateway is the closest drop-in replacement for OpenRouter, without the fee. Vercel's pricing docs say it "charges no markup and no platform fee on tokens". You buy credits and pay provider list prices.

It gives you 400+ models, automatic retries across providers, model fallbacks, budgets per team or key, and per-request cost logs. BYOK costs nothing extra. Only if you turn off "Fallback to Vercel Keys" do you pay $0.20 per 1,000 requests.

Pros

  • No markup and no platform fee
  • 400+ models behind one key
  • Works outside Vercel; you only need a Vercel account

Cons

  • Hosted only
  • The free monthly credit amount isn't on the pricing page
  • Add-ons (regional endpoints at 5%, custom reporting) cost extra

Best for: teams that want a hosted OpenRouter without the 5.5% fee.

3. Cloudflare AI Gateway — best for caching and analytics on your own keys

Cloudflare AI Gateway page

Cloudflare AI Gateway sits in front of the providers you already pay. Analytics, caching and rate limiting are free. You keep your own keys, or use Unified Billing with a 5% fee on credits.

Logs are the limit to watch: 100,000 in total on Workers Free and 10 million per gateway on Workers Paid (legacy logs). Gateways created after September 24, 2026 store logs in Workers Logs instead.

One thing to know before you integrate: Cloudflare now marks its OpenAI-compatible /compat endpoint as deprecated for single-model calls and recommends api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1/chat/completions.

Pros

  • Core features free
  • Caching cuts repeated requests
  • Runs on Cloudflare's edge network

Cons

  • Hosted only
  • Log limits on the free plan
  • The endpoint is changing; check the docs before you build

Best for: teams that want caching, rate limits and analytics without changing providers.

4. Helicone — best for observability

Helicone pricing page

Helicone started as an LLM observability tool and added a gateway on top. Its gateway charges 0% markup, tries your own keys first and falls back to Helicone's managed keys.

The free Hobby plan covers 10,000 requests a month with 7-day retention. Pro is $79/month and Team is $799/month. It's open source (Apache-2.0), so you can also self-host it.

Worth knowing: on November 26, 2026, Helicone's site showed a banner saying "Helicone is now part of Experiential Labs", with details still to come.

Pros

  • Detailed request logs and dashboards
  • 0% markup on credits
  • Open source and self-hostable

Cons

  • Short retention on the free plan (7 days)
  • Paid plans jump from $79 to $799
  • Ownership change announced, details pending

Best for: teams that care more about seeing every request than about routing.

5. Bifrost — best for raw performance

Bifrost homepage

Bifrost, by Maxim AI, is an open-source gateway (Apache-2.0, 10k GitHub stars) built for speed. Maxim reports 11 µs of added latency at 5,000 requests per second. That's the vendor's benchmark, not mine.

You start it with npx -y @maximhq/bifrost or Docker and add provider keys in its web UI. It includes fallbacks, load balancing, semantic caching, budgets per virtual key and an MCP gateway.

Pros

  • Free and open source
  • Very low overhead (vendor benchmark)
  • MCP gateway included

Cons

  • Self-hosted only
  • Enterprise features (SSO, audit logs) on a custom plan
  • Smaller community than LiteLLM

Best for: high-traffic apps where every millisecond of gateway overhead counts.

6. Requesty — best for smart routing and caching

Requesty pricing page

Requesty is a smaller hosted router with 600+ models from 30+ providers. Its pricing is the simplest on this list: provider price plus 5%. A model that costs $10 per 1M tokens costs $10.50.

What you get for that 5% is routing: fallback policies, latency-based routing, weighted load balancing and automatic prompt caching. There's also an EU endpoint (router.eu.requesty.ai).

Pros

  • Fallback policies you set in the dashboard
  • EU endpoint
  • Free plan with no card

Cons

  • 5% markup, also on BYOK
  • Free plan limited to free models
  • Hosted only

Best for: teams that want OpenRouter-style convenience with more routing control.

7. LLM Gateway — best for BYOK at no cost

LLM Gateway pricing page

LLM Gateway is a small open-source gateway (AGPLv3 core) that works hosted or self-hosted. With your own keys there's no platform fee at all. With their credits, you pay a 5% fee on purchases (plus 1.5% on non-US cards).

It covers 200+ models from 40+ providers, retries a failed request up to twice on another provider, and includes response caching and cost analytics. Enterprise starts at $3,000 a year for small teams.

Pros

  • BYOK is free
  • Open source core, self-hostable
  • Retries on another provider automatically

Cons

  • AGPLv3 license: check it with your legal team
  • Full request logs are Enterprise-only
  • Young project with a smaller community

Best for: small teams that bring their own keys and want a hosted dashboard for free.

8. Opper — best for EU data residency

Opper pricing page

Opper calls itself "the European AI gateway for agents". It runs on AWS in Stockholm, is ISO/IEC 27001 certified, and has EU-only routes you can pin a model to.

It has the lowest fee of the hosted options: 3% on credit purchases on the Gateway plan, 5.5% on the Control Plane plan (spend limits, model allowlists, checks). Failed and fallback attempts aren't billed. Free models work without a card.

Pros

  • EU hosting and EU-only model routes
  • 3% fee, the lowest of the hosted gateways with a fee
  • Failed attempts aren't billed

Cons

  • Hosted only
  • Governance features need the 5.5% plan
  • Smaller ecosystem than the US gateways

Best for: European companies whose customers ask where their prompts are processed.

What about Portkey?

Portkey used to be on every list like this one. Palo Alto Networks completed its acquisition on May 29, 2026, and it's now sold as "Prisma AIRS AI Gateway". Its public pricing page redirects to a sales form. The open-source gateway is still on GitHub under MIT, but the hosted product is now an enterprise security sale.

How to choose an OpenRouter alternative

Start with the question you can't avoid: who runs it?

  • You want no fee and no third party → LiteLLM or Bifrost.
  • You want hosted, with no fee → Vercel AI Gateway.
  • You want to keep your providers and add caching → Cloudflare AI Gateway.
  • You need to see every request → Helicone.
  • You want routing policies without running servers → Requesty.
  • You bring your own keys and want it free → LLM Gateway.
  • Your data must stay in the EU → Opper.

Then check one number: the fee on your actual monthly spend. At $10,000 a month, OpenRouter's 5.5% is $550. Opper's 3% is $300. Vercel's 0% is $0.

FAQ

What is the best alternative to OpenRouter?

For self-hosting, LiteLLM. For a hosted gateway with no fee, Vercel AI Gateway. For EU data residency, Opper.

Is there a free OpenRouter alternative?

Yes. LiteLLM and Bifrost are free and open source. Cloudflare AI Gateway's core features are free. LLM Gateway is free with your own keys, and Helicone's free plan covers 10,000 requests a month.

Does OpenRouter charge a markup?

Not on tokens. It charges a 5.5% fee when you buy credits (8% on the Business plan). With your own keys, the first $25,000 a month is free and then it charges 5%.

Can I self-host an OpenRouter alternative?

Yes. LiteLLM, Bifrost, Helicone and LLM Gateway can all run on your own servers.

Which OpenRouter alternative works in the EU?

Opper runs in Stockholm with EU-only routes. Requesty has an EU endpoint. Self-hosting LiteLLM or Bifrost in an EU region also keeps traffic in the EU.

Key takeaways

  • OpenRouter's cost is the 5.5% fee on credits, not a token markup. Vercel AI Gateway, Cloudflare and Helicone charge 0%.
  • Self-hosted gateways (LiteLLM, Bifrost) cost nothing but your time. In my local check, LiteLLM added no measurable latency.
  • Two of the big names changed hands this year: Portkey (Palo Alto Networks) and Helicone (Experiential Labs). Check the roadmap before you commit.

OpenRouter made one key for every model normal.

Now you can have that without paying a fee on every top-up.

Are you a vendor? This list is updated every quarter. If you'd like your gateway included or re-reviewed, get in touch.

Looking for technical content for your company? I write hands-on articles and comparisons like this one for developer tools and APIs. Get in touch.

Looking for technical content for your company? I can help — LinkedIn · kevinmenesesgonzalez@gmail.com