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.
LiteLLMOpenRouter
Providers named
Coding agents named
GitHub stars
Days since last commit (fewer is better)
- Load balancingonly LiteLLM
- Semantic cacheonly LiteLLM
- PII redactiononly LiteLLM
- Tracingonly LiteLLM
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.
| Fact | LiteLLM | OpenRouter |
|---|---|---|
| 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.