Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

Chutes 通过 OpenAI 兼容 API 暴露开源模型目录。OpenClaw 对内置 chutes 提供商同时支持浏览器 OAuth 和直接 API 密钥认证。
属性
提供商chutes
APIOpenAI 兼容
基础 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_KEYCHUTES_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 密钥。