The Alternatives Issue / Infrastructure For tool owners Sign in

The best OpenRouter alternatives in 2026

Our top OpenRouter alternatives are LiteLLM, Portkey and Cloudflare AI Gateway. We rank 4 picks: what you gain, what you give up and what each one costs.

See the top 4 Match one to my reason

Part 1 of 8

Why do people leave OpenRouter?

OpenRouter is a hosted API only; its pricing page describes no self-hosting. It charges a platform fee when you buy credits, BYOK usage above a monthly allowance incurs a fee, and EU/US in-region routing is limited to Business and Enterprise plans. Teams that need to run the gateway in their own infrastructure or avoid credit fees often look elsewhere.

OpenRouter profile: uses, pricing notes and related tools

Before you switch from OpenRouter

  • Current plan context: Free; Usage-based; Enterprise: custom pricing
  • Free access: Free models only; 20 requests/min and 50/day, 1,000/day after buying $10 of credits
  • A 5.5% (Standard) or 8% (Business) fee is added when you buy credits.

Official plan details · Source checked 2026-11-21

Part 2 of 8

What is OpenRouter missing for you?

The right alternative depends on what you need.

How it works Tick every reason that applies. The picks below re-sort to match. Nothing is ticked yet, so you see our default order.

Nothing ticked: showing our default order.

Default order, no reason ticked

Start with LiteLLM.

  • This is our pick for most people. Tick a reason above to see which alternative matches it.
See the picks

Part 3 of 8

The 4 best alternatives, in our order.

LiteLLM is our pick for most people. The others each fit one need.

OpenRouter alternatives split into self-hosted proxies (LiteLLM, the open-source Portkey and Helicone gateways) and hosted gateways (Vercel AI Gateway, Cloudflare AI Gateway). Each keeps an OpenAI-style API, so switching is mostly a base URL, key and model-name change.

Choose LiteLLM when the gateway must run in your own infrastructure. Choose Vercel AI Gateway for a hosted OpenAI-compatible endpoint with provider fallback, or Cloudflare AI Gateway if your traffic already runs on Cloudflare. Portkey and Helicone suit teams that want an open-source gateway plus a managed console; both recently changed ownership, so review their roadmaps.

Our take. Our editorial pick is LiteLLM for teams that need to self-host the gateway. For a hosted endpoint, Cloudflare AI Gateway fits apps already on Cloudflare, and Vercel AI Gateway is worth a test for OpenAI-compatible routing without running a proxy.

Pick 1 of 4

LiteLLM

Best for teams that must self-host the gateway.

Why it is in the top 4 It has an open-source license, self-hosting and OpenAI-compatible API.

Open-source OpenAI-compatible proxy and Python SDK that you run yourself, with model groups, retries and fallbacks configured in the proxy config. You own scaling, keys and security.

You give up

  • You run, scale and secure the proxy yourself
  • SSO and some enterprise features sit under the LiteLLM Commercial License

Why stay with OpenRouter: Quick managed multi-model access, indie / prototyping, one bill.

Price

Core software is MIT licensed; no hosted cloud price was verified.

Free access: Documentation labels the self-run proxy software as MIT licensed.

Official pricing

Source checked

License
Open source (MIT, except litellm/enterprise under a commercial license); self-hostable
Runs on
Self-hosted (Docker/Python proxy), Python SDK; Terraform modules for AWS and GCP
Check before switching
Hosting, model providers and enterprise features have separate costs or terms. No code example was executed or benchmarked.
Visit LiteLLM

Pick 2 of 4

Portkey

Best for governed routing with an open-source gateway core.

Why it is in the top 4 It has an open-source license, self-hosting and a free plan.

MIT-licensed open-source gateway with fallbacks, retries and weighted load balancing, plus a managed platform. Portkey now sells the managed product as Prisma AIRS AI Gateway under Palo Alto Networks.

