Install
openclaw skills install openclaw-routerIntelligent Model Routing - Save 60% on AI Costs / 智能路由系统 - 节省 60% 成本
openclaw skills install openclaw-router通用智能路由系统 - 自动选择最佳模型,节省 60% 成本
# 通过 ClawHub 安装
clawhub install openclaw-router
安装后自动运行配置向导,或手动运行:
openclaw router config --init
openclaw router enable
| 模型 | 适用场景 | 成本 |
|---|---|---|
| qwen2.5:7b | 简单问答 | ¥0 |
| qwen2.5:14b | 日常开发 | ¥0 |
| qwen2.5:72b | 复杂任务 | ¥0 |
| 提供商 | 模型 | 适用场景 | 成本/1k tokens |
|---|---|---|---|
| 阿里云 | qwen3.5-plus | 日常主力 | ¥0.002 |
| 阿里云 | qwen3-max | 复杂推理 | ¥0.04 |
| 阿里云 | kimi-k2.5 | 长文本 | ¥0.04 |
| OpenAI | gpt-4 | 创意/英文 | ¥0.03 |
| Anthropic | claude-3 | 安全敏感 | ¥0.03 |
~/.openclaw/router_config.yaml
version: "1.0.0"
models:
primary:
id: "qwen2.5:14b-32k"
location: "local"
verifier:
id: "dashscope/qwen3.5-plus"
location: "cloud"
expert:
id: "dashscope/qwen3-max"
location: "cloud"
thresholds:
mode: "balanced"
auto_pass: 3.5
verify_min: 3.0
verify_max: 3.5
escalate_below: 3.0
budget:
monthly: 200
currency: "CNY"
alert_at: [50, 80, 95]
欢迎贡献代码!
git fork https://github.com/pepsiboy87/openclaw-router
git clone git@github.com:your-username/openclaw-router.git
git checkout -b feature/your-feature
git commit -m "Add your feature"
git push origin feature/your-feature
MIT License
让每个 AI 助手都拥有智能路由能力!