How much can switching models in Claude Code save? According to OpenRouter's measured ranking published on December 4, 2026, a 10-to-49-turn session drops from a median $1.331 on Claude Opus 5.5 to $0.024 on GPT-6 Luna — about 55 times less. Switching agents, by contrast, changes the cost by at most about 26%. The saving is in the model, not in which shell you run.
| Model | Price per 1M input/output tokens | Median 10–49 turn session |
|---|---|---|
| Claude Opus 5.5 | $4 / $20 | $1.331 |
| Claude Sonnet 5.5 | $2 / $10 | $0.534 |
| Claude Haiku 5.5 | $0.10 / $0.50 | $0.043 |
| GPT-6 Luna | $0.10 / $0.50 | $0.024 |
| DeepSeek V4.1 Flash | $0.30 / $1.20 | $0.027 |
The same table shows something else: moving from Opus to Sonnet cuts session cost to 40%, and Haiku leaves only a fraction. These figures come from OpenRouter's real session statistics — Claude Code ran 44.69 trillion tokens in 30 days, 22.3% of all CLI-agent tokens, up 74% on the previous 30 days, making it the most used dedicated coding agent.
How to switch
Subscription users have it easiest: type /model in Claude Code to switch between Opus, Sonnet, and Haiku, and the next conversation is billed on the new model.
OpenRouter users have two options: install Ori Harness and launch with ori claude --model plus the model name, for example ori claude --model anthropic/claude-sonnet-5.5; or set three environment variables to point Claude Code at OpenRouter, then put a spending cap on the key so it stops automatically when exceeded.
One rule covers it all: start a new session for the new task, then switch — do not change models mid-task.
Why switching mid-session costs more instead
Each model keeps its own cache. A new model taking over cannot reuse the old model's cached copy and must rewrite the entire context, so the switch turn costs 5 to 8 times a normal turn. Measured tests show it takes a dozen or more turns to earn that back, and switching mid-way through a short task ends up costing more.
Cheaper models are not free of trade-offs either: capability and context handling differ, so before making one your default, run a small task from your own repository on it and confirm the output quality is good enough. The ranking only covers traffic through OpenRouter — subscription users are not included — and session cost covers model inference only, not search or other add-ons. For what to do when your subscription quota itself runs out, see the in-site article: Claude Code Quota Used Up? First Tell the Five-Hour Limit and the Weekly Limit Apart. For a different route — running Claude Code on open models instead — see: Together Link Is Live: One Command Switches Claude Code and Codex to Open Models