r/ClaudeCode • u/SkywayGe • 10h ago
Discussion 400K autocompact threshold — interesting timing?
Given the recent concerns about usage limits, I find the timing of this recommendation interesting.
Could Anthropic be planning to maintain the current usage limits while encouraging users to adopt a lower compaction threshold, making those limits less noticeable?
I understand that the change is optional, but I wonder whether there's a connection or whether it's simply a coincidence.

33
Upvotes
•
u/AutoModerator 10h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
7
u/CandidSystem6155 10h ago
We run ours at roughly 350K and the exact number mattered less than we expected. Compaction swaps the history in context for a summary, and the summary drops detail, so anything we need later lives in a handoff file per working folder that a SessionStart hook injects into the next session. With that in place, a compact or a fresh session costs little. Where we actually got burned was trusting the summary to carry plan details, not the threshold itself.
42
u/bonobomaster 9h ago
Nah, it's just smart.
Nobody should fill the whole context. It's way too costly and rarely makes sense.
Around 450 K tokens was already my late cutoff point.
In my experience Claude performs best and cheapest around 250 to 350 K tokens.
4
u/SirRobinBlibs 8h ago
It's in the 2.1.334 changelog: the auto setting on most 1M models now compacts near 400K instead of 1M, -p and SDK too, rolling out. Per the docs it fires around 367K, so the status line shows about 37%.
The reason given is cost: every request carries the conversation so far, so compacting earlier makes every later request smaller. The trade-off is losing detail sooner, which is why a handoff file still matters. Want the full window back: /autocompact 1M.
4
u/aerivox 8h ago
how much do you guys have in the session at the start? between mcp, skills and claude.md i am around 80k..
2
u/innociv 46m ago
1mil was a crutch for models that hallucinated more and went off track more.
The models and compaction have improved a lot. I was using a 550k limit since Opus 5.5 came out and I'm not seeing much difference in the drop to 400k.
1
u/Purple_Deers 9h ago
i usually compact around ~300k myself.
At that point i start to notice some issues with the model staying focused on the current phase of the task. Not to mention it just cost more.
and the compact command takes in an argument for instructions so you can tell it what to focus on when summarizing or if you need some important detail to maintain. So i would prefer it over letting it auto compact.
1
u/congngo 9h ago edited 9h ago
I set mine at 600K. But I always start a new chat
1
u/ServesYouRice 9h ago
I had 400k as my autocompact anyway before (big enough to handle everything, not big enough for constant compacting waste) so literally nothing changed for me lol
1
u/snuffomega 7h ago
in the CLI they rolled this out as a suggested setting maybe over a month ago. If not longer. I want to say before 5.5 dropped, but I could be wrong.
1
u/Oikon__ 5h ago
Makes sense you're just seeing it now since the changelog says it's still rolling out (already on if you use a third party provider or have telemetry off). Some sessions also stay at 1M on auto anyway, like desktop/cloud scheduled tasks or resuming a conversation already past 400K until it compacts. You can run /autocompact with no args to check what your session is actually using, though on a resumed session you have to wait for one reply first.
https://code.claude.com/docs/en/model-config#sessions-that-run-past-400k-on-auto
1
u/phoenixmatrix 5h ago
I had it set at 450k a while back. 1m makes the models forget stuff, so the harness just makes it refetch information while making you pay for the full window. It was never a good default to have it at 1m
That's something that Codex did better than Claude out if the box, it's great that the latter finally caught up.
1
u/akienm 2h ago edited 2h ago
I constantly run mine at 200k. Works great
1
u/ixid 1h ago
I've used 200k compaction for months. It's already a massive and sufficient amount of context for most tasks, and you can raise it if you really need more.
1
u/lgmarian 10h ago
This is just an anecdote, and I'm not saying it means anything. I just read a comment by an insanely heavy user (literally around the clock), who said 4-500K is limit for even frontier models. I kept mine at 1M, because I watch by context window. Like them, I don't compact. I hand off to another session.
1
u/the_unknown_star_y 5h ago
I hope they don't start cutting down on subsidies like Openai is doing now
0
u/912key 3h ago
I always had my context window at 256k tokens so I'm not sure why anyone would want to use 1M tokens
0
u/agilius 3h ago
I'm perfectly fine with 250k compactions. Between 180k and 230k I notice a degrade in instruction following. The AI starts to be selective of what it respects and what it does not
-2
u/pceimpulsive 9h ago
Who dafuq let's Claude get to 400k context?
That bloody insanity for the latent attention strain of the model....
I'm here starting new sessions at 200k...
-1
u/BestDistribution3655 3h ago
What does this mean can you explain it to me🫠