Skip to content
Go back

Claude Code /effort levels: low to max, defaults, and ultrathink

Updated:  at  08:12 AM

Quick answer: Type /effort in Claude Code and pick a level: low, medium, high, xhigh, or max. Opus 5.5 (the current default model) starts at medium. Most other models start at high. Your choice is saved per model, except max, which only lasts for the current session. Typing ultrathink in a prompt bumps just that one turn without touching your setting.

If you’ve ever wondered why Claude sometimes gives you a three-paragraph novel when you asked a yes/no question, or why it burns through your context window planning something you could’ve done in two minutes, effort is the knob you’re looking for.

Table of contents

Open Table of contents

Effort levels at a glance

LevelWhat Claude doesUse it for
lowSkips thinking on simple asks, minimal tool calls, short answersRenames, typos, boilerplate
mediumThinks when the problem needs itDefault on Opus 5.5. Fine for most day-to-day work
highAlmost always thinks, reads related files unpromptedPlenty for most Claude Code work
xhighDeeper reasoning than high without going all the wayPlanning and multi-step work. Where I live now
maxFull send. No holding back on thinking or explorationArchitecture calls, security reviews, “I’ve been stuck for an hour”
autoClears your saved level and goes back to the model’s defaultResetting after you’ve been fiddling

xhigh is the newest level. It works on the 5.x models (Opus, Sonnet, Haiku, and Fable) plus Opus 4.7 and 4.8. Opus 4.6 and Sonnet 4.6 don’t have it, so xhigh quietly runs as high on those.1

What does effort actually control?

It’s not just thinking depth. The effort level changes three things at once:

Thinking depth. How much internal reasoning Claude does before responding. At low, it often skips thinking entirely. At max, it can reason for thousands of tokens before writing a single word.

Tool call appetite. At higher effort, Claude is more willing to read additional files, run extra commands, and explore before acting. At low, it does the minimum. I learned this the hard way when I set low for a refactoring session and Claude just… renamed the function without checking who called it. Three broken imports later, lesson learned.

Response length. Higher effort produces longer, more detailed responses. Lower effort keeps things tight.

This is why effort feels like it changes Claude’s personality. low Claude is your coworker who gives one-word Slack replies. max Claude is the one who writes a design doc for a button color change.

What’s the default effort in Claude Code?

It depends on the model:1

Opus 5.5 is what default and opus point to on Anthropic’s API, so if you haven’t changed anything, you’re probably running at medium. Which is fine for a lot of things. It is not fine for everything.

One wrinkle: Anthropic’s API docs say Sonnet 5.5 defaults to high when you call it directly, while the Claude Code docs say medium.2 If you care, set it explicitly and stop guessing.

How to set effort in Claude Code

The /effort command. Type /effort with no level and you get a slider. Arrow keys to pick, Enter to save it as your default for that model, s to use it for this session only. Or skip the slider:

/effort low
/effort medium
/effort high
/effort xhigh
/effort max
/effort auto

The /model picker. Left and right arrows adjust effort right there while you pick a model. Handy if you’re switching both at once.

The --effort flag. Sets it for one session at launch:

claude --effort low

I use this for cleanup passes (rename things, fix formatting, quick edits) where I know I don’t need deep reasoning.

The environment variable. CLAUDE_CODE_EFFORT_LEVEL=high (or auto) overrides everything else. It’s also the only way to make max stick across sessions. (Use responsibly. Your usage limits are watching.)

Settings. Your saved level lives per model under modelSettings in your user settings. There’s also an effortLevel key for a general default, but it only takes low through xhigh (not max), and a top-level effortLevel in user settings doesn’t apply to Opus 5.5.1

What persists and what doesn’t

Ultrathink and trigger words

This used to be its own post on thinking triggers. It lives here now. The short version: the old ladder of “think”, “think hard”, “think harder” is dead. Claude Code doesn’t recognize those as keywords anymore.1 They’re just words.

ultrathink still works. Put it anywhere in your prompt and Claude reasons harder on that one turn. On current models through Anthropic’s API, that turn runs at xhigh. Type it while Claude is already working and it raises the rest of that turn.3 It doesn’t change your saved /effort setting, so the next prompt goes back to normal.

When it’s worth typing:

Debugging. There are so many variables that get overlooked in a quick pass. Race conditions, state mutations, that one edge case you forgot about three files ago. It’s like the difference between asking your kid “did you clean your room?” and “show me under the bed.”

Architecture decisions. When I want Claude to actually weigh tradeoffs instead of picking the first reasonable option.

When it’s not clicking. I’ve given context and examples and it’s still off. That’s when I stop treating Claude like a tool and start treating it like a coworker. “Ultrathink with me here, what are we missing?” Sounds silly. Works.

