Which effort levels does each model take in Claude Code?
Most current Claude models take all five levels; Opus 4.6 and Sonnet 4.6 skip xhigh. Claude Code's defaults differ from the API's: it starts Fable 5.2 and Sonnet 5.5 at medium, where the Claude API uses high.
| Model | Levels in Claude Code | Claude Code default | Claude API default |
|---|---|---|---|
| Claude Fable 5.2 | low medium high xhigh max | medium | high |
| Claude Opus 5.5 | low medium high xhigh max | medium | medium |
| Claude Sonnet 5.5 | low medium high xhigh max | medium | high |
| Claude Haiku 5.5 | low medium high xhigh max | medium | medium |
| Claude Opus 4.7 | low medium high xhigh max | xhigh | high |
| Other Fable models, Opus 5, Sonnet 5, Opus 4.8 | low medium high xhigh max | high | high |
| Claude Opus 4.6 and Sonnet 4.6 | low medium high max | high | high |
Models not listed don't take effort. Read December 1, 2026 from Claude Code's model configuration page and Anthropic's effort docs.
Pick a level the model doesn't take and Claude Code runs the highest level it does take at or below it, so xhigh runs as high on Opus 4.6. Anthropic says the scale is calibrated per model, so the same level name isn't the same amount of thinking on two models.
How do I set the effort level in Claude Code?
Type /effort in a session, launch with --effort, export CLAUDE_CODE_EFFORT_LEVEL, or save a level in settings:
/effort # open the slider
/effort high # set and save
/effort auto # clear the saved level
/effort status # show what is sent
claude --effort xhigh # one session
# every session from this shell:
export CLAUDE_CODE_EFFORT_LEVEL=low
/effortand/model: in the slider,Entersaves the level as your default for that model andsapplies it to this session only. In/model, the left and right arrows move the slider.--effort:low,medium,high,xhigh,maxorultracode, for one session.CLAUDE_CODE_EFFORT_LEVEL:lowtomax. Set it toautoorunsetand Claude Code sends no level, so the API's default applies.- Settings:
"effortLevel": "high"in a settings file takeslow,medium,highorxhigh, notmax. Claude Code saves each model's level undermodelSettingsin your user settings. - Skills and subagents: an
effortfield in their frontmatter sets the level while that skill or subagent runs.
One catch on Opus 5.5: a top-level effortLevel in your user settings doesn't count for it or newer models. In project, local or managed settings, it applies to every model.
Which effort setting wins in Claude Code?
Claude Code takes the first of these that applies:
- The
CLAUDE_CODE_EFFORT_LEVELenvironment variable. - A level you pick in the session, with
/effortor the/modelslider. - The
--effortflag you launched with. - Your settings: the level saved for the model, or
effortLevel. - The model's default.
A skill's or subagent's own effort beats everything but the environment variable. A maxEffortLevel setting caps them all, and on Claude Enterprise, admins can cap effort per model for each role; where both apply, the lower cap wins.
What do max effort and ultrathink do in Claude Code?
max is the deepest level, and Claude Code applies it to the current session only, unless you set it through CLAUDE_CODE_EFFORT_LEVEL; settings files don't accept it. Anthropic says max "may show diminishing returns and is prone to overthinking, so test before adopting it broadly."
ultrathink anywhere in a prompt asks for deeper reasoning on that turn without changing your session's level. Typed in the terminal (Claude Code v2.1.311 or later), VS Code's chat box or the desktop app's Code tab (v2.1.316 or later), the word shows in rainbow colors and raises that turn to xhigh. "think" and "think hard" are ordinary prompt text, not keywords. CLAUDE_CODE_DISABLE_ULTRATHINK=1 turns the keyword off.
Ultracode, a toggle in the /effort slider, is a Claude Code setting rather than a level: Claude plans a workflow for each substantive task. --effort ultracode turns it on and sets the level to xhigh.
What does each effort level cost in tokens?
Higher effort means more thinking, and Claude Code's docs say "thinking tokens are billed as output tokens", with a default budget that "can be tens of thousands of tokens per request depending on the model." Anthropic doesn't publish a token count for each level, so here is what example amounts cost at each model's output price:
| Model | Output per 1M | 10K thinking tokens | 50K thinking tokens |
|---|---|---|---|
| Claude Haiku 5.5 | $0.50 | $0.005 | $0.025 |
| Claude Sonnet 5.5 | $10 | $0.10 | $0.50 |
| Claude Opus 5.5 | $20 | $0.20 | $1.00 |
| Claude Fable 5.2 | $40 | $0.40 | $2.00 |
Thinking bills at the output price. Tokens × output price per million ÷ 1,000,000, at Anthropic's standard API prices (Haiku 5.5 for prompts up to 100K tokens). Example amounts, not measured: Anthropic publishes no token count per level.
- Thinking stays on. It can't be turned off on Opus 5.5, Sonnet 5.5, Haiku 5.5 or the Fable models, so effort is the lever there.
MAX_THINKING_TOKENSonly works on models with a fixed thinking budget. - See the spend.
/usageshows a session's tokens and estimated cost at list price, and can suggest a change such as "Switch from max to high effort · /effort high". The token count beside the spinner includes thinking. - On a plan: on Claude Pro, Max and Ultra, usage is included in the subscription, so effort spends plan limits rather than a per-token bill.
- For scale: Anthropic puts the average across enterprise deployments at about $13 per developer per active day, and under $30 for 90% of users.
Which effort level should I use in Claude Code?
Start at the model's default and change it per task. Anthropic's own guidance for each level:
| Level | Anthropic's guidance for Claude Code |
|---|---|
| low | Quick exchanges where you review each result: brainstorming, a first sketch, a small change like a rename |
| medium | The default on Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5; day-to-day work with a clear scope, such as a new feature |
| high | Work where verification matters or edge cases are likely, such as fixing a bug in an existing codebase |
| xhigh | Deeper reasoning at higher token spend; the default on Opus 4.7 |
| max | Hard problems Claude works through without you, such as finding security vulnerabilities; may show diminishing returns and overthink |
Moving from Opus 5 to Opus 5.5? Anthropic says Opus 5.5 at medium matched or beat Opus 5 at high on its coding and knowledge-work evaluations, so start at medium rather than carrying over your old level.
How was this page checked?
Every level, default, setting and quote above was read on December 1, 2026 from Anthropic's docs below; the token costs are arithmetic on Anthropic's output prices. We didn't run Claude Code for this page. Claude Code is Anthropic's product, named here only to describe it; this site isn't affiliated with Anthropic. Errors: support@winding.ai.
- Claude Code: Model configuration (effort levels, defaults, order, ultrathink)
- Claude Code: Manage costs
- Claude Code: CLI reference and environment variables
- Claude API: Effort
- Anthropic pricing