LIVE · Thursday 3 December

OpenRouter Alternatives for Production 2026: LiteLLM vs Portkey vs Cloudflare vs Vercel AI Gateway vs Bifrost

The production alternatives to OpenRouter split on one question, where the gateway runs. Usage-priced gateway fees top out near 5.5% of the model bill, so the larger saving usually sits in the model behind it.

By Nick10 min read

The main production alternatives to OpenRouter in 2026 are self-hosted LLM gateways (LiteLLM, Bifrost, Portkey's open-source gateway, LLM Gateway), managed gateways (Cloudflare AI Gateway, Vercel AI Gateway, Portkey's hosted platform) and enterprise gateways (Kong AI Gateway, TrueFoundry), plus calling providers or AWS Bedrock, Google Vertex AI and Azure directly. Pick a self-hosted gateway if traffic or governance must stay in your own infrastructure, Cloudflare or Vercel if you want nothing to operate, and an enterprise gateway if you already run Kong or need audit and air-gapped deployment. On list prices, a usage-priced gateway's fee is at most about 5.5% of the model bill; the model itself is the bigger cost.

What OpenRouter does, and why production teams look elsewhere

OpenRouter is a hosted router: one API key, one bill, and a choice of models from many providers. Stripe's August 19, 2026 announcement that it "has agreed to acquire" the company puts the catalogue at more than 400 models from over 80 providers.

Its pricing model explains both its appeal and the reason teams outgrow it. OpenRouter's documentation says "there is no markup on inference pricing", but it charges a fee when you buy credits: 5.5% by card, with a $0.80 minimum, and 5% in crypto. Teams that bring their own provider keys (BYOK) pay nothing on the first $25,000 a month of list-price usage, then 5% of what the same requests would have cost through OpenRouter. Because both fees are percentages, they grow in step with spend.

The second reason is where it runs. OpenRouter's FAQ does not mention a self-hosted deployment, so every request passes through infrastructure you do not control. It has added EU and US in-region endpoints, which refuse a request rather than sending it out of the region, but that is limited to its Business and Enterprise plans, and its FAQ says "account and billing data may be stored or processed in the US." Any budgets, key controls and logs you set up there are held by OpenRouter, not in your own systems.

None of that makes OpenRouter wrong for production. If you want more than 400 models behind one key, your monthly spend sits under the $25,000 BYOK allowance, and you have no requirement for traffic to stay inside your network, it is the least work of any option here. Its ownership is the one open question: Stripe's announcement gives no price, closing date or change for existing customers.

The first decision: does the gateway have to run inside your infrastructure?

That question splits the market in two.

Self-hosted gateways are open-source proxies you deploy in your own cloud or data centre. Your prompts, keys and logs never leave your network, and there is no per-request fee. The trade is that you run a stateful service: LiteLLM's own Terraform stacks for AWS and GCP include managed Postgres and Redis, and you own patching, scaling and incident response.

Self-hosted gateway Licence Governance in the free version What is paid
LiteLLM MIT outside litellm/enterprise/ Virtual keys, spend tracking, fallbacks Audit logs, SSO past 5 users, tag and per-model budgets (price on request)
Bifrost (Maxim) Apache 2.0 Virtual keys, semantic caching, failover Adaptive load balancing, clustering, guardrails (no price on README)
Portkey open-source gateway MIT Retries, fallbacks, load balancing Audit logs and budgets sit in Portkey Enterprise
LLM Gateway AGPLv3 core Usage analytics, OpenAI-compatible API Team and organization management, full data retention (ee/ licence)

Sources: each project's GitHub repository and licence file, read November 17, 2026.

Managed gateways run on the vendor's infrastructure. You trade control for an endpoint that someone else keeps up.

