⌨️CLAUDE_CODE_DISABLE_1M_CONTEXT
Also known as CLAUDE_CODE_DISABLE_1M_CONTEXT=1
Set to 1, it holds every model to a 200K window.
Think of it like
It is like you give someone a small desk. Less can sit on it at once.
Example
Jack's company caps how much code may go to a model at once. He sets this in managed settings, and no session goes past 200K.
Why it matters
A smaller window caps how much a single request can hold, which some rules need.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_1M_CONTEXT=1
claudeCommon mistake
Key takeaways
- 1200K cap. On every model.
- 21M leaves the picker. No [1m] choices.
- 3For rules. Compliance.