reasoningeffort.appHow much a model thinks, and what it costs

Claude Code effort: levels, defaults and how to set them

Claude Code's effort level sets how much Claude thinks on each step: low, medium, high, xhigh or max, by model. It defaults to medium on Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5. Set it with /effort, --effort or settings. Thinking bills as output tokens: $10 per million on Sonnet 5.5, $40 on Fable 5.2.

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.

ModelLevels in Claude CodeClaude Code defaultClaude API default
Claude Fable 5.2low medium high xhigh maxmediumhigh
Claude Opus 5.5low medium high xhigh maxmediummedium
Claude Sonnet 5.5low medium high xhigh maxmediumhigh
Claude Haiku 5.5low medium high xhigh maxmediummedium
Claude Opus 4.7low medium high xhigh maxxhighhigh
Other Fable models, Opus 5, Sonnet 5, Opus 4.8low medium high xhigh maxhighhigh
Claude Opus 4.6 and Sonnet 4.6low medium high maxhighhigh

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
  • /effort and /model: in the slider, Enter saves the level as your default for that model and s applies it to this session only. In /model, the left and right arrows move the slider.
  • --effort: low, medium, high, xhigh, max or ultracode, for one session.
  • CLAUDE_CODE_EFFORT_LEVEL: low to max. Set it to auto or unset and Claude Code sends no level, so the API's default applies.
  • Settings: "effortLevel": "high" in a settings file takes low, medium, high or xhigh, not max. Claude Code saves each model's level under modelSettings in your user settings.
  • Skills and subagents: an effort field 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:

  1. The CLAUDE_CODE_EFFORT_LEVEL environment variable.
  2. A level you pick in the session, with /effort or the /model slider.
  3. The --effort flag you launched with.
  4. Your settings: the level saved for the model, or effortLevel.
  5. 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:

ModelOutput per 1M10K thinking tokens50K 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_TOKENS only works on models with a fixed thinking budget.
  • See the spend. /usage shows 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:

LevelAnthropic's guidance for Claude Code
lowQuick exchanges where you review each result: brainstorming, a first sketch, a small change like a rename
mediumThe 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
highWork where verification matters or edge cases are likely, such as fixing a bug in an existing codebase
xhighDeeper reasoning at higher token spend; the default on Opus 4.7
maxHard 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.

  1. Claude Code: Model configuration (effort levels, defaults, order, ultrathink)
  2. Claude Code: Manage costs
  3. Claude Code: CLI reference and environment variables
  4. Claude API: Effort
  5. Anthropic pricing