You give up

  • Now part of Palo Alto Networks, sold as Prisma AIRS AI Gateway
  • Hybrid in-VPC deployment is an Enterprise offering with a Portkey-hosted control plane

Why stay with OpenRouter: Indie devs, startups, prototyping, multi-model A/B testing.

Price starts at

$0

free plan

All plans: Free; Production $49/mo

Free access: Free Forever plan records 10k logs per month; the vendor says it is not suitable for production workloads.

Official pricing

Source checked

License
Open-source gateway (MIT); managed platform proprietary
Runs on
Hosted API, Self-hosted gateway (npx/Docker), Hybrid VPC data plane (Enterprise)
Check before switching
Production adds $9 per additional 100k requests. Model-provider charges are separate from the gateway subscription.
Visit Portkey

Pick 3 of 4

Cloudflare AI Gateway

Best for teams already running on Cloudflare.

Why it is in the top 4 It has a free plan and guardrails.

Gateway on Cloudflare's network with caching, rate limiting, logging, model aliases and dynamic routes across providers. Best when your app already runs on Cloudflare.

You give up

  • OpenAI-compatible /compat endpoint is deprecated for single-model calls in favor of the REST API
  • Unified Billing requests are rate-limited per gateway; BYOK requests are not

Price starts at

$0

free plan

All plans: Core features free; 5% fee on credits

Free access: Core features (analytics, caching, rate limiting) are free; Workers Free stores 100,000 logs.

Official pricing

Source checked

License
Proprietary; runs on Cloudflare's network
Runs on
Hosted (Cloudflare account; REST and OpenAI-compatible endpoints)
Check before switching
A 5% fee applies to credits bought through Unified Billing.
Visit Cloudflare AI Gateway

Pick 4 of 4

Helicone

Best for observability-first teams that want logs and costs per request.

Why it is in the top 4 It has an open-source license, self-hosting and OpenAI-compatible API.

Apache-2.0 observability platform with an AI Gateway in OpenAI SDK format, request logging and cost tracking. Its homepage says Helicone is now part of Experiential Labs.

You give up

  • Homepage says Helicone is now part of Experiential Labs, with details still pending
  • Production Helm chart for self-hosting is available via enterprise contact

Price starts at

$0

free plan

All plans: Hobby free; Pro $79/mo

Free access: Hobby plan with 10,000 free requests.

Official pricing

Source checked

License
Open source (Apache-2.0); self-hostable
Runs on
Hosted API (ai-gateway.helicone.ai), Self-hosted (Docker Compose; Helm chart for Enterprise)
Check before switching
Usage-based pricing applies on Pro and Team.
Visit Helicone

Part 4 of 8

What each one costs.

The cheapest paid plans run $49 to $79 a month. The biggest gap is at the top, where Helicone lists $799 a month.

Cheapest paid plan, per month

OpenRouterUsage-based
Portkey$49
Cloudflare AI GatewayPrice not listed
Helicone$79
Excludes tax.

View 1 of 4: cheapest paid plan

$49 to $79 a month.

OpenRouter bills by usage, Portkey from $49, Cloudflare AI Gateway has no listed price, Helicone from $79.

View 2 of 4: highest listed plan

Up to $799 a month.

Portkey Production $49, Helicone Team $799.

View 3 of 4: ten people, one year

A team of ten.

View 4 of 4: one person, three years

Three years.

Part 5 of 8

What you gain, what you give up.

No alternative is a pure upgrade.

