# liteLLM

LiteLLM 为平台团队和开发者提供可自托管的开源 AI 网关和 Python SDK，通过统一接口连接模型、智能体及 MCP 工具，并管理访问权限、请求路由和费用预算。

- 规范链接: https://meetnewai.com/zh/products/litellm.ai
- 官网: https://litellm.ai
- 分类: [模型 API 与网关](https://meetnewai.com/zh/categories/llm-apis)
- 定价模式: 免费及付费方案（确认含免费方案）
- 月访问量估算: 576,967 (2026-10)
- 截图采集日期: 2026-11-07
- 记录更新时间: 2026-11-07

## 价格与方案

| 方案 | 价格 | 用量限制 |
| --- | --- | --- |
| Open Source | $0 | — |
| Enterprise | 联系销售 | — |

## 核心功能

- **统一兼容API**: "One OpenAI-compatible API to 140+ providers and 1,800+ models. Swap models without changing app code."
- **SSO团队登录**: "One login with SSO, scoped by team, project, or app."
- **多维用量追踪**: "Usage and spend tracked per key, user, team, org, tool, agent, and MCP, across 140+ providers."
- **硬性预算上限**: "Hard budgets per key, team, org, and model, with daily and monthly resets. At the cap, requests stop."
- **模型权限护栏**: "Model access control and guardrails, with an audit log on every request."
- **跨商负载均衡**: "Load balancing across providers, regions, and keys."
- **最低成本路由**: "Lowest-cost routing to the cheapest deployment that can serve the request."
- **智能自动路由**: "Auto Routing that sends simple prompts to cheaper models and hard ones to stronger models."
- **响应语义缓存**: "Response and semantic caching (Redis, S3, GCS), so you never pay twice for the same answer."
- **提示词压缩**: "Prompt compression, so you send fewer tokens for the same result."

## 适用场景

- 统一接入AI栈
- 请求限额管控
- 提升AI投入回报
- 企业用量分账

## 支持集成

OpenAI, Anthropic, Vertex AI, Bedrock, Ollama, Azure OpenAI, Langfuse, Langsmith, Datadog, Slack, Discord, LangGraph, Pydantic AI, Azure AI Foundry, Bedrock AgentCore

## 官方来源

- [LiteLLM — Open-Source AI Gateway & LLM Proxy](https://www.litellm.ai/) (home)
- [LiteLLM pricing — free to self-host, Enterprise priced to scale](https://www.litellm.ai/pricing) (pricing)
- [Compare Features: Free vs Enterprise | LiteLLM](https://www.litellm.ai/features) (features)
- [Security | LiteLLM](https://www.litellm.ai/security) (features)
- [LiteLLM Customers | Teams running LiteLLM in production](https://www.litellm.ai/customers) (customers)
- [Changelog | liteLLM](https://docs.litellm.ai/release_notes) (changelog)
- [Blog | LiteLLM](https://www.litellm.ai/blog) (blog)
- [Getting Started | liteLLM](https://docs.litellm.ai/docs) (docs)
- [About LiteLLM | The Open-Source AI Gateway](https://www.litellm.ai/about) (about)

## 同类替代工具

- [LLM Gateway](https://meetnewai.com/zh/products/llmgateway.io) — LLM Gateway 为开发者和企业团队提供统一的大模型 API 网关，支持多供应商路由、自动故障切换、缓存、成本分析和安全管控。
- [OrcaRouter](https://meetnewai.com/zh/products/orcarouter.ai) — OrcaRouter 为开发 AI 应用的团队提供统一 API 网关，在多个模型之间自动路由请求，并提供故障转移、安全防护、成本控制和可观测性。
- [AnyRouter](https://meetnewai.com/zh/products/anyrouter.dev) — AnyRouter 为需要接入多个模型提供商的开发者和团队提供统一的 LLM 网关 API，并支持故障切换、自带密钥和编码代理接入。
- [AI Interoperability to the Max – The Intelligence Hub](https://meetnewai.com/zh/products/s.net) — 面向团队的托管式智能中心，供开发者用统一接口发布跨模型语言模型功能。
- [DeepSeek](https://meetnewai.com/zh/products/deepseek) — DeepSeek 是一家研发并开源前沿大语言模型的人工智能研究公司，用户可与其对话、通过 API 接入，或使用开源的 DeepSeek Harness。
- [OpenRouter](https://meetnewai.com/zh/products/openrouter) — OpenRouter 为开发者和团队提供统一接口，通过单一 API 使用数百种 AI 模型。
