Skip to content
The Agents Index

LiteLLM

MIT-licensed, self-hosted AI gateway putting 140+ LLM providers, MCP servers and agents behind one OpenAI-compatible.

LiteLLM is an open-source AI gateway and Python SDK that puts LLM providers, MCP servers and agents behind one OpenAI-compatible API, installed in your own cloud, on-prem or air-gapped. LiteLLM Enterprise adds governance, security and support on top of the same code under a paid license.

Best for
Platform teams giving many engineers governed, cost-capped access to LLMs

What we checked

Pages last read
Facts checked
24 factsFrom 16 sources, read 3 November 2026
AI answers
Not named in any of 151Alternatives questions, October 2026

What we checked on LiteLLM

YesPartlyNo

How much it does unattendedYes

Agent permissions

The gateway controls MCP tool access by key and team, so an agent receives only permitted tools.

You control access to each tool by key and by team. An agent gets only the tools that you permit.

litellm.ai/aboutChecked

Which models it runs onYes

Open models

LiteLLM supports locally run and self-hosted model providers including Ollama, vLLM, LM Studio, and Llamafile.

SELF-HOSTED & LOCAL Ollama Chat and embeddings ollama/ vLLM Chat, embeddings, images, audio, video and rerank

docs.litellm.ai/docs/providersChecked

Which models it runs onYes

Model choice

The buyer picks the model: one OpenAI-compatible API covers 140+ providers and models are swapped by configuration without changing app code.

One OpenAI-compatible API to 140+ providers and 1,800+ models. Swap models without changing app code.

litellm.aiChecked

Whose machine it runs onYes

Self-hosted

The free gateway is intended for self-hosting, and the vendor also documents air-gapped deployment for Enterprise customers.

Self-host the same open-source gateway behind 240M+ Docker pulls, in your own cloud or fully air-gapped.

litellm.aiChecked

Whose machine it runs onPartly

Licence

mixed: the core is MIT and free to use in production, but the enterprise/ directory needs a paid license for production use.

MIT. The enterprise/ directory is different: you must have a paid license to use it in production.

litellm.ai/aboutChecked

Whose machine it runs onYes

Open-source runtime

A buyer can run the open-source gateway indefinitely on its own infrastructure without needing a LiteLLM account or license fee.

Install the gateway with one command, the Docker image or the Helm chart. Then connect your apps to it. You do not sign up, and LiteLLM gets no data.

litellm.ai/aboutChecked

Whose machine it runs onYes

Runs in your cloud

The gateway supports deployment in a buyer's AWS, Google Cloud, Azure, or Kubernetes environment using Helm and Terraform paths.

One-click deploy into your hyperscaler (AWS, GCP, or Azure)

litellm.aiChecked

Building with itYes

SDK languages

Python is LiteLLM's native SDK language; non-Python applications access the gateway through OpenAI-compatible client interfaces.

The litellm package calls 100+ LLM APIs in the OpenAI format. It has retries, fallbacks and cost tracking.

litellm.ai/aboutChecked

Building with itYes

Tracing and evals

Each request gets a unique call identifier and can send input, output, and exception information to supported logging systems.

Langfuse, Arize Phoenix, LangSmith, and OTEL logging

litellm.aiChecked

What it costs to runYes

How it meters

Open source is free on your servers; Enterprise is an annual license priced on request capacity, architecture and support, never per token or as a model markup.

Enterprise: an annual license. The price is a function of request capacity, installation architecture and support. It is never per token.

litellm.ai/aboutChecked

What it costs to runPartly

Cost of one job

LiteLLM adds no gateway fee to model spend, but it does not publish a per-job price because underlying model providers bill separately.

LiteLLM adds no fee to your model cost.

litellm.ai/aboutChecked

What it costs to runYes

Free to use

The open-source gateway is a standing free tier, self-hosted with no license fee, covering virtual keys, budgets, spend tracking, fallbacks and Prometheus metrics; a separate 30-day Enterprise trial key exists on top.

Is the open-source version really free for production? Yes. Self-host LiteLLM OSS with no license fee, forever.

litellm.ai/pricingChecked

What it costs to runYes

MCP server

The gateway acts as an MCP gateway: it fronts MCP servers over streamable HTTP, SSE and stdio, lists and calls their tools, and scopes access by key, team or organization. stdio needs a flag set at startup.

LiteLLM Proxy provides an MCP Gateway that allows you to use a fixed endpoint for all MCP tools and control MCP access by Key, Team.

docs.litellm.ai/docs/mcpChecked

What it costs to runYes

Bring your own key

