What Is Ultracode in Claude Code?
As of 2026-11-09, ultracode is a Claude Code setting, not a model effort level: run /effort ultracode, or flip the Ultracode toggle in the /effort slider, and Claude plans a dynamic workflow (a script that orchestrates many subagents at once) for each substantive task in the session, at whichever effort level the session runs at. It suits large, multi-stage work such as a codebase-wide audit, a 500-file migration or research with cross-checked sources, and it is available on all paid plans and with Anthropic API access (on Pro, turn on Dynamic workflows in /config first). Keeping it on at any effort level needs Claude Code 2.1.284 or later; the latest release is 2.1.319 (2026-11-06). The max effort level is the deepest reasoning level. This page is about Claude Code's ultracode setting and max effort, not Anthropic's Max or Ultra subscription plans; for plan prices and usage limits see the "How much does Claude Code cost per month" page (/claude-code-monthly-cost), and for weekly limits see the "Claude's Weekly Limit 2026" page (/claude-weekly-limit-2026).
Point this tool at the QCode endpoint — one key for Claude, GPT and Chinese models.
- Billed per token — live rates on /models
- Pay by card (Visa / Mastercard), Apple Pay, Google Pay or crypto
- Self-service: top up and activate instantly
The effort levels
As of 2026-11-09, in Claude Code, Fable 5.1, Fable 5, Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8 and Opus 4.7 all support low, medium, high, xhigh and max (Opus 4.6 and Sonnet 4.6 have no xhigh); per the docs, each level trades token spend against capability.
| Level | In Claude Code | Best for |
|---|---|---|
| High | /effort high |
Work where verification matters or edge cases are likely, such as fixing a bug in an existing codebase. The default on every model except Opus 5.5, Sonnet 5.5, Haiku 5.5 and Opus 4.7. |
| Extra | /effort xhigh |
Deeper reasoning at higher token spend; the default on Opus 4.7. Ultracode is only available on models that support xhigh. |
| Max | /effort max |
The deepest reasoning level, for hard problems you want Claude to work through without you, such as finding security vulnerabilities. The docs warn max may show diminishing returns and is prone to overthinking, so test before adopting it broadly; unless set via the CLAUDE_CODE_EFFORT_LEVEL environment variable, Claude Code applies max to the current session only. |
As of 2026-11-09: in Claude Code, Opus 5.5, Sonnet 5.5 and Haiku 5.5 default to medium (on Opus 5.5 and Sonnet 5.5 it fits day-to-day engineering work with a clear scope, such as implementing a new feature), Opus 4.7 defaults to xhigh, and every other model that supports effort defaults to high.
What is ultracode?
A Claude Code setting rather than a model effort level; since 2.1.284 it stays on at any effort level.
Per the official docs: with ultracode on, Claude orchestrates dynamic workflows for substantive tasks at whichever effort level the session runs at. Turning it on or off with /effort or the ultracode setting leaves the effort level unchanged; the --effort ultracode flag and the Agent SDK effortLevel: "ultracode" value turn it on and also set the level to xhigh. Before 2.1.284, turning on ultracode set the session to xhigh and picking another level turned it off. Now, picking a level in the /effort slider or the /model picker leaves ultracode as it was; keeping ultracode on at levels other than xhigh requires Claude Code 2.1.284 or later.
- •Run /effort ultracode to turn it on for the current session and /effort ultracode off to turn it off; in the /effort slider, press Tab to flip the Ultracode toggle.
- •Launch with claude --effort ultracode to start the session at xhigh with ultracode on, or set "ultracode": true in a settings file.
- •It is unavailable when workflows are turned off or the model doesn't support xhigh.
/effort ultracode · /effort ultracode off · claude --effort ultracode
Which level should you use?
Match effort to the task — higher isn't always better, because it costs more time and tokens.
Routine work → medium / high
Opus 5.5 and Sonnet 5.5 default to medium, which fits day-to-day engineering with a clear scope; use high where verification matters or edge cases are likely, such as fixing a bug in existing code.
Hard problems → xhigh / max
Tricky debugging, architecture, or anything where a wrong answer is expensive. xhigh reasons deeper at higher token spend; max suits hard problems Claude works through without you, but the docs warn of diminishing returns, so test first.
Long async runs → ultracode
Big, multi-stage tasks you let run in the background. ultracode plans a dynamic workflow for each substantive task and, since 2.1.284, stays on at any effort level instead of forcing xhigh.
ultracode and dynamic workflows
To run a single task as a workflow without changing the session's effort level, include the keyword ultracode in your prompt; with /effort ultracode, Claude plans a workflow for every substantive task in the session.
Read the dynamic workflows guide →Fast Mode pricing
Per the official price list as of 2026-11-09: Opus 5.5 Fast mode is $8 per million input and $40 per million output tokens, 2x its standard $4 / $20 (converted from the official price list); Opus 5 and Opus 4.8 Fast mode is $10 / $50. Fast mode for those two models is a research preview. The price list says Fast mode is available on the Claude API (first-party) and, for Opus 5.5, on Claude Models on Google Cloud (Anthropic managed) and on Claude in Microsoft Foundry for deployments hosted on Azure.
Higher effort costs more — run it on the right access
xhigh, max, and ultracode reason longer and, with workflows, spawn many agents — so they use more tokens and draw down rate limits faster than routine work.
Sustained high-effort sessions with QCode
As of 2026-11-09, claude-opus-5-5, claude-sonnet-5-5 and claude-opus-4-8 are all callable with one QCode key. QCode's API is billed per token and is not tied to the subscription weekly limit, with per-model prices on /models; xhigh, max and ultracode use more tokens, so estimate usage before long runs. QCode's documentation says workflows run on whichever model Claude Code is connected to, so once Claude Code points at QCode, ultracode workflows use the same key. Pay-as-you-go Packs need no monthly plan and start at $4 for 7 days; see /pay-as-you-go.
In depth: ultracode vs max, requirements, token use, and running it on QCode
Ultracode vs max: two different switches
Short answer: max is the highest effort level and sets how deeply Claude reasons on each step; ultracode is a Claude Code setting that decides whether substantive tasks run as dynamic workflows. As of 2026-11-09 the official docs call ultracode a Claude Code setting rather than a model effort level, and max the deepest reasoning level. Since Claude Code 2.1.284 you can combine them: ultracode stays on at whichever level the session runs at, max included.
They also last differently. Unless you set it through the CLAUDE_CODE_EFFORT_LEVEL environment variable, Claude Code applies max to the current session only. /effort ultracode also lasts for the current session; to start every session with it, set the ultracode key to true in a settings file. The persisted effortLevel setting and the CLAUDE_CODE_EFFORT_LEVEL variable do not accept ultracode as a value.
If you meant the Max subscription: the docs say dynamic workflows, which ultracode relies on, are available on all paid plans and with Anthropic API access, and on Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry. On Pro you turn them on from the Dynamic workflows row in /config. A Max plan is not required.
Requirements, and why ultracode won't turn on
The docs list two cases where ultracode is unavailable: workflows are turned off, or the model does not support xhigh effort. In those cases claude --effort ultracode starts the session with ultracode off, at the highest level the model and any cap allow, up to xhigh. Check these in order:
- Version: passing ultracode to --effort needs Claude Code 2.1.203 or later; /effort ultracode off, the slider toggle and keeping ultracode on at levels other than xhigh need 2.1.284 or later.
- Model: as of 2026-11-09, Fable 5.1, Fable 5, Opus 5.5, Sonnet 5.5, Haiku 5.5, Opus 5, Sonnet 5, Opus 4.8 and Opus 4.7 support xhigh. Opus 4.6 and Sonnet 4.6 only offer low, medium, high and max, so ultracode is not offered on them.
- Workflows switch: turning Dynamic workflows off in /config, setting disableWorkflows to true, or setting CLAUDE_CODE_DISABLE_WORKFLOWS=1 makes ultracode unavailable and removes the Ultracode toggle from /effort.
- Keyword: typing ultracode in a prompt runs that one task as a workflow, but only in a prompt you type yourself; a prompt passed with -p, a scheduled task prompt or a relayed webhook payload does not start one. To stop the word from triggering at all, turn off Ultracode keyword trigger in /config.
Token use: what to know before leaving it on
Per the workflows documentation, with ultracode on a single request can turn into several workflows in a row (one to understand the code, one to make the change, one to verify it), so each request uses more tokens and takes longer than without a workflow. On a subscription plan, a session with ultracode on reaches a session or weekly limit sooner.
The runtime bounds each run: up to 16 concurrent agents by default (fewer on machines with fewer CPUs) and 1,000 agents in total per run. Claude Code normally shows a Large workflow warning when a run schedules more than 25 agents or its projected token total passes 1.5 million; sessions with ultracode on skip that warning, because turning ultracode on already opts you in to large runs.
- Start small: one directory instead of the whole repository.
- Watch /workflows: it shows each agent's token usage, and you can stop the run there.
- Set Dynamic workflow size in /config to small (fewer than 5 agents) for lighter runs; the default is medium, or small when you are signed in on a Pro plan with Claude Code 2.1.271 or later.
Running ultracode on QCode
QCode's documentation states that dynamic workflows run on whichever model Claude Code is connected to: once Claude Code points at QCode, every background subagent a workflow spawns goes through the QCode endpoint, using the same API key (it starts with cr_) throughout.
Setup in three steps: 1) create a QCode account, top up (Alipay, WeChat Pay, Visa / Mastercard cards, Apple Pay, Google Pay or cryptocurrency) and create a key in the dashboard; 2) set ANTHROPIC_BASE_URL=https://api.qcode.cc/api (no trailing slash) and ANTHROPIC_AUTH_TOKEN to your cr_ key; 3) launch with claude --model claude-opus-5-5, or switch with /model, then run /effort ultracode or put ultracode in a prompt. Claude models only work through the Anthropic-protocol endpoint, not the OpenAI-compatible address.
As of 2026-11-09 these xhigh-capable models can be called through QCode: claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5, claude-opus-5, claude-sonnet-5, claude-opus-4-8, claude-opus-4-7, claude-fable-5-1 and claude-fable-5. Billed per token; per-model rates are listed on /models, and each workflow subagent's tokens are billed at the model it runs on. Personal plans have no 4-hour window. Pilot large tasks on a small scope first.
Ultracode FAQ
What is ultracode in Claude Code?
Ultracode is a Claude Code setting that turns on automatic workflow orchestration: as of 2026-11-09, the official docs say that with it on, Claude plans a dynamic workflow for each substantive task in the session, at whichever effort level the session runs at. A dynamic workflow is a JavaScript script that orchestrates many subagents at once; Claude writes it for your task and a runtime executes it in the background while your session stays responsive, which suits a codebase-wide bug sweep, a 500-file migration or research that needs sources cross-checked. Turn it on with /effort ultracode (and off with /effort ultracode off), with claude --effort ultracode at launch, or with the ultracode setting; typing the keyword ultracode in a prompt runs just that one task as a workflow. Ultracode is not an effort level, not Anthropic's Ultra plan and not ultrathink. ultrathink is a keyword you put in a prompt to request deeper reasoning on that turn without changing your session effort setting: Claude Code recognizes it and adds an in-context instruction, and typed in the terminal prompt, the word can also raise that turn to xhigh effort (it shows in rainbow colors when it can; this requires Claude Code 2.1.311 or later). Phrases such as think, think hard and think more pass through as ordinary prompt text.
Ultracode vs max: which should I use?
Use max for a single hard problem where you want the deepest reasoning; use ultracode for large, multi-stage work such as a codebase-wide audit, a 500-file migration or research with cross-checked sources. They are independent: since Claude Code 2.1.284 ultracode can stay on at max or at any other level. The docs also warn that max may show diminishing returns and is prone to overthinking.
Does ultracode use up my usage limit faster, and how does it relate to effort levels like xhigh?
Yes, it can: as of 2026-11-09, the official workflows documentation says that with ultracode on, each request uses more tokens and takes longer than without a workflow, and on a subscription plan a session with ultracode on reaches a session or weekly limit sooner. The reason is that a single request can turn into several workflows in a row (one to understand the code, one to make the change, one to verify it). To keep usage in check, try a small slice first, watch each agent's token usage in /workflows, and turn it off with /effort ultracode off when you return to routine work. Ultracode is not an effort level: turning it on or off with /effort leaves the level unchanged, and it stays on at whichever level the session runs at. It is tied to xhigh in two ways: ultracode is unavailable on models that do not support xhigh, and claude --effort ultracode also sets the level to xhigh. xhigh itself is an effort level: deeper reasoning at higher token spend, and the default on Opus 4.7. If you set a level the active model does not support, Claude Code falls back to the highest supported level at or below it; for example, xhigh runs as high on Opus 4.6. The docs also note that the effort scale is calibrated per model, so the same level name does not represent the same underlying value across models.
Do xhigh and max still apply with thinking turned off?
It depends on the model. The docs say that with thinking turned off on the Anthropic API, Claude Code sends effort high instead of a higher level to models it knows don't accept that combination, such as Opus 5. Thinking can't be turned off on Opus 5.5, Sonnet 5.5, Haiku 5.5 or the Fable models: the toggle shows Thinking can't be turned off, a saved alwaysThinkingEnabled: false or MAX_THINKING_TOKENS=0 has no effect there, and the model decides per step how much to think based on the effort level. To toggle thinking for the current session, press Option+T on macOS or Alt+T on Windows and Linux; change the global default in /config.
Is the Claude Ultra plan the same thing as ultracode?
No. Ultra is the name of an Anthropic subscription plan (on 2026-10-30 Anthropic renamed Max 5x to Max and Max 20x to Ultra; prices did not change, and Ultra costs $200 a month), while ultracode is a toggle in Claude Code's /effort that makes Claude orchestrate dynamic workflows for substantive tasks. Using ultracode does not require the Ultra plan: the docs say dynamic workflows are available on all paid plans and with Anthropic API access; on Pro you first turn them on in /config. The plan only sets your usage allowance, and a session with ultracode on hits plan limits sooner. For plan prices see /claude-code-monthly-cost, and for weekly limits see /claude-weekly-limit-2026. You can also run Claude Code with a QCode API key: set ANTHROPIC_BASE_URL to https://api.qcode.cc/api, and QCode's documentation states that workflows then run through the same key.
How do I pay for QCode to run ultracode?
QCode accepts credit cards (Visa, Mastercard), Apple Pay, Google Pay, Alipay, WeChat Pay and cryptocurrency across several coins and networks. Sign-up and activation are fully self-serve and take a few minutes. Billing is per token; per-model rates are listed on /models.
Run ultracode on Opus 5.5 in Claude Code
Sign up for QCode and call claude-opus-5-5 and claude-sonnet-5-5 with one key. Billing is per token; per-model prices are on /models.