r/ClaudeCode • u/angry_cactus • 2h ago
Help/Question Does context get overloaded from total amount of tokens only, or also from the percentage of remaining window? Is 320k out of 400k any worse than 320k out of 1M?
For example if 80% of a 400k context window is used, then 320k tokens remain out of a 400k window.
The model is capable of 1 million tokens, but has degraded output towards the higher end obviously.
BUT is that bad for model output specifically and only because of the 320k used tokens? Or because of the lack of free space?
If so, does a different autocompact window have any affect on this, or is it really just a trigger, meaning that 320K used out of a 400K window, and 320 K out of a 1 M window, are the same in effect for a 1 M model?
2
Upvotes
•
u/AutoModerator 2h 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/calunicornia 2h ago
your math isnt mathing
1
u/Longjumping-Sweet818 2h ago
I'm pretty sure it's the attention mechanism that gets worse with large context, and that doesn't even know the limit. So yes, for output quality 320k is 320k, no matter the limit.
1
u/YouthRealistic7125 2h ago
Used tokens, as far as I know. The autocompact window is just the trigger, so 320k is 320k in both cases, the smaller window just compacts sooner.
I used to worry about this a lot, but the last few months on the newer models it works pretty well for me even after compacting
1
u/iEatedCoookies 1h ago
Total, not percentage.