/effort max — Maximum reasoning budget/effort is a slash command in Claude Code that controls how much compute ("thinking budget") Claude spends on a response. Five levels:
| Level | Symbol | Behaviour |
|---|---|---|
low | ○ | Fast, surface-level. Good for trivial tasks (rename, small edits). |
medium | ◐ | Default. Solid all-rounder. |
high | ● | Deeper reasoning, more edge cases. |
xhigh | ◉ | Intermediate level (introduced with Opus 4.7). |
max | ⬭ | No token limit. Maximum thinking. |
In the terminal during a Claude Code session, just type:
/effort max
This applies for the current session. On restart Claude falls back to the default (medium) — unless you set it permanently via the env var:
export CLAUDE_CODE_EFFORT_LEVEL=max
(e.g. in ~/.zshrc or ~/.bashrc)
What you gain:
What it costs:
max.✅ Yes to /effort max:
❌ No to /effort max:
CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1 — turn off adaptive thinkingAdaptive thinking is a feature in Opus 4.6 / Sonnet 4.6+, where the model decides on its own how many reasoning tokens to invest per turn. The idea: think less on easy answers, more on complex ones.
The problem: sometimes the model decides to use zero reasoning tokens — even on tasks where it should think. The result: precise hallucinations:
apt packages.Set this in your shell before starting Claude Code:
export CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
Or add it permanently to ~/.zshrc / ~/.bashrc. Important: env vars are only read when Claude Code starts — so after setting, restart once.
What happens:
MAX_THINKING_TOKENS) instead of deciding for itself.What it costs:
Once adaptive thinking is off, either the MAX_THINKING_TOKENS variable or the effort level (/effort max, etc.) applies. With both together you can configure precisely:
export CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
export CLAUDE_CODE_EFFORT_LEVEL=max
→ Maximum fixed reasoning effort on every response. That's the "pro mode" config for serious engineering work.
No spam, unsubscribe at any time