Managed or enterprise gateway Where it runs Governance Pricing (as of the dated page)
OpenRouter OpenRouter's cloud; EU/US in-region on Business and Enterprise Provider filters, ZDR routing, fallbacks 5.5% on card credits; BYOK free to $25,000/month, then 5% (docs, Nov 12, 2026)
Vercel AI Gateway Vercel's cloud; EU or US endpoint in beta Budgets, request logs, ZDR No token markup; BYOK without fallback $0.20 per 1,000 requests; regional endpoint 5% (Sep 8, 2026)
Cloudflare AI Gateway Cloudflare's network Analytics, caching, rate limits, fallbacks Core features free; 5% on Unified Billing credits (Nov 2, 2026)
Portkey (hosted) Portkey SaaS, or Hybrid with gateway in your VPC on Enterprise Audit logs and budgets on Enterprise Pro $49/month for 100K requests, $9 per extra 100K up to 3M (Oct 1, 2026)
Kong AI Gateway Kong's cloud, or hybrid with your own data plane Failover and semantic cache are paid plugins Plus: $100/month per model, 1M requests included, $200 per extra million, 10M cap (Nov 17, 2026)
TrueFoundry Your VPC, on-prem or air-gapped Auditable tool calls, RBAC, failover AWS Marketplace monthly contract: Pro $6,250, Enterprise $12,500 (Nov 17, 2026)

Two of these come with ownership caveats. Palo Alto Networks closed its acquisition of Portkey on May 29, 2026 and is making it the core gateway of its Prisma AIRS security product; the announcement says nothing about the open-source gateway, whose latest release, v1.15.2, dates from January 12, 2026. Bifrost is maintained by Maxim, and its README gives no price for the enterprise version.

The second decision: how much do you want to run?

A self-hosted gateway is a production dependency with root access to every provider key you own, and 2026 showed what that means. On March 24, LiteLLM's PyPI releases 1.82.7 and 1.82.8 were found to carry a payload that harvested environment variables, SSH keys, cloud credentials and Kubernetes secrets. On October 21, a compromised v1.107.0 was published to PyPI and to Docker under the latest and main-stable tags for under three hours; researchers at Wiz named v1.106.2 as the last safe version, and Aikido advised anyone who installed it to rotate every credential. Neither incident is a reason to rule out a self-hosted gateway, but both are a reason to pin versions, mirror images and keep the gateway's own credentials narrow.

Managed gateways remove that work and replace it with a vendor relationship. Cloudflare charges nothing for its core features: analytics, caching and rate limiting are free, which makes it the shortest path for teams already on Cloudflare. Vercel suits teams on its platform and is explicit about where money goes: no token markup, but add-ons such as team-wide zero data retention ($0.10 per 1,000 requests) and the regional endpoint (5% of inference cost) apply even when you bring your own keys.

The third decision: do you need governance?

Governance means audit logs, budgets per team and key, single sign-on and approved-model lists. It is the feature most often behind a paywall. LiteLLM's audit logs and finer-grained budgets need its enterprise licence; Portkey's pricing page marks audit logs as Enterprise-only; Kong's failover plugin, AI Proxy Advanced, is "only available as part of our AI Gateway Enterprise offering." Bifrost's governance documentation describes budgets on virtual keys, teams and customers, without saying which of them the open-source version includes, and does not describe audit logs. If an auditor needs a record of who changed which key, budget for an enterprise tier whichever product you choose.

What nobody has measured: added latency

Every gateway adds a network hop and some processing, and the honest position is that no independent, like-for-like test of that overhead has been published. The figures that exist are each project's own. LiteLLM's README claims "8ms P95 latency at 1k RPS." Bifrost's README reports 11 microseconds of added latency on an AWS t3.xlarge at 5,000 requests a second. Portkey's FAQ estimates 20 to 40 milliseconds for its hosted gateway compared with direct calls, while its open-source README claims under 1 millisecond. OpenRouter publishes time to first token per provider but no figure for its own overhead. These were measured on different hardware, loads and prompts, so they cannot be compared with each other.

