Claude Code8 min read
How to Change the Model in Claude Code (Every Method)
How to change model in Claude Code: type /model to switch between Opus, Sonnet, and Haiku instantly, or set a permanent default with --model.
How to change model in Claude Code: type /model to switch between Opus, Sonnet, and Haiku instantly, or set a permanent default with --model.
Sonnet delivers 97–99% of Opus's coding ability at roughly 40% of the price. Here's the benchmark data, the pricing math, and a simple decision framework.
Every Claude model in one place: Opus 4.8, Sonnet 5, and Haiku 4.5 compared on price, context, and use case — plus how to decode Anthropic's version names.
Claude Haiku vs Sonnet: Haiku is cheaper and faster ($1/$5, 200K context), Sonnet is stronger ($3/$15, 1M). When each model is the right call.