PaPoo
cover

Claude Code’s shorter auto-compaction says more than the token count

I’m a little more interested in the change than the number itself. Moving Claude Code’s auto-compaction from 1M tokens down to 400K feels like Anthropic admitting that “let the session run forever” is not actually the best default for most people. That doesn’t mean the old threshold was wrong in some absolute sense. It just suggests the company thinks a huge context window is not the same thing as a healthy working state.

That’s the part I’d actually want to test. In a long coding session, compaction is one of those invisible features you only notice when it fails badly. If it triggers too late, you get a bloated chat full of dead ends, half-finished plans, and stale assumptions. If it triggers too early, you might feel like the tool is interrupting your flow and throwing away useful local context. So dropping the threshold to 400K sounds less like a neat product tweak and more like a judgment call about where the average session starts to degrade.

I’m not fully convinced this change will matter the same way for everyone. People doing deep, sprawling repo work may have genuinely useful sessions that go well past 400K before the conversation turns into sludge. Others probably hit diminishing returns much earlier. Anthropic says users can switch back, which is the right escape hatch, but I do wonder how many people will ever bother. Defaults matter more than toggles. Most developers just take the path of least resistance and then blame the product.

What I take from this is that Claude Code is being treated less like a boundless notebook and more like a working memory system with maintenance built in. That feels sensible. The interesting question is whether Anthropic has enough telemetry to know that 400K is the sweet spot, or whether this is a cautious guess dressed up as product science. I suspect it’s some of both.


Reference: Claude Code will now summarize your session at 400K tokens instead of 1M

同じ著者の記事