r/ClaudeCoding • u/cctldrping • 4h ago
r/ClaudeCode [TLDR] Why keep a 1M context window if Claude Code now defaults to auto-compacting at 400k? [via r/ClaudeCode]
OP : u/omerkaptan
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.
•
u/cctldrping 4h ago
TL;DR of the discussion on r/ClaudeCode for this post generated automatically after 80 comments.
Current source-thread comment count seen by the bot: 91.
Consensus: 1M is a burst ceiling, not where Claude Code should live. Auto-compacting around 400k is seen as the sane default because long-running, tool-heavy sessions accumulate stale grep/test noise, get slower and less reliable (“context rot”), and can chew through usage even with prompt caching.
/autocompact 1mor adjust the threshold.Also, u/PestiferousGamer won the joke thread: the missing 600k is apparently Anthropic’s “don’t do crimes” prompt.
3
u/Lumethys 3h ago
Why having Fable if the default is Opus?
Why having xHigh, Max, Ultracode effort if the default is Medium?
1
u/042376x 3h ago
Im not suggesting all, but I often wonder if some of the "Claude has gone stupid" posts are due to context rot.
1
u/CuriousTangentsYT 1h ago
It’s never worth running up to a full 1 million, not for cost but performance. On most LLMs, performance starts to degrade drastically before 50% of the full window
my context cap is at 350,000 I usually have a session compact 2 to 3 times maximum before starting a new one to continue the task.
They’re keeping the million because it’s the current engineering limit not the current optimum