Bonus: Top up now and we'll double your first deposit — get x2 credits instantly.
Model Comparisons

How we compared 20 LiteLLM alternatives

Sep 22, 2026

We publish a picker at llmapi.ai/litellm-alternatives that narrows 20 gateways, proxies and control planes down to the three that fit your deployment. This post is the working behind it: which alternatives qualified, what we scored, what the layer costs, and where the comparison stops being reliable. It is the sibling of our OpenRouter write-up, and the field is deliberately different.

Why the LiteLLM field is different

Someone leaving OpenRouter is leaving a hosted marketplace: the replacements are other places to buy tokens. Someone leaving LiteLLM is leaving a piece of infrastructure they run themselves — a Python proxy, a config file, a Postgres, a Redis, virtual keys, budgets and a deployment that has to scale with traffic. So the field here is gateways and control planes, not model catalogues.

Four walls come up again and again on migration calls.

  • Upkeep. Upgrades, config drift between environments, and a database nobody wanted to own.
  • Concurrency. A Python proxy that is invisible at 10 requests per second is measurable at 1,000.
  • Governance. Budgets exist; RBAC, SSO, audit trails and guardrails an auditor accepts are a product.
  • Modality. Speech, video and OCR arrive, and a chat-completions proxy gets a second vendor bolted next to it.

LiteLLM stays in the comparison table as the baseline row and is excluded from the ranking, the same way OpenRouter is on the other page.

Who made the list

To qualify, a platform had to do at least one of LiteLLM's three jobs for real traffic: normalise multiple providers behind one endpoint, control the request path (retries, failover, caching, budgets), or account for what was spent. We grouped the 20 into four families.

FamilyEntriesWhat they replace
Self-hosted and open-source gatewaysPortkey Gateway OSS, Kong AI Gateway, Apache APISIX, Envoy AI Gateway, Bifrost, Helicone, LangfuseThe proxy, still inside your perimeter
Managed gateways with the same jobPortkey Cloud, Cloudflare AI Gateway, Vercel AI Gateway, Requesty, Unify, TrueFoundry, Databricks Mosaic AI GatewayThe proxy, run by somebody else
Hyperscaler platformsAWS Bedrock, Azure AI Foundry, Google Vertex AIThe proxy and the procurement problem at once
Aggregators teams land on insteadLLM API, OpenRouter, Eden AIThe proxy and the provider accounts behind it
Langfuse is the one entry that is not a gateway. It is here because a large share of LiteLLM installs exist mainly for the logs, and for those teams it is the honest replacement.

The twelve criteria

Every entry was read against the same twelve capabilities, from the vendor's own documentation, licence and pricing pages, plus hands-on use where we had an account.

  1. Self-hostable — can the component in the request path run on your own infrastructure, and under which licence.
  2. Managed option — is there a hosted edition with somebody else on call.
  3. Kubernetes-native — first-class charts, operators or CRDs rather than a container you wrap yourself.
  4. Edge or serverless — can it run without a long-lived process.
  5. BYOK — can it route through provider keys you already hold.
  6. Unified billing — one balance and one invoice across providers.
  7. Failover — automatic retry onto another provider when an upstream degrades.
  8. Caching and spend caps — prompt or semantic caching, budgets, guardrails.
  9. Budgets and virtual keys — per-team limits and attribution.
  10. Observability — traces, logs and cost reporting built in or exportable.
  11. Enterprise readiness — SLA, RBAC, SSO, DPA, compliance reports.
  12. Migration effort — how close it is to a base-URL-and-key swap.

A capability is marked covered only when the vendor documents it as a shipped feature. Roadmaps, betas behind a sales call and community plugins do not count, which is why a few well-known names have emptier rows than their landing pages suggest.

How the picker scores

There is no single best LiteLLM alternative, so we did not publish a ranking. Each entry carries tags on ten axes — who runs it, migration driver, deployment target, traffic scale, model ecosystem, keys and billing, routing behaviour, privacy regime, observability and migration effort — and the picker adds a weight every time one of your answers matches a tag.

Weight added when your answer matchesWho runs it×4Privacy and governance×3Deployment target×3Model ecosystem×3Keys and billing×3Routing behaviour×3Migration driver×3Observability×2Traffic scale×2Migration effort×2
Every matching tag adds its weight to the alternative's score. Who runs it counts double an effort answer, because deployment ownership is the one thing you cannot negotiate away.

Two refinements matter. First, the reason text leads with your rarest matches: if only three of the twenty can run on Kubernetes under a permissive licence, that match tells you more than a match on something fifteen of them do, so it is named first. Second, the two “probably not for you” cards are chosen the same way — by the heaviest, rarest thing the alternative missed — rather than by lowest total score, because a useful rejection explains itself.

What the gateway layer actually costs

“Free and open source” is true of the licence and not of the bill. A production LiteLLM deployment is typically two gateway replicas, a small managed Postgres and a cache.

