⌨️CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING
Also known as CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
Set to 1, it gives two old models a fixed thinking budget.
Think of it like
It is like you give a set time for each sum. You do not give more if it is hard.
Example
Jack wants every step on Sonnet 4.6 to think the same amount, for a fair test. He turns adaptive thinking off and sets a fixed budget.
Why it matters
A fixed budget makes cost and speed easy to guess on the models that allow it.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
export MAX_THINKING_TOKENS=8000
claude --model claude-sonnet-4-6Common mistake
Key takeaways
- 1Two models only. Opus and Sonnet 4.6.
- 2Fixed budget. From MAX_THINKING_TOKENS.
- 3Newer models ignore it. Always adaptive.