openclaw-router

Intelligent Model Routing - Save 60% on AI Costs / 智能路由系统 - 节省 60% 成本

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-router" with this command: npx skills add pepsiboy87/openclaw-router

OpenClaw Router Skill

通用智能路由系统 - 自动选择最佳模型,节省 60% 成本


🚀 快速开始

安装

# 通过 ClawHub 安装
clawhub install openclaw-router

配置

安装后自动运行配置向导,或手动运行:

openclaw router config --init

启用

openclaw router enable

✨ 功能特性

🎯 智能模型选择

  • ✅ 5 维度自评(知识/推理/上下文/质量/工具)
  • ✅ 任务类型识别(代码/创意/分析/战略/学习/日常)
  • ✅ 用户偏好学习
  • ✅ 成本预算管理

💰 成本优化

  • ✅ 本地模型优先(免费)
  • ✅ 边界情况验证(L2)
  • ✅ 复杂任务专家(L3)
  • 预计节省 60% 成本

🌍 全场景支持

  • ✅ 纯本地部署
  • ✅ 纯云端部署
  • ✅ 混合部署
  • ✅ 多云端部署
  • ✅ 企业私有化

📊 透明追踪

  • ✅ Token 用量显示
  • ✅ 成本实时追踪
  • ✅ 套餐剩余监控
  • ✅ 预算告警

📋 支持的模型

本地模型(Ollama)

模型适用场景成本
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
OpenAIgpt-4创意/英文¥0.03
Anthropicclaude-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]

💰 定价

免费版

  • ✅ 基础路由
  • ✅ Token 追踪
  • ✅ 每月 1000 次请求

付费版(¥29/月)

  • ✅ 无限请求
  • ✅ 用户偏好学习
  • ✅ 预算管理
  • ✅ 时段优化
  • ✅ 优先支持

企业版(¥199/月)

  • ✅ 所有付费功能
  • ✅ 多用户管理
  • ✅ 自定义模型池
  • ✅ API 访问
  • ✅ SLA 保障

📖 文档


🤝 贡献

欢迎贡献代码!

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 助手都拥有智能路由能力!

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

A.I. Smart Router

Expertise-aware model router with semantic domain scoring, context-overflow protection, and security redaction. Automatically selects the optimal AI model using weighted expertise scoring (Feb 2026 benchmarks). Supports Claude, GPT, Gemini, Grok with automatic fallback chains, HITL gates, and cost optimization.

Registry SourceRecently Updated
32.1K
Profile unavailable
Automation

Claw Desktop Pet - Enterprise-grade 7x24 AI Assistant

Enterprise-grade 24/7 desktop AI assistant with system-level fault tolerance, auto-restart, performance monitoring, intelligent voice, and resource optimizat...

Registry SourceRecently Updated
41.3K
Profile unavailable
Automation

RelayPlane

Agent ops layer for OpenClaw — observability, governance, and cost optimization with automatic failover. Never breaks your setup.

Registry SourceRecently Updated
52.4K
Profile unavailable