Skip to main content

Claude Code Ultracode: What It Does, When to Use It, and How to Control Cost

Ultracode turns on dynamic workflows at your current effort level; since v2.1.284, only claude --effort ultracode also sets xhigh. Turn it off after hard tasks.

LaoZhang AI TeamPublishedUpdated 15 min read
On this page
Claude Code Ultracode decision board with command, use cases, avoid cases, and cost stop rule

Claude Code Ultracode is not a new model, and it is not an effort level above max. As of November 3, 2026, it is an on/off switch that lets Claude Code orchestrate dynamic workflows for substantive tasks at whatever effort level the session already runs at. Since Claude Code v2.1.284, turning it on with /effort ultracode or the ultracode setting leaves the effort level unchanged; before that version it also set the session to xhigh, which is where the old "xhigh + workflows" description comes from.

Type /effort ultracode to turn it on for the current session and /effort ultracode off to turn it off, or put "ultracode": true in a settings file if every session should start with it on. The one exception to "effort stays the same" is the launch flag: claude --effort ultracode turns Ultracode on and also sets xhigh. For a single hard task, you can type ultracode in the prompt or ask Claude to create a workflow instead of changing the whole session.

Before you turn it on, apply the stop rule: run a small read-only or pilot slice first, watch the workflow, approve edits deliberately, stop repeated exploration, and switch Ultracode off with /effort ultracode off when the hard task is done.

Fast Answer

Ultracode is a switch for hard Claude Code work, not a quality button you leave on forever. With it on, Claude Code plans a dynamic workflow for each substantive task instead of waiting for you to ask, while the effort level remains a separate choice. On Opus 5.5, whose default level is medium, a session where you switched Ultracode on with /effort or the settings key still runs at medium unless you raise it.

If your task is...Start hereBoundary
Hard multi-path audit, migration, or verification/effort ultracodePilot first; review workflow plans before broad edits.
One complex task inside an otherwise normal sessionType ultracode in the task prompt or ask for a workflowKeeps the rest of the session out of Ultracode; not honored in -p prompts.
Every session should start with workflows on"ultracode": true in a settings fileStays on until you remove the key or set it to false.
Routine edits, one-file fixes, or well-defined refactorsUltracode off, at high or xhighOrchestration is likely overhead.
Missing Ultracode option or behaviorCheck claude --version, dynamic workflows in /config, and an xhigh-capable modelCLAUDE_CODE_EFFORT_LEVEL and the saved effortLevel setting don't accept ultracode.

Inside Claude Code, the short path is:

/effort ultracode
/effort ultracode off

For one task only, do not change the whole session. Ask directly:

Use an ultracode workflow for this task.
First create the workflow plan, keep edits scoped, and stop after verification.

The version check matters because the behavior changed. The switch that keeps your effort level, the off form and the slider toggle need Claude Code v2.1.284 or later, so check your installed CLI instead of guessing from a package tag:

bash
claude --version
npm view @anthropic-ai/claude-code dist-tags --json

If you are deciding whether to use this mode for a team workflow, start with the task shape. Ultracode is useful for broad work where multiple lanes produce evidence: large audits, migration planning, competing hypotheses, or verification passes. It is wasteful for mechanical refactors, small edits, or work where one careful reasoning chain is safer.

What Ultracode Actually Changes

The key distinction is switch versus effort level. "Claude Code Ultracode" does not name a separate model, and it is not a sixth effort level. Claude Code's model-configuration docs call it "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, and turning it on or off with /effort or the ultracode setting leaves that level unchanged.

That is why the mode feels different from xhigh. Effort controls how much the model reasons on each request, while Ultracode gives Claude Code a route to plan and run workflow lanes. A workflow can fan out, compare approaches, verify outputs, or continue until a bounded objective is done. That orchestration can be useful, but it is not free in attention or tokens. How the runtime itself works, including scripts, /workflows and concurrency limits, is covered in Claude Code Dynamic Workflows: When to Use Them, What ultracode Does, and How to Start Safely.

