Home › Rules › Claude Code effort levels
Claude Code effort levels: low to max, ultrathink, ultracode, and how to set them
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.
| Level | When Anthropic says to use it |
|---|---|
low | Quick back-and-forth where you check each result: brainstorming, a first sketch, a rename. |
medium | Everyday work with a clear scope, like building a new feature. The default on the four current models. |
high | Work where checking matters or edge cases are likely, like fixing a bug in an existing codebase. The default on most older models. |
xhigh | Deeper reasoning at higher token spend. The default on Opus 4.7. |
max | Hard problems you want Claude to work through without you, like hunting for security holes. Test it before you use it a lot. |
ultracode | Not 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).
| Model | Levels | Claude Code default | Claude API default |
|---|---|---|---|
| Opus 5.5, Haiku 5.5 | all five | medium | medium |
| Fable 5.2, Sonnet 5.5 | all five | medium | high |
| Opus 4.7 | all five | xhigh | high |
| Fable 5.1 and 5, Opus 5, Sonnet 5, Opus 4.8 | all five | high | high |
| Opus 4.6, Sonnet 4.6 | low, medium, high, max (no xhigh) | high | high |
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
/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
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.
Free. No spam. Unsubscribe anytime. See our privacy note.
/effortopens a slider./effort highsets it directly.- In
/model, the left and right arrow keys move the effort slider while you pick a model. There's no separate keyboard shortcut for effort in Anthropic's docs. claude --effort highsets it for one session when you start Claude Code. It also works withclaude agentsfor background sessions.CLAUDE_CODE_EFFORT_LEVEL, an environment variable, beats everything else. It's the only way to makemaxstick.- Settings files: a level per model under
modelSettings, oreffortLevelas the default for models you haven't saved one for. Both takelowtoxhighonly, notmax. - A skill or subagent file can set
effortfor while it runs (below). - Your phone or browser in a Remote Control session has an effort control too. That pick lasts for the session only.
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:
- The
CLAUDE_CODE_EFFORT_LEVELenvironment variable. - A level you pick in the session (
/effortor the/modelslider). - The
--effortflag you started with. - 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. - 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
{
"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.
- Turn it on:
/effort ultracodefor this session, or press Tab in the/effortslider and then Enter./effort ultracode offturns it off. To start every session with it, set"ultracode": truein settings (Claude Code reads that key but never writes it). claude --effort ultracodeis different: it turns ultracode on and sets the level toxhigh.- Just one task: put the word in your prompt, like
ultracode: audit every API endpoint under src/routes/ for missing auth checks. Saying "use a workflow" works too. If you didn't mean it, press Alt+W (Option+W on a Mac) to dismiss it. The keyword only works in prompts you type, not inclaude -p, scheduled tasks or pasted-in webhook text. - The cost: Anthropic's own words: each request "uses more tokens and takes longer", and on a subscription "a session with ultracode on reaches a session or weekly limit sooner". It also switches off the large-workflow warning and the 20-subagent limit. Turn it off when you go back to normal work.
- When you can't use it: if workflows are turned off (the Dynamic workflows row in
/config,"disableWorkflows": true, orCLAUDE_CODE_DISABLE_WORKFLOWS=1), or if the model has noxhigh. On the Pro plan, workflows are off until you turn them on in/config. - Older versions: before v2.1.284, ultracode forced
xhigh, and picking another level turned it off.
Ultrathink vs ultracode vs max
ultrathink | ultracode | max | |
|---|---|---|---|
| What it is | A word in your prompt | A setting (or a word for one task) | The top effort level |
| How long it lasts | That one turn | The session, or every session with the setting | The session (unless set by the environment variable) |
| What changes | Claude thinks harder; the turn can go to xhigh | Claude plans multi-agent workflows for big tasks | Deepest thinking on every turn |
| Changes your level? | No | No (except --effort ultracode, which sets xhigh) | Yes |
| Use it for | One tricky question in a normal session | Big audits, migrations, cross-checked research | Hard 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}.
---
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.
---
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
- Your level keeps getting ignored.
CLAUDE_CODE_EFFORT_LEVELis set somewhere (it beats/effortand--effort), or a skill or subagent set its own level for that turn. Run/effort status. - Opus 5.5 is on medium even though you set high. Your old top-level
effortLeveldoesn't count for Opus 5.5. Run/effort highon Opus 5.5 once. maxis gone in the next session. That's by design;maxlasts one session. Use the environment variable to keep it, or useclaude --effort maxeach time.- You set
maxorxhighand it runs lower. AmaxEffortLevelcap or your company's limit applies, or the model doesn't have that level. "effortLevel": "max"in settings does nothing. Settings only takelowtoxhigh, andultracodehas its own key.- 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. /effort ultracodeisn't offered. Workflows are off in/configor by setting, the model has noxhigh, or you're on Pro and haven't turned on Dynamic workflows. On versions before v2.1.284,/effort ultracode offfails with "Invalid argument"; runclaude update.--effort ultracodesays "Unknown --effort value". Your Claude Code is older than v2.1.203. Runclaude update.
Where Anthropic's own pages don't agree
- What
mediumis for. The Model configuration page callsmediumthe default that "fits day-to-day engineering work". The Settings reference still describes it as a level that "reduces token usage for cost-sensitive work that can trade off some intelligence". Both are Anthropic's words; the first is the newer framing for the current models. - The default level. Claude Code starts Sonnet 5.5 and Fable 5.2 at
medium, while the API's Effort page listshighas their default. Both can be true, because Claude Code sends its own default. It only matters if you useauto. - Turning thinking off to save money. The Manage costs page suggests "disabling thinking in
/config" for simple tasks, then says in the same paragraph that you can't on the current models. On those, lower the effort level instead.
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
- Claude Code models (full list, aliases, /model, opusplan, effort)
- Claude Pro vs Max vs Ultra (which plan for Claude Code)
- Claude Code skills examples (7 copy-paste SKILL.md files)
- Claude Code subagents examples (7 copy-paste subagents)
- Claude Code workflows (/deep-research, saving a workflow, workflows vs skills)
- Claude Code advisor (/advisor, which model can advise which, cost)
- Plan mode guide (6 tools + 6 plan prompts)
- CLAUDE.md examples (copy-paste template)
- Claude Code hooks examples (7 copy-paste hooks)
- Free rules file generator
Sources
- Claude Code docs: Model configuration (Adjust effort level)
- Claude Code docs: Settings reference (effortLevel, maxEffortLevel, modelSettings, ultracode)
- Claude Code docs: Dynamic workflows (ultracode)
- Claude Code docs: Skills (effort frontmatter)
- Claude Code docs: Subagents (choose an effort level)
- Claude Code docs: Manage costs effectively
- Claude Code docs: Environment variables
- Claude Code docs: CLI reference (--effort)
- Claude docs: Effort
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].