TokenSave Data · Dataset
Claude effort levels: what low, medium, high, xhigh and max cost
The same coding task cost $0.26 on average at medium effort on Claude Opus 5.5 and $5.33 at max (170,839 output tokens against 6,177). High cost 37% more than medium; the jump starts at xhigh. Three runs per level in Claude Code 2.1.295; low to xhigh now cost 40% to 64% less than in our first measurement on an earlier version.
Opus and Sonnet measured 2026-10-23 (3 runs per level; first run 2026-10-09), Haiku 5.5 2026-10-21 · Opus 5.5 and Haiku 5.5 at 5 levels, Sonnet 5.5 at 2 · License CC BY 4.0 · Write-up: Claude Opus 5.5 effort levels tested
DOI 10.5281/zenodo.23446567 · Also on Hugging Face · Kaggle · GitHub
Estimate your own Claude Code or Codex bill → See the monthly cost of Claude Code and Codex for your usage: API per task vs Claude and ChatGPT plans. Free, no sign-up.
Key findings
- Low and medium are close. Low cost 33% less than medium ($0.17 vs $0.26) and took 29 s instead of 51 s, but built the plainest games (131 lines on average against 347).
- High is the best value step. Output tokens rose 57% (6,177 to 9,690) but cost only 37% more, because most of each request is input that does not change.
- Costs jump from xhigh. xhigh cost 221% more than medium and max 1991% more. Max used 170,839 output tokens on average and took 24 min 43 s.
- Sonnet 5.5 is cheaper per run, not just per token. At the same effort it used 36% fewer output tokens than Opus 5.5 and cost 62% less at medium and 67% less at high.
- Newer Claude Code, lower bills. Our first Opus and Sonnet runs (2026-10-09, one per level, an earlier Claude Code version, measured with ccusage) cost much more at every level except max; the table below compares them. The fresh runs also carried no MCP servers, which keeps each request smaller.
- Every game worked. All 21 of 21 new Opus and Sonnet games kept score, reached level 2 and counted three lives down to zero in a scripted headless-browser play.
- Haiku 5.5 at every level, three runs each. Average cost went from $0.0095 at low to $0.0388 at xhigh, then $0.38 at max (869% more than xhigh). At max Haiku wrote its own test script and ran it, which took 15 turns instead of 4; each turn re-reads the conversation. At max, Haiku cost 120% more than Opus 5.5 at low, so its low to xhigh levels are where it saves money.
- Every Haiku game passed at every level (15 of 15). Higher effort wrote longer code (334 lines on average at low, 661 at max), not more working games.
Opus 5.5 and Sonnet 5.5 by effort level (average of 3 runs, 2026-10-23)
| Model · effort | Cost | Output tokens | Total tokens | Time | Lines | Games passed |
|---|---|---|---|---|---|---|
| Opus 5.5 · low | $0.17 | 3,299 | 48,781 | 29 s | 131 | 3/3 |
| Opus 5.5 · medium | $0.26 | 6,177 | 72,290 | 51 s | 347 | 3/3 |
| Opus 5.5 · high | $0.35 | 9,690 | 71,065 | 1 min 21 s | 512 | 3/3 |
| Opus 5.5 · xhigh | $0.82 | 26,120 | 151,812 | 3 min 45 s | 686 | 3/3 |
| Opus 5.5 · max | $5.33 | 170,839 | 2,279,626 | 24 min 43 s | 959 | 3/3 |
| Sonnet 5.5 · medium | $0.0973 | 3,982 | 49,745 | 24 s | 176 | 3/3 |
| Sonnet 5.5 · high | $0.12 | 5,317 | 52,404 | 33 s | 293 | 3/3 |
Compared with our first measurement
First run 2026-10-09 (one per level, an earlier Claude Code version, cost from ccusage) against the average of three runs on 2026-10-23 (Claude Code 2.1.295, no MCP servers, cost from Claude Code’s own report). Same prompt.
| Model · effort | Cost 2026-10-09 | Cost 2026-10-23 | Change | Total tokens then | Total tokens now |
|---|---|---|---|---|---|
| Opus 5.5 · low | $0.48 | $0.17 | −64% | 129,315 | 48,781 |
| Opus 5.5 · medium | $0.56 | $0.26 | −54% | 133,428 | 72,290 |
| Opus 5.5 · high | $0.75 | $0.35 | −53% | 222,854 | 71,065 |
| Opus 5.5 · xhigh | $1.36 | $0.82 | −40% | 472,082 | 151,812 |
| Opus 5.5 · max | $5.25 | $5.33 | +2% | 2,504,957 | 2,279,626 |
| Sonnet 5.5 · medium | $0.25 | $0.0973 | −61% | 115,073 | 49,745 |
| Sonnet 5.5 · high | $0.30 | $0.12 | −61% | 137,593 | 52,404 |
Haiku 5.5 by effort level (average of 3 runs)
| Effort | Cost | Output tokens | Time | Turns | Lines | Games passed |
|---|---|---|---|---|---|---|
| low | $0.0095 | 8,979 | 38 s | 2.7 | 334 | 3/3 |
| medium | $0.0142 | 16,123 | 1 min 8 s | 2.0 | 386 | 3/3 |
| high | $0.0205 | 24,683 | 1 min 38 s | 3.3 | 479 | 3/3 |
| xhigh | $0.0388 | 50,904 | 3 min 23 s | 3.7 | 593 | 3/3 |
| max | $0.38 | 136,954 | 9 min 21 s | 15.0 | 661 | 3/3 |
All runs
| Model · effort | Measured | Time | Output tokens | Total tokens | Cost | Lines of code |
|---|---|---|---|---|---|---|
| Opus 5.5 · low | 2026-10-09 | 32 s | 3,368 | 129,315 | $0.48 | 138 |
| Opus 5.5 · medium | 2026-10-09 | 52 s | 6,299 | 133,428 | $0.56 | 358 |
| Opus 5.5 · high | 2026-10-09 | 1 min 50 s | 12,376 | 222,854 | $0.75 | 523 |
| Opus 5.5 · xhigh | 2026-10-09 | 4 min 32 s | 32,435 | 472,082 | $1.36 | 639 |
| Opus 5.5 · max | 2026-10-09 | 22 min 22 s | 160,033 | 2,504,957 | $5.25 | 1,121 |
| Sonnet 5.5 · medium | 2026-10-09 | 37 s | 4,100 | 115,073 | $0.25 | 198 |
| Sonnet 5.5 · high | 2026-10-09 | 58 s | 8,073 | 137,593 | $0.30 | 398 |
| Haiku 5.5 · low · run 1 | 2026-10-21 | 26 s | 6,020 | 82,172 | $0.0090 | 323 |
| Haiku 5.5 · low · run 2 | 2026-10-21 | 39 s | 9,188 | 61,611 | $0.0087 | 364 |
| Haiku 5.5 · low · run 3 | 2026-10-21 | 50 s | 11,730 | 99,717 | $0.0108 | 314 |
| Haiku 5.5 · medium · run 1 | 2026-10-21 | 1 min 4 s | 14,459 | 72,134 | $0.0146 | 374 |
| Haiku 5.5 · medium · run 2 | 2026-10-21 | 1 min 2 s | 15,300 | 73,803 | $0.0129 | 396 |
| Haiku 5.5 · medium · run 3 | 2026-10-21 | 1 min 18 s | 18,610 | 80,368 | $0.0152 | 388 |
| Haiku 5.5 · high · run 1 | 2026-10-21 | 1 min 54 s | 29,607 | 102,351 | $0.0252 | 488 |
| Haiku 5.5 · high · run 2 | 2026-10-21 | 1 min 32 s | 22,271 | 131,271 | $0.0183 | 458 |
| Haiku 5.5 · high · run 3 | 2026-10-21 | 1 min 29 s | 22,171 | 124,453 | $0.0181 | 492 |
| Haiku 5.5 · xhigh · run 1 | 2026-10-21 | 3 min 17 s | 50,173 | 143,409 | $0.0373 | 628 |
| Haiku 5.5 · xhigh · run 2 | 2026-10-21 | 3 min 12 s | 46,376 | 268,585 | $0.0359 | 574 |
| Haiku 5.5 · xhigh · run 3 | 2026-10-21 | 3 min 40 s | 56,164 | 309,164 | $0.0431 | 577 |
| Haiku 5.5 · max · run 1 | 2026-10-21 | 9 min 51 s | 148,195 | 2,073,976 | $0.39 | 707 |
| Haiku 5.5 · max · run 2 | 2026-10-21 | 9 min 7 s | 130,973 | 2,156,518 | $0.38 | 603 |
| Haiku 5.5 · max · run 3 | 2026-10-21 | 9 min 6 s | 131,693 | 1,921,233 | $0.36 | 674 |
| Opus 5.5 · low · run 1 | 2026-10-23 | 29 s | 3,370 | 48,949 | $0.17 | 136 |
| Opus 5.5 · low · run 2 | 2026-10-23 | 31 s | 3,151 | 48,450 | $0.17 | 123 |
| Opus 5.5 · low · run 3 | 2026-10-23 | 28 s | 3,375 | 48,944 | $0.17 | 134 |
| Opus 5.5 · medium · run 1 | 2026-10-23 | 51 s | 6,550 | 55,108 | $0.26 | 371 |
| Opus 5.5 · medium · run 2 | 2026-10-23 | 41 s | 4,553 | 76,700 | $0.21 | 240 |
| Opus 5.5 · medium · run 3 | 2026-10-23 | 1 min 2 s | 7,428 | 85,063 | $0.29 | 429 |
| Opus 5.5 · high · run 1 | 2026-10-23 | 1 min 23 s | 10,263 | 62,389 | $0.36 | 583 |
| Opus 5.5 · high · run 2 | 2026-10-23 | 1 min 30 s | 10,317 | 62,681 | $0.37 | 426 |
| Opus 5.5 · high · run 3 | 2026-10-23 | 1 min 11 s | 8,491 | 88,125 | $0.32 | 528 |
| Opus 5.5 · xhigh · run 1 | 2026-10-23 | 3 min 56 s | 27,047 | 143,529 | $0.84 | 651 |
| Opus 5.5 · xhigh · run 2 | 2026-10-23 | 3 min 48 s | 25,717 | 138,823 | $0.80 | 660 |
| Opus 5.5 · xhigh · run 3 | 2026-10-23 | 3 min 32 s | 25,595 | 173,084 | $0.81 | 747 |
| Opus 5.5 · max · run 1 | 2026-10-23 | 21 min 53 s | 147,774 | 1,392,580 | $4.57 | 943 |
| Opus 5.5 · max · run 2 | 2026-10-23 | 25 min 28 s | 178,097 | 2,512,257 | $5.51 | 858 |
| Opus 5.5 · max · run 3 | 2026-10-23 | 26 min 47 s | 186,645 | 2,934,041 | $5.92 | 1,077 |
| Sonnet 5.5 · medium · run 1 | 2026-10-23 | 25 s | 4,162 | 50,086 | $0.10 | 202 |
| Sonnet 5.5 · medium · run 2 | 2026-10-23 | 25 s | 3,903 | 49,601 | $0.0960 | 164 |
| Sonnet 5.5 · medium · run 3 | 2026-10-23 | 23 s | 3,880 | 49,547 | $0.0960 | 161 |
| Sonnet 5.5 · high · run 1 | 2026-10-23 | 33 s | 5,723 | 53,204 | $0.12 | 318 |
| Sonnet 5.5 · high · run 2 | 2026-10-23 | 37 s | 5,351 | 52,461 | $0.12 | 297 |
| Sonnet 5.5 · high · run 3 | 2026-10-23 | 28 s | 4,878 | 51,548 | $0.11 | 263 |
Method
- Prompt, word for word: “Make a brick-breaker game that runs in the browser as a single file named index.html in the current folder. It needs 2 levels, a score display and 3 lives, and it must be playable with the keyboard and the mouse. Write the file and finish.”
- Opus 5.5 and Sonnet 5.5 (2026-10-23): Claude Code 2.1.295 on Windows 11,
claude -p --model … --effort … --permission-mode acceptEdits --output-format stream-json --strict-mcp-configwith an empty MCP config, each run in its own empty folder, three runs per level. Tokens and cost from Claude Code’s own usage report at list prices; time is wall-clock. - First measurement (2026-10-09): one run per level on an earlier Claude Code version with default settings; tokens and cost from ccusage at API prices. Kept for comparison.
- Haiku 5.5 (2026-10-21): Claude Code 2.1.295, same settings as above, three runs per level.
- Every game was played by a script in headless Chromium to check the score, level 2 and three lives. One Opus max game drew its score label and value separately, which the script could not read; reading the game’s own score variable showed it rising. Scripts are in the GitHub mirror.
Limitations
- Three runs per level and one task. Runs vary, especially at xhigh and max; treat the numbers as an order of magnitude, not a fixed price.
- Costs are API-equivalent. On a Pro or Max plan the same runs use up your usage limit instead of money.
- The first and the new measurement differ in Claude Code version, MCP setup and how cost was read, so the comparison shows how much the bill moved, not why.
How to cite
Free to use, quote and republish with attribution under CC BY 4.0. Please link to this page.
TokenSave (2026). Claude effort levels: tokens, time and cost for the same coding task [Data set]. Zenodo. https://doi.org/10.5281/zenodo.23446567
BibTeX
@misc{tokensave_claude_effort_cost_2026,
author = {{TokenSave}},
title = {Claude effort levels: tokens, time and cost for the same coding task},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.23446567},
url = {https://doi.org/10.5281/zenodo.23446567},
note = {Dataset, CC BY 4.0}
}
Embed the chart
Related
- Claude Opus 5.5 effort levels tested (full write-up)
- Sonnet 5.5 vs Opus 5.5
- Coding agent cost calculator
Questions or corrections: contact@jonhisking.com