# CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING

> Set to 1, it gives two old models a fixed thinking budget.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1

## Think of it like

It is like you give a set time for each sum. You do not give more if it is hard.

## Definition

CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING set to 1 turns off adaptive thinking on Opus 4.6 and Sonnet 4.6. With it on, the model picks how much to think at each step. With it off, the model uses the fixed budget in MAX_THINKING_TOKENS. New models always pick for themselves. So it does nothing there.

## 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.

## Example code

```bash
export CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
export MAX_THINKING_TOKENS=8000
claude --model claude-sonnet-4-6
```

Give Sonnet 4.6 a fixed budget.

## Why it matters

A fixed budget makes cost and speed easy to guess on the models that allow it.

## Common mistake

Setting it for Opus 4.7 or later. Those always think adaptively, so nothing changes.

## Three principles

- **Two models only.** Opus and Sonnet 4.6.
- **Fixed budget.** From MAX_THINKING_TOKENS.
- **Newer models ignore it.** Always adaptive.

## Related terms

- [MAX_THINKING_TOKENS](https://learn.benibix.com/term/ai/max-thinking-tokens-variable)
- [CLAUDE_CODE_DISABLE_THINKING](https://learn.benibix.com/term/ai/claude-code-disable-thinking-variable)
- [Reasoning Model](https://learn.benibix.com/term/ai/reasoning-model)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-adaptive-thinking-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
