Back to Blog

Claude Code effort levels: which one for which task

Alex Kim
7 min read
Claude Code effort levels: which one for which task

Last updated: November 21, 2026

TL;DR

Effort is how hard Claude Code reasons on each step. Lower effort is faster and cheaper for straightforward work; higher effort tests more edge cases and checks more of its own work before it answers (Anthropic's model configuration docs). There are five levels, low, medium, high, xhigh and max, and the newest models start at medium. Pick the level by how much you'll check the result yourself:

  • ๐ŸŽฏ Match the level to the task: low when you review every result, medium for scoped daily work, high when verification matters, xhigh and max for hard problems Claude works through without you.
  • ๐ŸŽ›๏ธ Know which setting wins: an environment variable beats the level picked in a session, which beats the launch flag, which beats settings.
  • โšก Boost one turn instead of the session: put ultrathink in a prompt.
  • ๐Ÿ“ Read the scale per model: the same level name means a different amount of reasoning on different models.

Which effort level for which task

Anthropic's docs map each level to a kind of work:

LevelUse it for
lowQuick exchanges you review each time: brainstorming, a first sketch, a rename
mediumDay-to-day engineering with a clear scope. The default on Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5
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 you want Claude to work through without you, such as finding security vulnerabilities

Two notes from the same page change how you read the table:

  • Higher isn't automatically better. The docs say max "may show diminishing returns and is prone to overthinking", so test it before you make it a habit.
  • Lower can be the right call. At a lower level Claude returns a starting point sooner, which fits work where you review each result and steer the next step.

If you're moving from Opus 5 to Opus 5.5, Anthropic's testing found Opus 5.5 at medium matches or beats Opus 5 at high on coding evaluations, so the docs suggest starting at medium rather than carrying high across.

How to set it, and which setting wins

You can set effort in six places:

  • /effort in a session. With no argument it opens a slider; with a level name it sets that level; /effort auto clears your saved level for the current model.
  • The /model picker, with the left and right arrow keys.
  • The effort flag (two hyphens) when you launch, for one session.
  • CLAUDE_CODE_EFFORT_LEVEL, an environment variable set to a level name.
  • Settings: a per-model level in modelSettings, or effortLevel as the default for models without one. Our Claude Code settings guide covers where those files live.
  • Skill and subagent frontmatter: an effort field overrides the level while that skill or subagent runs.

When more than one applies, Claude Code takes the first in this order:

  1. The CLAUDE_CODE_EFFORT_LEVEL environment variable
  2. A level picked in the session, with /effort or the /model picker
  3. The effort flag
  4. Settings: the level saved for the model, or effortLevel
  5. The model's default

So if /effort seems to do nothing, check for the environment variable first. Three more details save confusion:

  • max isn't saved. It applies to the current session only, unless you set it through the environment variable, and neither settings key accepts it.
  • In the slider, Enter saves and s doesn't. Enter makes the level your default; s applies it to this session only.
  • Opus 5.5 ignores an old top-level effortLevel in your user settings. It starts at its own default until you choose a level for it.

Raise one turn with ultrathink

You don't need to change the session's level for one hard question. Put ultrathink anywhere in a prompt and Claude Code asks for deeper reasoning on that turn only. In the terminal, the word shows in rainbow colors when it will also raise that turn to xhigh. Other phrases such as "think hard" are not keywords.

Ultracode is different: it's a setting, not an effort level. With it on, Claude runs dynamic workflows for substantive tasks, and turning it on from the launch flag starts the session at xhigh.

Read the scale per model

  • Supported levels differ. Opus 4.6 and Sonnet 4.6 have no xhigh. If you set a level a model doesn't support, Claude Code falls back to the highest one at or below it, so xhigh runs as high on Opus 4.6.
  • Level names aren't comparable across models. The docs say the scale is calibrated per model, so high on one model is not the same amount of reasoning as high on another.
  • Thinking is always on for the newest models. Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later always use adaptive reasoning, and you can't turn thinking off on Opus 5.5, Sonnet 5.5, Haiku 5.5 or the Fable models. Effort is the dial that's left.
  • Thinking tokens are billed. You're charged for every thinking token generated, even when it's collapsed, so a higher level costs more on each turn. Our context window guide covers /context for seeing where a session's tokens go.
  • Admins can cap it. maxEffortLevel and organization limits cap the level, and the lower cap wins.

For Fable 5.2 itself and its fast mode, see our Claude Fable 5.2 post.

Frequently asked questions

What are the effort levels in Claude Code?

There are five: low, medium, high, xhigh and max. Lower levels are faster and cheaper; higher levels reason more, test more edge cases and verify more before answering. Opus 4.6 and Sonnet 4.6 support four, with no xhigh.

What is the default effort level in Claude Code?

It depends on the model. Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 default to medium. Opus 4.7 defaults to xhigh. The other models that support effort default to high. An organization can set its own default for its default model.

How do I change effort in Claude Code?

Run /effort to open a slider, or /effort followed by a level name to set it. You can also use the /model picker's arrow keys, the effort flag at launch, the CLAUDE_CODE_EFFORT_LEVEL environment variable, or effortLevel in settings.

Why doesn't /effort change anything?

Usually because CLAUDE_CODE_EFFORT_LEVEL is set. The environment variable takes priority over a level picked in the session, the launch flag and settings. Unset it, or set it to auto, and /effort takes effect.

Should I use max effort in Claude Code?

Only for hard problems Claude works through without you, such as hunting security vulnerabilities. Anthropic's docs warn that max may show diminishing returns and is prone to overthinking, so test it before adopting it broadly. It also applies to the current session only.

What does ultrathink do in Claude Code?

Putting ultrathink in a prompt asks for deeper reasoning on that turn without changing the session's effort level. Where it shows in rainbow colors, it also raises that turn to xhigh. Phrases like think hard are not keywords.

Is effort the same on every model?

No. The scale is calibrated per model, so the same level name doesn't mean the same amount of reasoning on different models. A level a model doesn't support falls back to the highest one below it.

Put the level where the work is

A level you choose per session is easy to forget. Writing it where the work is defined, in a subagent's or skill's effort field, keeps the decision with the task: low for a quick formatter, high for a reviewer. That is the same habit as keeping rules in CLAUDE.md and adding one each time something goes wrong, the method in our guide to compound engineering for Claude Code. For when to hand work to a subagent at all, see our Claude Code subagents guide.

#claude-code#Effort#Context#Token Usage#ai-agents
Free assessment

Stop guessing. Score your first workflow.

Score one workflow in about five minutes. Nine questions, a grade, and the specific gap holding it back - no call required.