ComponentTypical monthly costNotes
Gateway compute, 2 replicas$60 – $1201 vCPU / 2 GB each on a managed container platform
Managed Postgres$50 – $90Keys, budgets, spend logs
Redis or equivalent cache$15 – $40Routing state and response caching
Logs and metrics retention$0 – $60Depends on whether it lands in an existing stack
Infrastructure total~$125 – $310We use $180 as the mid-point in the calculator
Engineering timenot costed hereUpgrades, incidents, config; usually the larger number
Estimates from list prices on common managed platforms in September 2026. Run it on spare cluster capacity and the marginal figure is lower; run it across three environments and it is higher.
Layer cost per month at $5,000 of token spendLiteLLM, self-hosted$180Kong AI Gateway, self-hosted$180Portkey control plane$49Cloudflare AI Gateway (unified billing)$250Requesty$250OpenRouter$275LLM API$0
Tokens cost roughly the same wherever you route them; this is only the layer on top. The two self-hosted rows are infrastructure estimates, not licence fees, and neither includes engineering time.

The shape of the answer: below roughly $1,000 a month of token spend, a flat-fee managed control plane usually beats the servers. Between $1,000 and about $20,000, flat fees and self-hosting land close together and the deciding factor is who is on call. Above that, percentage fees start to dominate everything else — 5% of $100,000 is $5,000 a month for a layer that two pods were doing for $180.

Licences in the request path

If the reason you self-host is legal rather than financial, the licence of the component in the hot path is the fact that matters.

AlternativeLicence of the in-path componentWhat is held back
LiteLLMMITEnterprise features (SSO, audit, support) behind a commercial licence
Portkey GatewayApache 2.0Logs, governance, guardrails live in the paid control plane
Apache APISIXApache 2.0Nothing — but no LLM console either
Envoy AI GatewayApache 2.0Nothing; it is a CNCF project, and the UI is your own
BifrostOpen source coreEnterprise tier for governance and support
Kong AI GatewayApache 2.0 coreMost AI plugins require Kong Enterprise
HeliconeApache 2.0Hosted convenience and higher retention are paid
LangfuseMIT coreSome enterprise features are commercial
TrueFoundry, Databricks, hyperscalers, aggregatorsCommercialNot self-hostable as source
Licence names as published by each project on 22 September 2026. Check the specific module you intend to run; several of these projects mix licences across a monorepo.

Deployment shape, side by side

AlternativeKubernetesVM / containerEdge or serverlessFully hosted
LiteLLMHelm chartYesNoManaged tier
PortkeyYesYesWorkers-compatibleYes
Kong AI GatewayOperatorYesNoKonnect
Apache APISIXIngress controllerYesNoNo
Envoy AI GatewayGateway API CRDsNoNoNo
BifrostYesYesNoYes
HeliconeYesYesYesYes
Cloudflare AI Gatewayn/an/aNativeYes
Vercel AI Gatewayn/an/aNativeYes
TrueFoundryYour clusterYesNoYes
LLM API / OpenRouter / Eden AIn/an/an/aYes

Observability: what you get for free

A surprising number of LiteLLM installs exist because somebody wanted a dashboard. This is the column those teams should read first.

AlternativeTracesCost attributionExport
LiteLLMRequest logs in PostgresPer virtual keyOpenTelemetry, Langfuse, Datadog
PortkeyFull traces and replaysPer key, per teamOpenTelemetry
HeliconeFull traces, sessions, evalsPer user and per keyOpenTelemetry, webhooks
LangfuseFull traces, evals, prompt versionsPer trace and per userSDKs and API
Cloudflare AI GatewayRequest analytics and logsPer gatewayLogpush
Envoy AI Gateway / APISIXPrometheus metricsToken counters onlyYour own stack
HyperscalersPlatform loggingOn the cloud billNative cloud tooling
LLM APIRequest logs and usage reportingPer key and per projectAPI

What we could not measure

  • Latency overhead. Gateway overhead depends on hardware, deployment topology, payload size and concurrency. Published numbers from vendors are measured on their own benches and are not comparable. Benchmark the two finalists on your own cluster with your own prompts; it is an afternoon of work and it settles the argument.
  • Support quality. Read from plan documents, not tested. A response-time commitment in a PDF is not evidence.
  • Real upgrade pain. How badly a minor version breaks your config is not something a documentation page reports.
  • Negotiated pricing. Every commercial row here is list price. Enterprise deals move.

Four situations, four answers

If this is youStart withRunner-upWhy
Small team, the proxy is the only infrastructure you runPortkeyCloudflare AI GatewaySame job, nothing to operate, and you keep your own keys
Python overhead is showing at peakBifrostEnvoy AI GatewayA Go or Envoy data plane instead of a Python one
The platform team owns ingress alreadyKong AI GatewayApache APISIXAI traffic under the policy and telemetry you run today
Speech, video or OCR just landed on the roadmapLLM APIEden AIOne managed key across modalities a chat proxy has no endpoint for

Sources and when we checked them

Every figure on the landing page and in this post comes from a vendor's own documentation, licence file, pricing page or status page, read on 22 September 2026. Infrastructure costs are list prices from common managed platforms on the same date. Where a vendor does not publish a fact, the comparison shows a dash instead of an estimate. We re-read the pricing pages quarterly, and the date at the top of the landing page is the last time we did.

Where we are biased, stated plainly

LLM API is our product. It sits in the table on the same criteria as everything else, wins the planner where it genuinely fits — managed, multi-modal, unified billing, white label — and loses it where it does not. If you answered that you must keep the gateway inside your own perimeter, the planner will point you at Portkey, Bifrost, Envoy or Kong and not at us, because that is the correct answer. A comparison that always ends with the author's product is an advertisement, and nobody links to advertisements.

Ready to use the picker? It is at llmapi.ai/litellm-alternatives, ten questions, no email.

Deploy in minutes