Home › Rules › Claude Code effort levels

Claude Code effort levels: low to max, ultrathink, ultracode, and how to set them

From Anthropic's own pages (Claude Code Model configuration, Settings reference, Workflows, Skills, Subagents, Manage costs and Environment variables docs; the Claude API Effort page), checked Nov 12, 2026. Sources below.

Short answer: effort is how hard Claude thinks before it answers. Claude Code has five levels, low, medium, high, xhigh and max, and the four current models (Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5) all start at medium. Change it with /effort. Ultrathink is a word you type in a prompt to make that one turn think harder. Ultracode isn't a level at all: it's a switch that has Claude plan a multi-agent workflow for each big task, and it burns through usage much faster. Anthropic says max "may show diminishing returns and is prone to overthinking", so most people never need it.

The five effort levels, and when to use each one

This is Anthropic's own guide to the levels from the Claude Code docs, shortened. Higher levels use more tokens, take longer and count more against your plan's limits.

LevelWhen Anthropic says to use it
lowQuick back-and-forth where you check each result: brainstorming, a first sketch, a rename.
mediumEveryday work with a clear scope, like building a new feature. The default on the four current models.
highWork where checking matters or edge cases are likely, like fixing a bug in an existing codebase. The default on most older models.
xhighDeeper reasoning at higher token spend. The default on Opus 4.7.
maxHard problems you want Claude to work through without you, like hunting for security holes. Test it before you use it a lot.
ultracodeNot a level. A setting that plans a workflow for each substantive task, at whatever level you're on (below).

Anthropic's own test notes say that at higher levels Claude tested more edge cases, checked more of its own work and made more choices on its own, while lower levels gave a starting point sooner. Two more things from the docs worth knowing: the scale is set per model, so high on one model isn't the same amount of thinking as high on another, and in Anthropic's testing Opus 5.5 at medium "matches or exceeds Opus 5 at high" on coding. If you came over from Opus 5, Anthropic's advice is to start at medium rather than carry your old level over.

Which models have which levels, and their defaults

Claude Code sends its own default, which isn't always the Claude API's default. That matters if you tell Claude Code to send no level (see auto below).

ModelLevelsClaude Code defaultClaude API default
Opus 5.5, Haiku 5.5all fivemediummedium
Fable 5.2, Sonnet 5.5all fivemediumhigh
Opus 4.7all fivexhighhigh
Fable 5.1 and 5, Opus 5, Sonnet 5, Opus 4.8all fivehighhigh
Opus 4.6, Sonnet 4.6low, medium, high, max (no xhigh)highhigh

Set a level a model doesn't have and Claude Code uses the next one down: xhigh runs as high on Opus 4.6. Models not in the table don't use effort at all. The full model list, aliases and prices are on our Claude Code models page.

How to set the effort level

The effort commands, from Anthropic's docs
/effort                     # open the slider (Enter = save as default, s = this session only)
/effort high                # set a level and save it as your default for this model
/effort auto                # clear the level you saved for this model
/effort status              # see the level that applies right now
/effort ultracode           # turn ultracode on for this session
/effort ultracode off       # turn it off again
claude --effort max         # start one session at max
claude --effort ultracode   # start one session at xhigh with ultracode on

Save it or use it once

In the /effort slider or the /model picker, Enter saves the level as your default for that model and s applies it to this session only (Claude Code v2.1.257 or later). Typing /effort high also saves it. Claude Code writes saved levels under modelSettings in your user settings, so each model keeps its own. A few picks never save: max (unless it comes from the environment variable), anything in a claude -p run, the Agent SDK, and Remote Control picks.

Which setting wins

Claude Code takes the first one of these that applies:

  1. The CLAUDE_CODE_EFFORT_LEVEL environment variable.
  2. A level you pick in the session (/effort or the /model slider).
  3. The --effort flag you started with.
  4. Your settings: the level saved for that model, or effortLevel. Between settings files, the normal settings order applies, so a managed (company) setting beats your own.
  5. The model's own default.

