Iblai Openclaw Router — Iblai Openclaw 路由器
v1Cost-optimizing 模型 路由r for OpenClaw. Automatically 路由s each 请求 to the cheapest capable Claude 模型 (HAIku/Sonnet/Opus) using weighted scoring. Use when 设置ting up smart 模型 routing, reducing API costs, or configuring multi-tier LLM routing. Supports Anthropic 模型s directly and OpenAI/Google 模型s via Open路由r.
0· 726·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install iblai-openclaw-router
镜像加速npx clawhub@latest install iblai-openclaw-router --registry https://cn.longxiaskill.com 镜像可用
技能文档
iblai-router OpenClaw Anthropic API 14 1ms bash
bash "$(dirname "$0")/scripts/install.sh"
- server.js
- config.json
- ~/.openclaw/workspace/router/
- systemd
- iblai-router
- 8402
- OpenClaw
- curl
curl -s http://127.0.0.1:8402/health | jq .
curl -s http://127.0.0.1:8402/stats | jq .
-
- Scope
- Cron job
- subagents
- agents.defaults.subagents.model = "iblai-router/auto"
- /model
- iblai-router/auto
- agents.defaults.model.primary = "iblai-router/auto"
- ~/.openclaw/workspace/router/config.json
{
"models": {
"LIGHT": "claude-3-5-haiku-20241022",
"MEDIUM": "claude-sonnet-4-20250514",
"HEAVY": "claude-opus-4-20250514"
}
}
OpenAI
Google
OpenRouter
{
"models": {
"LIGHT": "openai/gpt-4.1-mini",
"MEDIUM": "openai/gpt-4.1",
"HEAVY": "openai/o3"
},
"apiBaseUrl": "https://openrouter.ai/api/v1"
}
API
systemctl
systemctl daemon-reload && systemctl restart iblai-router
-
- simpleKeywords
- relayKeywords
- LIGHT
- imperativeVerbs
- codeKeywords
- agenticKeywords
- MEDIUM
- technicalKeywords
- reasoningKeywords
- domainKeywords
- HEAVY
bash "$(dirname "$0")/scripts/uninstall.sh"
-
iblai-router/auto