LiteLLM

  • You run, scale and secure the proxy yourself
  • SSO and some enterprise features sit under the LiteLLM Commercial License

    Portkey

    • Now part of Palo Alto Networks, sold as Prisma AIRS AI Gateway
    • Hybrid in-VPC deployment is an Enterprise offering with a Portkey-hosted control plane

      Cloudflare AI Gateway

      • OpenAI-compatible /compat endpoint is deprecated for single-model calls in favor of the REST API
      • Unified Billing requests are rate-limited per gateway; BYOK requests are not

        Helicone

        • Homepage says Helicone is now part of Experiential Labs, with details still pending
        • Production Helm chart for self-hosting is available via enterprise contact

          Part 6 of 8

          Features at a glance.

          LLM gateways and routers: what each tool has, from its own pages.

          YesPartly source availableNo? unknown

          ToolFree planOpen sourceMany model providers behind one APIFallbacks / routingResponse cachingLogging / observabilityGuardrails
          OpenRouterFree planYesOpen sourceNoMany model providers behind one APIUnknownFallbacks / routingYesResponse cachingUnknownLogging / observabilityUnknownGuardrailsYes
          LiteLLMFree planUnknownOpen sourceYesMany model providers behind one APIYesFallbacks / routingYesResponse cachingYesLogging / observabilityYesGuardrailsYes
          PortkeyFree planYesOpen sourceYesMany model providers behind one APIYesFallbacks / routingYesResponse cachingYesLogging / observabilityYesGuardrailsYes
          Cloudflare AI GatewayFree planYesOpen sourceUnknownMany model providers behind one APIYesFallbacks / routingYesResponse cachingYesLogging / observabilityYesGuardrailsYes
          HeliconeFree planYesOpen sourceYesMany model providers behind one APIYesFallbacks / routingYesResponse cachingYesLogging / observabilityYesGuardrailsUnknown

          Part 7 of 8

          Compare two, side by side.

          Pick any two tools and read the rows that differ.

          First tool

          OpenRouter

          Price
          Free; Usage-based; Enterprise: custom pricing
          License
          Proprietary
          Runs on
          Web, API
          You give up

          Second tool

          LiteLLM

          Price
          Core software is MIT licensed; no hosted cloud price was verified.
          License
          Open source (MIT, except litellm/enterprise under a commercial license); self-hostable
          Runs on
          Self-hosted (Docker/Python proxy), Python SDK; Terraform modules for AWS and GCP
          You give up
          You run, scale and secure the proxy yourself. SSO and some enterprise features sit under the LiteLLM Commercial License.

          Part 8 of 8

          How to switch from OpenRouter.

          Back up first, then move one real task before you commit.

          1. Swap the OpenAI client base URL from https://openrouter.ai/api/v1 to the new gateway (e.g. https://ai-gateway.vercel.sh/v1, http://localhost:4000 for a LiteLLM proxy, https://ai-gateway.helicone.ai).

          2. Replace the OPENROUTER_API_KEY Bearer token with the new gateway key (AI_GATEWAY_API_KEY or OIDC on Vercel, a Helicone key, or the LiteLLM proxy key); drop the OpenRouter-only HTTP-Referer and X-OpenRouter-Title headers.

          3. Map model slugs: list the new catalog (GET /v1/models on Vercel) and rewrite OpenRouter slugs, including ~latest aliases, to the target's provider/model IDs (Cloudflare also uses {provider}/{model}).

          4. Recreate fallbacks: in LiteLLM add model_list groups plus fallbacks and num_retries under router_settings/litellm_settings; on Vercel use provider options for model fallbacks; on Cloudflare use model aliases or dynamic routes.

          5. If you used OpenRouter BYOK, add your provider keys to the new gateway's BYOK settings and set spend budgets before cutting over traffic.

          6. Keep OpenRouter installed until one real task passes in the new tool.

          Full list · 4 alternatives

          All 4 alternatives to OpenRouter.

          Every alternative we track, in our order, with its price.

          List prices from each official pricing page. Confirm billing units and limits with each provider.

          OpenRouter alternatives: best use, price and main tradeoff
          AlternativeBest forPriceMain tradeoff
          LiteLLMTop 1Teams that must self-host the gatewayCore software is MIT licensed; no hosted cloud price was verified.You run, scale and secure the proxy yourself
          PortkeyTop 2Governed routing with an open-source gateway coreFree; Production $49/moNow part of Palo Alto Networks, sold as Prisma AIRS AI Gateway
          Cloudflare AI GatewayTop 3Teams already running on CloudflareCore features free; 5% fee on creditsOpenAI-compatible /compat endpoint is deprecated for single-model calls in favor of the REST API
          HeliconeTop 4Observability-first teams that want logs and costs per requestHobby free; Pro $79/moHomepage says Helicone is now part of Experiential Labs, with details still pending

          Only 8 total (4 featured + 4 extras): Martian site had no router facts, Vertex AI pricing/docs did not render, other candidates are model hosts or SDKs

          FAQ

          Questions readers ask.

          Best OpenRouter alternative for enterprise?

          Portkey's gateway adds governance features on top of an MIT-licensed core, but the managed product is now Prisma AIRS AI Gateway from Palo Alto Networks. Teams that need full control of data paths usually self-host LiteLLM instead and add their own SSO and audit tooling.

          Best OSS OpenRouter alternative?

          LiteLLM is the most complete open-source option: an MIT-licensed proxy and SDK with model groups, retries and fallbacks. Portkey's gateway (MIT) and Helicone (Apache-2.0) are also open source and can run locally or in Docker.

          Best for cost optimisation?

          Gateways do not lower provider list prices by themselves. Vercel's pricing docs say AI Gateway adds no token markup, LiteLLM lets you set budgets and route to cheaper deployments you choose, and Cloudflare AI Gateway can cache repeated requests. Measure your own traffic before and after switching.

          Can I keep my OpenRouter API key workflow when switching?

          Mostly. LiteLLM, Vercel AI Gateway and Helicone accept OpenAI-format requests, so you change the base URL, the API key and the model slugs and keep your SDK calls. Drop OpenRouter-only headers such as HTTP-Referer and recreate any fallback rules in the new gateway.

          What is the best self-hosted OpenRouter alternative?

          LiteLLM is the best self-hosted OpenRouter alternative — open-source proxy unifying 100+ providers with OpenAI-compatible endpoints and YAML fallback rules. Portkey fits governed enterprise routing, Helicone fits observability-first caching where self-hosting is not required.

          Can I use the OpenAI SDK with an OpenRouter alternative?

          Yes. Vercel AI Gateway serves the OpenAI Chat Completions spec at https://ai-gateway.vercel.sh/v1, the LiteLLM proxy accepts OpenAI clients pointed at its local base URL, and Helicone's AI Gateway uses the OpenAI SDK format at https://ai-gateway.helicone.ai. In each case you change the base URL and API key and keep the rest of your code.

          Does Vercel AI Gateway add a markup on tokens like a platform fee?

          Vercel's pricing docs say AI Gateway charges no markup and no platform fee on tokens; you pay the provider's list price from prepaid credits. BYOK also has no inference markup, though optional add-ons such as team-wide allowlists or regional hosting carry surcharges. OpenRouter, by contrast, charges a platform fee when you buy credits.

          How do I set up model fallbacks without OpenRouter?

          In a self-hosted LiteLLM proxy you group deployments under a model_name in model_list, then map each group to backups with a fallbacks list and num_retries; backups are tried in order. Vercel AI Gateway fails over to the same model on another provider and supports model fallbacks via provider options. Cloudflare AI Gateway uses model aliases and dynamic routes.

          Is Portkey still an independent OpenRouter alternative?

          No. Portkey's homepage says it is now Prisma AIRS AI Gateway from Palo Alto Networks. The open-source gateway remains on GitHub under the MIT license and can still be run locally with npx or Docker, and it supports fallbacks, retries and weighted load balancing across providers.

          Last reviewed: 2026-11-16.

          Information may be outdated or incomplete: verify prices, terms and capabilities with the provider before relying on them. This is editorial information, not legal, financial or other professional advice. Product names and logos belong to their owners and are used for identification only. Promtable may have commercial relationships with listed providers. Terms · Disclosures · Corrections and takedowns