OpenRouter vs Portkey vs LiteLLM: which LLM gateway

A hosted reseller, a control layer over your own keys, and a proxy you run: who holds the keys, who bills the tokens, what each costs, and when each wins.

Checked 2026-11-21

·All posts·Models

UplinkSwitch publishes this page and is the fourth column. Third-party facts were read on 2026-11-21 from each vendor's own pricing page or docs: openrouter.ai/pricing, litellm.ai/pricing and Portkey's docs.

These three are different kinds of product. OpenRouter is a hosted reseller: tokens bill at what the model's developer charges, and card-bought credit carries a 5.5% fee. Portkey is a control layer over provider keys you bring: its gateway is open source, and its managed plan has a free allowance of 10k requests a month. LiteLLM is an open-source (MIT) proxy you run yourself with your own provider keys. A fourth shape, a hosted reseller priced under list, is UplinkSwitch: one key at https://api.uplinkswitch.com/v1.

Who holds the keys, who bills the tokens

OpenRouterPortkeyLiteLLM proxyUplinkSwitch
Provider accounts you openNoneOne per providerOne per providerNone
Who bills the tokensOpenRouterEach providerEach providerUplinkSwitch
Token priceDeveloper listYour own terms with each providerYour own terms with each providerIts catalog price, shown beside the developer's list
What you pay for the layerCard credit 5.5% with a $0.80 floor; crypto 5%Open-source gateway free; managed plan prices not publishedFree to self-host; Enterprise priced by request capacity, never per tokenNo fee on top-ups, which start at $10
Run it yourselfNoYes, the open-source gatewayYes, that is the productNo
What it adds600+ models from 80+ providersGuardrails, SOC 2 and ISO 27001, SSOVirtual keys with budgets, load balancing, fallbacks, guardrailsRoute failover, a fallback model list, per-key spend limits

Picking by situation

  • No provider contracts, a large hosted catalog: OpenRouter (600+ models by its pricing page), if list price plus the credit fee is acceptable.
  • Contracts you already hold, and a need to govern them: Portkey, hosted or self-run, for guardrails and compliance over your own keys.
  • No third party in the request path: LiteLLM, if someone on the team will run, upgrade and monitor the proxy.
  • No provider contracts, and the per-token rate is the cost that matters: UplinkSwitch, where Claude Sonnet 5.5 is $1.164 / $2.91 per million tokens (in / out) against Anthropic's $2.00 / $10.00.

Stacking them

A self-hosted proxy does not have to be the end of the chain. LiteLLM forwards to any OpenAI-compatible endpoint, so UplinkSwitch can be one upstream entry among several: the proxy keeps the virtual keys, logs and budgets, and the tokens behind it bill under list. The LiteLLM guide has the config block.

Questions and answers

None of them lowers the token price on its own. OpenRouter bills at the developer's list rate plus its credit fee; with Portkey or LiteLLM you pay your own providers' terms plus whatever the plan or the server costs you. Going below list needs a provider that prices under it.

OpenRouter, because there is nothing to deploy and no provider accounts to open. Portkey's managed plan is next. A self-hosted Portkey gateway or LiteLLM proxy needs a server, upgrades and monitoring, which is the price of owning the request path.

Yes, and many teams do: the proxy handles keys, budgets and logging, and a hosted provider serves the models. Add the hosted provider as an OpenAI-compatible upstream with its own base URL and key.
Join on Telegram
Help