Gateway in AI gateways

LiteLLM

  • Self-hosted
  • MIT
  • Anthropic API
  • OpenAI API
  • No fee on tokens
Open vendor site Repository

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.

What the maintainers say it does

LiteLLM is the open-source AI gateway that puts your full AI stack behind one OpenAI-compatible key. Track and cap LLM spend, route to the right model, and self-host anywhere — even air-gapped. 140+ providers, 1,892 models.

Quoted from litellm.ai

LiteLLM names 6 of 6 controls; the median across 70 AI gateways is 4 of 6

Bar: share of the 70AI gateways whose docs name the control. Right: whether LiteLLM's own pages name it.

  • Fallbacks73%Yes
  • Load balancing49%Yes
  • Caching64%Yes
  • Budgets70%Yes
  • Guardrails59%Yes
  • Tracing64%Yes

Source: vendor homepages, READMEs and docs pages read for this index.

Spec sheet

Runs
Self-hostedsource
Licence
MITsource
API shape
Anthropic-compatible, OpenAI-compatiblesource
Providers named
  • AI21
  • Anthropic
  • Anyscale
  • Azure OpenAI
  • Bedrock
  • Cerebras
  • Cohere
  • Databricks
  • DeepInfra
  • DeepSeek
  • Fireworks
  • Gemini
  • Groq
  • Hugging Face
  • LM Studio
  • Mistral
  • Moonshot
  • NVIDIA NIM
  • Ollama
  • OpenAI
  • OpenRouter
  • Perplexity
  • Qwen
  • Replicate
  • SageMaker
  • SambaNova
  • Together AI
  • Vertex AI
  • vLLM
  • watsonx
  • xAI
source
Coding agents named
  • Claude Code
  • Codex
  • Cursor
source
Published fee
No fee on tokens. Free self-hosted; your own hosting costs are not included. Enterprise is annual and never per token.pricing page
Six controls
  • Fallbacks named
  • Load balancing named
  • Caching named
  • Budgets named
  • Guardrails named
  • Tracing named
Also named
  • Audit logs
  • Cost tracking
  • Evals
  • Virtual keys
  • Request logs
  • MCP
  • PII redaction
  • Rate limits
  • RBAC
  • Cost-based routing
  • Semantic cache
  • SSO
source

Read from the vendor's homepage, README and docs. Named is not tested.

Adoption numbers

64,326GitHub stars on BerriAI/litellmlast commit 2026-12-02, measured 2026-12-02 source
108,143,897PyPI downloads a monthlitellm source
No fee on tokensPricing as publishedread 2026-12-02 source

Verified reviews on this site

From buyers who confirmed a work email at another company. Checked by an editor. Shown separately from third-party ratings. How reviews are verified

No verified reviews yet.

Worked with LiteLLM? Reviews need a work email at another company and are read by an editor before they appear.

Write a review

Is this your company? Claim it

Questions about this gateway

Is LiteLLM open source?

The facts panel shows the licence GitHub reports for the repo, or the licence file when GitHub cannot read it. No licence shown means none was published or none could be read.

What does LiteLLM cost?

The pricing tile shows the model and the lowest monthly plan only when the vendor prints one, with the date we read it. Token costs from the model providers come on top unless the vendor says otherwise.

Similar

Gateways that do similar work

Gateway Rank score Runs Licence API shape Providers Six controls Price
Portkey Gateway · 13,475 stars

Now PRISMA AIRS AI Gateway, per its homepage; pricing goes to Palo Alto Networks sales.

Democratize and productionize Gen AI across your entire org with Portkey

100 Self-hosted Managed MIT OpenAI 15 Not published
Kong AI Gateway Gateway · 44,438 stars

Deliver AI connectivity with centralized security, routing, observability, and cost control for LLMs and MCP...

97.1 Self-hosted Apache-2.0 Not stated 8 From $25/mo
Helicone Observability gateway · 6,299 stars

Routing and monitoring for reliable AI apps - the LLMOps platform behind the fastest-growing AI companies.

94.2 Self-hosted Apache-2.0 OpenAI 18 $79/mo
Tyk AI Gateway Gateway · 10,912 stars

Tyk’s AI gateway secures, governs and routes every LLM and AI-agent call, with token cost controls, guardrails and...

92.8 Self-hosted Managed Not stated OpenAI 10 Pay as you go

Rank scores here are read in one list, AI gateways, so only its first entry can show 100.

Ranked in