AI gateways · compared Dec 2026

LiteLLM vs OpenRouter

Two AI gateways from this index, cell by cell. A tick means the vendor's own docs or README name the feature; a blank means we did not find it there, which is not proof it is missing.

They differ on 4 of 13 features: Load balancing, Semantic cache, PII redaction and more

LiteLLMOpenRouter

Providers named 31 16 Coding agents named 3 4 GitHub stars 64,326 Not published Days since last commit fewer is better 0 Not published LiteLLM OpenRouter 13 vs 9 of 13 Load balancing only LiteLLM Semantic cache only LiteLLM PII redaction only LiteLLM Tracing only LiteLLM

Providers named

LiteLLM 31
OpenRouter 16

Coding agents named

LiteLLM 3
OpenRouter 4

GitHub stars

LiteLLM 64,326
OpenRouter Not published

Days since last commit (fewer is better)

LiteLLM 0
OpenRouter Not published
  • Load balancingonly LiteLLM
  • Semantic cacheonly LiteLLM
  • PII redactiononly LiteLLM
  • Tracingonly LiteLLM

Filled: named in the vendor's homepage, README or docs page. Hollow: not found there. Stars and commits as GitHub reports them on 2026-12-02. Source: pages linked in the table below.

Both namefallbacks, caching, budgets, rate limits, guardrails, SSO, RBAC, audit logs, MCP
Only LiteLLMload balancing, semantic cache, PII redaction, tracing
Only OpenRouterNone. Every feature OpenRouter names, LiteLLM names too.
Rank score within AI gateways LiteLLM 95.7 OpenRouter 20.0

LiteLLM: LiteLLM’s LICENSE file puts everything outside the enterprise directory under MIT; enterprise features carry a separate licence. Its pricing page lists the open source edition at $0, self-hosted, and enterprise as an annual contract that is never priced per token. Source, checked 2026-12-02.

OpenRouter: OpenRouter bills at the provider’s list price and charges its fee when you buy credits: 5.5% on Standard, 8% on Business. With your own provider keys the first $25,000 a month of list-price inference carries no fee, then 5%. Source, checked 2026-12-02.

FactLiteLLMOpenRouter
Type Gateway Router
Runs Self-hosted source Managed source
Licence MIT source No public repo
API shape Anthropic, OpenAI source Anthropic, OpenAI source
Providers named 31: AI21, Anthropic, Anyscale, Azure OpenAI, Bedrock, Cerebras... source 16: Anthropic, Azure OpenAI, Bedrock, Cerebras, DeepInfra, DeepSeek... source
Coding agents named Claude Code, Codex, Cursor source Claude Code, Cline, Codex, Cursor source
Published price No fee on tokens: Free self-hosted; your own hosting costs are not included. Enterprise is annual and never per token. source LiteLLM pricing 5.5% fee: Fee charged when credits are bought, not per request. Bring-your-own-key: first $25,000 a month of list-price inference free, 5% after. source OpenRouter pricing and credits
Fallbacks Named source Named source
Load balancing Named source Not found
Caching Named source Named source
Semantic cache Named source Not found
Budgets Named source Named source
Guardrails Named source Named source
PII redaction Named source Not found
Tracing Named source Not found
SSO Named source Named source
RBAC Named source Named source
Audit logs Named source Named source
MCP Named source Named source
GitHub stars 64,326 source No public repo
Last commit 2026-12-02 Not measured
Third-party reviews None found 4.4 from 99 reviews on G2 source

No winner is declared: the better pick depends on where it must run and which providers you call. "Not found" means the vendor's homepage, README and docs page we read do not name it. How we read the docs. All AI gateways.

LiteLLM alternatives OpenRouter alternatives LiteLLM OpenRouter