overview
What is LiteLLM?
LiteLLM is an AI gateway tool developed by BerriAI that enables individual developers, small teams, and large companies to simplify interactions with various Large Language Models (LLMs) by providing a unified interface. It functions as both a Python SDK and a self-hosted AI gateway (proxy server), allowing developers to call over 100 LLM APIs using a single, OpenAI-compatible interface. LiteLLM normalizes APIs across providers like OpenAI, Anthropic, Google Gemini, Mistral, Cohere, AWS Bedrock, and local models via Ollama, accelerating development and reducing vendor lock-in. The tool also offers features for cost optimization, centralized management, enhanced reliability through fallbacks, and security governance with virtual key management and audit logs. As of mid-2026, LiteLLM has garnered over 40,000 GitHub stars and 240 million Docker pulls.
