Gateways and observability4 of 6

LiteLLM

LiteLLM is an open-source Python SDK and self-hosted gateway that calls many language model providers through the OpenAI API format.

www.litellm.ai ↗ Documentation ↗ Source code ↗

Compare side by side
Lowest paid plan
Quote only
Free tier
Free (open source)
License
Open core (MIT)
Self-hosting
Only option

Pricing page read on 8 of the last 8 days. No published change. Watched since .

Facts checked , from 4 sources

What LiteLLM does

LiteLLM has two parts. The Python SDK is a library that calls more than 100 model providers, among them OpenAI, Anthropic, Vertex AI and Bedrock, using the OpenAI request format, with a router for retries, fallbacks and load balancing. The proxy server is a gateway a team runs itself: applications send requests to it, and it issues virtual keys, applies budgets and rate limits per key, team or user, tracks spend, logs requests and responses, and has an admin interface.

There is no hosted version. The gateway is deployed on the buyer's own infrastructure with the vendor's Helm charts, Terraform modules for AWS and Google Cloud, or plain Kubernetes manifests. It needs PostgreSQL for keys, teams, users and spend logs, and Redis once more than one instance is running.

LiteLLM: owner, license and hosting

Each value was read from the vendor's own page on the date shown. How listings are checked

Fact Value Source and date checked
Owner Berrie AI Incorporated, as the site's copyright notice spells it. Source ↗
License MIT, except the enterprise/ directory, which is under a separate enterprise license. Source ↗
Self-hosting Yes, and it is the only way to run it. Helm charts, Terraform modules for AWS (ECS Fargate) and Google Cloud (Cloud Run), or Kubernetes manifests. Needs PostgreSQL, and Redis for more than one instance. Source ↗
Hosted regions None. No hosted service is offered; the pricing page describes LiteLLM as self-hosted. Source ↗

LiteLLM pricing and plans

LiteLLM pricing, checked on . Lowest paid plan: Enterprise: no price is published; quoted by sales. A 30-day trial key is offered. Free tier: Open Source: $0, self-hosted, with no license fee and no stated usage limit. Pricing model: The open-source gateway is free to self-host. Enterprise is an annual contract sized to annual gateway request capacity, deployment architecture and support needs, not per token.

Plan PriceIncluded usageBeyond thatData retentionUsers
Open Source Price: $0 Included usage: – Beyond that: – Data retention: – Users: –
Enterprise Price: Annual contract, quoted by sales Included usage: – Beyond that: – Data retention: – Users: –

The software is self-hosted, so retention is whatever the operator configures. Enterprise is priced on annual gateway request capacity, deployment architecture and support needs, "never per token", with volume discount tiers. There is a 30-day Enterprise trial, and Enterprise can be bought directly, through AWS Marketplace or through resellers.

As stated on the vendor's pricing page on . A dash means the page does not say.

LiteLLM pricing history

The pricing page has been checked daily since . No price change has been recorded since then.

Where LiteLLM fits

Teams that want a gateway on their own infrastructure with no license fee: the code outside the enterprise/ directory is MIT-licensed, and the open-source plan includes virtual keys, budgets, rate limits, spend tracking and fallbacks. It also suits Python applications that only need the SDK and no separate service.

Limits of LiteLLM

There is no hosted service, so the team runs and upgrades the gateway, PostgreSQL and, beyond one instance, Redis. SSO, SCIM, audit logs and secret-manager integration are in the Enterprise plan, which is an annual contract with no published price. The key that encrypts stored provider credentials cannot be rotated once models have been added.

Alternatives to LiteLLM

  • Cloudflare AI Gateway
    Cloudflare AI Gateway is a hosted proxy for model provider APIs that adds logging, analytics, caching, rate limiting and fallback.
    $5 a month (Workers) Compare
  • OpenRouter
    OpenRouter is a hosted API that routes requests to language models from many providers through one endpoint and one prepaid credit balance.
    5.5% fee on credits Compare
  • Portkey
    Portkey is a hosted gateway for language model requests with logging, prompt management and guardrails, built on an MIT-licensed gateway.
    $49 a month Compare
Compare LiteLLM with them

More gateways and observability tools