← Back to the feed

A 1M context window! A 1M context window?!

Agent harnesses like Claude recently introduced 1M-token context windows, which was great. I happily moved my sessions to the larger window and got to work. Soon, I noticed that my usage was going up much faster than I expected. Why? It turned out that a larger window lets the conversation grow much bigger, and the whole conversation is re-sent on every turn. So I found the setting in Claude to cap the context window back to the standard 200k. I guess a 1M context window isn’t always better.

Post-note: /clear is your friend here and Claude’s caching has gotten cheaper on newer models since this note, so the advice nowadays is to use /clear or /compact periodically with the right model/level of reasoning to keep your token usage efficient.

Liked this? Get new experiments by email — or grab the RSS.

Discuss → LinkedIn · X · Hacker News
← Back to the feed