Deployments retain provider keys in their own infrastructure instead of sharing a vendor-managed inference credential.

Bring your own internal, fine-tuned, and self-hosted models behind the same key.

litellm.aiChecked

Buying it for a teamYes

A company can buy it

Organisations buy an annual Enterprise license directly, through AWS or Azure Marketplace, or via authorised resellers, after an optional 30-day trial key.

Annual Enterprise license. 30-day trial key. You can buy direct, through AWS Marketplace or Azure Marketplace, or through authorized resellers.

litellm.ai/aboutChecked

Buying it for a teamNo

Seat model

The license is not sold per seat: the vendor states its price depends on request capacity, installation architecture and support, though Enterprise targets teams with 100+ users.

The price is a function of request capacity, installation architecture and support. It is never per token.

litellm.ai/aboutChecked

Buying it for a teamYes

Pooled budget

Team virtual keys can draw from a shared team budget, while optional member budgets set individual limits inside that pool.

Hard budgets per key, team, org, and model, with daily and monthly resets. At the cap, requests stop.

litellm.aiChecked

Buying it for a teamYes

Admin controls

Administrators can assign scoped organization and team roles, then constrain budgets, rates, models, and member permissions.

Model access control and guardrails, with an audit log on every request.

litellm.aiChecked

Buying it for a teamPartly

Audit log

Audit logs of admin actions with retention policies are an Enterprise license feature, not part of the free open-source gateway.

Audit Logs with retention policies. Track every admin action and key-level change

docs.litellm.ai/docs/enterpriseChecked

Buying it for a teamPartly

Single sign-on

SSO via OIDC or SAML providers is free for up to five users; beyond that an Enterprise license is required, which also adds SCIM.

SSO is free for up to 5 users; beyond that, an Enterprise license is required.

docs.litellm.ai/docs/enterpriseChecked

What happens to your codeYes

Opt out of training

Self-hosted installs send no data or telemetry to LiteLLM, so prompts never reach the vendor; upstream model providers' own policies still apply.

It sends no data and no telemetry to LiteLLM.

litellm.ai/aboutChecked

What happens to your codeYes

Data residency

Self-hosted deployments keep processed data in the buyer's infrastructure, so the chosen deployment location determines residency.

No data or telemetry is stored on LiteLLM Servers when you self-host

docs.litellm.ai/docs/data_securityChecked

What happens to your codeYes

Take your data out

There are no vendor credits to expire, and state lives in the buyer's own Postgres and Redis, with the MIT core forkable if the relationship ends.

Runs on your own Postgres and Redis, and scales out with Kubernetes autoscaling

litellm.aiChecked

What happens to your codeYes

Certifications

The vendor states SOC 2 Type 2 and ISO 27001, with the SOC 2 report in its Trust Center; GDPR is mentioned only as a team-level logging opt-out.

SOC 2 Type 2 and ISO 27001, SSO and audit logs — on a gateway that runs in your own infrastructure

litellm.ai/enterpriseChecked

LiteLLM price and terms

Terms

Free plan
YesYes
The terms in full

Open-source gateway is free forever and self-hosted, with 140+ providers, virtual keys, budgets, load balancing and guardrails. SSO free for up to 5 users. Enterprise features via a 30-day trial key.

For AI agents

MCP server
Yes

What needs a higher plan

LiteLLM Enterprise
A company can buy it, Audit log, Single sign-on
LiteLLM's pricing page

Pricing page, captured

docs.litellm.ai/docs/enterprise, checked

All plans and limits

PlanPriceMain limits
Open Source$0 a monthNone stated
EnterprisePrice on requestNone stated

Read from litellm.ai/pricing.

LiteLLM alternatives

All 2 alternatives

Questions about LiteLLM

How much does LiteLLM cost?
LiteLLM's Open Source plan is free. It also sells a paid Enterprise plan. From docs.litellm.ai/docs/enterprise, checked 3 November 2026.
Does LiteLLM have an API or an MCP server?
It has an MCP server.
Is LiteLLM open source, and can you host it yourself?
You can host it yourself.
What have we checked on LiteLLM?
24 facts, under these headings: How much it does unattended, which models it runs on, whose machine it runs on, building with it, what it costs to run, buying it for a team, what happens to your code.
How do we check LiteLLM?
We hold 24 facts on LiteLLM, quoted from 16 pages. Facts and price last checked 3 November 2026, when we also found the last change.

How we check every listing

Similar to LiteLLM

From our research

All research

Is LiteLLM yours?

It costs nothing, and the page gets the verified owner mark. You confirm it with an email at litellm.ai. Claim this listing

Report an error if a fact is wrong.