Cache reads dropping to zero in a long Claude Sonnet 5 session

CCDV-F Model Selection & Optimization Hard Question 51 of 105

A long customer session on Claude Sonnet 5 caches a 40,000-token system prompt. The app sets output_config.effort to high on the first request and to low on follow-up requests, after which cache reads drop to zero.

Which change restores cache reads on this conversation?

Show answer and explanation

BPick one effort level at the start and hold it for the cached session

Top-level effort shapes the rendered prompt, so changing it between requests invalidates the cached prefix, and the docs say to pick a level at the start and keep it constant when the model does not support per-message effort. An effort-only system message really does preserve the cache, but it is a beta limited to Claude Fable 5.1, Mythos 5.1 and Opus 5, and Sonnet 5 rejects it with a 400. A 1-hour TTL and a later breakpoint are both real and both address expiry or placement, neither of which makes an invalidated 40,000-token prefix match again.

Source: platform.claude.com/docs/en/build-with-claude/effort

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 105 original CCDV-F practice questions