LiteLLM
Open-source AI gateway and Python SDK that calls 100+ LLM providers in the OpenAI format, with cost tracking, guardrails, load balancing and logging.
Updated
✨ Try AgentScout's free AI image generator →Good for: building AI agents, building voice agents, building MCP servers, evaluating agents, monitoring agents in production, agent security and safety
Use cases
About LiteLLM
LiteLLM is listed in our agent infra category and is aimed at builders. Open-source AI gateway and Python SDK that calls 100+ LLM providers in the OpenAI format, with cost tracking, guardrails, load balancing and logging. Pricing, as the maker states it: Open source + cloud. Maturity: Mature. We last checked the official link on 2026-12-01.
What is LiteLLM?
LiteLLM is an open-source AI gateway that gives you one interface to call 100+ LLM providers, including OpenAI, Anthropic, Gemini, Bedrock and Azure, using the OpenAI format.
You can use it as a Python SDK inside your code or deploy the AI Gateway (proxy server) as a central service for a team, with virtual keys, spend tracking, guardrails, load balancing and an admin dashboard. A hosted proxy and an enterprise tier are also offered.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: litellm.ai.
Who is LiteLLM for?
Developers and platform teams who call several LLM providers and want one OpenAI-compatible API, plus central keys, budgets and spend tracking.
LiteLLM at a glance
- Open source: Yes (MIT License)
- GitHub: BerriAI/litellm · 64,364 stars (as of Dec 2, 2026)
Key features
- One OpenAI-format API for 100+ LLM providers
- Python SDK and self-hosted AI Gateway (proxy server)
- Virtual keys, spend tracking and budgets
- Guardrails, load balancing and fallbacks
- Admin dashboard
- Endpoints for chat, responses, embeddings, images, audio, batches and rerank
LiteLLM FAQ
What is LiteLLM?
LiteLLM is an open-source AI gateway that gives you one interface to call 100+ LLM providers, including OpenAI, Anthropic, Gemini, Bedrock and Azure, using the OpenAI format.
Who is LiteLLM for?
Developers and platform teams who call several LLM providers and want one OpenAI-compatible API, plus central keys, budgets and spend tracking.
Is LiteLLM free?
LiteLLM's pricing, as the maker states it: Open source + cloud. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is LiteLLM open source?
Yes. LiteLLM is released under the MIT License, according to its GitHub repository.
What are alternatives to LiteLLM?
Similar tools include Open Connector, Kong Gateway, opencodex, Omnara, Caspian and Mediary Scout.
LiteLLM ratings and reviews
Be the first to rate LiteLLM: tap 1 to 5 stars below. A written review is optional.
LiteLLM alternatives
Compare 10 LiteLLM alternatives side by side →
Other agent infra tools in our directory. See all agent infra tools →
Open Connector
Open-source auth gateway connecting SaaS apps to AI agents via SDK, CLI and MCP.
Kong Gateway
Kong Gateway is Kong's Apache-2.0, cloud-native API gateway that now also acts as an LLM and MCP gateway. It handles proxying, routing, load balancing, health checks and authentication through plugins, and adds AI traffic features such as multi-LLM routing, semantic security, and MCP traffic security and analytics. It runs natively on Kubernetes through the official ingress controller, with the open-source edition free to self-host and Kong Konnect as the paid cloud platform.
opencodex
A local provider proxy that lets OpenAI Codex (CLI, app and SDK) and Claude Code run on other model providers such as Claude, Gemini, Grok, DeepSeek or local Ollama models.
Omnara
Open-source managed agent platform, a self-hostable alternative to Claude Managed Agents and the OpenAI Agents API, with tools, secrets and sandboxes.
Caspian
An open-source communication SDK that lets AI agents send and receive messages over email, WhatsApp, Slack, Discord and other channels.
Mediary Scout
巡影 · 开源 AI 影视自动追更与多网盘媒体库整理工具 / Open-source AI agent for cloud drive media tracking & NAS (夸克 Quark / UC / 115 / 123 / 光鸭 Guangya / 天翼 Tianyi)