# LiteLLM

> Source: https://theagentsindex.com/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

Vendor's price

Free Open Source plan

From [docs.litellm.ai/docs/enterprise](https://docs.litellm.ai/docs/enterprise), checked 3 November 2026

- MCP server Yes
- API Not stated
- Open source Not stated
- Self-host Yes

What we checked

- Pages last read: 12 November 2026
- Facts checked: 24 facts From 16 sources, read 3 November 2026
- AI answers: Not named in any of 151 Alternatives questions, October 2026

[How we check](https://theagentsindex.com/methodology) [Editorial policy](https://theagentsindex.com/editorial-policy#not-for-sale)

[Visit LiteLLM](https://theagentsindex.com/go/litellm) [Compare](https://theagentsindex.com/compare?cat=llm-gateways&products=litellm) [Alternatives](https://theagentsindex.com/litellm/alternatives)

## What we checked on LiteLLM

Yes Partly No

How much it does unattended Yes

### 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.

What LiteLLM does, MCP gateway paragraph [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Which models it runs on Yes

### 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

AI Providers page, Self-hosted & local section [docs.litellm.ai/docs/providers](https://docs.litellm.ai/docs/providers) Checked 3 November 2026

Which models it runs on Yes

### 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.

Why LiteLLM, 01 Access bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Whose machine it runs on Yes

### 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.

04 Ease of deployment section [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Whose machine it runs on Partly

### 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.

Key facts table, License row [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Whose machine it runs on Yes

### 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.

How LiteLLM works with your team, Start in minutes [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Whose machine it runs on Yes

### 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)

04 Ease of deployment bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Building with it Yes

### 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.

What LiteLLM does, Python SDK paragraph [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Building with it Yes

### 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

06 plans section, $0 Free forever card, Includes list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

What it costs to run Yes

### 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.

Key facts table, Pricing row [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

What it costs to run Partly

### 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.

What makes LiteLLM different, Open source, with no fee on tokens [litellm.ai/about](https://www.litellm.ai/about) Checked 29 October 2026

What it costs to run Yes

### 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.

Pricing FAQ, question 01 [litellm.ai/pricing](https://www.litellm.ai/pricing) Checked 28 October 2026

What it costs to run Yes

### 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.

MCP Overview, opening paragraph and Overview table [docs.litellm.ai/docs/mcp](https://docs.litellm.ai/docs/mcp) Checked 28 October 2026

What it costs to run Yes

### 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.

Why LiteLLM, 01 Access bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Buying it for a team Yes

### 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.

Key facts table, Contract terms row [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Buying it for a team No

### 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.

Key facts table, Pricing row [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

Buying it for a team Yes

### 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.

02 Visibility & Control bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Buying it for a team Yes

### 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.

02 Visibility & Control bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

Buying it for a team Partly

### 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

Full feature list, Security and access [docs.litellm.ai/docs/enterprise](https://docs.litellm.ai/docs/enterprise) Checked 3 November 2026

Buying it for a team Partly

### 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.

Who is Enterprise for? section [docs.litellm.ai/docs/enterprise](https://docs.litellm.ai/docs/enterprise) Checked 3 November 2026

What happens to your code Yes

### 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.

What makes LiteLLM different, Your data stays on your servers [litellm.ai/about](https://www.litellm.ai/about) Checked 3 November 2026

What happens to your code Yes

### 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

Security Measures, Self-hosted Instances LiteLLM [docs.litellm.ai/docs/data_security](https://docs.litellm.ai/docs/data_security) Checked 3 November 2026

What happens to your code Yes

### 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

04 Ease of deployment bullet list [litellm.ai](https://www.litellm.ai/) Checked 3 November 2026

What happens to your code Yes

### 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

02 Governance your auditor will accept [litellm.ai/enterprise](https://www.litellm.ai/enterprise) Checked 3 November 2026

## LiteLLM price and terms

### Terms

- Free plan: Yes

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](https://theagentsindex.com/img/1024/screenshots/litellm/pricing.webp)](https://theagentsindex.com/img/1920/screenshots/litellm/pricing.webp)

Pricing page, captured 31 October 2026

[docs.litellm.ai/docs/enterprise](https://docs.litellm.ai/docs/enterprise), checked 3 November 2026

### All plans and limits

| Plan | Price | Main limits |
| --- | --- | --- |
| Open Source | $0 a month | None stated |
| Enterprise | Price on request | None stated |

Read 14 November 2026 from [litellm.ai/pricing](https://www.litellm.ai/pricing).

## LiteLLM alternatives

[All 2 alternatives](https://theagentsindex.com/litellm/alternatives)

- [Portkey](https://theagentsindex.com/portkey) · AI gateway pairing an MIT-licensed router with hosted logs, guardrails, prompt management and an MCP gateway. · Free, paid from $49 a month · Checked 14 November 2026 · [Visit](https://theagentsindex.com/go/portkey)
  - Price: Free, paid from $49 a month
- [OpenRouter](https://theagentsindex.com/openrouter) · One OpenAI-compatible API to 600+ models on 80+ providers, billed at provider list price with fallback routing. · Free · Checked 14 November 2026 · [Visit](https://theagentsindex.com/go/openrouter)
  - Price: Free
- LiteLLM and its 2 alternatives · All 2 publish a price. · [See all 2](https://theagentsindex.com/litellm/alternatives)
  | LiteLLM | Free | 3 Nov |
  | --- | --- | --- |
  | [Portkey](https://theagentsindex.com/portkey) | Free, then $49 a month | 3 Nov |
  | [OpenRouter](https://theagentsindex.com/openrouter) | Free | 14 Nov |

## 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](https://theagentsindex.com/methodology)

## Sources and changes

Last changed 3 November 2026

Sources 16

- Read 12 November 2026 · [litellm.ai](https://www.litellm.ai/pricing) /pricing
- Read 3 November 2026 · [litellm.ai](https://www.litellm.ai/about) /about
- Read 3 November 2026 · [litellm.ai](https://www.litellm.ai/) /
- Read 3 November 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/enterprise) /docs/enterprise
- Read 12 November 2026 · [docs.litellm.ai](https://docs.litellm.ai/) /
- Read 6 November 2026 · [litellm.ai](https://litellm.ai/) /
- Read 3 November 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/data_security) /docs/data_security
- Read 3 November 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/providers) /docs/providers
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/) /docs
- Read 28 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/mcp) /docs/mcp
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/proxy/admin_ui_sso) /docs/proxy/admin_ui_sso
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/proxy/audit_logs) /docs/proxy/audit_logs
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/proxy/deploy) /docs/proxy/deploy
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/proxy/logging) /docs/proxy/logging
- Read 29 October 2026 · [docs.litellm.ai](https://docs.litellm.ai/docs/proxy/users) /docs/proxy/users
- Read 3 November 2026 · [litellm.ai](https://www.litellm.ai/enterprise) /enterprise

What changed on this page 1

- 3 November 2026 Usage terms, what it can do

## Similar to LiteLLM

- [Browserbase](https://theagentsindex.com/browserbase) Cloud browsers for AI agents, with web search, fetch, agent identity, runtime and a model gateway under one API key. Free plan, then $20 a month
- [TinyFish](https://theagentsindex.com/tinyfish) Web infrastructure for AI agents: search, page fetch, cloud browsers and goal-driven web automation. Free plan, then $0.002 per minute
- [Firecrawl](https://theagentsindex.com/firecrawl) Web data API that turns search, scrape and browser interaction into agent-ready Markdown or JSON. Free plan, then $19 a month

## From our research

[All research](https://theagentsindex.com/data)

- [Data table](https://theagentsindex.com/data/ai-apps-security) 1 Nov 2026 AI apps & tools: SOC 2, ISO 27001, GDPR and SSO
- [Data table](https://theagentsindex.com/data/ai-code-review-security) 11 Nov 2026 AI code review: SOC 2, ISO 27001, GDPR and SSO
- [Data table](https://theagentsindex.com/data/ai-content-tools-security) 1 Nov 2026 AI content & video tools: SOC 2, ISO 27001, GDPR and SSO

## 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](https://theagentsindex.com/claim/litellm?from=owner-line)

[Report an error](mailto:hello@theagentsindex.com?subject=Report%20an%20error%3A%20LiteLLM%20(litellm)&body=What%20is%20wrong%20on%20the%20page%2C%20and%20where%20on%20the%20product) if a fact is wrong.
