Claude Opus 4.8 in Claude Code: tokens per question

This later Opus release is a higher-priced option for coding tasks that need a broader investigation.

The figures

Bare Claude Code
65,800

cache-weighted input tokens per question

With capsul
13,800

cache-weighted input tokens per question

less input sent
x4.75

90% interval: x3.00 to x8.75

answer checks passed out of five, bare then with capsul
5 / 4
tool steps per question, bare then with capsul
3.4 / 2.2
output tokens per question, bare then with capsul
3,040 / 322
API-equivalent cost per question, bare then with capsul
$0.498 / $0.0825

The API list price is the same as the other earlier Opus rows here. When comparing them, the token count and the answer checks are more informative than the family name alone. An agent that opens extra files and revisits earlier tool output can make a seemingly small task expensive even on a fixed model.

These measurements come from brief questions about a real codebase. They show what happened under this protocol, including the variation between questions. For a migration or a long review, measure your own workflow before projecting the displayed saving across a whole 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
Q181,70012,100x6.772 / 0
Q264,80020,900x3.112 / 3
Q343,80010,400x4.203 / 3
Q495,20013,400x7.113 / 3
Q543,40012,500x3.483 / 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 Opus 4.8 use per question in Claude Code?

In the September 22, 2026 benchmark, a bare Claude Code session on Claude Opus 4.8 sent 65,800 cache-weighted input tokens per one-line coding question on average. With capsul on the same model, 13,800.

How much does a coding question cost on Claude Opus 4.8?

At Anthropic list prices, the bare agent's traffic came to $0.498 per question and capsul's to $0.0825. 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 Opus 4.8 established?

Yes. The 90% interval runs from x3.00 to x8.75, entirely above one, on 30 measured cells.

Does capsul change Claude Opus 4.8's answers?

It passed fewer: 5 of five answer checks bare, 4 of five with capsul. The benchmark publishes this rather than leaving it out.