Perimattic
Comparison

OpenRouter alternatives: 7 LLM gateways compared

What OpenRouter does well, how its fees work, and how hosted and self-hosted gateways from Vercel, Cloudflare, LiteLLM, Portkey, Bifrost, Agent Router and Kong compare.

Facts from vendor docsHonest both waysChecked October 22, 2026

Last updated October 22, 2026

A signpost with several arrows pointing in different directions
Overview

What are the best OpenRouter alternatives?

If you want another hosted service, the closest OpenRouter alternatives are Vercel AI Gateway and Cloudflare AI Gateway. If you want the gateway in your own cloud, using your own provider accounts, look at LiteLLM, Portkey, Bifrost, Agent Router or Kong AI Gateway. OpenRouter is still the simplest way to reach hundreds of models with one key.

Get started with the LLM Gateway

Sign up and our team will walk you through Perimattic LLM Gateway for your models, providers and budgets.

Sign up
The baseline

What is OpenRouter and what does it do well?

OpenRouter is a hosted service that gives you “hundreds of AI models through a single API endpoint”, according to its quickstart. You can point the OpenAI SDK at it as a drop-in replacement, buy credits once and call models from many providers with one key.

What it does well, from its own documentation:

  • Provider routing and fallback. By default, the provider routing docs say requests are load balanced across top providers, weighted toward cheaper ones, with the rest used as fallbacks. You can set a provider order or sort by price, throughput or latency.
  • No markup on inference. Its pricing page says inference is billed at each provider’s list price on every plan.
  • Data controls. The FAQ says prompts and completions are not logged by default, and routing can be limited to providers that do not collect data or that offer zero data retention.
  • Spend controls. Its spend controls guide describes guardrail budgets per person or per key, and pooled workspace budgets.
  • Provider prompt caching. It passes through prompt caching on supported providers and tries to send follow-up requests to the same provider to keep that cache warm (docs).
Code on a laptop screen lit in blue and purple
Fees

How does OpenRouter billing work?

You prepay credits and each request’s cost is deducted from the balance. From the OpenRouter pricing page:

PlanPlatform feeBring your own key (BYOK)Notes
FreeN/A—Free models only, capped at 20 requests per minute and 50 per day (1,000 per day after buying at least $10 of credits)
Standard (Pay-as-you-go)5.5%, charged when you buy credits$25,000 of list-price inference a month with no fee, then 5%Up to 5 workspaces
Business (Pay-as-you-go)8%, charged when you buy creditsSame as StandardUp to 1,000 workspaces
EnterpriseFee discounts availableCustomContract pricing, invoicing, higher rate limits

The pricing page’s FAQ puts it plainly: the fee is “charged when you buy credits, 5.5% on Standard and 8% on Business, never on individual requests.”

Prices checked October 22, 2026; providers change prices often — confirm on the provider’s page.

Why look elsewhere

Why do teams look for OpenRouter alternatives?

These reasons follow from how OpenRouter itself says it works, not from complaints:

  • The credit-purchase fee adds up at volume. 5.5% or 8% on every top-up is small for a prototype and a real line item at large monthly spend. Some alternatives charge no fee on tokens, others are free software you run yourself.
  • You already have provider contracts. If you hold your own OpenAI, Anthropic or Google agreements, committed-use discounts or cloud credits, a gateway that calls providers with your keys avoids the BYOK fee above the monthly allowance.
  • Data must stay in your cloud. OpenRouter is hosted, so every prompt passes through its infrastructure on the way to the provider. A self-hosted gateway keeps that hop in your own network.
  • You want a response cache. OpenRouter’s caching docs describe provider prompt caching, not a cache that answers repeated requests without calling a model. Several alternatives offer exact or semantic response caching.
A person in a plaid shirt coding on a computer in a workspace
Side by side

How do the OpenRouter alternatives compare?

Each cell comes from the vendor’s own GitHub repository, documentation or pricing page, linked in the first column and in the notes below. “Not stated” means we could not find it on those pages, not that the feature is missing.

