📄️ Quick Start
Quick start CLI, Config, Docker
📄️ Proxy Config.yaml
Set model list, apibase, apikey, temperature & proxy server settings (master-key) on the config.yaml.
📄️ Use with Langchain, OpenAI SDK, Curl
Input, Output, Exceptions are mapped to the OpenAI format for all supported models
📄️ Load Balancing - Multiple Instances of 1 model
Load balance multiple instances of the same model
📄️ Key Management
Track Spend, Set budgets and create virtual keys for the proxy
📄️ [BETA] Self-serve UI
Allow your users to create their own keys through a UI
📄️ 💰 Budgets, Rate Limits per user
Requirements:
📄️ Model Management
Add new models + Get model info without restarting proxy.
📄️ Fallbacks, Retries, Timeouts, Cooldowns
If a call fails after num_retries, fall back to another model group.
📄️ Health Checks
Use this to health check all LLMs defined in your config.yaml
📄️ Modify Incoming Data
Modify data just before making litellm completion calls call on proxy
📄️ Caching
Cache LLM Responses
📄️ Logging - Custom Callbacks, Langfuse, OpenTelemetry, Sentry
Log Proxy Input, Output, Exceptions using Custom Callbacks, Langfuse, OpenTelemetry, LangFuse, DynamoDB
📄️ Track Token Usage (Streaming)
Step 1 - Create your custom litellm callback class
📄️ 🐳 Docker, Deploying LiteLLM Proxy
Dockerfile
📄️ CLI Arguments
Cli arguments, --host, --port, --num_workers