跳至主要內容

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 起
尚未評分 比較