# LiteLLM

CreateWithAI Hub page: https://createwithaihub.com/open-source/litellm
Latest version of this file: https://createwithaihub.com/open-source/litellm.md

- Type: Library · Category: Libraries & Open Source
- Publisher: BerriAI
- Pricing: Free plan plus paid plans · License: MIT
- Runs on: Docker / self-hosted

Open-source Python SDK and self-hosted AI gateway that calls 100+ LLM providers in the OpenAI format.

LiteLLM gives one OpenAI-format interface to 100+ LLM providers, including OpenAI, Anthropic, Gemini, Bedrock and Azure. Use it as a Python SDK inside your code, or deploy the AI Gateway (proxy server) for a team with virtual keys, spend tracking, budgets, guardrails, load balancing and an admin dashboard. The gateway also connects MCP servers so their tools can be called from any model. An Enterprise tier and a hosted cloud (beta) are offered by BerriAI.

Useful for: Giving every team in a company one OpenAI-compatible endpoint with per-key budgets and spend tracking, while routing to Anthropic, Azure or Bedrock behind it.

## Key features

- One OpenAI-format API across 100+ providers
- Endpoints for chat completions, responses, embeddings, images, audio, batches, rerank and messages
- Gateway with virtual keys, spend tracking, guardrails and load balancing
- Admin dashboard
- MCP gateway and Python MCP bridge for using MCP tools with any LLM

## Connection

- Language: Python
- Focus: Inference / serving

## Install steps from the official documentation

Python SDK:

```
uv add litellm
```

AI Gateway (proxy):

```
uv tool install 'litellm[proxy]'
```

## Limitations

- Code under litellm/enterprise/ is under a separate enterprise license
- SSO, audit logs and other governance features are part of the Enterprise tier

## Official links

- Website: https://www.litellm.ai
- Source repository: https://github.com/BerriAI/litellm
- Documentation: https://docs.litellm.ai
- Source: https://github.com/BerriAI/litellm (README: SDK and gateway description, supported endpoints, install commands, MCP bridge and gateway, hosted proxy and enterprise links; LICENSE: MIT outside litellm/enterprise/)
- Source: https://www.litellm.ai/enterprise (Enterprise plan (custom pricing), LiteLLM Cloud Beta managed by the LiteLLM team, enterprise feature list)
