LiteLLM
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM] observed · 2026-10-18
Health v2 · maintenance only
93/100
- Activity 100
- Release rhythm 88
- Longevity 84
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1182
- days_rel: 3
- days_push: 3
- n_releases_24m: 818
Adoption not part of the score
61456 stars · 12439 forks observed · 2026-10-18
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-21, confidence 0.97
LiteLLM is an open‑source Python library and self‑hosted gateway that provides a single OpenAI‑compatible interface to call 100+ LLM providers. It includes routing, load‑balancing, spend tracking, and guardrail features for production LLM deployments.
Use cases
- Call any LLM provider (OpenAI, Anthropic, Vertex AI, Bedrock, etc.) using the same completion() function.
- Track and limit LLM spend per user or team with virtual API keys.
- Route requests to the cheapest or fastest model automatically with the built‑in auto‑router.
- Add safety guardrails and content moderation to LLM calls.
- Deploy a shared LLM gateway for multiple applications or micro‑services.
When to choose
- You need a unified API for many LLM vendors without rewriting code for each provider.
- You want self‑hosted control over authentication, logging, and cost management.
- Your organization requires routing, fallback, and guardrail policies for production LLM usage.
- You prefer a Python SDK with optional Docker‑based proxy for easy deployment.
When to avoid
- You only need a single provider and prefer the native SDK of that provider.
- Low‑latency, on‑device inference is required and a remote gateway would add overhead.
- Your stack is not Python‑centric and you cannot run the proxy in your environment.
- You need a fully managed commercial service with SLA guarantees.
Facets
library · maturity active
api-framework http-client http-server routing rate-limiting logging monitoring auth middleware cli artificial-intelligence large-language-models python cloud serverless cli cost-tracking guardrails llm-gateway virtual-keys admin-ui auto-router llmops retrieval-augmented-generation devops docker
10 sources
- readme: https://github.com/BerriAI/litellm · fetched 2026-10-18 · d186682f4c11
- homepage: https://docs.litellm.ai/docs/ · fetched 2026-09-07 · 35df51f6fb52
- site_page: https://docs.litellm.ai/docs/learn · fetched 2026-09-07 · f2254b1272a6
- site_page: https://docs.litellm.ai/docs/integrations · fetched 2026-09-07 · 8f337a818244
- site_page: https://docs.litellm.ai/docs/enterprise · fetched 2026-09-07 · faf6055c154e
- site_page: https://docs.litellm.ai/release_notes · fetched 2026-09-07 · 31b5d47473e0
- site_page: https://docs.litellm.ai/docs/auto_router · fetched 2026-09-07 · 259df1eb5134
- site_page: https://docs.litellm.ai/docs/simple_proxy · fetched 2026-09-07 · 55298c61b2a2
- site_page: https://docs.litellm.ai/docs/supported_endpoints · fetched 2026-09-07 · e837ffc5144c
- site_page: https://models.litellm.ai · fetched 2026-09-07 · e7abcda2298f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| BerriAI/litellm | main | 93 |
| BerriAI/liteLLM-proxy | backend | 29 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem