Ultracode in Claude Code: What It Actually Does (and When Not To)
Ultracode makes Claude Code plan Dynamic Workflows at any effort level since v2.1.284. How it differs from max and ultrathink, and its cost.
Agentic Orchestration Kit for Claude Code.
Ultracode is "a Claude Code setting rather than a model effort level": with it on, Claude plans a Dynamic Workflow for each substantive task, at whatever effort level the session runs. A single Claude context window has three predictable failure modes on hard work. It quits early on a fifty-item task after finishing thirty-five and calls it done. It grades its own output too generously when you ask it to verify itself. And it slowly loses the thread of your original goal as the conversation gets long enough to need compaction. Dynamic Workflows fix all three by spreading the work across separate Claudes, each with a clean context window and one focused job. The catch is that you normally have to ask for a workflow. Ultracode is the setting that makes Claude reach for one on its own.
That is the whole idea: ultracode is the workflow switch, left on for the session. With it on, Claude plans a Dynamic Workflow for each substantive task, so a request that would otherwise run in one overloaded window gets fanned out across verifying subagents without you asking. It shipped in Claude Code v2.1.154 on May 28, 2026, alongside Claude Opus 4.8, as an option on the /effort slider that forced xhigh. Since v2.1.284 on September 28, 2026, it is its own toggle that runs at whatever effort level the session uses. This guide covers what ultracode does today, how it combines with xhigh, max, and ultrathink, every way to turn it on and off, where it shows up, and what it costs at each effort level.
What Ultracode Actually Is
Here is the current definition from Anthropic's model configuration docs, quoted in full because the wording changed:
"Ultracode is a Claude Code setting rather than a model effort level: with it on, Claude orchestrates dynamic workflows for substantive tasks, at whichever effort level the session runs at."
Ultracode is not a rung on the reasoning ladder, and it no longer moves you to a different rung. Effort decides how hard Claude thinks on each turn. Ultracode decides whether a substantive task runs as one conversation or as a workflow of many agents. The two dials are independent, so medium with ultracode on and xhigh with ultracode off are both normal sessions, with very different bills.
The orchestration is where the leverage lives, and it is exactly the fix for the three failure modes above. A workflow spreads the task across isolated agents so no single window has to hold all fifty items, which kills the early quitting. It hands verification to a separate agent that never wrote the answer it is judging, which removes the self-preferential bias. And it keeps each agent's window short enough that goal drift never sets in, because the agent finishes and returns before compaction can blur the objective. For the full mechanics of how a workflow plans, fans out, and verifies, read the Dynamic Workflows guide. This post owns the setting and its cost.
How Ultracode Triggers a Workflow
You never ask. When ultracode is on, Claude Code announces it to Claude (v2.1.299 fixed scheduled tasks and headless turns missing that announcement), and in our reading of the v2.1.322 binary the announcement is a system reminder that Claude treats as a standing opt-in. From then on, as the workflows docs put it, "Claude decides when a task warrants a workflow." A single request can become several workflows in a row: "one to understand the code, one to make the change, and one to verify it. This applies to every task in the session, so each request uses more tokens and takes longer than the same request without a workflow."
That is the trade. You buy depth and built-in verification on every task, and you pay for it in tokens and wall-clock time whether the task needed it or not. The agents a run spawns still use your permission rules, so ultracode changes how Claude structures the work, not what it is allowed to do.
What Changed in v2.1.284
The v2.1.284 CHANGELOG entry turned ultracode into "its own toggle in /effort" that "no longer forces xhigh effort and stays on at any effort level." Every older write-up, including earlier versions of this guide, describes the left column.
| Before v2.1.284 | v2.1.284 and later | |
|---|---|---|
| Effort while it is on | Forced to xhigh | Whatever level the session runs at |
| Picking another effort level | Switched ultracode off | Leaves ultracode on |
An effort cap below xhigh | Made ultracode unavailable | Ultracode stays on at the capped level |
| Turning it off | Pick another level (/effort ultracode off wasn't available) | /effort ultracode off, or Tab in the /effort slider |
The "ultracode": true setting | Ran the session at xhigh | Leaves the effort level alone |
claude --effort ultracode | xhigh with ultracode on | Unchanged: still xhigh with ultracode on |
The last row trips people up. The launch flag and the Agent SDK effortLevel: "ultracode" value are the only routes that still set xhigh. Every other route leaves your level where it was. On Opus 5.5, which starts at medium in Claude Code, turning ultracode on with /effort ultracode now runs your workflows at medium unless you raise the level yourself.
Ultracode vs xhigh vs max vs ultrathink: Which One to Pick
Ultracode vs max is no longer an either-or: you can run ultracode at max. Since v2.1.284, max sets how hard each turn thinks and ultracode sets whether a task runs as a workflow, so the two combine. Of the four names people compare, three set reasoning depth and one sets the shape of the work. xhigh is the deep level you can save as a default. max is the deepest level and resets each session. ultrathink is a word you type to raise one turn. ultracode is the switch that moves substantive tasks into workflows, at whichever level you picked.
So the decision comes in two parts. First pick a level for how hard each turn should think. Then decide whether the session's tasks are big enough that one window will quit early or grade itself too kindly. If they are, turn ultracode on at that level.
| Setting | What it is | Effort sent | Triggers workflows? | Scope | Persists across sessions? |
|---|---|---|---|---|---|
xhigh | A model effort level (deep reasoning, higher token spend) | xhigh | No | Session-wide setting | Yes, saved per model when you confirm with Enter |
max | A model effort level (deepest reasoning) | max | No | Session-wide setting | No (session-only) |
ultrathink | A one-turn prompt keyword for deeper reasoning | xhigh for that turn on supported models (v2.1.311), else unchanged | No | A single turn | N/A (not a setting) |
ultracode | A Claude Code toggle for automatic workflow orchestration | The session's level (xhigh only via --effort ultracode) | Yes (automatic) | Session-wide setting | This session via /effort, every session via the ultracode setting |
The ultracode vs ultrathink distinction trips up the most people, and v2.1.311 on October 26, 2026 made ultrathink stronger. Drop the word anywhere in a prompt and Claude Code adds an in-context instruction to think harder on that turn. Typed at the interactive terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2, or Fable 5.1 through Anthropic's API, it also runs that one turn at xhigh and shows the word in rainbow colors. Typed while Claude is already working, it raises the rest of that turn. The VS Code chat box gained the same behavior in v2.1.316, and CLAUDE_CODE_DISABLE_ULTRATHINK turns the keyword off. Where it cannot raise the turn, such as on Amazon Bedrock, it stays an instruction only. Either way it changes nothing after that turn and never starts a workflow.
Ultracode is the opposite shape: a session-wide switch that leaves your effort level alone and auto-orchestrates workflows for every substantive task until you turn it off. One raises how hard a single turn thinks. The other changes what Claude does with every task. They share four letters and nothing else.
The xhigh vs ultracode line is cleaner through the failure-mode lens. xhigh with ultracode off still runs in one context window, so it is still exposed to early quitting, self-grading, and goal drift on big tasks. Ultracode at any level adds the workflow layer that structurally removes those risks. To reproduce the old ultracode exactly, set /effort xhigh and then run /effort ultracode, or launch with claude --effort ultracode. If you want deeper reasoning without Claude spinning up subagents on its own, set xhigh and leave ultracode off.
The Claude Code Effort Ladder
Effort levels control adaptive reasoning, which lets the model decide whether and how much to think on each step. Here is the full ladder, with use cases and persistence behavior.
| Level | Use it for | Persists across sessions |
|---|---|---|
low | Short, scoped, latency-sensitive tasks that aren't intelligence-sensitive | Yes |
medium | Cost-sensitive work that can trade off some intelligence. Default on Opus 5.5, and on Fable 5.2 in Claude Code | Yes |
high | The balanced default for most coding. Default on Opus 5, Fable 5, Opus 4.8 | Yes |
xhigh | Deeper reasoning at higher token spend. Anthropic's start point on Opus 5 | Yes |
max | Deepest reasoning. Prone to overthinking, test before adopting | No (session-only) |
Ultracode sits beside the ladder, not on it. The five rungs change reasoning depth within a single window. Ultracode changes the execution shape, moving substantive work out of one window and into many, and Anthropic's own effort table describes it as a setting that "plans a dynamic workflow for each substantive task at any effort level." That is why it defeats the structural failure modes instead of just thinking harder inside them, and why it combines with any rung rather than replacing one.
Which rungs you actually see depends on the model. Ultracode no longer runs at xhigh, but it still requires a model that supports it: the toggle appears in /effort only on xhigh-capable models with workflows enabled.
| Model | Ladder | Default | Ultracode in /effort? |
|---|---|---|---|
| Fable 5.2 | low through max | medium | Yes |
| Opus 5.5 | low through max | medium | Yes |
| Opus 5 | low through max, no beta header needed | high | Yes |
| Fable 5 | low through max | high | Yes |
| Opus 4.8 | low, medium, high, xhigh, max | high | Yes |
| Opus 4.7 | low, medium, high, xhigh, max | xhigh | Yes |
| Sonnet 5.5 | low through max | medium | Yes |
| Haiku 5.5 | low through max | medium | Yes |
| Opus 4.6, Sonnet 4.6 | low, medium, high, max, no xhigh | high | No |
Sonnet 5.5 and Haiku 5.5 in that table surprise people: both carry the full ladder including xhigh, so ultracode is available on the cheaper tiers too. A fan-out multiplies whatever per-token rate you are paying, and Haiku 5.5's is now the lowest of any xhigh-capable model, from $0.10/$0.50 per million tokens on prompts up to 100,000 tokens, with Sonnet 5.5 next at $2/$10, half the Opus 5.5 rate. Two cautions before you fan Haiku 5.5 out. Every request whose prompt passes 100,000 tokens pays its higher $0.50/$2.50 rate, and agents that read a large slice of a codebase cross that line quickly. And Anthropic says Sonnet 5.5 and Opus 5.5 "remain better choices for complex agentic coding tasks," so keep Haiku 5.5 on narrow stages such as lookups, classification, and summaries.
Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2 carry the same low through max ladder and are the exceptions on defaults: all four start at medium in Claude Code, and a level you saved before /effort became per-model does not apply to them, so they stay at medium until you pick a level. Fable 5.2's Claude Code default is a change from Fable 5.1, which started at high, and Sonnet 5.5's is a change from Sonnet 5, which also started at high. On the API, Sonnet 5.5 and Fable 5.2 still default to high. The Opus 5.5 best practices and Fable 5.2 best practices guides cover which rung to use per task on each.
If you set a level the active model does not support, Claude Code falls back to the highest supported level at or below it, so xhigh runs as high on Opus 4.6 rather than erroring. And note one persistence quirk: when you first run Fable 5, Opus 4.8, or Opus 4.7, Claude Code applies that model's default effort and holds it across sessions until you make an explicit choice. Opus 5 has no such hold, so a level you set earlier carries over.
A common error worth correcting: the current models default to high, not xhigh. That holds for Opus 5, Fable 5, and Opus 4.8, and Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2 sit lower still at medium in Claude Code. Opus 4.7 was the only model that ever defaulted to xhigh, and that default did not carry forward. So anything above balanced effort is a deliberate opt-in on every model shipping today, and ultracode is a separate opt-in on top of whichever level you choose.
Opus 5 changes what the lower rungs are worth, which matters more than it sounds. Anthropic recommends starting at xhigh for coding and agentic work on Opus 5, and separately notes that low and medium are meaningfully stronger there than on earlier Opus models, so use them liberally wherever your evals show quality holds. It also recommends against porting effort settings you tuned on Opus 4.7 or 4.8: the cost-to-quality curve moved, so run a fresh sweep.
Model Is Who You Ask. Effort Is How Long They Work
The ladder above is one axis. Model choice is the other, and people collapse the two constantly, usually by turning effort up when they should have changed models, or by paying for a higher tier when a cheaper one at xhigh would have finished the job.
The distinction is easier to hold with a small mental model. Think of the lineup as people rather than tiers:
- Fable 5.2 is the specialist you call in for the longest and hardest work. Since November 9, 2026 it leads Opus 5.5 on most rows of Anthropic's launch table at $8/$40, twice the Opus 5.5 rate. On Max plans Fable models are capped at 50% of your weekly usage limits and weigh roughly double an Opus session against that bucket, which is a fair description of how you should treat a specialist's calendar.
- Opus 5.5 is the expert. Deep, broadly capable, and since September 22, 2026 it costs $4/$20, below the $5/$25 of Opus 5, and Anthropic still names it the starting point for most workloads. It is the default model in Claude Code on Pro, Max, Team, and Enterprise, so on a subscription there is no premium to ration.
- Sonnet 5.5 is the strong generalist. It will not out-reason the expert on the hardest work, and on well-scoped execution it is the correct answer anyway at $2/$10, exactly half the Opus 5.5 rate on every price line.
- Effort decides how long any of them works on the problem. It does not change who is answering.
That gives you a clean routing rule in three steps. First pick the person: does this need the expert, or will the generalist finish it identically? Then pick the duration: is this a medium, high, or xhigh question? Then pick the shape: is the task big enough that one window will quit early, so ultracode should fan it out at that level?
The failure mode worth naming is running the generalist at max on work that needed the expert at high. You pay for a great deal of thinking and still get an answer bounded by what that model knows. The model selection guide covers the first step in full, including what each tier costs and how the weekly allowance changes the math, and model versus effort covers when to turn which dial.
How to Enable Ultracode
Every route below turns ultracode on. Only two of them also change your effort level, and both set it to xhigh.
| Route | Effort level | Lasts | Needs |
|---|---|---|---|
/effort ultracode or /effort ultracode on | Unchanged | This session | The on and off arguments need v2.1.284 |
/effort slider: Tab flips the Ultracode toggle, Enter applies | Unchanged | This session | v2.1.284 |
| VS Code: the Ultracode switch under the Effort row | Unchanged | This session | v2.1.284 |
"ultracode": true in a settings file or --settings | Unchanged | Every session | v2.1.284 to stay on below xhigh |
claude --effort ultracode | Set to xhigh | This session | v2.1.203 |
Agent SDK applyFlagSettings() with effortLevel: "ultracode" | Set to xhigh | This session | v2.1.203 |
claude agents --effort ultracode | Set to xhigh | The sessions you dispatch | v2.1.210 (earlier versions dropped the value) |
At the prompt, turn it on or off directly:
Start a session with it on, which also sets the session to xhigh:
To start every session with ultracode on, set the ultracode key in any settings file, pass it with --settings on launch, or send it in an Agent SDK control request:
Claude Code reads that key but never writes it, so /effort ultracode never saves itself as a default. With the key set, /effort ultracode off still switches it off for a single session.
The Tab key in the slider is a rebindable action, effortSlider:toggleUltracode, added in v2.1.284. To flip ultracode with u as well, add a block to ~/.claude/keybindings.json (run /keybindings to create the file):
The --effort ultracode route needs Claude Code v2.1.203 or later. On older versions it prints Unknown --effort value 'ultracode' and the session quietly starts at your default effort instead, which is the kind of failure you only notice on the bill. On a model without xhigh, or with workflows turned off, the flag starts the session with ultracode off, at the highest effort level the model and any cap allow, up to xhigh.
How to Turn Ultracode Off
Run /effort ultracode off, or open the /effort slider, press Tab, and confirm with Enter. In VS Code, flip the Ultracode switch. Anthropic's guidance in the workflows docs is short: "Turn it off with /effort ultracode off when you return to routine work."
Lowering the effort level no longer does it. Before v2.1.284, /effort high switched ultracode off as a side effect, and older advice still tells you to drop back to /effort high. Today that lowers the level and leaves every substantive task on workflows. If you set the ultracode key, remove it to stop new sessions starting with it on.
Where Ultracode Shows
- Terminal. The
/effortslider carries the Ultracode toggle, and the effort indicator by the prompt shows it. In our reading of the v2.1.322 binary,/effort ultracodeconfirms with "Ultracode on (this session only)" followed by "Effort stays" and your level, and/effort statusappends "Ultracode on" when it is set. - The
/modelpicker. Its effort slider moves the level only, and per the model configuration docs, picking a level there "leaves ultracode as it was." In our reading of the v2.1.322 binary, the terminal picker binds only the arrow keys ands, so the toggle itself lives in/effort. - VS Code. When workflows are enabled and the model supports it, an Ultracode switch sits under the Effort slider, and the model pill shows
· Ultracodeat any effort level. Both arrived in v2.1.284, and v2.1.316 fixed the switch going missing on[1m]models such asopus[1m]. - Agent view. The dispatch input doesn't accept
/effort ultracode. Open agent view from your shell withclaude agents --effort ultracodeinstead. - Background, cloud, and scheduled sessions. With the
ultracodekey on, scheduled tasks and other headless turns get the announcement too (fixed in v2.1.299). Since v2.1.314, a background or cloud session started with ultracode stays off after you switch it off, instead of turning back on at its next start.
What Does Not Turn It On
The persisted effortLevel setting and the CLAUDE_CODE_EFFORT_LEVEL environment variable both handle low through xhigh and don't accept ultracode. Put "effortLevel": "ultracode" in your settings file and it won't take. Use the ultracode key instead.
The interaction runs the other way now. If CLAUDE_CODE_EFFORT_LEVEL or an organization effort cap sets the session's level, ultracode stays on at that level. Before v2.1.284, a level below xhigh turned ultracode off.
Run One Task as a Workflow Instead
If you want workflow behavior for a single task without committing the whole session to ultracode, there's an escape hatch. Include the keyword ultracode anywhere in a prompt and Claude Code runs that one task as a workflow without changing your effort level. Asking in your own words works too: "use a workflow" is treated as the same opt-in. (The literal trigger word was workflow before v2.1.160, which is why older write-ups still say so.) If the keyword fires when you didn't mean it, press Option+W on macOS or Alt+W on Windows and Linux to dismiss it for that prompt, or backspace right after the highlighted word. To switch the trigger off entirely, toggle "Ultracode keyword trigger" off in /config, or set "workflowKeywordTriggerEnabled": false. The toggle in /effort is unaffected either way.
The keyword is an opt-in only in a prompt you type yourself, at the interactive prompt, in an IDE panel, in a Remote Control client, or in an Agent SDK app that stamps your keystrokes as human input. It deliberately does not fire from a -p prompt, an unstamped SDK prompt, a scheduled task, or a webhook payload or pull request comment relayed into the conversation. That last one matters: before v2.1.210 a PR comment containing the keyword could start a workflow on your account.
Plan and Model Availability
Dynamic Workflows, which ultracode drives, are available on all paid plans, plus the Anthropic API, Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry. They require Claude Code v2.1.154 or later. Only Pro needs a toggle:
| Plan | Workflows default | What you do |
|---|---|---|
| Pro | Off | Turn on the Dynamic workflows row in /config |
| Max | On | Available out of the box |
| Team | On | Available out of the box |
| Enterprise | On | An admin can disable it org-wide in managed settings |
Pro is not gated out. That's a meaningful correction to the assumption that workflow-style orchestration is a Max-and-up feature. Pro users enable it from /config and then ultracode becomes available on xhigh-capable models just like anywhere else.
Two requirements gate everything. You need Claude Code v2.1.154 or later, so run claude update if you're behind. And ultracode only shows up when workflows are enabled. If you disable workflows through the /config toggle, through "disableWorkflows": true in settings, or through CLAUDE_CODE_DISABLE_WORKFLOWS=1, the Ultracode toggle is removed from /effort and the keyword stops triggering runs. No workflows means no ultracode, because ultracode is nothing but workflow orchestration.
If Fable 5.2 is the model behind your ultracode session, how to brief Fable 5.2 so the extra effort is not wasted covers the prompting habits that make the extra effort pay off.
The Token-Cost Reality Check
This is the section that matters most, so let's be precise and balanced about it.
The official cost language is direct. A workflow spawns many agents, so "a single run can use meaningfully more tokens than working through the same task in conversation. Runs count toward your plan's usage and rate limits." With ultracode on, that multiplier applies to every substantive task in the session, not just one run you chose to fire. On a subscription, the workflows docs add, a session with ultracode on "reaches a session or weekly limit sooner than the same work with it off." The same isolation that defeats the three failure modes is what makes ultracode expensive: you are paying for many agents instead of one, every time.
What Ultracode Costs at Each Effort Level
Since v2.1.284 your bill has two dials. Ultracode sets how many agents a task gets, and effort sets how hard each of them thinks. Workflows orchestrate subagents, and a subagent with no effort of its own runs at the level you picked for the session when it is on your session's model. The docs state that rule for subagents. Applying it to workflow agents is our reading, because each agent() call in a workflow "spawns one subagent". Since v2.1.316, CLAUDE_CODE_SUBAGENT_EFFORT sets "the effort level subagents run at when nothing else names one, instead of inheriting the session's", per the changelog. On another model, that level doesn't apply, and since v2.1.317 such a subagent uses that model's saved level or its default. So your session level is the per-agent multiplier for every stage the script leaves on your session's model.
| Session level | What it means for each agent | Our call with ultracode on |
|---|---|---|
low | Anthropic fits it to "quick exchanges where you review each result" | Rarely. Nobody reviews each step inside a workflow |
medium | The default on Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2, and /effort ultracode keeps it | The cheapest sensible fan-out: wide, mechanical work such as per-file changes and lookups |
high | "Work where verification matters or edge cases are likely" | The default pairing for audits and reviews |
xhigh | What ultracode forced before v2.1.284, and what --effort ultracode still sets | Hard migrations and plan stress-tests where each agent's judgment matters |
max | Session-only, and Anthropic warns it "is prone to overthinking" | Almost never. By our reading, every agent on your session's model runs at it unless CLAUDE_CODE_SUBAGENT_EFFORT names another level |
Anthropic's own tests describe the per-agent trade: at a higher level Claude "tested more edge cases and verified more of its work before answering," and at a lower level it "returned a starting point sooner." Inside a workflow, a separate verifier stage already does part of that checking, which is why we start fan-outs at medium or high per agent. That last call is our judgment, not an Anthropic figure.
The practical shift is easy to miss. Before v2.1.284, turning ultracode on with Opus 5.5 at its medium default jumped every agent to xhigh. The same /effort ultracode now keeps them at medium, which is cheaper per agent and a different quality bar. Pick the level on purpose before a big run and check it with /effort status. Since v2.1.299, /usage also warns about max effort and workflows.
No Token Cap, Only Agent Caps
Here is the part people miss: there is no token spending cap. What bounds a run is the agent caps: up to 16 concurrent agents by default, fewer on machines with fewer CPUs and adjustable from 1 to 256 with CLAUDE_CODE_WORKFLOW_MAX_CONCURRENT_AGENTS (v2.1.269), and 1,000 agents total per run. Those stop a runaway script rather than a costly one. A thousand agents is a very expensive ceiling.
Two real controls exist, and both are worth setting before you turn ultracode on:
The size guideline keeps the workflows Claude writes smaller. Set it in the Dynamic workflow size row of /config, or with the workflowSizeGuideline settings key (v2.1.219). small aims for fewer than 5 agents, medium fewer than 10, and large fewer than 50, while unrestricted lets Claude size each workflow to the task. The default is medium, or small on a Pro plan with v2.1.271 or later. Claude Code passes the guideline to Claude as advice, so a prompt calling for a different scale still overrides it, and the runtime caps apply regardless.
The large-workflow warning flags a run that schedules more than 25 agents or projects past 1.5 million tokens, showing a Large workflow notice on the run's progress line so you can stop it from /workflows. It is advisory: it does not pause or limit anything. Requires v2.1.203 or later. If you choose a size guideline yourself, its agent count replaces the 25-agent threshold, while the built-in default leaves it at 25.
And here is the trap. Turning ultracode on "already opts you in to large runs," so three safeguards switch off while it is on. The Large workflow warning never appears. The session's concurrent subagent limit isn't enforced for the subagents Claude spawns with the Agent tool. And in auto permission mode, you aren't asked to approve the first workflow launch. So the one automatic signal that a run is getting expensive is switched off by the exact setting most likely to make runs expensive. If you run ultracode, the warning is not coming. Watch /workflows yourself.
One more lever that costs nothing to pull: every workflow agent runs on your session's model unless the script names a model for its stage or another source assigns one. CLAUDE_CODE_SUBAGENT_MODEL sets the default for agents nothing else assigns, CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1 forces that model onto every subagent, teammate, and workflow agent (v2.1.257), and CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL runs every workflow agent on one model while other subagents keep theirs (v2.1.296). CLAUDE_CODE_SUBAGENT_EFFORT (v2.1.316) does the same for effort, setting the level subagents run at when nothing else names one. Check /model before a large run if you habitually sit on an expensive tier, and point workflow agents at Sonnet 5.5 so a fan-out multiplies the cheaper rate instead of the dearer one.
The community reaction reflects that double edge. These are practitioner reports, not Anthropic figures, so treat them as anecdotes rather than guaranteed numbers. On Hacker News, one user said they "spun up 62 Opus 4.8 sub-agents and hit the 5-hour cap in 18 minutes," and another described roughly 90 agents running to review a fairly small package. A more pointed critic called it "tokenmaxxing disguised as a product," while others reported reliability gripes about runs that "give up constantly." Separately, findskill.ai (citing r/ClaudeAI) reported a Max ($200/mo) user burning about 20% of their weekly token limit on day one, and a Pro user reportedly hitting their cap in roughly ten minutes. Those reports predate v2.1.284, when turning ultracode on also forced xhigh. The sentiment splits cleanly: powerful for genuinely large work, easy to overspend on small work.
The defense is straightforward: calibrate before you commit. Run ultracode on a scoped task first to see how it decomposes and how many subagents it spawns, then decide whether the budget makes sense for your real workload. Anthropic raised Claude Code's rate limits alongside the Opus 4.8 launch specifically to absorb heavier workflow consumption, so if you've bumped the old ceiling, the new headroom helps. If you want to cut the token cost of a long session, our usage optimization guide covers the patterns that keep multi-agent runs inside their token envelope. And because a fan-out is not automatically a win, see when fanning out across agents adds cost without adding quality before you leave ultracode on by default. The higher usage limits guide covers the rate-limit headroom directly.
When to Use Ultracode (and When to Avoid It)
The test is the same one the Dynamic Workflows guide lands on: does this task really need more compute? Most traditional coding tasks do not need a panel of five reviewers. Reserve ultracode for work you'd otherwise hand to several engineers in parallel, where the task naturally decomposes into independent angles that benefit from cross-checking. If it's one person, one afternoon, ultracode is overkill and a single agent at high or xhigh is the right tool.
Use ultracode when:
- You're running a codebase-wide audit (security, dead code, performance) where coverage matters more than speed, and the early-quitting failure mode would otherwise leave files unchecked.
- You're planning a migration that touches hundreds of files and you want every change verified before it lands. The large codebase playbook covers this class of work in depth.
- You're stress-testing a plan from multiple independent angles, where you specifically want agents that did not write the plan to try to refute it.
- The work is high-stakes enough that the adversarial verification loop is worth paying for.
Avoid ultracode when:
- The task fits a single agent in one pass. There is no failure mode to defeat, so the token cost dwarfs the benefit and the verification loop adds latency you don't need.
- You already know the role decomposition. If you can name "Frontend, Backend, Quality" up front, a deliberately structured Agent Teams setup gives you tighter control than letting Claude auto-orchestrate. For a side-by-side of when to reach for each, see Ultracode and Dynamic Workflows vs Agent Teams.
- You're doing routine editing. Ultracode applies its behavior to every substantive task, so ordinary changes get the full treatment whether they need it or not, and lowering the effort level does not switch it off.
One case deserves its own line: running ultracode with a Fable model such as Fable 5.2. Fable already draws on half your weekly allowance on Max plans, so a large fan-out under ultracode is the fastest way to burn through it. Check what ultracode does to your Fable weekly allowance before combining the two.
A few operational facts matter before you leave it on. The agents a workflow spawns use your permission rules, and Claude Code picks their permission mode the way it does for any subagent, so add the tools they need to your allow rules before a long run or it will stop on prompts. Parallel agents can step on each other when they edit the same file, which is why file-mutating fan-outs work in isolated copies. There's no mid-run human input, so you can't redirect an agent partway through. But a run isn't fragile: you can pause and resume it from /workflows, and a relaunched run with an unedited script serves its finished agents from the run's saved results instead of re-running them. Once an agent's prompt differs, that agent and every one after it runs again. For unattended runs, pair ultracode with Auto Mode. In auto mode the first-launch workflow approval is skipped entirely when ultracode is on, which keeps the parallelism flowing but removes one of your last manual checkpoints.
The runtime has guardrails beyond the agent caps. The workflow script has no direct filesystem or shell access of its own. Only the spawned agents read, write, and run commands. Those bounds limit the blast radius, but they don't impose a token cap, which is exactly why the cost discipline lands on you. The orchestration patterns underneath all of this map onto the broader thread model in thread-based engineering.
Frequently Asked Questions
Does ultracode still force xhigh effort?
No, not since Claude Code v2.1.284 on September 28, 2026. The CHANGELOG says ultracode "no longer forces xhigh effort and stays on at any effort level." It runs at whatever level the session uses. Two routes still set xhigh as they turn it on: launching with claude --effort ultracode, and the Agent SDK effortLevel: "ultracode" value. /effort ultracode, the slider toggle, the VS Code switch, and the ultracode setting leave your level alone.
Is ultracode better than max?
Neither is better, because they no longer compete. max is an effort level that sets how hard each turn thinks. Ultracode is a toggle that decides whether a substantive task runs as a workflow of verifying agents, and since v2.1.284 you can run it at max or any other level. Pick max for one hard problem that deserves deep reasoning in a single window. Turn ultracode on when the task is big enough that one window will quit early or grade its own work too kindly.
Does ultracode use more tokens than max?
At the same effort level, yes: a workflow "can use meaningfully more tokens than working through the same task in conversation," and ultracode applies that to every substantive task. Against max with ultracode off, the answer depends on how many agents a task spawns and the level they run at, and Anthropic publishes no ratio. Ultracode at max is the most expensive combination Claude Code offers, because, by our reading, every agent on your session's model runs at the deepest level unless CLAUDE_CODE_SUBAGENT_EFFORT names another. Run both on the same scoped slice and compare what each one spent before you pick one for a large task.
What's the difference between ultracode and ultrathink?
They're completely different mechanisms. ultrathink is a one-turn prompt keyword: it adds an in-context instruction to reason harder, and since v2.1.311 it also runs that turn at xhigh when typed at the terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2, or Fable 5.1 through Anthropic's API. It never starts a workflow and never touches later turns. Ultracode is a session-wide toggle that leaves your effort level alone and auto-orchestrates Dynamic Workflows for every substantive task until you turn it off.
Does ultracode persist across sessions?
It depends on how you turn it on. /effort ultracode, the slider toggle, and claude --effort ultracode last for the current session only. To start every session with it on, set "ultracode": true in a settings file, a key Claude Code reads but never writes for you. With the key set, /effort ultracode off still switches it off for one session.
Can my admin disable ultracode for our org?
Only by disabling workflows. No managed setting rules out ultracode alone. An org admin can disable workflows for the whole organization through managed settings or the Claude Code admin settings page, and with workflows off the Ultracode toggle disappears from /effort and the keyword stops triggering runs. An effort cap does not do it: since v2.1.284 a cap lowers the level a session with ultracode on runs at, but ultracode stays on.
Is there a spending cap on ultracode?
No token cap, no. The runtime caps agents (16 concurrent by default, 1,000 total per run), which stops a runaway script rather than an expensive one, and runs count toward your plan's usage and rate limits. Your real controls are the effort level you run it at, CLAUDE_CODE_SUBAGENT_EFFORT (v2.1.316) to give subagents a lower level, the Dynamic workflow size setting in /config, routing workflow agents to a cheaper model with CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, and calibrating on a scoped slice before committing to a large task. The automatic Large workflow warning, which fires above 25 agents or 1.5 million projected tokens, is suppressed in ultracode sessions, so on ultracode you watch /workflows yourself.
Which models support ultracode?
Any model with xhigh on its effort ladder, which today means Fable 5.2 and the earlier Fable models, Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7. Ultracode no longer runs at xhigh, but the toggle still requires a model that can. On models without xhigh (Opus 4.6, Sonnet 4.6), the /effort menu doesn't offer ultracode at all. It shipped alongside Opus 4.8, and on a paid plan it runs on Opus 5.5 unless you pick another model, since Opus 5.5 is the default model in Claude Code on Pro, Max, Team, and Enterprise.
Should I run ultracode on Opus 5.5 or Fable 5.2?
It depends on the task. Opus 5.5 costs $4/$20 against Fable 5.2's $8/$40, and ultracode multiplies whatever the per-token rate is across many agents at once. But Fable 5.2 now leads Opus 5.5 on most rows of Anthropic's launch table, and at lower effort it often matches Opus 5.5's best score for less per task, so on long, hard work it can be the cheaper way to a finished result. Fable models also draw on a 50% cap of your weekly usage limits on Max plans, so a large fan-out on Fable is the fastest way to exhaust a weekly allowance. Default ultracode to Opus 5.5, and move a workload to Fable 5.2 where your own runs show it finishing what Opus 5.5 does not. The model selection guide covers that call in full.
Does Opus 5.5 default to ultracode or xhigh?
Neither. Opus 5.5 defaults to medium, one rung below the high default on Opus 5, Fable 5, and Opus 4.8. Opus 4.7 was the only model that defaulted to xhigh, and that behavior did not carry forward. To run Opus 5.5 higher, set it yourself with /effort xhigh, and see the Opus 5.5 best practices for when that pays. Ultracode is always an explicit opt-in, and turning it on with /effort ultracode leaves Opus 5.5 at medium unless you raise the level or launch with claude --effort ultracode.
Can Pro users use ultracode?
Yes. Dynamic Workflows are available on all paid plans including Pro. On Pro, you enable workflows from the Dynamic workflows row in /config first. Once workflows are on and you're on an xhigh-capable model, ultracode appears in /effort like it does on any other plan, and since v2.1.271 Pro workflows default to the small size guideline. Pro is not gated out.
The Bottom Line
Ultracode is the one switch in /effort that changes what Claude does rather than how hard it thinks. Since v2.1.284 it sits beside the effort ladder instead of at the top of it: it fans substantive tasks out into workflows at whatever level you choose, which structurally defeats the three failure modes (early quitting, self-grading, goal drift) that a single context window hits on hard work. That makes it genuinely powerful for audits, migrations, and plan stress-tests you'd otherwise split across several engineers. It also makes it the easiest setting to overspend on, because the workflow layer applies to every substantive task, convergence has no token cap, and the level you pick now multiplies across every agent on your session's model. The Bun team's Zig-to-Rust port (about 750,000 lines of Rust, 11 days from first commit to merge, 99.8% of the test suite passing) is the headline example of what orchestration at this scale can do. You may see it cited elsewhere as a six-day, million-line effort: that framing comes from Bun's own account (six days of active work, roughly 960,000 lines of Zig translated), while the figures here follow Anthropic's count of the Rust output from first commit to merge. Most teams won't be porting a runtime. They'll be deciding, task by task, whether this particular job is worth several engineers' worth of parallel work.
Treat ultracode as a deliberate mode, not a default. Pick the effort level first, turn ultracode on for the work that earns it, calibrate the cost on a scoped run, and run /effort ultracode off when you're back to routine edits.
If you're building a Claude Code setup that pairs ultracode and Dynamic Workflows with permission rules, hooks, and an agent framework tuned for orchestration handoffs, the ClaudeFast Code Kit ships with those patterns preconfigured.
Last updated on