Model selection, cost optimization, subscription tiers, token reduction strategies
Model Selection Decision Flow
Not all tasks need the most powerful model. Using the right model for the right task cuts costs by 5-10x without sacrificing quality.
> **This diagram assumes an unconstrained budget (Max/API).** On tighter plans (Pro, Teams Standard), apply the budget modifier below.
Task complexity?
├─ Simple (typos, format, rename) → Haiku 4.5 ($ ~5x cheaper than Sonnet)
├─ Standard (features, bugs) → Sonnet 4.5/4.6 ($$ best price/quality ratio)
└─ Complex (architecture, sec.)
├─ Needs deep reasoning? → Opus 4.8 (xhigh) ($$$ ~5x more than Sonnet)
└─ Just large/clear? → Sonnet 4.6 ($$ handles it)
Budget modifier (downgrade one tier on constrained plans):
Max/API (xhigh) → Opus 4.8 plan, Sonnet impl
Max/API → Opus 4.8 plan, Sonnet impl
Pro/Teams → Sonnet plan, Haiku impl (mechanical tasks)
Model Selection (Line ~2634)
Cost Optimization Decision Tree
High token costs are usually fixable. This systematic tree identifies the root cause and points to the right fix for each waste pattern.
Cost Optimization (Line ~8878)
Subscription Tiers: What Each Unlocks
Different tiers unlock different Claude Code capabilities. Knowing the limits helps you plan usage and justify upgrades.
Subscription Tiers (Line ~1933)
Token Reduction Strategies Pipeline
Multiple strategies stack for cumulative token savings. Apply them in order from highest impact to lowest effort.
Token Optimization (Line ~13355)