Context Compaction vs Retrieval: When Summarising a Long Agent Session Is Cheap, When Exact Lines Win, and What Neither Does Across Sessions
Compacting a 400,000-token Claude Opus 5.5 session costs about $0.08 of input when the prompt cache is warm and $1.60 to $2.00 when it has expired, at list prices as of 30 October 2026.