Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

model-manager

bởi notestone

Productivity & Tasks
457Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • OpenRouter API key

Cài đặt

clawhub install notestone/model-manager

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết