refcard.dev

← Claude Code / Environment Variables / Context & Compaction

CLAUDE_CODE_DISABLE_1M_CONTEXT 1

Disable the 1M token context window even on models that support it.

CLAUDE_CODE_DISABLE_1M_CONTEXT 1