工具简介

liteLLM 属于「开发者工具与 API」方向的 AI 产品,提供免费使用方案,支持网页端。官网为 litellm.ai。

如何使用

  1. 打开 litellm.ai 并注册账号,了解可用的能力与配额
  2. 按文档创建项目或获取访问凭证
  3. 在本地或测试环境按示例完成一次最小调用
  4. 验证通过后接入正式项目,逐步扩大使用范围
查看官网原文(英文)

以下为收录时的原文,语言与页面不同,未做翻译。

LiteLLM is an open‑source gateway that unifies access to 100+ LLMs through a single OpenAI‑compatible API, enabling provider fallback, cost tracking, tag‑based budgeting, guardrails, observability, and on‑prem or cloud deployment with a lightweight SDK.

官网介绍

Put your full AI stack behind one key. Track and cap LLM spend, route to the right model, and self-host anywhere — even air-gapped. 140+ providers, 1,892 models, 53K+ GitHub stars.

官方常见问题

What is LiteLLM?
LiteLLM is an open-source AI gateway (LLM proxy) that puts your entire AI stack behind one OpenAI-compatible API. It tracks and caps spend per key, team, and model, routes each request to the right model, and can be self-hosted anywhere, including fully air-gapped.
Is LiteLLM free and open source?
Yes. The LiteLLM gateway is MIT-licensed, free to self-host, and used in production by 53,000+ GitHub stargazers' teams. An Enterprise tier adds SSO, RBAC, audit logs, SCIM, and dedicated support on top of the same open-source core — not a different product.
What is an AI gateway (LLM gateway)?
An AI gateway, also called an LLM gateway or LLM proxy, is a single control point in front of many LLM providers. It gives applications one API to call, and gives platform teams centralized cost tracking, budgets, routing, caching, and governance across every model.
Can I self-host LiteLLM in an air-gapped environment?
Yes. LiteLLM self-hosts in your own cloud or a fully air-gapped environment with no telemetry, so data never leaves your infrastructure. Deploy with an official Helm chart or Terraform module, on your own Postgres and Redis, scaling with Kubernetes autoscaling.
How many LLM providers and models does LiteLLM support?
LiteLLM supports 140+ LLM providers and 1,892 models through one OpenAI-compatible interface, so you can add or swap models without changing application code.
How does LiteLLM control LLM costs?
LiteLLM attributes every request automatically and gives each team a virtual key with a hard budget. When a key hits its cap, requests stop, so a runaway job or leaked key cannot quietly run up the bill. Spend can be exported to Prometheus, Datadog, or CloudZero for chargeback.

编程与调试 · 常用提示词

下面这些都能直接复制,把里面的变量换成你自己的情况就能用。

浏览全部提示词(共 300 条)→

同类工具怎么选

下面是同一类目下已经写好的对比与替代清单。读完这个工具能做什么,接着看它和谁比、有没有更顺手的方案。

开发者工具与 API类工具的对比

编程开发类工具的国内替代

全部对比 · 全部替代清单 · 全部提示词

对比结论与替代建议为编辑整理,价格与额度以各工具官网为准。

关于传乘AI

11,637 个 AI 工具,47 个分类,按场景整理,免费可查。

11,637收录工具
47分类
4,074免费工具

类似工具

查看全部 →
Scale开发者工具与 APIScale 属于「开发者工具与 API」方向的 AI 产品,可免费使用,可在网页端上使用。已有 24 人给出评分。官网地址 scale.com。scale.com免费★ 4.6MuleRun开发者工具与 APIMuleRun(骡子快跑)是全球首个自进化个人AI助手,与需本地部署、配置环境的OpenClaw不同,MuleRun采用"基座Agent+Knowledge+Skills+Runtime"四层架构,为每位用户分配7×24小时独立云端虚拟机,免部署、打开网页即用,离线能持续运行。mulerun.com★ 4.5Aidirs开发者工具与 APIAidirs 是一款面向「开发者工具与 API」场景的 AI 工具,基础功能免费开放,支持网页端。官网域名是 aidirs.best。aidirs.best免费★ 5.0Google AI Studio开发者工具与 APIGoogle AI Studio 是 Google 推出的基于浏览器的免费集成开发环境(IDE),让开发者、研究人员和技术爱好者能快速、直观地访问和实验 Google 最先进的生成式 AI 模型(例如 Gemini 系列),并进行快速原型设计和应用开发免费的在线平台,用户能体验和测试 Google 最新的 AI 模型,无需任何费用。aistudio.google.com免费★ 5.0SiliconFlow开发者工具与 APISiliconFlow 是一款面向「开发者工具与 API」场景的 AI 工具,需付费订阅使用,支持网页端。已有 5 人给出评分。官网域名是 siliconflow.com。siliconflow.com★ 5.0TruVerifAI开发者工具与 APITruVerifAI 属于「开发者工具与 API」方向的 AI 产品,可免费使用,覆盖网页端。官网为 truverif.ai。truverif.ai免费★ 5.0Convex开发者工具与 APIConvex 是一款面向「开发者工具与 API」场景的 AI 工具,需付费订阅使用,覆盖网页端。已有 23 人给出评分。官网为 convex.dev。convex.dev★ 4.3Keychain开发者工具与 APIKeychain 是一款面向「开发者工具与 API」场景的 AI 工具,基础功能免费开放,可在网页端上使用。官网域名是 keychain.com。keychain.com免费★ 5.0