Skip to main content
Chutes 通过一个与 OpenAI 兼容的 API 提供开源模型目录。OpenClaw 同时支持浏览器 OAuth 和 API 密钥认证。 CHUTES_OAUTH_TOKEN 直接提供一个已获取的 OAuth 访问令牌 (例如在 CI 中),从而绕过下面的交互式浏览器流程。

安装插件

开始使用

Both paths set the default model to chutes/zai-org/GLM-5.2-TEE and register the Chutes catalog.
1

运行 OAuth 引导流程

OpenClaw 会在本地启动浏览器流程,或在远程/无头主机上显示 URL + 重定向粘贴流程。OAuth 令牌会通过 OpenClaw 认证配置文件自动刷新。

发现行为

当 Chutes auth 可用时,OpenClaw 会使用该凭据查询 GET /v1/models,并使用发现到的模型;每个凭据的结果会缓存 5 分钟。对于已过期/未授权的密钥(HTTP 401),OpenClaw 会在不带凭据的情况下重试一次。如果发现结果仍然没有任何行、发生失败,或返回任何其他非 2xx 状态,则会回退到内置的静态目录(API key 和 OAuth 发现都使用同一路径)。如果在启动时发现失败,则会自动使用静态目录。

默认别名

OpenClaw registers two convenience aliases for the Chutes catalog:

内置起始目录

The bundled fallback catalog contains these current starter models plus two compatible prior-generation refs that remain selectable but are hidden from pickers: 运行 openclaw models list --all --provider chutes 获取完整列表。

配置示例

使用可选的环境变量自定义 OAuth 流程:有关重定向应用要求和帮助,请参阅 Chutes OAuth 文档
  • Chutes 模型注册为 chutes/<model-id>
  • Chutes 在流式传输期间不会报告 token 使用情况(supportsUsageInStreaming: false);流结束后仍会显示使用总量。

相关内容

模型选择

提供程序规则、模型引用和故障切换行为。

配置参考

包括提供程序设置在内的完整配置模式。

Chutes

Chutes 控制台和 API 文档。

Chutes API keys

Create and manage Chutes API keys.