On top of all of that, a cap (maxEffortLevel or your company's limit) can still pull the level down.

The Opus 5.5 catch

If you set effortLevel in your own ~/.claude/settings.json before Claude Code started saving levels per model (before v2.1.251), that old key doesn't count for Opus 5.5 or any newer model. Anthropic's docs say those models "start at their own default until you choose a level for them". So if you had "effortLevel": "high" and Opus 5.5 feels lighter than you expected, that's why. Run /effort high once on Opus 5.5 and it's saved for that model. (A top-level effortLevel in a project, local or managed settings file still applies to every model.)

Our example settings: a level per model and a ceiling

Our example (VibeKits): Opus at high, Haiku at low, never above xhigh
{
  "modelSettings": {
    "claude-opus-5-5": { "effortLevel": "high" },
    "claude-haiku-5-5": { "effortLevel": "low" }
  },
  "maxEffortLevel": "xhigh"
}

What it does: Opus 5.5 runs at high, Haiku 5.5 at low, and every other model at its own default. maxEffortLevel is a ceiling: anything set higher runs at xhigh instead, including /effort max, the environment variable and skill or subagent files. It needs Claude Code v2.1.267 or later. A "max" cap means no cap, and when several settings files set a cap, the lowest one wins. To lift the cap for one model, give that model "maxEffortLevel": "max" inside its modelSettings entry.

Ultrathink: one hard turn

Type ultrathink anywhere in a prompt and Claude thinks harder on that turn only, without changing your setting. In the terminal it can also raise that turn to xhigh; when it does, the word shows in rainbow colors (Claude Code v2.1.311 or later). Other phrases like "think", "think hard" or "think more" aren't keywords. Claude Code passes them along as normal words.

If the word isn't rainbow, Anthropic's fixes are: retype it outside quotes, brackets, a file path or a command, in a prompt that doesn't start with /; unset CLAUDE_CODE_EFFORT_LEVEL if it's set below xhigh, or raise your maxEffortLevel; or switch to Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2 or Fable 5.1 with /model. On some providers, like Amazon Bedrock, the word can't raise a turn, so set the level instead.

Ultracode: what it is and what it costs

Ultracode turns on dynamic workflows for every big task in the session. A workflow is a script Claude writes that runs many subagents at once, for jobs like a codebase-wide bug sweep or a 500-file migration. Ultracode doesn't change your effort level; it runs at whatever level you're on. How to run, approve, save and pay for workflows, plus /deep-research: Claude Code workflows.

Ultrathink vs ultracode vs max

ultrathinkultracodemax
What it isA word in your promptA setting (or a word for one task)The top effort level
How long it lastsThat one turnThe session, or every session with the settingThe session (unless set by the environment variable)
What changesClaude thinks harder; the turn can go to xhighClaude plans multi-agent workflows for big tasksDeepest thinking on every turn
Changes your level?NoNo (except --effort ultracode, which sets xhigh)Yes
Use it forOne tricky question in a normal sessionBig audits, migrations, cross-checked researchHard problems you leave Claude alone with

Matching kit: MVP Spec-to-Build Pack ($7)

The free rules set the boundaries. The MVP pack gives you the build order: a 1-page spec to fill in first, then 7 prompts in sequence (skeleton, review, login, database, security, one feature at a time, polish), plus a "did I leak user data?" checklist.

See the MVP Spec-to-Build Pack ($7) →

Instant download. 7-day refund, no questions asked.

Effort in skills and subagents

Add effort: to the top of a skill's SKILL.md or a subagent's file and that job runs at its own level, whatever the session is set to. A skill's level lasts until the end of the turn it runs in (or for the whole forked run with context: fork). A subagent's level lasts while it runs, and Claude can pass a different level when it starts one (v2.1.292 or later). The environment variable still beats both, and a cap still limits both. Skills can also read the current level with ${CLAUDE_EFFORT}.

Our example (VibeKits): a review skill that always runs at high
---
name: careful-review
description: Reviews the staged changes for bugs, missing tests and security problems before a commit. Use when asked to review or check changes before committing.
effort: high
---

Effort for this review: ${CLAUDE_EFFORT}

1. Run `git diff --staged` and read every changed file in full.
2. List real problems only: bugs, missing tests for new code,
   secrets or keys in the diff, and unsafe input handling.
3. For each problem give the file, the line and a one-line fix.
4. If you find nothing, say "No problems found" and stop.
Don't edit any files.
Our example (VibeKits): a security subagent on Opus at xhigh
---
name: security-audit
description: Checks the codebase for security problems such as missing auth checks, injection and leaked secrets. Use for security reviews.
tools: Read, Grep, Glob
model: opus
effort: xhigh
---

Look for missing auth checks on routes, SQL or shell built from
user input, secrets committed to the repo, and unsafe file paths.
Report each finding with the file, the line, why it matters and a
suggested fix. Don't edit any files.

One thing that trips people up: a subagent with no effort of its own follows your session level only when it's on the same model as your main chat. On a different model, your level doesn't carry over, so set effort in its file. /tasks shows each subagent's model and level. More copy-paste files: Claude Code skills examples and Claude Code subagents examples.

Send no effort level (auto)

Start Claude Code from a shell with export CLAUDE_CODE_EFFORT_LEVEL=auto (or unset, same thing) and Claude Code sends no level, so the API's default applies instead of Claude Code's. Look at the table above before you do this: on Sonnet 5.5 and Fable 5.2 the API's default is high, not medium, so "auto" makes those two think more, not less. /effort status tells you which is happening: Effort level: auto means nothing is sent, and auto (currently high) means a level is still sent, usually because a maxEffortLevel below max applies. (Before v2.1.304, it showed "currently high" even when nothing was sent.)

Effort and thinking

On Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models you can't turn thinking off. The model decides per step how much to think, and effort is the dial. alwaysThinkingEnabled: false and MAX_THINKING_TOKENS=0 do nothing on those models. Alt+T (Option+T on a Mac) still toggles thinking on older models that allow it, and MAX_THINKING_TOKENS only sets a budget on Opus 4.6 and Sonnet 4.6 with adaptive thinking turned off. Thinking is collapsed by default (Ctrl+O shows it), but you pay for every thinking token either way. If you want Claude to think more or less often within a level, Anthropic says you can just say so in your prompt or in CLAUDE.md.

Effort and your usage limits

Effort is one of the easiest ways to make a plan last longer. /usage can show rows like 40% Switch from max to high effort · /effort high; press f and Claude Code runs that command for you (v2.1.305 or later). Anthropic's cost docs also suggest lowering effort for simple tasks. If you keep hitting limits, check which plan fits on our Claude Pro vs Max vs Ultra page.

Two smaller details: a new level starts with your next message, so if Claude is mid-task, type something like keep going and press Enter to queue it, and it picks up the new level after its current tool calls. And if Claude Code falls back to an older model after a safety flag, it keeps the level the flagged request ran at until you change it (run /effort status to check).

Effort level problems: 8 things to check

  1. Your level keeps getting ignored. CLAUDE_CODE_EFFORT_LEVEL is set somewhere (it beats /effort and --effort), or a skill or subagent set its own level for that turn. Run /effort status.
  2. Opus 5.5 is on medium even though you set high. Your old top-level effortLevel doesn't count for Opus 5.5. Run /effort high on Opus 5.5 once.
  3. max is gone in the next session. That's by design; max lasts one session. Use the environment variable to keep it, or use claude --effort max each time.
  4. You set max or xhigh and it runs lower. A maxEffortLevel cap or your company's limit applies, or the model doesn't have that level.
  5. "effortLevel": "max" in settings does nothing. Settings only take low to xhigh, and ultracode has its own key.
  6. The header says the new level but Claude still seems to be on the old one. The new level starts with your next message. Queue one, like keep going.
  7. /effort ultracode isn't offered. Workflows are off in /config or by setting, the model has no xhigh, or you're on Pro and haven't turned on Dynamic workflows. On versions before v2.1.284, /effort ultracode off fails with "Invalid argument"; run claude update.
  8. --effort ultracode says "Unknown --effort value". Your Claude Code is older than v2.1.203. Run claude update.

Where Anthropic's own pages don't agree

Related setups

Effort is one dial in a Claude Code setup. Pick the model on Claude Code models, put your project rules in CLAUDE.md, hand off jobs with subagents, save step-by-step tasks as skills, and use plan mode before big changes. Need a starting rules file? The free rules generator writes one.

Next step for Claude Code: Agent Skills

Skills are folders your AI coding agent loads only when the job comes up, and Claude Code, Cursor and OpenAI Codex all read the same SKILL.md format. The Vibe Coder Skills Pack ($9) is 6 ready-to-copy SKILL.md skills (fix-one-bug, stop-the-loop, leak-check, ship-check, explain-project, builder-handoff) for Claude Code, Cursor and OpenAI Codex. Also included in the 6-kit bundle.

Get the Skills Pack for $9 on Gumroad → See what's inside

One .zip of skill folders plus one markdown file. 7-day refund, no questions asked.

Best value

All 6 kits for $29 — or $20.30 with code WELCOME30 (through Nov 30)

A higher effort level makes Claude think harder about each step. A clear plan means fewer steps to think about. The kits give your AI the plan for the whole project, step by step: a small game, a Discord bot, an email-triage agent, an MVP, or a cleanup of messy code.

Get all 6 kits for $29 → See what's in each kit

$29 instead of $48 for the six kits bought separately; WELCOME30 takes 30% off that at checkout ($20.30). Instant download from Gumroad. 7-day refund, no questions asked.

Related

Sources

Every level, default, setting and version number here was checked Nov 12, 2026 on Anthropic's own Claude Code and Claude API docs. Anthropic changes these often, so run /effort status in your own Claude Code to see what applies to you. If something here no longer matches, tell us at [email protected].

Free rules starter pack for Cursor, Claude Code, Codex and Antigravity

One shared AGENTS.md that works across Cursor, Claude Code, Codex, Copilot and Antigravity, plus database and test rules in each tool's format. Unzip it into your project and fill in two sections. I'll email you the link.

After that, an occasional email when I publish a new guide or rules file.

Free. No spam. Unsubscribe anytime. See our privacy note.