Descriptions that define Ultracode as "xhigh + workflows" were accurate before v2.1.284. In those builds, turning Ultracode on set the session to xhigh, picking another level turned it off, and an effort cap below xhigh made it unavailable. From v2.1.284 the two are independent, so Ultracode now means workflows at your current level, and you raise effort separately when the task needs deeper reasoning.

A local check shows what actually reaches the model. On November 3, 2026, Claude Code 2.1.316 on macOS ran in -p mode against a local mock of the Anthropic API that logs the effort field of each request, with the model set to claude-opus-5-5. With "ultracode": true in settings and nothing else, the request carried medium, the same as a run with no settings at all; adding --effort high sent high, and launching with --effort ultracode sent xhigh. Sending /effort ultracode printed Ultracode on (this session only): dynamic workflows on every task. Effort stays medium. The mock returns plain text, so the workflow orchestration itself, real token use and the interactive /effort slider were not exercised; for those, Anthropic's model-configuration and workflows docs are the source.

Think of the mode as a workflow permission you grant for a specific class of work:

What changesPractical effectReader action
Dynamic workflow orchestrationClaude plans a workflow for each substantive task instead of waiting for you to ask.Use when parallel lanes or verification are valuable.
Effort levelUnchanged with /effort ultracode or the setting; set to xhigh only by claude --effort ultracode.Choose the level separately.
Scope/effort ultracode lasts for the current session; "ultracode": true starts every session with it on.Turn it off with /effort ultracode off after the hard task.
Workflow plansClaude may propose or run multi-step work.Review plans before broad edits.
Built-in promptsNo Large workflow warning, and in auto mode no approval request for the first workflow launch.Bring your own stop rules.

The safest wording is: Ultracode is for tasks where orchestration must earn its cost. If the task does not need split lanes, independent verification, or broad exploration, high or xhigh with Ultracode off is usually cleaner. Which level your model starts at, and why a saved level sometimes doesn't stick, is explained in Claude Code Effort Level: Model Defaults and Why It Won't Stick.

How To Enable It

The session command is the most direct control, and since v2.1.284 it has a matching off form:

/effort ultracode
/effort ultracode off

The /effort slider offers the same switch: press Tab to flip the Ultracode toggle, then Enter to apply it. Moving between low, medium, high, xhigh and max in that slider, or picking a model in /model, leaves Ultracode as it was. If you want every session to start with it on, set "ultracode": true in a settings file. Claude Code reads that key but never writes it, so running /effort ultracode never makes the choice permanent on its own.

What each control does to the effort level is the part most setups get wrong:

ControlUse it for Ultracode?What happens to effort
/effort ultracodeYes, current session onlyStays at the current level.
/effort ultracode off, or Tab then Enter in the /effort sliderTurns it off (or on) for the session, v2.1.284+Stays at the current level.
"ultracode": true in a settings file or via --settingsYes, every session that loads the settingStays at the current level.
claude --effort ultracodeYes, for that session, v2.1.203+Set to xhigh.
Agent SDK effortLevel: "ultracode" in applyFlagSettings()Yes, for SDK-controlled sessionsSet to xhigh.
Prompt text with ultracode or an explicit workflow requestOne workflow for that prompt onlyThe session's switch is not touched.
CLAUDE_CODE_EFFORT_LEVELNo, it doesn't accept ultracodeSets the level; if Ultracode is on, it stays on at that level.
effortLevel settingNo, it doesn't accept ultracodeOnly the saved level.

The prompt keyword works only in prompts you type. A prompt passed with -p, a scheduled task, or a webhook or PR-comment payload that contains ultracode does not start a workflow. Press Option+W on macOS or Alt+W on Windows and Linux to dismiss the trigger for a prompt, or turn off Ultracode keyword trigger in /config if the word appears in your normal text.

If you only need a workflow once, keep the session on its normal mode and ask for a workflow in the prompt. That keeps the route local to the task and makes it easier to return to ordinary Claude Code work after the hard part.

Setup And Missing-Option Checklist

When Ultracode is missing, start with the boring checks. They solve more cases than account speculation. Anthropic documents two conditions that make it unavailable: dynamic workflows are turned off, or the model doesn't support xhigh effort.

  1. Run claude --version. The slider toggle, /effort ultracode off and Ultracode at levels other than xhigh need v2.1.284 or later; in older builds, picking any other effort level switched Ultracode off, which can look as if it disappeared.
  2. Confirm dynamic workflows are on. They are available on all paid plans, with Anthropic API access, and on Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry; on Pro, turn on the Dynamic workflows row in /config. "disableWorkflows": true, CLAUDE_CODE_DISABLE_WORKFLOWS=1 or an organization's managed settings turn them off.
  3. Confirm the selected model supports xhigh.
  4. In VS Code with a model setting that carries the [1m] tag, such as opus[1m], update to 2.1.316 or later. Earlier builds hid the Effort slider and the Ultracode switch in that case.
  5. Restart the session after configuration changes.

The two error lines tell you which check failed. In the same November 3, 2026 test (Claude Code 2.1.316, local mock endpoint), /effort ultracode with CLAUDE_CODE_DISABLE_WORKFLOWS=1 set printed the first message below, and on claude-opus-4-6, which has no xhigh level, it printed the second:

Ultracode needs dynamic workflows enabled (see /config). Valid options are: low, medium, high, xhigh, max, auto
Ultracode isn't available on claude-opus-4-6. Valid options are: low, medium, high, xhigh, max, auto

The launch flag doesn't print either message. When Ultracode is unavailable, claude --effort ultracode starts the session with Ultracode off, at the highest level the model and any effort cap allow, up to xhigh. In the test, the flag with workflows disabled still sent xhigh on Opus 5.5 but the Workflow tool was missing from the request, and an earlier run on November 2, 2026 sent high on Opus 4.6. So a session started with the flag can show a raised effort level without any workflows behind it.

Do not troubleshoot by adding unsupported knobs. CLAUDE_CODE_EFFORT_LEVEL and the saved effortLevel setting don't accept ultracode, so putting the word there won't switch anything on. Use /effort ultracode, "ultracode": true, or claude --effort ultracode.

If the option appears but workflow behavior does not start, the task may be too small or too sequential. Ultracode does not need to create a workflow for every prompt. Try a bounded task that genuinely benefits from multiple lanes, such as "audit these three migration risks and verify the strongest finding."

Ultracode Vs Adjacent Controls

Mode map comparing high, xhigh, max, ultrathink, Ultracode, dynamic workflows, and Ultraplan

The chart shows the behavior before Claude Code v2.1.284, when Ultracode meant xhigh + workflows; the table below reflects the current switch, which keeps your effort level.

Most confusion comes from overlapping names. The useful way to compare them is by the control they change: high, xhigh and max are effort levels, while Ultracode switches workflow orchestration on or off at whichever level you picked.

SurfaceWhat it controlsUse whenAvoid when
highNormal higher-effort Claude Code work.You need quality without workflow orchestration.The task needs broad split-lane verification.
xhighDeeper model effort.The problem is hard but still one reasoning lane.You need automatic workflow planning.
maxThe highest effort level, on models that support it.You explicitly need the deepest reasoning per request.You are really asking for workflows.
ultrathinkPrompt language that asks for more thinking.You want a one-off thinking cue.You need session-level workflow behavior.
UltracodeAutomatic workflow orchestration at the session's current effort level.Audits, migrations, verification, and multi-path research.Routine edits or low-risk single-file fixes.
Dynamic workflowsThe orchestration runtime.You want Claude to plan or run a workflow.You only need an effort-level change.
UltraplanA planning route.You want planning before implementation.You need automatic execution/verification lanes.

Ultracode versus max is not a ranking. max decides how hard the model reasons on each request; Ultracode decides whether Claude Code splits substantive tasks into workflows. On v2.1.284 or later you can combine them: set /effort max, then turn on /effort ultracode, and workflows run at max. The launch flag is different, because claude --effort ultracode sets xhigh, not max. What each level means and which one your model uses by default is the subject of Claude Code Effort Level: Model Defaults and Why It Won't Stick.

This table also helps with internal workflow design. If your problem is too many active tools or oversized context, the fix may be a smaller context surface, not Ultracode. The Claude Code MCP context overload guide is the better next step when tool output is the real bottleneck.

