当前位置: 首页 > Skill >

OpenClaw Model Manager

OpenClaw Model Manager

OpenClaw Model Manager

获取并显示OpenRouter AI模型的价格和上下文限制,并配置OpenClaw通过自动或备用设置使用所选模型。

1.5.0 2026.11.25 137
获取Skill文件查看使用说明
作 者:苏舟 许可证: 更新时间:2026.11.25
本文目录展开

OpenClaw Model Manager v1.5 🛠️

💰 Optimize Your API Costs: Route Simple Tasks to Cheaper Models.

Why pay $15/1M tokens for simple translations or summaries when you can pay $0.60/1M? That's a 25x price difference (96% savings) for suitable tasks.

🆕 NEW in v1.5:

  • Enhanced Integration with model-benchmarks for real-time AI intelligence
  • Improved Cost Calculations with latest pricing data
  • Better Task Classification with expanded routing patterns
  • Stability Improvements and bug fixes

🚀 Quick Start

# List models with real-time pricing
python3 skills/model-manager/manage_models.py list

# Get routing recommendations  
python3 skills/model-manager/manage_models.py plan "write a Python script"

# Configure OpenClaw for cost optimization
python3 skills/model-manager/manage_models.py enable cheap

🇨🇳 中文说明

💰 拒绝冤枉钱!自动路由高性价比模型,最高节省 96% Token 费用。

🆕 v1.5 新功能:

  • 智能数据源整合 — 配合 model-benchmarks 技能获取实时 AI 能力评测
  • 精准成本计算 — 基于最新价格数据的成本估算
  • 增强任务识别 — 更准确的任务类型分类和模型推荐
  • 稳定性提升 — 修复已知问题,提升运行可靠性

这个 Skill 能帮你:

  1. 即时比价:列出当前 OpenRouter 上的模型价格
  2. 智能配置:自动将简单任务路由给高性价比的小模型(如 GPT-4o-mini)
  3. 🆕 数据驱动推荐:结合 AI benchmark 数据提供最优模型建议
  4. 🧠 自我进化 (Self-Healing):如果便宜模型经常失败,系统会自动切换到更稳定的模型

⚙️ Core Functions

1️⃣ list - Real-Time Model Pricing

python3 manage_models.py list

Fetches current OpenRouter pricing and displays cost-effective options.

2️⃣ plan - Smart Task Routing

python3 manage_models.py plan "translate this to French"
python3 manage_models.py plan "debug this Python error: TypeError..."
python3 manage_models.py plan "design a database schema"

NEW in v1.5: Enhanced task classification with better accuracy for:

  • 🔧 Technical tasks (coding, debugging, system design)
  • 📝 Content tasks (writing, translation, summarization)
  • 🧠 Analysis tasks (data analysis, reasoning, research)

3️⃣ enable - Auto-Configuration

python3 manage_models.py enable cheap    # Maximum cost savings
python3 manage_models.py enable balanced # Quality/cost balance
python3 manage_models.py enable quality  # Best performance

4️⃣ benchmark - Performance Analysis (NEW v1.5)

python3 manage_models.py benchmark --task coding

Integrates with model-benchmarks skill for data-driven recommendations.

💡 Integration with Model Benchmarks

Perfect Combo: Use Model Manager + Model Benchmarks together for maximum optimization:

# 1. Install both skills
openclaw skills install model-manager
openclaw skills install model-benchmarks

# 2. Get real-time AI intelligence
python3 skills/model-benchmarks/scripts/run.py fetch

# 3. Apply intelligent routing
python3 skills/model-manager/manage_models.py plan "your task" --use-benchmarks

Result: Up to 95% cost reduction with maintained or improved quality!

🎯 Task Classification Engine

Enhanced in v1.5 with better pattern recognition:

Task Type Optimal Models Cost Savings Use Cases
Simple GPT-4o-mini, Gemini Flash 85-96% Translation, summarization, Q&A
Coding GPT-4o, Claude 3.5 Sonnet 45-75% Programming, debugging, code review
Creative Claude 3.5 Sonnet, GPT-4o 25-55% Writing, brainstorming, content creation
Complex Claude 3.5 Sonnet, GPT-4 15-35% Architecture, research, complex analysis

📊 Real-World Results

User Reports (v1.5):

  • 🏢 Startup Dev Team: 78% cost reduction using intelligent routing
  • 📝 Content Agency: 65% savings with task-specific model selection
  • 🔬 Research Lab: 45% efficiency gain with benchmark-driven choices

🔄 Changelog v1.5

