跳到正文
TakoAPI
返回技能列表

model-manager

由 notestone 提供

Productivity & Tasks
457下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

Routes AI tasks to cost-appropriate models based on task complexity. Fetches real-time pricing from OpenRouter and classifies tasks into simple, coding, creative, or complex categories. Integrates with a companion benchmarks skill for data-driven model selection.

Instead of manually tracking model pricing and capabilities across providers, it automates routing decisions and updates cost data in real time.

何时使用

  • Routing translation jobs to cheaper models to cut API costs
  • Comparing current OpenRouter model prices before starting a project
  • Setting a budget cap with alerts for a team's monthly API spend
  • Generating a 30-day cost report to audit model usage
  • Automatically switching to a stable fallback when a cheap model fails repeatedly

示例工作流

输入

User asks: plan 'translate this product description to French'

智能体
  1. 1

    Fetches current model pricing from OpenRouter

  2. 2

    Classifies the task as simple content work

  3. 3

    Identifies GPT-4o-mini or Gemini Flash as cost-optimal choices

  4. 4

    Returns recommended model with estimated cost and savings percentage

输出

Routing recommendation: use GPT-4o-mini at $0.60/1M tokens (96% cheaper than premium models)

前置要求

  • OpenRouter API key

安装

clawhub install notestone/model-manager

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接