Hacker News new | ask | show | jobs
by flowerthoughts 41 days ago
For Claude Code, I feel 1M is enough. I've had a compaction once, but that was because I was forcing Claude to do something it clearly had a hard time understanding.

For general chat bots where the user doesn't understand what a context window is, what do you do about context? Latest few messages and then a memory tool? Compaction?

4 comments

I feel the 1M context is way too large —- the model gets ”drunk” way before it gets anywhere near 1 million. Imo the 1M context window is a huge downgrade.
This is so interesting to me, I frequently experience compaction on long running features and still find Claude is better than starting with fully fresh prompts.

Every dev seems to use these tools differently.

I use a tool called context-mode. Update agent to save session summary every 100k tokens
Claude does compaction in the regular web chat interface now, too