r/ClaudeCode • • 13h ago

Help/Question Why keep a 1M context window if Claude Code now defaults to auto-compacting at 400k?

Saw Lydia Hallie's post that Claude Code is rolling out 400k auto-compact as the default for most 1M models, to help with usage on long sessions. You can still get the full 1M with /autocompact 1m or in config.
I'm a bit confused by the design choice, though. If the default is to compact at 400k because resending a huge history with every message gets expensive even with caching, what's the 1M window for?
Why not just cap context at 400k? When is it actually worth running the full 1M instead of compacting earlier?
Curious how others are thinking about the tradeoff.

310 Upvotes

139 comments sorted by

View all comments

Show parent comment

2

u/Outrageous_Band9708 13h ago

yep thats a very small part of it.

yes the mod can selectively drop context. and i only do that to keep memory low over time. I dont actually use that feature for my main system.

the mod automatically rotates agents ever 300k, never compact.

it uses a journal system to reseed the new agent based on a history of decisions, actions, and the plan.

each task gets its own fresh context.

all this work prevents the excess context growth which is what kills most of our weekly limits.

here is a screenshot of a current session. this one session is up to 122 Million context. not one single compact or clear was ever used. its because the main session never actually sees a single token of context. the mod intercepts it and drops it from main context and routes it to a subagent.

3

u/Familiar_Gas2305 12h ago

I'm keen to try this out, and it seems easy go switch off the mod if it doesn't work. Are there any downsides?

1

u/Outrageous_Band9708 1h ago

not really. if you feel the need, backup your md and clone your repo so you can revert. but you shouldn't need to.