CodingFreemium Released July 2023

LiteLLM

Open-source proxy that gives 100+ LLM providers one OpenAI-compatible API.

Visit LiteLLM Free open source; Enterprise support plans

Quick verdict

Best for
Engineering teams governing LLM spend across apps
Pricing
Free open source; Enterprise support plans
Not ideal if
You run and upgrade it; releases are frequent

What is LiteLLM?

LiteLLM is an open-source Python library and proxy server that lets you call OpenAI, Anthropic, Google, Bedrock, Azure, and dozens more through one OpenAI-format interface, with spend tracking, budgets, rate limits, fallbacks, and virtual keys for teams.

Key features

  • One API format across 100+ providers
  • Virtual keys with per-team budgets and rate limits
  • Fallbacks, retries, and load balancing across deployments
  • Spend logging and cost tracking
  • Self-hosted proxy with an admin UI

Pros

  • Self-hosted — your keys and logs stay with you
  • Budgets and virtual keys solve real team governance problems
  • Huge provider coverage

Cons

  • You run and upgrade it; releases are frequent
  • Provider quirks leak through the abstraction sometimes
  • Enterprise features are paid

Best for

Engineering teams governing LLM spend across appsMulti-provider architecturesCompanies that cannot route through a third-party gateway

Read more

Related comparisons