产品

LangSmith LLM Gateway 支持设置消费限额

精选理由

做 AI 应用开发的团队终于可以精确控制 API 调用成本了——在组织、工作空间、用户或 API 密钥级别设置上限,超限时自动返回 402 错误,建议用 LangChain 的团队直接启用。

LangSmith 的 LLM Gateway 新增了消费限额功能,允许在组织、工作空间、用户或 API 密钥级别设置上限。当达到限额时,代理会收到清晰的 402 错误响应。这一功能帮助团队更好地控制 AI 调用成本,避免意外超支。对于使用 LangChain 构建 AI 应用的开发者来说,这是一个实用的成本管理工具。

原文 · LangChain

LangSmith LLM Gateway lets you set spend limits. You can set them at the org, workspace, user, or API key level. When a cap is hit, the agent receives a 402 response with a clear error. 💬 2 🔄 0 ❤️ 4 👀 964 📊 2 ⚡