ChatBox 类客户端
OpenClaw 龙虾
OpenClaw 配置 VibeAPI 教程
OpenClaw(龙虾)是一款专用编程助手。以下是使用 VibeAPI 的配置示例。
配置文件
将以下 JSON 配置发给 OpenClaw,它会自动完成配置。如果要添加其他模型,需要去 https://www.vibeapi.cn/pricing 复制准确的模型 ID。
{
"models": {
"providers": {
"vibeapi": {
"baseUrl": "https://www.vibeapi.cn/v1",
"apiKey": "sk-你的VibeAPI密钥",
"api": "openai-completions",
"models": [
{
"id": "gpt-5.5",
"name": "GPT-5.5"
},
{
"id": "claude-opus-4-6",
"name": "Claude Opus 4.6"
},
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6"
},
{
"id": "gemini-3.1-pro",
"name": "Gemini 3.1 Pro"
},
{
"id": "gemini-3-flash",
"name": "Gemini 3 Flash"
},
{
"id": "MiniMax-M2.5",
"name": "MiniMax-M2.5"
},
{
"id": "kimi-k2.5",
"name": "Kimi-K2.5"
},
{
"id": "glm-5",
"name": "GLM-5"
},
{
"id": "qwen3.6-plus",
"name": "Qwen3.6-Plus"
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "vibeapi/kimi-k2.5"
},
"workspace": "/root/.openclaw/workspace",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
}
}配置说明
| 字段 | 说明 |
|---|---|
baseUrl | VibeAPI 的 OpenAI 兼容端点 |
apiKey | 你的 VibeAPI Key |
api | 协议类型,固定为 openai-completions |
models | 可用模型列表,按需增减 |
agents.defaults.model.primary | 默认使用的模型(格式:供应商名/模型ID) |
maxConcurrent | 最大并发数 |
添加更多模型
在 models 数组中添加新条目即可:
{
"id": "模型ID(从 pricing 页面复制)",
"name": "显示名称(自定义)"
}