Claude Sonnet 5 in Claude Code: tokens per question

Sonnet is Claude's middle tier for coding work that needs more judgement than a narrow lookup.

The figures

Bare Claude Code
54,200

cache-weighted input tokens per question

With capsul
18,900

cache-weighted input tokens per question

less input sent
x2.86

90% interval: x2.02 to x4.52

answer checks passed out of five, bare then with capsul
4 / 4
tool steps per question, bare then with capsul
3.2 / 3.2
output tokens per question, bare then with capsul
1,640 / 551
API-equivalent cost per question, bare then with capsul
$0.153 / $0.0487

This release carries a lower API list price than the earlier Sonnet row on this site. It is worth considering for routine implementation, tests and review when Haiku needs too much guidance but an Opus model would be an expensive default. The price table below separates fresh input, cached input and output, which need not move together.

The benchmark asks the same short repository questions on both arms. Use its token and answer-check columns to judge this kind of work. A long refactor or an unfamiliar codebase can require a different amount of exploration, so the measured gain is a reference point rather than a promise for every session.

Question by question

Five one-line questions about a real TypeScript codebase, each asked 3 times per arm. Weighted input per question, mean of the repetitions.

QuestionBarecapsulLess inputCorrect runs, bare / capsul
Q174,10021,900x3.380 / 0
Q246,40024,100x1.922 / 3
Q333,10011,700x2.843 / 3
Q482,60021,900x3.773 / 3
Q534,70015,100x2.303 / 3

List prices

ModelInputOutputCache readCache write 5 minCache write 1 hContext
Claude Haiku 4.51.005.000.101.252.00200,000
Claude Sonnet 52.0010.000.202.504.001,000,000
Claude Sonnet 4.63.0015.000.303.756.001,000,000
Claude Opus 4.65.0025.000.506.2510.001,000,000
Claude Opus 4.75.0025.000.506.2510.001,000,000
Claude Opus 4.85.0025.000.506.2510.001,000,000
Claude Opus 55.0025.000.506.2510.001,000,000
Claude Opus 5.54.0020.000.205.008.001,000,000
Claude Fable 510.0050.001.0012.5020.001,000,000
Claude Fable 5.110.0050.000.2512.5020.001,000,000
Anthropic Claude API list prices in US dollars per million tokens, checked September 23, 2026.

Anthropic list prices, checked September 23, 2026.

How this was measured

Two arms on the same model: Claude Code as anyone runs it, and the same question through capsul. The unit is cache-weighted input: fresh tokens at full weight, cache reads at a tenth. Campaign of September 22, 2026, 3 repetitions per question and arm.

30 / 30 cells · /benchmarks/2026-09-22-claude.json

Questions

How many tokens does Claude Sonnet 5 use per question in Claude Code?

In the September 22, 2026 benchmark, a bare Claude Code session on Claude Sonnet 5 sent 54,200 cache-weighted input tokens per one-line coding question on average. With capsul on the same model, 18,900.

How much does a coding question cost on Claude Sonnet 5?

At Anthropic list prices, the bare agent's traffic came to $0.153 per question and capsul's to $0.0487. A Claude subscription does not bill per token: read it as how much of a plan each question uses, compared with other models.

Is the saving on Claude Sonnet 5 established?

Yes. The 90% interval runs from x2.02 to x4.52, entirely above one, on 30 measured cells.

Does capsul change Claude Sonnet 5's answers?

Not on this protocol: Claude Sonnet 5 passed 4 of five answer checks bare and 4 of five with capsul.