Harness Engineering 6 months ahead, in a few hours.

Claude Code effort level: which /effort setting to pick

Thomas Poulain · · Updated

The effort level sets how much Claude thinks at each step of a task in Claude Code. A low level answers faster and spends fewer tokens. Raise it for hard problems, where Claude needs to reason longer. You change it with the /effort command. Since v2.1.251, Claude Code saves one level per model, and since Opus 5.5 arrived in v2.1.280, the 5.5 models start at medium.

If you just moved to Opus 5.5, also read Opus 5.5 in Claude Code. For the setting that decides which actions Claude can run on its own, see auto mode.

What effort levels does Claude Code have?

There are five levels: low, medium, high, xhigh and max. The default depends on the model.

ModelLevelsDefault
Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2low to maxmedium
Fable 5.1, Fable 5, Opus 5, Sonnet 5, Opus 4.8low to maxhigh
Opus 4.7low to maxxhigh
Opus 4.6, Sonnet 4.6low, medium, high, maxhigh

Since v2.1.321, Fable 5.2 is the default Fable model. Like the 5.5 models, it starts at medium.

If you ask for a level the model doesn’t offer, Claude Code uses the highest supported level below it, so xhigh runs as high on Opus 4.6. The scale is calibrated per model, which means medium on Opus 5.5 isn’t the same as medium on Opus 5. According to the docs, Opus 5.5 at medium matches or beats Opus 5 at high on Anthropic’s coding evaluations. So when you move from Opus 5 to Opus 5.5, the docs advise starting at medium instead of carrying your old level over.

Which effort level should you use for which task?

The docs give one guideline per level.

LevelUse it for
lowQuick exchanges where you review each result, a first sketch, a rename
mediumDay-to-day work with a clear scope, such as a new feature
highWork where verification matters, such as fixing a bug in existing code
xhighDeeper reasoning at a higher token spend
maxHard problems Claude should work through without you, such as hunting security vulnerabilities

Thariq Shihipar, from the Claude Code team, describes his own loop in the “Spending your effort” post. He gives Claude a spec and asks it to interview him about missing details. He implements on low, reviews and iterates on low, then runs verification and tests on high. From the Terminal-Bench 3.0 results, he notes that higher effort mostly cuts failures from missed edge cases but doesn’t fix a wrong starting approach.

Keep max for hard problems Claude should work through on its own. The docs warn that it shows diminishing returns and tends to overthink, so try it on one task before making it your usual setting.

How do you change the level with /effort?

/effort            # opens the slider
/effort high       # sets the level directly
/effort status     # prints the level in effect
/effort auto       # clears the saved level for the active model

In the slider, Enter saves the level as your default for later sessions. s applies it to the current session only (v2.1.257). A level typed after /effort is saved the same way as Enter. max is the exception and only lasts for the session, unless you set it through the environment variable.

claude --effort high                  # one session
export CLAUDE_CODE_EFFORT_LEVEL=max   # wins over --effort and /effort

You can change the level while Claude is working, and the new level applies from the next request. On most models, the change makes the next request reread the whole conversation without cache, and Claude Code asks you to confirm while the cache is warm. On Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 with an API key or a Claude subscription, the cache survives and the change applies without asking.

Where does Claude Code save the effort level?

In your ~/.claude/settings.json, under the modelSettings key, with one entry per model.

{
  "modelSettings": {
    "claude-opus-5-5": {
      "effortLevel": "high"
    }
  }
}

Each model keeps its own level when you switch between them. The key accepts low, medium, high and xhigh, but not max.

Watch out for the older top-level effortLevel key, which /effort wrote before v2.1.251. In your user file, it still applies to Opus 5, Fable 5.1 and older models, but Opus 5.5 and later models ignore it. In a project, local or managed settings file, it applies to every model. That’s why Opus 5.5 can start at medium even though you set a level long ago.

What does ultrathink do?

Put ultrathink anywhere in your prompt to ask for deeper reasoning on that turn. Claude Code adds an instruction to the context and leaves your session setting unchanged. Since v2.1.311 in the terminal, and v2.1.316 in VS Code and Claude Desktop’s Code tab, it also runs that turn at xhigh effort on Anthropic’s API, with Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2 or Fable 5.1. The word then shows in rainbow colors. On Amazon Bedrock, Google Cloud’s Agent Platform or a Claude apps gateway, it doesn’t raise the effort, so set the level with /effort instead. Since v2.1.316, CLAUDE_CODE_DISABLE_ULTRATHINK=1 turns the keyword off. Phrases such as “think hard” or “think more” go through as ordinary text and trigger nothing special.

How do you set effort for a subagent or a skill?

Add an effort field to the file’s frontmatter. For a subagent, it overrides the session level while that subagent runs. For a skill, it applies for the rest of the current turn.

---
name: verifier
description: Runs the tests and checks edge cases after a change
effort: high
---

Since v2.1.292, Claude can also pass a level when it starts a subagent, if you ask it to. That parameter takes precedence over the effort field, and CLAUDE_CODE_EFFORT_LEVEL still wins over both.

How do you cap effort for a team?

The maxEffortLevel setting (v2.1.267) sets a ceiling. Any higher level runs at the cap, whether it comes from /effort, --effort, the environment variable or a subagent’s frontmatter. Deploy it in managed settings to enforce it across your organization. A model can get its own cap in modelSettings, and a max value there exempts it from the cap set in the same file.

{
  "maxEffortLevel": "medium",
  "modelSettings": {
    "claude-sonnet-4-6": {
      "maxEffortLevel": "max"
    }
  }
}

To see what effort costs you, open /usage. On Pro, Max, Team and Enterprise plans it can recommend dropping a level, and since v2.1.305 pressing f runs the suggested /effort command.


Section 3.7 of module 3, Advanced configuration shows how to choose your model and effort level in your settings. To keep context and token use under control in long sessions, see module 7, Optimization and pro workflow.

To see these articles more often on Google, add Harness Engineering to your preferred sources.

You might also like