BetaMay 13, 2026

Cache diagnostics tells you why a prompt cache missed

A new public beta reports where your prompt diverged from the previous turn, so a cache miss is no longer a guess.

Department
Engineering
Share

When a request misses the prompt cache, you can now ask why.

Pass diagnostics.previous_message_id on a Messages request and the API reports a cache_miss_reason that shows whether the model, system prompt, tools, or messages changed from the previous turn. It also reports how many tokens missed the cache, so finding the cause in a long prompt isn't guesswork.

It's in public beta. Send the cache-diagnosis-2026-04-07 header.

Earlier updates

May 12, 2026
May 11, 2026
May 7, 2026
May 6, 2026
All updates