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).
More from coding & agent
- Claude Code audit finds 214,856 "permanently deleted" photos lurking in Android hidden cache — Loo_Atreides · 2026-10-26
- Someone sent the first customer fax via ChatGPT over Onetime Fax's new MCP server — tdhopper · 2026-10-26
- China Telecom's XingChen lab open-sources Xing4.0-29B-Intent, a 29B MoE with 4B activated params — FellMentKE · 2026-10-26
- Codebases sized to fit one context window dramatically improve agent outcomes — julianharris · 2026-10-26
- 42-Minute Video Breaks Down Why AI Agents Fail: Mostly Not the Model's Fault — JohnSavill · 2026-10-26
- Giraffe: Open-Source Baseline Testing for OpenAI-Compatible LLM Endpoints — ImmediateBig8479 · 2026-10-26