| name | litellm |
| last_updated | "2026-04-05T00:00:00.000Z" |
| version | v1.82.3-stable (latest stable), v1.83.1-nightly (latest nightly) |
| description | LiteLLM AI gateway proxy for unified LLM API access. Use when deploying LiteLLM proxy with Docker/Helm/Kubernetes, writing config.yaml (model_list, router_settings, litellm_settings, general_settings), managing virtual API keys and spend tracking, configuring JWT/OIDC token auth, setting up SSO with Generic OIDC (Authentik, Keycloak, Auth0), configuring RBAC (organizations, teams, users, roles), integrating with Langfuse observability, connecting Open WebUI as a frontend, adding vLLM as a provider backend, configuring Redis caching, setting up fallbacks and load balancing, health checks, or logging to 20+ backends. |
LiteLLM Proxy
OpenAI-compatible API gateway routing to 100+ LLM providers with unified auth, spend tracking, rate limiting, and observability.
Quick Start
docker run -v $(pwd)/config.yaml:/app/config.yaml \
-e LITELLM_MASTER_KEY=sk-1234 \
-e DATABASE_URL=postgresql://user:pass@host:5432/litellm \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:main-stable \
--config /app/config.yaml
helm install litellm oci://docker.litellm.ai/berriai/litellm-helm
Docker Image Tags
| Tag | Use |
|---|
main-stable | Production (recommended) |
main-latest | Bleeding edge nightly |
main-v1.82.3 | Pinned version |
litellm-non_root:main-stable | Non-root container |
Registries: docker.litellm.ai/berriai/litellm, ghcr.io/berriai/litellm-database
Config Structure (config.yaml)
Five top-level sections:
model_list:
router_settings:
litellm_settings:
general_settings:
environment_variables:
Reference Index
Auth & Access Control
Proxy Operations
Integrations
- Langfuse - Observability with traces, sessions, metadata, redaction
- Open WebUI - LiteLLM as OpenAI-compatible backend for Open WebUI
- vLLM - Self-hosted vLLM model serving via
hosted_vllm/ provider
- Authentik - SSO and JWT auth via Authentik Generic OIDC
Key Environment Variables
| Variable | Purpose |
|---|
LITELLM_MASTER_KEY | Admin key (must start with sk-) |
LITELLM_SALT_KEY | Encryption key for stored credentials (immutable after setup) |
DATABASE_URL | PostgreSQL connection string (required for key management) |
JWT_PUBLIC_KEY_URL | OIDC JWKS endpoint (comma-separated for multiple) |
PROXY_BASE_URL | Public URL of proxy (required for SSO callback) |
Health Endpoints
| Endpoint | Auth | Purpose |
|---|
/health | Yes | Full model health (makes real API calls) |
/health/readiness | No | DB connectivity check |
/health/liveliness | No | Alive check |
/health/services | Yes | Integration health (langfuse, datadog) |
Production Notes
- Minimum 4 CPU cores, 8 GB RAM
- Use
--num_workers 8 for scaling, --max_requests_before_restart 10000 for memory recycling
- Redis required for >1000 RPS or shared rate limits across replicas
- Remove
--detailed_debug in production
- K8s probes: liveness=
/health/liveliness, readiness=/health/readiness, initialDelaySeconds: 120