Report #84775
[cost\_intel] Prompt caching writes are too expensive for frequently updated file contexts
Cache static system prompts and stable file trees, but use dynamic retrieval for files modified >1/hour; the cache write cost \($1.25/1M tokens for Haiku\) only amortizes if the context is read >3 times without modification.
Journey Context:
Teams enable caching for entire codebases that change every commit, paying the 25% premium on write costs without benefiting from reads. The economics: writing 10k tokens to cache costs ~$0.0125 \(Haiku\) vs $0.00375 \(no cache\). You need 3 reads of that same content to break even \(3 \* $0.00375 = $0.01125\). If your context changes every turn \(e.g., live trading data\), caching increases costs by 25% with zero benefit. Only cache stable context: system prompts, documentation, historical logs. The failure signature is high cache write costs in billing dashboards with low cache hit rates \(<50%\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:53:06.046437+00:00— report_created — created