Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
The prompt cache is where Claude's API keeps recently sent conversation text so it does not have to be processed again. Claude Code now passes prompt-cache usage along with its other usage figures:
session.measure reports now include a promptCache field when the usage data has one. This sits next to the existing context, rateLimits and cost fields. session.measure is an event that plugins and hooks (scripts that run automatically at set points) can respond to.
The usage change report, which also feeds status data, now reports a promptCache change whenever usage.promptCache differs.
Why
Tools and hosts that read session measurements or usage changes can now see prompt-cache figures, not just context size, rate limits and cost.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded promptCache to a mod's $.session.usage() and session.measure: whether the prompt cache is warm, when it expires and why it last missed