OpenRouter and 7 alternatives. Checked October 22, 2026.
GatewayHostingLicenceOpenAI-compatible APIRouting and fallbackCachingBudgets and rate limitsPricing model
OpenRouter (baseline)Managed onlyProprietary serviceYes: works with the OpenAI SDK as a drop-inAutomatic provider fallback; sort by price, throughput or latencyPasses through provider prompt cachingGuardrail budgets per member or key; workspace budgetsProvider list price; 5.5% (Standard) or 8% (Business) fee on credit purchases
Vercel AI GatewayManaged only (your app can run anywhere)Proprietary serviceYes: OpenAI Chat Completions and Responses, and Anthropic MessagesProvider ordering, provider and model fallbacksCaching listed in its models and providers settingsBudgets per team, project, API key or member (soft cap)No markup or platform fee on tokens, including BYOK; payment processing fees may apply; paid add-ons
Cloudflare AI GatewayManaged onlyProprietary serviceYes: a compat chat completions endpoint (Cloudflare now recommends its REST API for single-model calls)Retries and model fallbacks (dynamic routing)Serves repeat requests from Cloudflare’s cacheRequest rate limitingCore features free; 5% fee on Unified Billing credits
LiteLLMSelf-hostedMIT, except the enterprise/ directoryYesLoad balancing, fallbacks, retriesMemory, Redis, S3, disk; semantic on Redis or QdrantBudgets and rate limits per virtual key; tag and model-specific budgets need EnterpriseOpen source; Enterprise licence priced on request
PortkeySelf-hosted open-source gateway, or Portkey CloudMIT (gateway repo)YesFallbacks, retries (up to 5), weighted load balancingSimple and semantic; semantic is in hosted and enterprise versionsGranular budgets and rate limits listed on the Enterprise planDeveloper free (10K logs a month); Production $49 a month; Enterprise custom
Bifrost (Maxim)Self-hosted (npx, Docker); enterprise private deploymentsApache 2.0YesAutomatic fallbacks, load balancingSemantic cachingHierarchical budgets across virtual keys, teams and customers; rate limitingOpen source free; Enterprise custom, 14-day trial
Agent Router (formerly Envoy AI Gateway)Self-hosted: Kubernetes with Envoy Gateway, or standaloneApache 2.0YesRouting and failoverNot statedGlobal rate limiting and quotasOpen source (Agentic AI Foundation project)
Kong AI GatewayKonnect-managed control plane with your data planes, or fully self-hostedKong Gateway is Apache 2.0; AI Proxy Advanced, AI Semantic Cache and AI Rate Limiting Advanced are AI Gateway Enterprise onlyYes: AI Proxy accepts OpenAI-format requests and translates themLoad balancing, retries and failover (AI Proxy Advanced)AI Semantic CacheAI Rate Limiting Advanced, by tokens or costPlus from $25 a month plus usage; Enterprise custom

Sources beyond the first column: OpenRouter provider routing, prompt caching and spend controls; Vercel pricing; Cloudflare OpenAI-compatible endpoint and pricing; LiteLLM LICENSE, proxy, caching and enterprise docs; Portkey pricing; Bifrost pricing; Kong Kong Gateway repo, AI Proxy Advanced, AI Semantic Cache, AI Rate Limiting Advanced and pricing.

Prices checked October 22, 2026; providers change prices often — confirm on the provider’s page.

The options

Which OpenRouter alternative fits which team?

Vercel AI Gateway: the closest hosted swap

Like OpenRouter, Vercel sells model access through credits, with provider ordering and model fallbacks. Its pricing docs say it “charges no markup and no platform fee on tokens”, and BYOK carries no fee either; you are responsible for payment processing fees, and some features such as custom reporting and team-wide zero data retention are paid add-ons. Budgets are soft caps and cover spend on Vercel’s credentials, not BYOK spend.

Cloudflare AI Gateway: caching and rate limits in front of providers

Cloudflare’s pricing page says the core features — analytics, caching and rate limiting — are free. You can use your own provider keys or buy credits through Unified Billing, which carries a 5% fee. It suits teams already on Cloudflare that want a response cache, which OpenRouter does not offer.

LiteLLM, Portkey, Bifrost: self-hosted, with your own provider keys

These run in your cloud and call providers with your API keys, so there is no fee on top of provider prices, but you operate the gateway. LiteLLM has the broadest open-source feature set; Portkey keeps semantic caching and granular budgets for its paid tiers; Bifrost lists budgets and semantic caching in its Apache 2.0 build. If you like LiteLLM but not the operations, Perimattic ManageStacks offers managed LiteLLM hosting. See LiteLLM alternatives for more on this group.

