跳到正文

liteLLM

An open-source AI gateway for routing, governing, and tracking LLM usage

收录于 AiTop3 最后更新于 litellm.ai

liteLLM 是什么?

LiteLLM provides a self-hosted gateway for connecting applications and teams to AI models through an OpenAI-compatible API. It supports more than 100 providers and lets teams switch models without changing application code. The gateway brings model access, agents, and MCP servers behind a shared interface, with tools for managing keys, users, and teams.

Platform teams can monitor spend, set budgets and rate limits, route requests to suitable models, and configure fallbacks. The open-source edition can be self-hosted for free and includes virtual keys, spend tracking, request logging, and Prometheus metrics. An Enterprise offering adds capabilities such as SSO, audit logs, secret management, administrative controls, multi-region support, and enterprise support. Enterprise pricing is quoted according to annual request capacity, deployment architecture, and support requirements. LiteLLM also offers a Python SDK for calling supported LLMs in the OpenAI format.

主要功能

LiteLLM provides an OpenAI-compatible API for model access, with routing, spend tracking, budgets, rate limits, logging, and guardrails. It supports self-hosted and internal models, agents, and MCP servers. Enterprise adds governance, security, and support capabilities.

  • Unified model access

    Connect to 100+ providers through one OpenAI-compatible API and change models without changing application code.

  • Spend controls

    Track usage and set budgets and rate limits across keys, users, teams, and organizations.

  • Model routing

    Route requests to models and configure fallbacks for AI workloads.

  • Self-hosting

    Run the open-source gateway on your own infrastructure, including in air-gapped environments.

  • Governance options

    Enterprise adds features such as SSO, audit logs, secret management, and administrative controls.

适合谁用

它最适合的 3 类工作,以及我们为每类推荐的套餐。

  • 01

    Centralize model access

    Give teams one API for models across providers, and switch models without changing application code.

    Open Source $0
  • 02

    Manage LLM spend

    Track spend by key, user, team, or organization, and set budgets and rate limits.

    Open Source $0
  • 03

    Add enterprise governance

    Add SSO, audit logs, organization and team administration, multi-region control, and support with SLAs.

    Enterprise Annual

价格

Open Source is $0 and free forever for self-hosting. Enterprise is priced annually based on gateway request capacity, deployment architecture, and support needs, never per token; contact sales for a quote. A 30-day Enterprise trial is available.

Open Source

$0 /Free forever

Free forever; self-hosted.

  • Self-hosted
  • 100+ providers through one OpenAI API
  • Virtual keys, users, and teams
  • Spend tracking, budgets, and rate limits

Enterprise

Annual pricing sized to usage, architecture, and support needs.

  • SSO, SCIM, and audit logs
  • Secret managers and key rotation
  • Multi-region control plane
  • Enterprise support and SLAs

编辑结论

编辑对其功能、价格和任务契合度的看法。10 分制评分。

LiteLLM is a self-hosted AI gateway for teams that want to manage model access through one OpenAI-compatible API. The listing highlights provider routing, spend visibility and controls, logging, and guardrails, with support for agents and MCP servers alongside models. The open-source gateway is free to self-host; Enterprise adds governance, security, and support, with custom annual pricing.

优点

  • Free, self-hosted open-source gateway
  • One OpenAI-compatible API for models across providers
  • Spend tracking, budgets, rate limits, and guardrails
  • Enterprise offers SSO, audit logs, and support with SLAs

缺点

  • Enterprise pricing requires a custom quote
  • Self-hosting means teams manage their own deployment

我们如何评分

编辑依据各开发者的产品页和价格页,从功能、价格和任务契合度三方面为已收录工具评分;工具有变化或有更好的工具发布时,会更新评分。没有工具能付费买排名。

Top 3 榜单如何挑选

规格

liteLLM 规格参数
DeploymentSelf-hosted; air-gapped deployment availableAPI formatOpenAI-compatible
Provider access100+ providers

常见问题

关于 liteLLM 的常见问题,简短作答。

Is the open-source version free for production?

Yes. The self-hosted LiteLLM OSS gateway has no license fee.

How is Enterprise priced?

Pricing is based on annual gateway request capacity, deployment architecture, and support needs, not per token. Contact sales for a quote.

Can LiteLLM run air-gapped?

Yes. Air-gapped deployment is available for Enterprise Standard and SCALE.

liteLLM 的替代工具

其他已收录的商务工具,按编辑评分排序。 查看全部替代工具

Groq

AI model APIs for developers 第 3 名
最适合
Fast open-model inference
价格
Usage-based API 起
8.6 比较

tawk.to

AI 客服聊天机器人 第 3 名
最适合
Small sites on a budget
价格
$29/mo 起
8.2 比较

Ashby

暂无评分
最适合
商务
价格
$400/mo 起
暂无评分 比较