Open Source
Free
- MIT-licensed proxy and SDK, 140+ providers, virtual keys, budgets, rate limits, fallbacks, guardrails, self-hosted
LiteLLM is an open-source LLM gateway and Python SDK from BerriAI that puts 140+ providers behind one OpenAI-compatible API, licensed under MIT. You run the proxy yourself with Docker, Kubernetes, or Terraform, and it handles virtual keys, budgets, rate limits, fallbacks, load balancing, and spend tracking per user and team.
The open-source proxy is free at any volume, and an Enterprise license adds SSO, RBAC, audit logs, and support SLAs at a price quoted by sales. Because it's self-hosted, uptime, scaling, and security of the proxy sit with your team, and in March 2026 two LiteLLM releases on PyPI were compromised in a supply chain attack before a clean version shipped.
For tracing and evaluation, LiteLLM sends request logs to integrations like Langfuse, Arize Phoenix, and LangSmith, so proxy logs and the traces from the rest of an agent end up in separate tools, which is why teams often compare LiteLLM alternatives that keep routing and evaluation together.
Core capabilities this platform advertises.
What this tool does well, and the limitations to keep in mind.
Pros
Cons
What's included in each plan, and how the tiers compare.
Free
Custom
Contact sales for a quote
Engineering teams who want a self-hosted, open-source LLM proxy for managing providers, keys, and budgets
Respan has a native LiteLLM integration. The respan-instrumentation-litellm package registers a LiteLLM callback, so every completion across every provider LiteLLM calls is traced in Respan, and you can optionally route through Respan's gateway instead of running your own proxy.
Respan's LLM gateway gives you automatic failover, hard spend limits, and every call logged as a span with cost and latency attached. Routing and debugging in the same place, running in minutes.
Try Respan freeTop companies in LLM Gateways you can use instead of LiteLLM.
Respan
One API for 1,000+ models
OpenRouter
One OpenAI-compatible API for 500+ models from 80+ providers
Cloudflare AI Gateway
Edge-deployed AI gateway
Vercel AI Gateway
One API key for hundreds of models
Portkey
Unified API across major providers
Bifrost
OpenAI-compatible API for 1,000+ models from 20+ providers
Helicone
LLM observability and monitoring
Stainless
SDK generation
Unify
Martian
Intelligent model routing based on prompt type
Kong AI Gateway
AI traffic management
Requesty
400+ model access
Apigee AI Gateway
Google Cloud AI traffic management
The Token Company
Token compression
InWorld AI
Conditional routing with CEL expressions on request metadata
TrueFoundry
AI Gateway with routing, fallbacks, rate limits, and budgets
Orq.ai
AI gateway for 500+ models with fallbacks, retries, and load balancing
OrcaRouter
orcarouter/auto adaptive routing per request
Side-by-side comparisons with other tools in this category.
Companies from adjacent layers in the AI stack that work well with LiteLLM.
Last verified: March 10, 2026