Call every LLM through one OpenAI-compatible API.
LiteLLM is a proxy and SDK that translates one OpenAI-style call into 100+ providers (Anthropic, Gemini, Bedrock, Azure, Groq, Ollama). Swap models with a string change, load-balance across keys, and track spend per project.
Who it's for: Platform and backend engineers who want provider portability, failover, and cost control without vendor lock-in.
One interface for OpenAI, Anthropic, Gemini, Bedrock, and more.
Route to a backup model automatically when one provider is down or rate-limited.
Per-key, per-project token and cost accounting out of the box.
Drop-in server your existing OpenAI SDK can hit.
LiteLLM is the cheapest insurance against LLM vendor surprises. If you call more than one provider, run it yesterday.