Open-source proxy to call 100+ LLM APIs as OpenAI.

What is LiteLLM?

LiteLLM is an open-source library and proxy that lets developers call 100+ LLM providers through one OpenAI-compatible interface, with load balancing, fallbacks and spend tracking.

Developers standardising LLM access across providers

What you can do

  • One interface, 100+ providers — OpenAI, Anthropic, Bedrock, Azure, Vertex and open models behind the same calls
  • Drop-in OpenAI compatibility — Swap the base URL and keep existing OpenAI code working
  • Load balancing and fallbacks — Route across providers and keys with automatic retries
  • Spend tracking — Per-key budgets, rate limits and usage logging built in

Where it fits

Useful for

  • One API for 140+ LLM providers
  • Virtual keys and spend budgets
  • MCP and agent gateway

Before you choose

  • Self-hosted setup needs some DevOps; managed cloud is a separate offering

Capabilities

Text chat

Gateway routes chat completions; no chat app itself.

File upload & analysis

Supports embeddings, images, and audio endpoints; multimodal requests pass through.

Image generation

Supported endpoints include /images — image generation via routed models.

Image understanding & editing

Routes to vision models; multimodal support.

Voice & audio

Supported endpoints include /audio/transcriptions and /audio/speech.

Code generation & execution

Lets developers build apps with any LLM, including code generation.

Reasoning & deep research

Routes to reasoning models; fallbacks and load balancing.

Autonomous agent

Agent gateway calls A2A agents, Vertex AI Agent Engine, LangGraph, Azure AI Foundry, Bedrock AgentCore, and Pydantic AI; MCP gateway puts MCP tools behind one endpoint; litellm.agent() runs agents.

API access

One OpenAI-compatible API to 140+ providers and 1,892 models; Python SDK; Admin UI; virtual keys and budgets.

Pricing & plans

Prices checked 11/25/2026

Open Source

$0

Self-hosted LLM routing

  • Full proxy and SDK, MIT-licensed, unlimited use
Plan details ↗

Open source and free to self-host.

Official pricing ↗

Explore similar tools

OpenRouter

AI Dev Platforms

A single key calls hundreds of models, real-time price and availability comparison, supports automatic failover and cost-based routing, unified billing, suitable for multi-model access and backup solutions, and some smal…

Free / FreemiumWeb · API
15

Hugging Face

AI Dev Platforms

Open-source model and dataset hub with inference APIs.

Free / FreemiumWeb · iOS · Android
15

Scikit Learn

AI Dev Platforms

The most popular open-source machine learning library, complete with classic algorithms and unified APIs, covering everything from classification regression to clustering and dimensionality reduction, with abundant docum…

FreeWindows · macOS · Linux
14

PaddlePaddle

AI Dev Platforms

Baidu's open-source deep learning framework, free to use.

FreeWindows · macOS · Linux
14
Comments Be the First to Comment

Please log in to comment

    No comments yet