Claude Code now compacts 1M-context sessions near 400K by default, and how to take the full window back
Claude Code 2.1.334 moves auto-compact on most 1M models to near 400K, so sessions summarize at about 367K. /autocompact 1M restores about 967K.
Topic · 5 stories
5 stories tagged context-window on AI Tamer, newest first.
Claude Code 2.1.334 moves auto-compact on most 1M models to near 400K, so sessions summarize at about 367K. /autocompact 1M restores about 967K.
Tibo says GPT-6.1 Sol's default context in Codex and Work is now 500k, up from 272k, to cut auto-compactions. On the API, prompts past 272K input tokens still cost more.
Input and output share one context window. Count the input, give max_tokens what remains, and handle the two stop reasons that mean the answer was cut short.
Each model family splits text into tokens with its own tokenizer, so one sentence gets different counts. Here is what that does to cost and context, and how to count before you send.
The context window is a working memory, not a perfect one — accuracy fades as it fills, and "just give it more text" quietly stops working.