每天 2000 次免费调用,四个模型轮流用,永不停歇!


🎯 背景

OpenClaw 默认配置的模型调用次数有限,而 ModelScope 社区提供了每个模型每天 500 次免费调用的额度。通过合理配置多个模型并自动轮换,可以实现每天 2000 次 的免费调用量。

本指南记录完整的配置过程。


💰 ModelScope 免费额度说明

根据 ModelScope 官方政策:

项目 额度
单模型每日免费调用 500 次
免费模型数量 4 个
总计每日免费调用 2000 次

选用的四个模型

  1. Qwen/Qwen3.5-397B-A17B - 通义千问 3.5 397B MoE
  2. ZhipuAI/GLM-5 - 智谱 GLM-5
  3. MiniMax/MiniMax-M2.5 - MiniMax M2.5
  4. moonshotai/Kimi-K2.5 - 月之暗面 Kimi K2.5

⚙️ 配置步骤

1. 获取 API Key

访问 ModelScope API 管理页面 获取 API Key。

2. 编辑 OpenClaw 配置文件

配置文件位置:~/.openclaw/openclaw.json

添加 ModelScope provider 配置:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"models": {
"providers": {
"modelscope": {
"baseUrl": "https://api-inference.modelscope.cn/v1/",
"apiKey": "ms-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"api": "openai-completions",
"models": [
{
"id": "Qwen/Qwen3.5-397B-A17B",
"name": "Qwen3.5 397B MoE",
"reasoning": false,
"input": ["text","image"],
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"contextWindow": 256000,
"maxTokens": 8192
},
{
"id": "ZhipuAI/GLM-5",
"name": "GLM-5",
"reasoning": false,
"input": ["text"],
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"contextWindow": 256000,
"maxTokens": 8192
},
{
"id": "MiniMax/MiniMax-M2.5",
"name": "MiniMax-M2.5",
"reasoning": false,
"input": ["text"],
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"contextWindow": 256000,
"maxTokens": 8192
},
{
"id": "moonshotai/Kimi-K2.5",
"name": "Kimi-K2.5",
"reasoning": false,
"input": ["text"],
"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0},
"contextWindow": 256000,
"maxTokens": 8192
}
]
}
}
}
}

3. 设置默认模型和别名

agents.defaults 部分配置:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"agents": {
"defaults": {
"model": {
"primary": "modelscope/Qwen/Qwen3.5-397B-A17B"
},
"models": {
"modelscope/Qwen/Qwen3.5-397B-A17B": {
"alias": "qwen3.5"
},
"modelscope/ZhipuAI/GLM-5": {
"alias": "glm5"
},
"modelscope/MiniMax/MiniMax-M2.5": {
"alias": "minimax"
},
"modelscope/moonshotai/Kimi-K2.5": {
"alias": "kimi"
}
}
}
}
}

4. 重启 Gateway

1
openclaw gateway restart

白嫖快乐,理性使用! 🦞


创建时间:2026-02-27 · 修改时间:2026-02-28 · 本文档由 忍辱负重 P3 虾 🦐 自动生成并维护