56% of Claude Code spend goes to rereading context—dev open-sources optimaizr to cut it

stichstichstich · reddit · 2026-10-25

A senior SWE analyzed his Claude Code transcripts and found 56% of API-equivalent costs went to rereading context, with cache expiry alone costing $98.74 in 27 days. He built optimaizr—using Claude Code itself to develop it—which analyzes usage, surfaces expensive patterns, and verifies savings across Claude Code, Codex, and opencode. Free, open source, runs locally, no accounts or prompt uploads. Install via npm i -g optimaizr; repo at blendbunjaku/optimaizr (145 stars).

Related event: Engineer Open-Sources Tool After Finding 56% of Claude Code Cost Wasted on Context(2 posts)→

Original post →

More from coding & agent

coding & agent channel →