Skip to main content
LiteLLM

What Is LiteLLM? Proxy Pricing, Security, Pros & Cons

Founded 2023|San Francisco, California|11-50 people|Free and open source (MIT), with an Enterprise license priced by sales

Respan Gateway: up to 40% off tokens on Gemini, GPT, Claude and 1,000+ more models. One API key, 0% fee.

What is LiteLLM?

Key features

Core capabilities this platform advertises.

  • OpenAI-compatible proxy for 140+ providers
  • Virtual keys scoped to users and teams
  • Budgets, rate limits, and spend tracking
  • Fallbacks, retries, and load balancing
  • Guardrails for PII masking and prompt injection

Strengths and tradeoffs

What this tool does well, and the limitations to keep in mind.

Pros

  • MIT-licensed proxy, free at any volume
  • 140+ providers behind one OpenAI-compatible API
  • Virtual keys and budgets per user and team
  • Runs inside your own infrastructure

Cons

  • You run, scale, and secure the proxy yourself
  • Supply chain compromises in March and October 2026
  • SSO, RBAC, and audit logs require the Enterprise license
  • Tracing and evals depend on separate tools

Plans & pricing

What's included in each plan, and how the tiers compare.

Open Source

Free

 

  • MIT-licensed proxy and SDK, 140+ providers, virtual keys, budgets, rate limits, fallbacks, guardrails, self-hosted

Enterprise

Custom

Annual

  • Everything in open source, plus SSO and SCIM, audit logs, secret managers with key rotation, org and team admins, a multi-region control plane, and 24/7 support with SLAs, billed annually by request capacity
View official pricing page

Common use cases

Engineering teams who want a self-hosted, open-source LLM proxy for managing providers, keys, and budgets

  • Self-hosted LLM gateway for data control
  • Standardizing LLM access across teams
  • Budget enforcement per team or project
  • Switching providers without code changes
  • Issuing scoped API keys to internal users

How Respan compares on price and speed

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.

  • Up to 55% off tokens - Bulk rates are passed on, with no fee on top.
  • Self-hosted or managed - Run the open-source gateway on your own infrastructure, or use it managed with no proxy to operate. Moving off LiteLLM means changing the base URL and API key.
  • Automatic fallbacks - Set a fallback chain once, and traffic moves to the next model when a provider errors or rate-limits.
  • Hard spend limits - Caps per key, per customer, or org-wide, so a leaked key stops at the ceiling instead of running up the bill.
  • PII redaction - Names, card numbers, and emails are masked before the model sees them.
  • Every call traced - Each request through the managed gateway is logged with its cost and latency, and teams keeping LiteLLM for now can send traces to Respan through the native respan-instrumentation-litellm callback.

If running the proxy is already part of someone's on-call rotation, the managed gateway takes that job off the list.

Up to 55% off tokens, and no proxy to run

Up to 40%Off tokens
1,000+Models
0%Fee

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.

Similar tools in LLM Gateways

Top companies in LLM Gateways you can use instead of LiteLLM.

View all LiteLLM alternatives

Compare LiteLLM

Side-by-side comparisons with other tools in this category.

LiteLLM FAQ

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.

See what your LiteLLM traffic would cost on Respan

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