Install: clawhub install model-pilot
Stop overpaying for intelligence. Match every task to the cheapest model that delivers the quality you need.
Detect from user's message language. Default: English.
Do NOT activate for trivial tasks — formatting, greetings, simple lookups.
Before an expensive task, ask yourself:
text
1. What is the task? (classify)
2. What model is active?
3. Could a cheaper model handle this equally well?
4. If yes → recommend switch + estimated savings
5. If no → proceed, explain why
TierTasksModel🟢 RoutineFormatting, Q&A, reminders, greetings, file opsCheapest available🟡 IntermediateEmail drafting, code review, data analysis, translationsMid-tier🔴 ComplexArchitecture decisions, creative writing, debugging complex issuesBest available
Signal: Task needs <1000 output tokens + no creativity = Tier 1.
Fetch current pricing when user asks about costs:
text
web_fetch https://z.ai/pricing
web_search "openai gpt-4o pricing per token"
Do NOT hardcode prices — they change frequently. Always fetch live.
Quick formula:
text
Estimated cost = (input_tokens / 1M × input_price) + (output_tokens / 1M × output_price)
Show to user:
text
Model: GLM-5-Turbo
Input: ~5K tokens
Output: ~2K tokens
Estimated cost: ~$0.002
Could use: GLM-4 (~$0.001) — saves ~50%
User saysAction"right model?"Quick complexity check"model cost"Cost estimate for current task"compare models"Live pricing comparison"cheaper option"Find cheaper model for same task
Install the full suite:
bash
clawhub install model-pilot cross-check context-brief setup-doctor