AI 提供商
其他提供商
Qwen、Moonshot、MiniMax、百度文心、硅基流动等提供商配置。
其他提供商 / Other Providers
所有兼容 OpenAI API 的提供商都可以通过 openai-chat 协议接入 OpenCowork。
通义千问 (Qwen)
| 配置项 | 值 |
|---|---|
| Base URL | https://dashscope.aliyuncs.com/compatible-mode/v1 |
| API Key | 阿里云 DashScope API Key |
| 推荐模型 | qwen-max, qwen-plus, qwen-turbo |
Moonshot (Kimi)
| 配置项 | 值 |
|---|---|
| Base URL | https://api.moonshot.cn/v1 |
| API Key | Moonshot API Key |
| 推荐模型 | moonshot-v1-128k |
MiniMax
| 配置项 | 值 |
|---|---|
| Base URL | https://api.minimax.chat/v1 |
| API Key | MiniMax API Key |
| 推荐模型 | abab6.5s-chat |
百度文心 (ERNIE)
| 配置项 | 值 |
|---|---|
| Base URL | https://qianfan.baidubce.com/v2 |
| API Key | 百度智能云 API Key |
| 推荐模型 | ernie-4.5-turbo-128k |
硅基流动 (SiliconFlow)
| 配置项 | 值 |
|---|---|
| Base URL | https://api.siliconflow.cn/v1 |
| API Key | SiliconFlow API Key |
| 推荐模型 | Qwen/Qwen2.5-72B-Instruct, deepseek-ai/DeepSeek-R1 |
硅基流动提供多种开源模型的 API 接入,价格较低,适合高频使用场景。
OAuth 登录 / OAuth Login
- OAuth 提供商使用系统浏览器授权 + 本地回调,无需手动粘贴令牌。
- Codex OAuth 默认使用 OpenClaw 的参数:
https://auth.openai.com/oauth/authorize、https://auth.openai.com/oauth/token,以及回调http://127.0.0.1:1455/auth/callback(PKCE)。 - 若提供商参数不同,可在设置中编辑
client_id、scope、回调端口与路径。
渠道商短信/邮箱登录 / Channel Login
- 发送验证码:
POST https://api.moark.com/v1/app/auth/vcode - 校验验证码并换取令牌:
POST https://api.moark.com/v1/app/auth/token - 获取用户信息:
GET https://api.moark.com/v1/app/user - 请求需携带
Authorization: Bearer <appToken>,Body 包含appid、channel_type与手机号/邮箱。
自定义提供商 / Custom Provider
任何兼容 OpenAI Chat Completions API 的服务都可以接入:
- 进入 设置 → AI 提供商 → 添加提供商
- 选择协议
openai-chat - 填入 Base URL 和 API Key
- 手动输入模型名称