Skip to main content
Chutes 通过一个与 OpenAI 兼容的 API 提供开源模型目录。OpenClaw 为内置的 chutes 提供程序同时支持浏览器 OAuth 和直接 API 密钥认证。
属性
提供程序chutes
API与 OpenAI 兼容
基础 URLhttps://llm.chutes.ai/v1
认证OAuth 或 API 密钥(见下文)

入门

1

运行 OAuth 引导流程

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

验证默认模型

完成引导后,默认模型会设置为 chutes/zai-org/GLM-4.7-TEE,并注册内置的 Chutes 目录。
这两种认证方式都会注册内置的 Chutes 目录,并将默认模型设置为 chutes/zai-org/GLM-4.7-TEE。运行时环境变量:CHUTES_API_KEY, CHUTES_OAUTH_TOKEN

发现行为

当 Chutes 认证可用时,OpenClaw 会使用该凭据查询 Chutes 目录并采用发现到的模型。如果发现失败,OpenClaw 会回退到内置的静态目录,以便引导和启动仍然可用。

默认别名

OpenClaw 为内置的 Chutes 目录注册了三个便捷别名:
别名目标模型
chutes-fastchutes/zai-org/GLM-4.7-FP8
chutes-prochutes/deepseek-ai/DeepSeek-V3.2-TEE
chutes-visionchutes/chutesai/Mistral-Small-3.2-24B-Instruct-2506

内置起始目录

内置的回退目录包含当前的 Chutes 引用:
模型引用
chutes/zai-org/GLM-4.7-TEE
chutes/zai-org/GLM-5-TEE
chutes/deepseek-ai/DeepSeek-V3.2-TEE
chutes/deepseek-ai/DeepSeek-R1-0528-TEE
chutes/moonshotai/Kimi-K2.5-TEE
chutes/chutesai/Mistral-Small-3.2-24B-Instruct-2506
chutes/Qwen/Qwen3-Coder-Next-TEE
chutes/openai/gpt-oss-120b-TEE

配置示例

{
  agents: {
    defaults: {
      model: { primary: "chutes/zai-org/GLM-4.7-TEE" },
      models: {
        "chutes/zai-org/GLM-4.7-TEE": { alias: "Chutes GLM 4.7" },
        "chutes/deepseek-ai/DeepSeek-V3.2-TEE": { alias: "Chutes DeepSeek V3.2" },
      },
    },
  },
}
你可以使用可选的环境变量自定义 OAuth 流程:
变量作用
CHUTES_CLIENT_ID自定义 OAuth 客户端 ID
CHUTES_CLIENT_SECRET自定义 OAuth 客户端密钥
CHUTES_OAUTH_REDIRECT_URI自定义重定向 URI
CHUTES_OAUTH_SCOPES自定义 OAuth 作用域
有关重定向应用要求和帮助,请参阅 Chutes OAuth 文档
  • API 密钥和 OAuth 发现都使用相同的 chutes 提供程序 id。
  • Chutes 模型会注册为 chutes/<model-id>
  • 如果启动时发现失败,则会自动使用内置的静态目录。

相关内容

模型选择

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

配置参考

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

Chutes

Chutes 控制台和 API 文档。

Chutes API 密钥

创建和管理 Chutes API 密钥。