97% of coding-agent tokens are cache reads, but cache writes eat 31% of the cost

Nitjsefnie · reddit · 2026-11-14

A Claude Code user priced every session transcript since January at API list prices — about 205B tokens — and split costs by token type:

Two pricing gotchas: cache-read multipliers are no longer uniform — Opus/Sonnet 5.5 are 0.05x while Fable 5.1/5.2 are 0.025x, so a flat multiplier misprices them; and Claude Code logs one streamed reply multiple times under the same requestId, so sum lines and you double-count — keep the largest.

The author open-sourced claudit (MIT), a self-hosted dashboard that reads Claude Code, Codex and Kimi CLI transcripts from your own bucket, with side-by-side token/cost panels and a read-only live demo.

Original post →

More from coding & agent

coding & agent channel →