Agent Router and Kong: for platform teams

Agent Router (formerly Envoy AI Gateway) suits teams running Envoy on Kubernetes. Kong AI Gateway suits teams already on Kong, but its load-balancing, semantic cache and token rate-limiting plugins are AI Gateway Enterprise only.

Team meeting around a conference table with laptops and a presenter
Honest both ways

When should you stay with OpenRouter?

  • You want the most models with the least setup. One key, hundreds of models and nothing to run.
  • You do not have provider contracts. OpenRouter handles accounts and billing with each provider for you, and bills inference at list price.
  • You are experimenting. Trying many models quickly is easier through one catalog than through separate provider sign-ups.
  • Your spend is modest. At low volume, the credit-purchase fee is likely smaller than the cost of running and maintaining your own gateway.
  • Your data rules are met by its controls. No logging by default, data-collection filters and zero data retention routing may be enough for your policy. Check with your security team.
Person in a mustard sweater typing on a laptop
Decide

Which OpenRouter alternative should you choose? A decision checklist

If this describes you…Look atWhy
You want hosted, many models, one bill, without a credit-purchase feeVercel AI GatewayNo markup or platform fee on tokens, per its pricing docs
You want a response cache and rate limits in front of providersCloudflare AI GatewayCaching and rate limiting are core features, offered free
You have your own provider contracts and want no fee on topLiteLLM, Bifrost or Portkey (self-hosted)Requests go to providers with your keys
Prompts must not leave your cloud accountA self-hosted gatewayNo third-party hop between you and the provider
You like LiteLLM but do not want to run itManaged LiteLLM hostingSame software, operated for you
You run Envoy on KubernetesAgent RouterApache 2.0 and built on Envoy Gateway
You run Kong for other APIsKong AI GatewayOne gateway, but AI plugins need AI Gateway Enterprise
You are prototyping across many modelsStay with OpenRouterThe fastest way to try many models

General guidance from vendor pages checked on October 22, 2026. Confirm features and terms with each vendor.

Perimattic LLM Gateway

Where does Perimattic LLM Gateway fit?

Perimattic LLM Gateway is left out of the comparison above, which covers third-party tools. It is built for teams that want one API across providers, using their own provider accounts, with cost controls built in. Its features:

  • One OpenAI-compatible API in front of OpenAI, Anthropic, Google, Mistral, DeepSeek and open models.
  • Routing rules by cost, latency or task, with automatic fallback when a provider errors or rate-limits.
  • Exact-match and semantic caching of responses.
  • Budgets and rate limits per team, API key or customer.
  • Cost tracking and attribution by team, feature and customer, with alerts.
  • Request logging with PII redaction.
  • Runs in your own cloud (VPC) or managed.

Get started: Sign up and our team will get in touch, or read the LLM gateway overview.

Open-plan loft office with people working at desks
FAQs

OpenRouter alternatives, answered

Does OpenRouter charge more than going direct to the provider?

Not per token. OpenRouter’s pricing page says inference is billed at each provider’s list price on every plan. Its fee is charged when you buy credits: 5.5% on Standard and 8% on Business, as of October 22, 2026. Bring-your-own-key use above a monthly allowance carries a 5% fee. Check the pricing page for current terms.

Is there a self-hosted OpenRouter alternative?

OpenRouter is a hosted service only. Self-hosted alternatives that give you one OpenAI-compatible API across providers include LiteLLM (MIT, except its enterprise directory), Portkey’s gateway (MIT), Bifrost (Apache 2.0) and Agent Router, formerly Envoy AI Gateway (Apache 2.0). With these you use your own provider API keys and contracts.

Does OpenRouter log my prompts?

OpenRouter’s FAQ says prompts and completions are not logged by default, and that you can opt in to logging for a 1% discount. The providers it routes to have their own policies; OpenRouter lets you restrict routing to providers that do not collect data or that have a zero data retention policy.

Talk to our team

Want one API for every model, with costs under control?

Sign up to tell us which models and providers you use, and our team will get in touch to set up the LLM Gateway for your stack.

Sign up