The test is cheap to run on your own traffic:

  1. Pick one model and pin one provider and region, so the only variable is the gateway.
  2. Replay a few hundred real prompts, streamed, from the same machine, alternating direct and gateway calls.
  3. Record time to first token on the client and total request time, and report p50 and p95 against the direct baseline.
  4. Repeat at your real concurrency, since overhead can change under load.

The cost decision: is your problem the gateway or the model?

Take a workload of 1,000 input and 200 output tokens per request on Claude Sonnet 5.5 at Anthropic's list price of $2 and $10 per million tokens. That is $0.004 a request: $4,000 a month at 1 million requests, $40,000 at 10 million and $400,000 at 100 million.

Through OpenRouter credits, the 5.5% fee adds $220, $2,200 and $22,000. With your own keys on OpenRouter it adds nothing at 1 million, $750 at 10 million and $18,750 at 100 million. Vercel with BYOK and fallback switched off adds $200, $2,000 and $20,000; with its default fallback on, it adds nothing in fees. Cloudflare with your own keys adds no gateway fee, before log charges. Portkey's Pro plan costs $130 at 1 million requests, but its limit is 3 million, so the larger volumes need a custom Enterprise quote; Kong's Plus plan, with one serverless control plane and one model, comes to $125 and then $1,925, and stops at its 10 million cap. Fixed-price contracts behave the other way: TrueFoundry's $6,250 monthly Pro contract on AWS Marketplace is more than the entire model bill at 1 million requests and 1.6% of it at 100 million. Self-hosting has no licence fee for the open-source tiers, but none of the projects publishes what its infrastructure costs to run.

Compare that with changing the model. Moving the same workload to Claude Haiku 5.5, at $0.10 and $0.50 per million tokens, costs $0.0002 a request, or $20,000 instead of $400,000 at 100 million. A split that sends 80% of requests to Haiku and 20% to Sonnet costs $96,000, 76% less than Sonnet alone. Whether a smaller model holds quality on your task has not been measured here and has to be tested on your own traffic. Data residency moves the bill too: Anthropic charges 1.1 times list price for US-only inference, and its pricing page says regional Bedrock endpoints cost 10% more than global ones.

Options beyond a gateway

If you use only two or three providers, you may not need a gateway at all. Calling the providers' APIs directly removes the middleman, the fee and the extra hop; you write retries and fallbacks yourself. Cloud-native services fold the same job into an account you already have. Amazon Bedrock bills per token by model and region and offers Intelligent Prompt Routing between models in the same family at $1 per 1,000 requests. Microsoft Foundry's model router picks among 43 models from OpenAI, Anthropic, xAI, DeepSeek, Meta and Fireworks for a routing fee per million input tokens, with Data Zone Standard keeping processing within a data zone and Azure Policy restricting which models it may use. Microsoft's own advice is to compare it "with your current model on your own prompts for quality, cost, and latency" before moving production traffic.

The third route attacks the model bill directly by routing each turn to smaller models trained on your own traffic. Parsec is one example: its comparison page says it routes per turn rather than per task, deploys models post-trained on the customer's traffic, and that customers own those models, with low-confidence requests sent to a closed frontier model. It says a first post-trained model takes about four weeks. It publishes no price for this service, its pages do not mention VPC or on-premises hosting for it, and its savings figures come without a stated workload or baseline.

Bottom line

If traffic must stay in your infrastructure and you have engineers to run it, self-host LiteLLM or Bifrost, pin versions, and pay for an enterprise tier only if you need audit logs. If you want nothing to operate, use Cloudflare when you are already on Cloudflare and Vercel when you deploy on Vercel. If you already run Kong or need air-gapped deployment, Kong or TrueFoundry fit, at enterprise prices. If you use a few providers, call them directly or through Bedrock, Vertex AI or Foundry. OpenRouter remains a sound choice for broad model access under $25,000 a month with no residency rule. And if the bill is the problem, test a smaller model before switching gateways: at these list prices a usage-priced gateway is a few percent of spend and the model is the rest.

Sources

More in Products

All Products →