Claude Code /compact: What It Costs and What Survives
This story is from 2026-10-26. It is preserved in the archive; the latest stories are on the live feed.
The same /compact can cost you a few cents or a couple of dollars, and the context size does not decide which. The cache does. Anthropic's own prompt caching documentation for Claude Code says it plainly: to write the summary, Claude Code sends a separate request carrying your whole history, and "w…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-26 05:29 · DEV Community — AI
Claude Code /compact: What It Costs and What Survives