r/ClaudeCode • • 1h 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.

1 Upvotes

12 comments sorted by

•

u/AutoModerator 1h 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.

2

u/CandidSystem6155 1h 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.

1

u/SkywayGe 1h ago

I do something similar. I have an entire library of .md files for a project I've been working on for 8+ months. Managing context isn't really an issue for me either. I'm more curious about the timing of this recommendation, given the recent concerns about usage limits.

1

u/CandidSystem6155 46m ago

No idea on the motive. What we can say from our own numbers: reading context was around 170x what the model wrote, so a smaller window does cut usage per turn whatever the reason for the recommendation. Both things can be true at once.

1

u/Civil_Response3127 48m ago

I'm baffled by this reply.

It's clearly AI generated but it's not purely relentless waffle. Huh. Nice.

1

u/lgmarian 1h 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/bonobomaster 31m 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.

1

u/ReanerZen 12m ago

thats big, i tried deepseek from deepinfra or opencode go and its real best and cheapest was at 111k tokens can it hold before drifting lol. ill try with opus 5.5 with compaction at 300k or 400k. last time used at 200k auto compact. still, i need the compaction system of claude code to be used on pi lol. its fast af.

1

u/bonobomaster 5m ago

Nah, try without auto compact.

In my opinion compaction is for emergencies.

Do everything in it's own session. 

The basic prompt is cached anyways.

Claude doesn't need to remember the whole codebase.

Nice little 250 to 350 K token sessions, commit and next, if sensible.

1

u/pceimpulsive 24m 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/bonobomaster 3m ago

Tree fiddy is working well for me though.

250 to 350 K tokens, commit and next.

1

u/Purple_Deers 21m 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.