Evict Stale Thinking Blocks on Long Reasoning Agents Without Torching Your Cache

Reclaims the per-turn reasoning blocks that modern Claude models now retain by default; on a long extended-thinking agent that is thousands to tens of thousands of input tokens re-billed every turn, minus a one-time cache re-write of the conversation tail Advanced 3 min read

On Opus 4.5+/Sonnet 4.6+, extended-thinking blocks from every prior turn are kept in context by default โ€” dead reasoning you re-pay for on every turn of a long agent loop. The clear_thinking strategy evicts them; batch the clears so the cache re-write pays off.

๐Ÿ”’ Pro tip ยท Advanced

Unlock this tip โ€” and 105 more

This is one of 106 advanced, fact-checked tactics reserved for Pro. Get the full 128-tip library, a searchable archive, and a new tip every morning. Free for 7 days, then $9/mo.

Prefer to browse? The 22 Beginner tips are free forever.