Claude Prompt Cache Diagnostics: Stats Thread Reveals 98.9% Cache Read Ratio

Two days ago, Anthropic released the prompt cache diagnostics feature in Claude Console. It's a tool for developers to understand why a request misses the cache and to reduce costs. One developer (u/samuelroy_) shared their stats in a community thread, aiming to find patterns and improve cache performance across the board.
Key Stats from the Source
- Overall cache read ratio: 98.9%
- 80% of cache misses are due to
messages changed. - Write amortization for Sonnet: 3.69x
The developer noted that their project harness is designed to only append messages in history, making the high miss rate from messages changed surprising. The likely explanation is users forking conversations, which changes the message chain.
What This Means
Prompt caching reduces cost and latency. With a 98.9% read ratio, the developer is already efficient, but the diagnostic data reveals a clear area for improvement: reducing unnecessary message changes. If you see similar patterns, auditing how conversations are forked or edited could boost cache hit rates.
For reference, write amortization (3.69x for Sonnet) indicates how many times a cache entry is written relative to reads. A lower value is better.
First-party analytics like this are a step forward for AI API cost optimization. Other providers are expected to follow.
📖 Read the full source: r/ClaudeAI
👀 See Also

Anthropic blocks third-party harnesses from Claude subscription limits, workaround available
Anthropic has restricted third-party harnesses from accessing Claude subscription limits, potentially disrupting workflows that rely on these tools. A Reddit user reports developing an open-source workaround after nearly losing months of training data.

Anthropic Reports Evidence of Mass Claude Distillation by AI Competitors
Anthropic has shared evidence that DeepSeek, Moonshot, and MiniMax were using approximately 24,000 fake accounts to conduct mass distillation of Claude, with over 16 million exchanges recorded.

Illinois Passes SB 315: Third-Party Audits Required for Frontier AI Labs
Illinois passes SB 315 requiring frontier AI labs like OpenAI, Anthropic, and Google DeepMind to have safety practices audited by independent third parties. If signed, it becomes the strongest US state AI safety law.

Claude Code v2.1.152: /code-review --fix, plugin disallowed-tools, MessageDisplay hook
Claude Code v2.1.152 introduces /code-review --fix to apply suggestions to your working tree, /reload-skills, MessageDisplay hook, and plugin disallowed-tools in frontmatter. Also fixes long-session styling degradation, MCP dedup, and cache reporting.