Model selection, cost optimization, subscription tiers, token reduction strategies
Model Selection Decision Flow
Not all tasks need the most powerful model. A lower-cost model saves money only when it passes the same task acceptance gate without increasing retries, review, or rework.
> **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 ($ ~2x cheaper than Sonnet 5)
ββ Standard (features, bugs) β Sonnet 5 ($$ validate on your task set)
ββ Complex (architecture, sec.)
ββ Needs deep reasoning? β Opus 5 (xhigh) ($$$ ~2.5x Sonnet 5)
ββ Just large/clear? β Sonnet 5 ($$ handles it)
Budget modifier (downgrade one tier on constrained plans):
Max/API (xhigh) β Opus 5 plan, Sonnet impl
Max/API β Opus 5 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 can reduce the same token classes, so their advertised percentages cannot be multiplied. Apply them one at a time, measure the interaction, and retain only the changes that reduce cost per accepted task.
Token Optimization (Line ~13355)