What LiteLLM Actually Is
The Architecture
Model Abstraction: Application Code Calls Aliases
Virtual Keys and Cost Visibility
Redis Caching: Free Answers for Repeated Queries
Why MCP Is Separate Now
The Anthropic OAuth Gotcha
Tech Stack
- LiteLLM pinned upstream image for the model proxy
- Kubernetes for deployment, rolling updates, probes, and service routing
- Redis 8 for response caching (1-hour TTL)
- Postgres for spend logs, budgets, and virtual key management
- Anthropic, OpenAI, Google Gemini, xAI as upstream providers
- Cloudflare Tunnel / Envoy Gateway for browser-facing access to the proxy UI and API