If the task needs repeatable methods or reusable operating rules, Claude Code best skills may help more than increasing effort. If the task needs external data or action surfaces, Claude Code best MCP servers gives a cleaner route than asking Ultracode to compensate for a weak setup.

Safe Prompt Recipes

Ultracode prompts should be scoped. You want Claude to plan workflow lanes, but you do not want a broad autonomous spree.

For a read-only audit:

Use an ultracode workflow for a read-only audit.
Map the risky areas first, split into independent verification lanes, and return findings with evidence.
Do not edit files. Stop if the task needs credentials, production data, or broad repo changes.

For a migration pilot:

Use Ultracode for a migration pilot, not the full migration.
Pick one representative module, create the workflow plan, and ask before editing shared files.
Return the migration rule, the test command, and what would block scaling.

For adversarial verification:

Create a workflow with two lanes: one implements the candidate fix, one tries to disprove it.
Keep changes scoped to the named files.
Report the commands run, strongest counterexample, and whether the fix should proceed.

For broad research:

Use a workflow to compare the viable routes.
Each lane should own one route, cite its evidence, and state the stop condition.
Synthesize only after the lanes report back.

Notice the pattern: task, boundary, workflow shape, allowed edits, evidence, and stop condition. Ultracode is strongest when the prompt makes ownership obvious.

Cost And Stop Rules

Cost-control flow for Claude Code Ultracode pilot scope, workflow monitoring, approval, stop, and downgrade

Ultracode does use more tokens. Anthropic's dynamic workflows docs say that with it on, each request uses more tokens and takes longer, and on a subscription plan those tokens draw on your usage limits. The docs give no multiplier for how much more. That does not make Ultracode bad. It means the workflow needs a budget rule.

The switch also removes some of Claude Code's own brakes. While Ultracode is on, you get no Large workflow warning, the concurrent-subagent limit is not enforced for subagents started through the Agent tool, and in auto mode you aren't asked to approve the first workflow launch. The stop rules below replace those checks.

Use this sequence:

  1. Start with the smallest representative slice.
  2. Ask Claude to show the workflow plan before broad edits.
  3. Watch active workflows and intervene when a lane drifts.
  4. Approve edits deliberately, especially around shared files.
  5. Stop repeated exploration if no new evidence appears.
  6. Turn Ultracode off with /effort ultracode off after the hard task, and lower the effort level separately if you raised it.

The stop rule is stricter than "tokens are expensive." It is about engineering control. If a workflow is producing more branches than decisions, stop it. If each lane returns similar claims without new proof, stop it. If the task has become implementation rather than exploration, collapse back to one session and finish carefully.

This also protects quota and billing interpretation. If you hit usage limits, do not treat it as proof that Ultracode is broken. Separate mode choice from account, subscription, API key, and quota route. The billing split in Claude Code API key vs subscription billing, the broader Claude Code pricing guide, and Claude Code usage limit issues are better follow-ups for account-level questions.

Troubleshooting

SymptomLikely causeFirst check
/effort ultracode is unavailableDynamic workflows are off, or the model has no xhigh level.Read the message: "needs dynamic workflows enabled" points to /config; "isn't available on" points to the model.
Ultracode turns off when you pick another effort levelThe CLI is older than v2.1.284.claude --version, then update.
Effort shows xhigh after launching with --effort ultracodeExpected: the flag sets xhigh.Pick another level in /effort; Ultracode stays on.
A background or cloud session turns Ultracode back on after you switched it offA bug fixed in Claude Code 2.1.316.Update, then check for "ultracode": true in your settings.
The setting works but no workflow appearsThe task may be too small or sequential.Ask for a workflow on a complex audit or verification task.
CLAUDE_CODE_EFFORT_LEVEL or effortLevel set to ultracode does nothingThose don't accept ultracode.Use /effort ultracode, "ultracode": true, or claude --effort ultracode.
Workflows start but feel noisyTask ownership is too broad.Split by lane, allow read-only first, and add a stop condition.
Token usage rises quicklyWorkflow orchestration is multiplying work.Use a pilot slice and stop repeated exploration.
You are unsure which account paysMode choice and billing route are being mixed.Check account/subscription/API route before interpreting costs.
Context becomes overloadedThe problem may be tool/result size, not effort.Reduce MCP/tool output and active server scope.

