Claude Desktop 接入
前置条件
- Claude Desktop 已安装
- Gate.AI API Key
Step 1:开启开发者模式
- 启动 Claude Desktop, 无需登录 Anthropic 账号 。
- 菜单栏点击 Help → Troubleshooting → Enable Developer Mode 。

开启后菜单栏出现 Developer 菜单。

Step 2:打开第三方推理配置
菜单栏点击 Developer → Configure Third-Party Inference…

Step 3:填写 Gate.AI 凭据和模型
- 选择 Gateway 和 Static API key ,填写 Gate.AI 凭据。完成后可点击 Test connection 测试连接。

- 打开 Model discovery 开关。完成后可再次点击 Test connection 测试。

- 点击 Apply Changes 保存。
Step 4:重启并启动
- 完全退出 Claude Desktop(退出进程,不是关窗口),重新打开。
- 启动页选择 Continue with Gateway ,无需 Anthropic 账号。
Step 5:验证
模型选择器显示可用模型即连接成功。
常见问题
| 现象 | 处理 |
|---|---|
| 连接失败 / 401 | 确认 Base URL 为 https://api.gate.ai/anthropic/,Auth scheme 选择 x-api-key,API key 有效。 |
| 没有出现「Continue with Gateway」 | 确认已点 Apply Changes 且完全退出重启。 |
| 没有模型显示 | 确认 Gate.AI 账户有余额;检查 Model discovery 开关已开启。 |