Claude Desktop 新版本对第三方 API 接入做了调整。Gateway 模式会校验模型 ID,直接填写 GPT、DeepSeek、GLM 等非官方模型 ID 时,可能会被拦截。 常见表现是页面顶部出现这条报错:Documentation Index
Fetch the complete documentation index at: https://docs.bettertoken.ai/llms.txt
Use this file to discover all available pages before exploring further.
Your provider setup needs a fix Some required fields are missing or malformed. Open Setup to finish configuring it. 同时,输入框左下角的第三方模型选择为空,只显示 Legacy Model 这类不可用状态。

这条路径适合使用 Codex 分组 API Key。不要把
https://www.bettertoken.ai/v1 直接填进 Claude Desktop Gateway。配置步骤
下载 Claude 桌面端
启用 developer mode
打开 Claude 桌面端后,在 macOS 左上角菜单中选择 Help → Troubleshooting → Enable Developer Mode。
在确认窗口中点击 Enable,然后重启 Claude 桌面端。


填写基础字段
- Provider Name:
BetterToken - Base URL:
https://www.bettertoken.ai - API Key:你的 BetterToken API Key
- Provider Name
- API Key
- Base URL

设置 API 格式和模型映射
打开 高级选项,在 API 格式 中选择 OpenAI Responses API。
在 模型映射 里点击 获取模型列表,将 主模型、推理模型(Thinking)、Haiku 默认模型、Sonnet 默认模型、Opus 默认模型 都从下拉列表中显式选中。
这里使用的模型都应来自 BetterToken 模型广场 当前可用的 Codex 分组模型 ID。


在 Claude 桌面端填入 Gateway base URL
回到 Claude 桌面端的第三方推理配置窗口,选择 Gateway。把刚才复制的 CC Switch 服务地址 填入 Gateway base URL,并填写你的 BetterToken API Key。Gateway auth scheme 选择 
bearer。
排查建议
如果仍然看到 Your provider setup needs a fix,优先检查:- CC Switch 里的 BetterToken provider 是否已设为 使用中
- API 格式 是否已选择 OpenAI Responses API
- 模型映射 是否已为主模型、Thinking、Haiku、Sonnet、Opus 显式选择 Codex 分组模型
- CC Switch 代理功能、路由总开关 和 Claude 路由开关是否都已打开
- Claude Desktop 的 Gateway base URL 是否为 CC Switch 复制出的本地服务地址
- Model list 是否包含
claude-opus、claude-sonnet、claude-haiku