So which one? /effort when you’re switching modes for a stretch of work (batch of quick edits: low; nasty bug hunt: max). ultrathink when you’re mid-flow and want one prompt to get extra attention without changing anything else.

The thinking toggle

Separate from effort: Option+T on macOS (Alt+T on Windows/Linux) toggles thinking on and off, and /config sets the default. On the 5.5 models and Fable, thinking can’t be turned off in Claude Code at all. Effort is the knob that matters there.

The part nobody talks about: cost

Higher effort means more tokens (thinking burns tokens on reasoning you never see), more output, more tool calls, and more time. All of that adds up against your plan limits.

On a quick task, the difference between low and max can be 10x in time and tokens. I once ran a batch rename across 12 files at max because I forgot to change it back. Took four minutes and cost probably 50x what low would have. On the flip side, max once caught a race condition in my auth flow that I’d been debugging for an hour. Paid for itself in five minutes.

How I actually set effort

Here’s my real setup, not the theoretical one.

Planning and multi-step work: Opus 5.5 at xhigh. This is where I spend most of my time. A typical example from this blog: pull Search Console, pull Ahrefs, pull GA4, pull Semrush, look at who’s ranking on page one for the keywords I want, then build data around all of it and review it. That’s a lot of data to chew through. At lower effort, the model gets lazy and misses things an amateur should catch.

So I don’t trust one pass. I have it grill me, I grill it back, and when I’m short on time I send a couple of agents to blind-check the findings and the math. Trust me, I watch my context window very closely.

Day-to-day Claude Code: Opus 5.5 at high. For most coding, high is enough. I don’t need a dissertation to fix a component.

A second opinion: Fable 5.2. I’ll pull Fable in to review work or to start the plan. When Fable writes the plan, I drop Opus down to high for the execution instead of xhigh. Maybe that’s just me, but the split works better than one model doing everything at max.

My daily brief: Sonnet 5.5. It writes up my day: what’s going on, what I should look at, what’s actually important.

Threads: my manager thread runs Opus 5.5 at xhigh. The worker threads run Opus 5.5 at medium or high. The manager does the thinking. The workers do the work. (Like a real company, except nobody schedules a meeting about the meeting.)

And ultrathink? I barely use it anymore. When I’m in the terminal, I’ll type ultrathink instead of pulling in Fable. But most of my work moved to the desktop app with projects and threads, so the terminal (and ultrathink with it) sees a lot less of me than it used to.

If you want a simple rule: live at high. Drop to low for grunt work. xhigh when there’s a lot of data or a lot of steps. max when the stakes are real and you’re watching the bill.

What about the API?

If you’re building with Claude directly, effort lives in output_config:2

response = client.messages.create(
    model="claude-opus-5-5",
    max_tokens=4096,
    output_config={"effort": "medium"},
    messages=[{"role": "user", "content": "..."}],
)

Allowed values are low, medium, high, xhigh, and max. Leave it off and you get the model default (medium on Opus 5.5 and Haiku 5.5, high on most others). Whether Claude thinks at all is a separate thinking parameter. Effort controls how deep it goes once it does.

One gotcha: on Sonnet 5.5 and Haiku 5.5, xhigh and max return a 400 error if thinking is disabled. Same for Opus 5 and 5.5 with thinking disabled.2

One fun note: if you’re on a Max or Ultra plan, you get API credits every month. $100 on Max, $200 on Ultra, ongoing. So you should be using the API for the things you’re building and testing. Free money is the best kind of money.

The obligatory FAQ (hi, Google)

This part’s mostly for Google and the AI bots. You’re welcome to stay.

What does effort mean in Claude Code? How hard Claude works on each response: how much it thinks, how many files it reads and commands it runs, and how long its answers are.

What’s the difference between max and medium effort? medium thinks only when the problem seems to need it. max reasons as deeply as it can on everything, explores more, and uses a lot more tokens and time.

Does higher effort use more tokens? Yes. Thinking tokens count against your usage even though you don’t see them. max on a simple task is mostly waste.

How do I set Claude Code to max effort permanently? /effort max only lasts for the session. To make it stick, set CLAUDE_CODE_EFFORT_LEVEL=max in your shell profile.

Does “think hard” still work? No. Only ultrathink is still a recognized keyword.


Want more Claude Code tips? See how I resume and search old conversations, edit a previous prompt with double Escape, and my full workflow.

Footnotes

  1. Model configuration - Claude Code Docs ↩ ↩2 ↩3 ↩4

  2. Effort - Claude Platform Docs ↩ ↩2 ↩3

  3. Claude Code changelog (v2.1.311) ↩

More in this series

New posts, shipping stories, and nerdy links straight to your inbox.

Real insights. Zero filler.


Share this post on:

Previous Post
Claude Code automation: AI agents that write and test code
Next Post
Claude Code chat history: resume sessions, search, and fix 'No conversation found'