talira

The AI Gateway for platform teams.

open coreMITself-hostablefreeMCP

LiteLLM is a Python SDK and self-hosted proxy server that calls 100+ LLM APIs (OpenAI, Anthropic, Bedrock, Azure, Vertex AI, vLLM and more) in the OpenAI format. The proxy adds virtual keys, per-team budgets, cost tracking, rate limits, load balancing, fallbacks, guardrails and logging to observability tools, so platform teams can hand out model access centrally. Enterprise features (SSO, audit logs, JWT auth) are under a commercial licence.

Problems it solves

  • call Claude, Gemini and Bedrock models with the same OpenAI-style code
  • hand out API keys to internal teams with their own spending limits
  • track LLM cost per user, team and project
  • Claude Code at work should go through our own proxy and budget
  • fall back to Azure OpenAI when OpenAI is rate limiting us
  • self-host an OpenAI-compatible endpoint in front of all our providers
  • send every LLM request to Langfuse or another logging tool automatically
  • set requests-per-minute and tokens-per-minute limits per key
  • mask PII in prompts before they leave our network
  • switch model providers without rewriting the app
  • a dollar budget on each API key so its requests are refused once it's spent, resetting every month

Features

  • 100+ provider integrations in OpenAI format
  • proxy server with virtual keys
  • budgets and teams
  • cost tracking
  • load balancing and fallbacks
  • RPM/TPM limits
  • guardrails
  • logging integrations
  • SSO, audit logs, JWT auth (Enterprise)
  • max_budget and budget_duration on keys, users and teams

Limitations

  • No managed cloud version: you host the gateway yourself12

Ways to run it

Open Source

You run it, MIT

free123

Only in this edition

  • 100+ providers behind one OpenAI-format API
  • virtual keys, users and teams, spend tracking, budgets and rate limits
  • fallbacks, load balancing and custom guardrails
  • the admin UI, logging callbacks, Prometheus metrics and the MCP gateway
  • SSO (OIDC or SAML) for up to 5 users without a licence key, from v1.76.0

Not included

  • SSO for more than 5 users, SCIM, OIDC/JWT auth, audit logs, secret managers and key rotation, org and team admins and IP allowlists, which are in the enterprise/ code under LiteLLM's commercial licence4567
  • support SLAs (community only)1

You arrange

  • PostgreSQL for keys, spend and the admin UI
  • Redis to coordinate several instances
  • a master key and your provider API keys
  • Kubernetes (Helm) or a container host, scaling and upgrades

Self-hosting docs

Enterprise

You run it, under a commercial licence

annual licence sized to request capacity, deployment and support (price not published); 30-day free trial148

Only in this edition

  • a licence key on the same gateway image
  • SSO and SCIM, OIDC/JWT auth and audit logs
  • secret managers and key rotation
  • org and team admins, IP allowlists and per-team logging
  • a multi-region control plane and air-gapped deployment
  • Slack support with optional 24/7 SLAs

You arrange

  • everything the open source edition needs
  • the licence key

Self-hosting docs

Capabilities

Has an APIplan not known
Has an MCP serverplan not known
Takes pluginsplan not known
Has official SDKsplan not known
Has single sign-onOpen Source; Every plan, priced by sales679

Alternatives

The same job

These do what LiteLLM does.

  1. CLIProxyAPI Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code and Devin as an OpenAI/Gemini/Claude/Codex compatible API service
  2. Portkey AI Gateway A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
  3. New API An AI gateway for models, applications, and agents
  4. Helicone Open source LLM observability platform. One line of code to monitor, evaluate, and experiment.
  5. Bifrost Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway.
  6. agentgateway Next Generation Agentic Proxy for AI Agents and MCP servers

Compare LiteLLM with the top 3