✅ New Features

  • Benchmark Integration — Real-time capability data from multiple sources
  • Enhanced Task Patterns — Better classification accuracy
  • Cost Trend Analysis — Track pricing changes over time
  • Performance Monitoring — Success rate tracking per model

🐛 Bug Fixes

  • Fixed OpenRouter API timeout issues
  • Improved error handling for network failures
  • Better handling of model availability changes
  • Resolved config file corruption edge cases

⚡ Performance Improvements

  • 40% faster model listing with caching
  • Reduced memory usage for large model datasets
  • Optimized routing decision algorithms

🛠️ Advanced Usage

Custom Routing Rules

# Create custom routing in ~/.openclaw/model-routing.json
{
  "patterns": {
    "translation": ["gemini-2.0-flash", "gpt-4o-mini"],
    "coding": ["claude-3.5-sonnet", "gpt-4o"],
    "analysis": ["gpt-4o", "claude-3.5-sonnet"]
  },
  "fallbacks": ["gpt-4o-mini"],
  "budget_limit": 50.00
}

Cost Monitoring

# Set up cost alerts
python3 manage_models.py monitor --budget 100 --alert-at 80%

Performance Analytics

# Generate routing report
python3 manage_models.py report --days 30 --export csv

🚀 Roadmap

v1.6 (Coming Soon)

  • Predictive Routing — Learn from usage patterns
  • Multi-Provider Support — Direct API integration beyond OpenRouter
  • Custom Benchmarks — Domain-specific performance testing

v2.0 (Future)

  • Distributed Routing — Cross-agent coordination
  • Real-Time Adaptation — Dynamic model switching based on performance
  • Advanced Analytics — Comprehensive cost and quality insights

🤝 Community

  • GitHub: openclaw-model-manager
  • Issues: Report bugs and request features
  • Discord: Join #model-optimization channel
  • Companion: Use with model-benchmarks for best results

Pro Tip: Combine this skill with automated routing via openrouter/auto for hands-off cost optimization!

Make every token count — route smart, save big! 🛠️

相关文章

更多
Hugging Face推理路由改用OpenRouter

Hugging Face宣布将Inference Providers的语言模型请求路由交由OpenRouter处理,停用原有自研路由器。此次变更对开发者透明,现有调用代码无需修改,继续使用原有Token和API即可。OpenRouter根据实时价格、速度和可靠性从80余家服务商中动态选路,并在首选失败时自动重试其他服务商,提升了调用的稳定性和灵活性。

2026.11.04 605
Skill 文件
  • SKILL.md
    • OpenClaw Model Manager v1.5 🛠️
    • 🚀 Quick Start
      • 🇨🇳 中文说明
    • ⚙️ Core Functions
      • 1️⃣ list - Real-Time Model Pricing
      • 2️⃣ plan - Smart Task Routing
      • 3️⃣ enable - Auto-Configuration
      • 4️⃣ benchmark - Performance Analysis (NEW v1.5)
    • 💡 Integration with Model Benchmarks
    • 🎯 Task Classification Engine
    • 📊 Real-World Results
    • 🔄 Changelog v1.5
      • ✅ New Features
      • 🐛 Bug Fixes
      • ⚡ Performance Improvements
    • 🛠️ Advanced Usage
      • Custom Routing Rules
      • Cost Monitoring
      • Performance Analytics
    • 🚀 Roadmap
      • v1.6 (Coming Soon)
      • v2.0 (Future)
    • 🤝 Community
  • 项目或源文件

相关 Skill

更多
Banana Claws Banana Claws 通过OpenRouter API生成图像(文生图),配备自动化本地脚本及队列优先工作流,适用于单张图片或批量变体生成...
API Credit Health Bar Lite API Credit Health Bar Lite 以游戏血条样式显示5大核心供应商(Anthropic、OpenAI、OpenRouter、Mistral、Groq)的API积分余额,API自动检查与手动…
Model Migration Model Migration 将 OpenClaw 从 ClaudeOAuth 订阅迁移到免费或廉价模型提供商(OpenRouter、Gemini、Ollama)。适用于 Claude 停止工作的情况。
OrderOpenRouter - Buy from any API and signup with your claw and creditcard OrderOpenRouter - Buy from any API and signup with your claw and creditcard OpenRouter API网关技能。通过单一兼容OpenAI的API访问来自60多家提供商的300多种AI模型。统一计费、自动故障转移……
Infinity Router Infinity Router 将 AI 请求路由到 OpenClaw 和 Claude Code 的免费 OpenRouter 模型,自动发现、打分并配置最佳免费模型,配备智能回退机制。