TokenSave logo TokenSave

TokenSave Data · Dataset

Where AI coding agents first fail: Haiku, Sonnet, Opus, Codex and Gemini on six levels of coding tasks

Given a clear spec, almost every run built the apps: Claude Haiku 5.5 got full marks on all 21 runs from a five-level game up to a spreadsheet engine with cycle detection. The first failures came from a real bug in a real project: on the hardest of three bugs fixed in the marked Markdown parser in September and October 2026, no tool passed the upstream test, in any run. Haiku, Sonnet and Opus scored the same number of full-mark runs; Haiku cost about 94% less per run than Opus at API prices.

Measured 2026-10-23 to 2026-10-24 · 136 runs (+6 excluded) · Claude Code 2.1.295, Codex CLI 0.162, Antigravity CLI 1.4.5 · License CC BY 4.0

DOI 10.5281/zenodo.23600477 · 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. Runs with full marks by tool and task level, from a single-file game to real bugs in marked

Key findings

Runs with full marks

Full marks = every hidden check passed. Level 6: the upstream fix’s test passes and no other marked spec test newly fails. Gemini level 6 cells mix allow-rule runs and full-permission re-runs; excluded runs (stopped by the harness or by quota) are in the CSV with a note.

Tool + modelL2 levels + saveL3 multi-file appL4 5 modules, 3 viewsL5A fix 6 bugs + 3 featuresL5B spreadsheet engineL6 easy real bugL6 medium real bugL6 hard real bug
Claude Code + Haiku 5.55/55/55/54/42/22/22/20/2
Claude Code + Sonnet 5.55/55/55/54/42/22/22/20/2
Claude Code + Opus 5.55/55/55/54/42/22/22/20/2
Codex + gpt-6-luna5/54/54/53/41/12/21/20/2
Antigravity + Gemini 4 Argon5/55/55/52/21/13/44/40/3

Average seconds per run

Tool + modelL2 levels + saveL3 multi-file appL4 5 modules, 3 viewsL5A fix 6 bugs + 3 featuresL5B spreadsheet engineL6 easy real bugL6 medium real bugL6 hard real bug
Claude Code + Haiku 5.59186163136333181741
Claude Code + Sonnet 5.5333810788141181638
Claude Code + Opus 5.5578712894233292886
Codex + gpt-6-luna459212575147324436
Antigravity + Gemini 4 Argon1111102372352954472661,198

Average API cost per run (Claude Code)

Tool + modelL2 levels + saveL3 multi-file appL4 5 modules, 3 viewsL5A fix 6 bugs + 3 featuresL5B spreadsheet engineL6 easy real bugL6 medium real bugL6 hard real bug
Claude Code + Haiku 5.5$0.018$0.019$0.037$0.032$0.096$0.005$0.005$0.011
Claude Code + Sonnet 5.5$0.12$0.13$0.28$0.34$0.38$0.081$0.072$0.12
Claude Code + Opus 5.5$0.28$0.40$0.59$0.57$0.92$0.20$0.18$0.39

The tasks

Method

Limitations

How to cite

Free to use, quote and republish with attribution under CC BY 4.0. Please link to this page.

TokenSave (2026). Where AI coding agents first fail: Haiku, Sonnet, Opus, Codex and Gemini on six levels of coding tasks [Data set]. Zenodo. https://doi.org/10.5281/zenodo.23600477

BibTeX

@misc{tokensave_ai_coding_limit_line_2026,
  author    = {{TokenSave}},
  title     = {Where AI coding agents first fail: Haiku, Sonnet, Opus, Codex and Gemini on six levels of coding tasks},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.23600477},
  url       = {https://doi.org/10.5281/zenodo.23600477},
  note      = {Dataset, CC BY 4.0}
}

Embed the chart

Related

Questions or corrections: contact@jonhisking.com