Beta13 mag 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.

Dipartimento
Engineering
Tipo di account
API
Condividi

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.

Aggiornamenti precedenti

12 mag 2026
11 mag 2026
7 mag 2026
6 mag 2026
Tutti gli aggiornamenti