One Opus run cost $1.99 — 94% went to reading files, not writing code

aakashgupta · x · 2026-11-11

The author broke down a real Claude Opus 5.5 run over a large open-source Java codebase: 1.09M tokens, $1.99 total, with only $0.13 (6%) spent on writing the answer. By dollars, cache writes (first read of each big file at $8/M tokens) were 85% of the bill; cheap cache re-reads were 80% of tokens but just 9% of cost. The finding validates Spotify's trick of handing file reading to a cheaper model, claimed to cut token use 90%, which the author then tested on two codebases.

Original post →

More from coding & agent

coding & agent channel →