AI product Open source

LiteLLM

LiteLLM is an open-source AI gateway and Python SDK from BerriAI for calling more than 100 LLM providers through a unified OpenAI-compatible interface. It supports direct library integration and a self-hosted proxy server, with provider-specific formats translated into common endpoints such as chat completions, responses, embeddings, image generation, audio, batches, reranking, messages, and agent-to-agent calls.

View repository Visit site

Overview

The proxy provides centralized authentication and authorization, virtual keys, per-project and per-user spend tracking, logging, guardrails, caching, load balancing, routing with retry and fallback logic, and an administration dashboard. LiteLLM also exposes MCP tools and A2A agents through the gateway and can be deployed as a componentized stack with separate gateway, backend, and UI services. The repository describes it as open source and documents Docker, local development, and Terraform deployment options for AWS and Google Cloud.