Install
openclaw skills install opencode-free-models自动从 opencode.ai 获取并增量配置包含“free”关键词的免费 AI 模型到 OpenClaw 或 QClaw 的本地配置文件。
openclaw skills install opencode-free-models自动配置 opencode.ai 的免费 AI 模型到 OpenClaw/QClaw。
~/.openclaw/openclaw.json (或 ~/.qclaw/openclaw.json)AI 工具会自动执行以下步骤:
curl -sS https://opencode.ai/zen/v1/models~/.openclaw/openclaw.jsonmodels.providers 配置中{
"opencode-free": {
"baseUrl": "https://opencode.ai/zen/v1",
"apiKey": "public",
"api": "openai-completions",
"models": [
{
"id": "minimax-m2.5-free",
"name": "MiniMax M2.5 Free",
"reasoning": true,
"input": ["text"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 131072,
"maxTokens": 8192
}
]
}
}