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

token-economy

bởi pfaria32

Coding Agents & IDEs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Reduce OpenClaw costs by 60-80% through intelligent model routing and context management.

Mô tả

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

Reduces agent costs by 60-80% through model routing and context management. Routes tasks to the cheapest capable model first (GPT-4o), escalating to Sonnet or Opus only when needed. Eliminates heartbeat API calls when there's nothing to process, and enforces a daily budget cap.

Khi nào nên dùng

  • Routing simple tasks to cheaper models automatically
  • Eliminating wasted API calls from empty heartbeat checks
  • Enforcing a daily spending cap to prevent runaway costs
  • Auditing token usage with per-request logging
  • Auto-switching back to a cheaper model during idle periods

Cài đặt

clawhub install pfaria32/token-economy

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