Open Source
Free
- MIT-licensed proxy and SDK, 140+ providers, virtual keys, budgets, rate limits, fallbacks, guardrails, self-hosted
Respan Gateway: up to 40% off tokens on Gemini, GPT, Claude and 1,000+ more models. One API key, 0% fee.
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 LiteLLM has had two supply chain compromises in 2026: two PyPI releases in March, and version 1.107.0 on October 21, which also reached its container images.
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
Annual
Engineering teams who want a self-hosted, open-source LLM proxy for managing providers, keys, and budgets
Self-hosting LiteLLM costs nothing in license fees, but every token still bills at your provider's list price, and the servers and engineering time to keep the proxy up sit with your team. Respan's gateway charges up to 55% less per token, passing bulk rates on with a 0% fee, across 1,000+ models on one API key.
On speed, Respan-run benchmarks against a single LiteLLM worker show Respan's open-source gateway handling 56,734 requests per second to LiteLLM's 268, adding 0.07 ms of median latency to LiteLLM's 4.34 ms, and using 31 MB of memory to LiteLLM's 418 MB.
If running the proxy is already part of someone's on-call rotation, the managed gateway takes that job off the list.
Respan passes bulk rates on with a 0% fee, and its gateway adds 62× less latency than LiteLLM in Respan-run benchmarks. Book a demo to see it on your own traffic.
Top 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 23+ providers
Helicone
LLM observability and monitoring
Stainless
SDK generation
Unify
Kong AI Gateway
AI traffic management
Martian
Intelligent model routing based on prompt type
Apigee AI Gateway
Google Cloud AI traffic management
Requesty
400+ model access
The Token Company
Token compression
Condense
Drop-in proxy: change one base URL, keep your own provider key
Orq.ai
AI gateway for 500+ models with fallbacks, retries, and load balancing
TrueFoundry
AI Gateway with routing, fallbacks, rate limits, and budgets
OrcaRouter
orcarouter/auto adaptive routing per request
InWorld AI
Conditional routing with CEL expressions on request metadata
Side-by-side comparisons with other tools in this category.
LiteLLM puts many LLM providers behind one OpenAI-compatible API, either as a Python SDK inside an app or as a self-hosted proxy for a whole team. Platform teams use the proxy for virtual keys, budgets, rate limits, fallbacks, and spend tracking per user and team. Respan's gateway does the same routing job managed, with no proxy to run, or self-hosted as open source.
The open-source LiteLLM gateway is free to self-host under the MIT license, with no per-token fee. LiteLLM Enterprise, which adds SSO, audit logs, and 24/7 support, is billed annually and priced through sales by request capacity, with a 30-day trial. Either way you still pay provider list prices plus the cost of running the proxy, while Respan charges up to 55% less per token with a 0% fee.
LiteLLM is made by Berrie AI Incorporated (BerriAI on GitHub), a San Francisco company from Y Combinator's Winter 2023 batch. Krrish Dholakia, the CEO, and Ishaan Jaffer, the CTO, founded it, and the project first shipped in July 2023.
LiteLLM reports SOC 2 Type 2 compliance, and its open-source proxy includes guardrails for PII masking and prompt injection. It has also had two supply chain compromises in 2026: two PyPI releases in March, and version 1.107.0 on October 21, which reached PyPI and its container images before being pulled the same day. Because the proxy is self-hosted, pinning and patching versions sit with your team. Respan's managed gateway is SOC 2, HIPAA (with a BAA), GDPR, and ISO 27001 compliant.
Yes, in that both put hundreds of models behind one OpenAI-compatible API. The difference is who runs it: LiteLLM is open-source software you host with your own provider keys, while OpenRouter is a hosted service that charges a 5.5% platform fee on its Standard plan. Respan offers both models, an open-source gateway you can self-host and a managed one with a 0% fee.
The quickest comparison is your current traffic: the models you call, at your volume, priced at up to 55% off with a 0% fee. Book a demo to see it on your own traffic.
Last verified: March 10, 2026