Skip to content

Chutes

Chutes 通过 OpenAI 兼容 API 提供开源模型目录。OpenClaw 内置 chutes Provider,支持浏览器 OAuth 和 API Key 两种认证方式。

  • Provider ID:chutes
  • API:OpenAI 兼容
  • Base URL:https://llm.chutes.ai/v1
  • 认证方式:
    • OAuth:openclaw onboard --auth-choice chutes
    • API Key:openclaw onboard --auth-choice chutes-api-key
    • 环境变量:CHUTES_API_KEYCHUTES_OAUTH_TOKEN

快速开始

OAuth 认证

bash
openclaw onboard --auth-choice chutes

OpenClaw 会在本地启动浏览器流程;远程/无头主机上显示 URL + 粘贴 redirect 流程。OAuth Token 通过 OpenClaw 认证档案自动续期。

可选 OAuth 覆盖参数:

  • CHUTES_CLIENT_ID
  • CHUTES_CLIENT_SECRET
  • CHUTES_OAUTH_REDIRECT_URI
  • CHUTES_OAUTH_SCOPES

API Key 认证

bash
openclaw onboard --auth-choice chutes-api-key

chutes.ai/settings/api-keys 获取你的 Key。

两种认证方式都会注册内置 Chutes 目录,并将默认模型设为 chutes/zai-org/GLM-4.7-TEE

模型发现行为

Chutes 认证可用时,OpenClaw 用该凭证查询 Chutes 目录获取最新模型列表。发现失败时,自动回退到内置静态目录,保证启动和 onboarding 正常工作。

内置快捷别名

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

配置示例

json5
{
  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 帮助和 redirect-app 要求:Chutes OAuth 文档
  • API Key 和 OAuth 发现都使用同一个 chutes Provider ID
  • Chutes 模型注册为 chutes/<model-id> 格式