overview
What is LiteLLM?
LiteLLM is an open-source AI Gateway and Python SDK tool developed by the LiteLLM team that enables developers, platform teams, and AI product leaders to unify access to over 100 LLM providers. It provides a single, OpenAI-compatible interface for features like cost tracking, guardrails, and load balancing. The tool operates in two primary modes: as a stateless Python package (SDK) that translates OpenAI-style JSON objects into provider-specific formats, and as a stateful FastAPI proxy server, deployable via Docker, which manages API keys, logs requests, handles rate limits, and provides caching and automatic fallbacks. This dual functionality simplifies the integration and management of diverse LLM APIs, reducing vendor lock-in and operational complexity for multi-model AI systems.