The best recovery is not another mode change. Save useful findings, stop or narrow the workflow, and choose the next single decision. If the problem is route visibility rather than Ultracode itself, Claude Code Agent View is the sibling page for managing visible local background sessions.

FAQ

Is Claude Code Ultracode a new model?

No. It is a Claude Code setting that lets Claude Code orchestrate dynamic workflows for substantive tasks. Since v2.1.284 it runs at the session's current effort level; only claude --effort ultracode also sets xhigh.

What is the command for Ultracode?

Use /effort ultracode inside Claude Code to turn it on for the session and /effort ultracode off to turn it off. To start every session with it on, set "ultracode": true in a settings file. For a one-task workflow, type ultracode in the prompt or ask for a workflow instead of changing the entire session.

What version do I need?

It depends on which behavior you want. Keeping Ultracode on at levels other than xhigh, /effort ultracode off and the slider toggle need Claude Code v2.1.284 or later; claude --effort ultracode needs v2.1.203 or later, and older builds print Unknown --effort value 'ultracode'. Anthropic's workflows docs no longer state one overall minimum for dynamic workflows. As of November 3, 2026, npm's stable tag pointed to 2.1.309 and latest to 2.1.316, so both channels already behave as described here; native installs can differ, so confirm with claude --version.

How is Ultracode different from xhigh?

xhigh is a model effort level. Ultracode is a switch that lets Claude Code orchestrate dynamic workflows at whatever level you choose, xhigh included. Before v2.1.284, turning Ultracode on also set xhigh, which is why it was described as "xhigh + workflows." Use xhigh alone when the task is hard but still one lane; turn on Ultracode when orchestration matters.

Does Ultracode cost more?

Yes. Anthropic's workflows docs say each request uses more tokens and takes longer with Ultracode on, and on subscription plans that usage counts against your limits; no multiplier is published. Run a pilot slice, inspect the workflow, and turn it off with /effort ultracode off after the hard task.

Why is Ultracode missing?

The documented causes are dynamic workflows being off (on Pro, turn them on in /config) or a model without xhigh. Also check for a CLI older than v2.1.284, where picking another level switched Ultracode off, and the VS Code [1m] model bug fixed in 2.1.316. CLAUDE_CODE_EFFORT_LEVEL and effortLevel don't accept ultracode, so they can't be used as workarounds.

Should I leave Ultracode on?

Usually no. Leave it on only while the session is doing work that benefits from orchestration. After the audit, migration pilot, or verification pass, run /effort ultracode off; if you added "ultracode": true to a settings file, remove it or set it to false so new sessions start without it.

Is Ultracode the same as dynamic workflows?

No. Dynamic workflows are the orchestration runtime. Ultracode is a switch that makes Claude start that runtime automatically for substantive tasks, at the session's current effort level.

Is Ultracode higher than max?

No, they sit on different controls. max is an effort level and Ultracode is an on/off switch for workflows, so on Claude Code v2.1.284 or later you can run Ultracode at max by setting /effort max and then /effort ultracode.

Bottom Line

Claude Code Ultracode is useful when the hard part of the job is not just thinking longer, but coordinating useful lanes of work. It lets Claude Code run dynamic workflows at the effort level you already chose, which is powerful for audits, migrations, research, and verification; only the --effort ultracode launch flag also sets xhigh.

Use it deliberately. Check the version and workflow route, turn it on with /effort ultracode only when orchestration earns the cost, start with a pilot slice, review workflow plans, and switch it off with /effort ultracode off when the expensive part is done. For ordinary edits and single-path fixes, Ultracode off at a suitable effort level is usually the more professional choice.

Sources2

External pages this guide links to, in the order they appear. Last updated Nov 3, 2026.

  1. 1.model-configuration docscode.claude.com/docs/en/model-config
  2. 2.dynamic workflows docscode.claude.com/docs/en/workflows
More in Claude Code