modified
--- a/advisor.md +++ b/advisor.md @@ -78,7 +78,7 @@ ### Fable advisor and usage credits -On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), accept it before you use Fable as the advisor. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. +On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), accept it before you use Fable as the advisor. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. The picker points you to `/model fable` instead. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. ### Common model pairings
modified
--- a/advisor.md +++ b/advisor.md @@ -14,7 +14,7 @@ * **`advisorModel` setting**: configure a persistent default in your [settings file](</docs/en/settings>) * **`--advisor` flag**: set the advisor for a single session at launch -Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. +Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. ### Use the `/advisor` command @@ -28,7 +28,7 @@ * Run `/advisor` with a model, such as `/advisor opus`, to set it. * Run `/advisor off` to turn it off. -Claude Code doesn’t invoke a saved advisor that an [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist in your settings excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. +Claude Code doesn’t invoke a saved advisor that an [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist in your settings excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. ### Set `advisorModel` in settings @@ -78,7 +78,7 @@ ### Fable advisor and usage credits -On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [one-time consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), Claude Code asks for it when you select a Fable model with `/model` and doesn’t apply Fable as the advisor until you have accepted that consent. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. +On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), accept it before you use Fable as the advisor. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. ### Common model pairings
modified
--- a/advisor.md +++ b/advisor.md @@ -28,7 +28,7 @@ * Run `/advisor` with a model, such as `/advisor opus`, to set it. * Run `/advisor off` to turn it off. -Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. +Claude Code doesn’t invoke a saved advisor that an [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist in your settings excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. ### Set `advisorModel` in settings @@ -48,7 +48,7 @@ * The session’s main model doesn’t support the advisor * The requested model, such as Haiku 4.5, can’t act as an advisor - * Your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model + * An [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model * You requested Fable and your account still requires the usage-credits consent If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. If the model you pass can act as an advisor but ranks below your main model, the session starts whether or not it’s a background session. Your main model then runs without the advisor.
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/feature-availability#availability-by-model-provider>). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/claude-models-on-google-cloud-anthropic-managed>). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -122,7 +122,7 @@ ## Requirements - * **Provider** : the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/feature-availability#availability-by-model-provider>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), the advisor requires Claude Code v2.1.300 or later. + * **Provider** : the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/claude-models-on-google-cloud-anthropic-managed>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), the advisor requires Claude Code v2.1.300 or later. * **LLM gateway** : through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5, or Haiku 5.5. See Choose an advisor model for which advisors each accepts. * **Feature-flag fetching** : unless you’re on Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), the advisor needs a feature flag fetched from Anthropic. A session with a variable that turns fetching off, such as `DISABLE_TELEMETRY`, doesn’t have that flag. To check your session, see [which sessions skip the fetch or start without the flag](</docs/en/env-vars#features-that-need-feature-flag-fetching>).
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires the Anthropic API or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>). On Claude Platform on AWS, it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/feature-availability#availability-by-model-provider>). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -122,10 +122,10 @@ ## Requirements - * **Provider** : the Anthropic API or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS, the advisor requires Claude Code v2.1.300 or later. + * **Provider** : the Anthropic API, [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), or [Claude Models on Google Cloud (Anthropic managed)](</docs/en/feature-availability#availability-by-model-provider>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), the advisor requires Claude Code v2.1.300 or later. * **LLM gateway** : through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5, or Haiku 5.5. See Choose an advisor model for which advisors each accepts. - * **Feature-flag fetching** : unless you’re on Claude Platform on AWS, the advisor needs a feature flag fetched from Anthropic. A session with a variable that turns fetching off, such as `DISABLE_TELEMETRY`, doesn’t have that flag. To check your session, see [which sessions skip the fetch or start without the flag](</docs/en/env-vars#features-that-need-feature-flag-fetching>). + * **Feature-flag fetching** : unless you’re on Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), the advisor needs a feature flag fetched from Anthropic. A session with a variable that turns fetching off, such as `DISABLE_TELEMETRY`, doesn’t have that flag. To check your session, see [which sessions skip the fetch or start without the flag](</docs/en/env-vars#features-that-need-feature-flag-fetching>). ## Turn the advisor off
modified
Show diff (193 lines)
--- a/advisor.md +++ b/advisor.md @@ -2,19 +2,11 @@ The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. -## - -​ - -When to use the advisor +## When to use the advisor The advisor fits long, multi-step tasks where most turns are routine but plan quality determines the outcome. Examples include large refactors, debugging sessions where an error keeps recurring, and tasks you want independently checked before Claude declares them done. It adds less value on short tasks where there is little to plan, or on work where every turn needs the strongest model. For those, [switch the main model](</docs/en/model-config#setting-your-model>) instead, or see how the advisor compares with opusplan and subagents for other ways to get a second opinion. -## - -​ - -Enable the advisor +## Enable the advisor You can set the advisor model in three ways: @@ -24,11 +16,7 @@ Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. -### - -​ - -Use the `/advisor` command +### Use the `/advisor` command Run `/advisor` without arguments to open a picker listing the available advisor models, or pass the model directly: @@ -42,11 +30,7 @@ Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. -### - -​ - -Set `advisorModel` in settings +### Set `advisorModel` in settings To configure the advisor as a default without opening a session, set it in your settings file: @@ -54,11 +38,7 @@ "advisorModel": "opus" } -### - -​ - -Use the `--advisor` flag +### Use the `--advisor` flag To set the advisor for a single session without changing your saved setting, launch with the flag: @@ -73,11 +53,7 @@ If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. If the model you pass can act as an advisor but ranks below your main model, the session starts whether or not it’s a background session. Your main model then runs without the advisor. -## - -​ - -Choose an advisor model +## Choose an advisor model Claude Code ranks models by capability for the advisor role, and an advisor must rank at or above your session’s main model. Rows run from the lowest-ranked main model to the highest: @@ -100,19 +76,11 @@ * If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls. If you then pick a different advisor with `/advisor`, it takes effect after `/clear` or `/compact` and in new sessions. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. -### - -​ - -Fable advisor and usage credits +### Fable advisor and usage credits On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [one-time consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), Claude Code asks for it when you select a Fable model with `/model` and doesn’t apply Fable as the advisor until you have accepted that consent. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. -### - -​ - -Common model pairings +### Common model pairings Any accepted pairing works. These combinations balance cost against capability in different ways: @@ -125,19 +93,11 @@ Fable main + Fable advisor| Highest-capability pairing when Fable is available. Claude Code doesn’t apply an Opus or Sonnet advisor to a Fable main model Sonnet main + Sonnet advisor| A lower-cost second opinion for catching routine oversights -## - -​ - -When Claude consults the advisor +## When Claude consults the advisor Claude decides when to call the advisor. It tends to consult before committing to an approach, when an error keeps recurring, and before declaring a task done, but the timing is model-driven rather than rule-based. You can ask for a consultation in your prompt the same way you would request any tool, for example `consult the advisor before you continue`. There is no setting to cap or force advisor calls; if you want Claude to consult more or less often during a task, say so in your instructions. -## - -​ - -What you see during a session +## What you see during a session When Claude calls the advisor, the transcript shows an `Advising` line with the advisor model name while the call is in progress. When the result returns, the line reports whether the advisor gave guidance: @@ -147,11 +107,7 @@ Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan. -## - -​ - -Cost +## Cost When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. How those advisor tokens are billed depends on how you pay: @@ -160,30 +116,18 @@ For how a Fable advisor works with usage credits, see Fable advisor and usage credits. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. -## - -​ - -Impact on prompt caching +## Impact on prompt caching Enabling or disabling the advisor mid-session does not invalidate your main model’s [prompt cache](</docs/en/prompt-caching>). Unlike [switching models](</docs/en/prompt-caching#switching-models>), toggling `/advisor` keeps the cached prefix intact, and the advisor’s returned guidance is cached as part of the transcript on later turns. The advisor model’s own read of the conversation is not cached. Each advisor call processes the full transcript anew, with no reuse between calls. -## - -​ - -Requirements +## Requirements * **Provider** : the Anthropic API or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS, the advisor requires Claude Code v2.1.300 or later. * **LLM gateway** : through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5, or Haiku 5.5. See Choose an advisor model for which advisors each accepts. * **Feature-flag fetching** : unless you’re on Claude Platform on AWS, the advisor needs a feature flag fetched from Anthropic. A session with a variable that turns fetching off, such as `DISABLE_TELEMETRY`, doesn’t have that flag. To check your session, see [which sessions skip the fetch or start without the flag](</docs/en/env-vars#features-that-need-feature-flag-fetching>). -## - -​ - -Turn the advisor off +## Turn the advisor off To stop using the advisor, run `/advisor off` or choose **No advisor** in the `/advisor` picker: @@ -191,11 +135,7 @@ To disable the advisor tool entirely, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. The `/advisor` command becomes unavailable and any configured `advisorModel` is ignored. The `--advisor` flag is accepted but has no effect. See [Environment variables](</docs/en/env-vars>). -## - -​ - -Compare with related features +## Compare with related features The advisor is one of several ways to combine model strengths. Pick based on when you want a second model involved. @@ -206,11 +146,7 @@ [Subagents](</docs/en/sub-agents#choose-a-model>) with `model` set| For the entire delegated subtask| Claude delegates, or you invoke the subagent [`/model`](</docs/en/model-config#setting-your-model>)| From the next request onward| You switch models -## - -​ - -See also +## See also * [Model configuration](</docs/en/model-config>): switch models, set effort levels, and use `opusplan` * [Manage costs effectively](</docs/en/costs>): track token usage across models
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires the Anthropic API. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires the Anthropic API or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>). On Claude Platform on AWS, it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -174,11 +174,10 @@ Requirements -The advisor tool requires all of the following: - - * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. + * **Provider** : the Anthropic API or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), not Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. On Claude Platform on AWS, the advisor requires Claude Code v2.1.300 or later. + * **LLM gateway** : through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5, or Haiku 5.5. See Choose an advisor model for which advisors each accepts. - * **Feature-flag fetching** : Claude Code turns the advisor on through a feature flag it fetches from Anthropic. In a session where a variable that turns flag fetching off is set, such as `DISABLE_TELEMETRY`, the advisor stays off. See [Features that need feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>). + * **Feature-flag fetching** : unless you’re on Claude Platform on AWS, the advisor needs a feature flag fetched from Anthropic. A session with a variable that turns fetching off, such as `DISABLE_TELEMETRY`, doesn’t have that flag. To check your session, see [which sessions skip the fetch or start without the flag](</docs/en/env-vars#features-that-need-feature-flag-fetching>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -158,7 +158,7 @@ * **API billing** : you pay the advisor model’s input and output rates for advisor tokens * **Subscription plans** : advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to [usage credits](</docs/en/model-config#fable-and-usage-credits>) on plans where Fable usage does -If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. +For how a Fable advisor works with usage credits, see Fable advisor and usage credits. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -90,10 +90,11 @@ Opus 4.7 or Opus 4.8| Fable, Opus 4.7 or later, Sonnet 5.5 Sonnet 5.5| Fable, Opus 5 or later, Sonnet 5.5 Opus 5 or Opus 5.5| Fable, Opus 5 or later -Fable 5| Fable 5.1 or Fable 5 -Fable 5.1| Fable 5.1 - -Fable 5.1 requires Claude Code v2.1.257 or later. Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Sonnet 5.5 as the advisor for an Opus 4.7 or Opus 4.8 main model requires Claude Code v2.1.287 or later. Haiku 5.5 as the main model or as the advisor requires Claude Code v2.1.293 or later. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s [built-in default version](</docs/en/model-config#model-aliases>) for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5` or `claude-haiku-5-5`. Haiku 4.5 can call the advisor but can’t act as one. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: +Fable 5| Fable 5.2, Fable 5.1, or Fable 5 +Fable 5.1| Fable 5.2 or Fable 5.1 +Fable 5.2| Fable 5.2 + +Fable 5.2 requires Claude Code v2.1.321 or later, and Fable 5.1 requires v2.1.257 or later. Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Sonnet 5.5 as the advisor for an Opus 4.7 or Opus 4.8 main model requires Claude Code v2.1.287 or later. Haiku 5.5 as the main model or as the advisor requires Claude Code v2.1.293 or later. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s [built-in default version](</docs/en/model-config#model-aliases>) for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5` or `claude-haiku-5-5`. Haiku 4.5 can call the advisor but can’t act as one. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: * For an advisor that ranks below the main model, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this; see [Advisor is less capable than the current main model](</docs/en/errors#advisor-is-less-capable-than-the-current-main-model>). Subagents whose own model satisfies the pairing may still use the advisor. * If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls. If you then pick a different advisor with `/advisor`, it takes effect after `/clear` or `/compact` and in new sessions.
modified
--- a/advisor.md +++ b/advisor.md @@ -71,7 +71,7 @@ * Your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model * You requested Fable and your account still requires the usage-credits consent -If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. If the requested model can act as an advisor but ranks below the session’s main model, Claude Code starts the session anyway. Outside background sessions, it also warns at launch that the model `cannot advise` the main model. +If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. If the model you pass can act as an advisor but ranks below your main model, the session starts whether or not it’s a background session. Your main model then runs without the advisor. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -67,7 +67,7 @@ Claude Code uses the flag instead of the `advisorModel` setting for that session. It doesn’t list `--advisor` in `claude --help`. Claude Code exits with an error at launch if: * The session’s main model doesn’t support the advisor - * The requested model, such as Haiku, can’t act as an advisor + * The requested model, such as Haiku 4.5, can’t act as an advisor * Your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model * You requested Fable and your account still requires the usage-credits consent @@ -83,17 +83,17 @@ Main model| Accepted advisors ---|--- -Haiku 4.5| Fable, Opus, Sonnet -Sonnet 4.6| Fable, Opus, Sonnet -Opus 4.6| Fable, Opus, Sonnet 5 or later -Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later +Haiku 4.5| Fable, Opus, Sonnet, Haiku 5.5 +Sonnet 4.6| Fable, Opus, Sonnet, Haiku 5.5 +Opus 4.6| Fable, Opus, Sonnet 5 or later, Haiku 5.5 +Sonnet 5 or Haiku 5.5| Fable, Opus 4.7 or later, Sonnet 5 or later, Haiku 5.5 Opus 4.7 or Opus 4.8| Fable, Opus 4.7 or later, Sonnet 5.5 Sonnet 5.5| Fable, Opus 5 or later, Sonnet 5.5 Opus 5 or Opus 5.5| Fable, Opus 5 or later Fable 5| Fable 5.1 or Fable 5 Fable 5.1| Fable 5.1 -Fable 5.1 requires Claude Code v2.1.257 or later. Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Sonnet 5.5 as the advisor for an Opus 4.7 or Opus 4.8 main model requires Claude Code v2.1.287 or later. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s [built-in default version](</docs/en/model-config#model-aliases>) for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5`. Haiku can call the advisor but can’t act as one. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: +Fable 5.1 requires Claude Code v2.1.257 or later. Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Sonnet 5.5 as the advisor for an Opus 4.7 or Opus 4.8 main model requires Claude Code v2.1.287 or later. Haiku 5.5 as the main model or as the advisor requires Claude Code v2.1.293 or later. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s [built-in default version](</docs/en/model-config#model-aliases>) for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5` or `claude-haiku-5-5`. Haiku 4.5 can call the advisor but can’t act as one. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: * For an advisor that ranks below the main model, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this; see [Advisor is less capable than the current main model](</docs/en/errors#advisor-is-less-capable-than-the-current-main-model>). Subagents whose own model satisfies the pairing may still use the advisor. * If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls. If you then pick a different advisor with `/advisor`, it takes effect after `/clear` or `/compact` and in new sessions. @@ -176,7 +176,7 @@ The advisor tool requires all of the following: * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. - * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. See Choose an advisor model for which advisors each accepts. + * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5, or Haiku 5.5. See Choose an advisor model for which advisors each accepts. * **Feature-flag fetching** : Claude Code turns the advisor on through a feature flag it fetches from Anthropic. In a session where a variable that turns flag fetching off is set, such as `DISABLE_TELEMETRY`, the advisor stays off. See [Features that need feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -71,7 +71,7 @@ * Your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model * You requested Fable and your account still requires the usage-credits consent -If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. +If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. If the requested model can act as an advisor but ranks below the session’s main model, Claude Code starts the session anyway. Outside background sessions, it also warns at launch that the model `cannot advise` the main model. ## @@ -79,24 +79,24 @@ Choose an advisor model -Both Claude Code and the API require an advisor at least as capable as the main model, and the two rank some models differently. The accepted advisors for each main model are: - -Main model| Accepted advisors| Notes ----|---|--- -Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one -Sonnet 4.6| Fable, Opus, Sonnet| -Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor -Sonnet 5.5| Fable, Opus 5 or later, Sonnet 5.5| A Sonnet 4.6 advisor is rejected, and the API refuses a Sonnet 5, Opus 4.6, Opus 4.7, or Opus 4.8 advisor -Opus 4.6| Fable, Opus, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected -Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected -Opus 5.5 or Opus 5| Fable, and Opus 5 or later| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor -Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected -Fable 5.1| Fable 5.1| An Opus or Sonnet advisor is rejected, and the API refuses a Fable 5 advisor - -Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: - - * For an advisor the table lists as rejected, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. - * For an advisor the table lists as refused by the API, Claude Code attaches it and the API refuses it. Claude Code then resends that request without the advisor, and the rest of the conversation runs without one, so you see no error and get no advisor calls. Pick an accepted advisor with `/advisor`; the change takes effect after `/clear` or `/compact` and in new sessions. +Claude Code ranks models by capability for the advisor role, and an advisor must rank at or above your session’s main model. Rows run from the lowest-ranked main model to the highest: + +Main model| Accepted advisors +---|--- +Haiku 4.5| Fable, Opus, Sonnet +Sonnet 4.6| Fable, Opus, Sonnet +Opus 4.6| Fable, Opus, Sonnet 5 or later +Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later +Opus 4.7 or Opus 4.8| Fable, Opus 4.7 or later, Sonnet 5.5 +Sonnet 5.5| Fable, Opus 5 or later, Sonnet 5.5 +Opus 5 or Opus 5.5| Fable, Opus 5 or later +Fable 5| Fable 5.1 or Fable 5 +Fable 5.1| Fable 5.1 + +Fable 5.1 requires Claude Code v2.1.257 or later. Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Sonnet 5.5 as the advisor for an Opus 4.7 or Opus 4.8 main model requires Claude Code v2.1.287 or later. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s [built-in default version](</docs/en/model-config#model-aliases>) for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5`. Haiku can call the advisor but can’t act as one. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: + + * For an advisor that ranks below the main model, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this; see [Advisor is less capable than the current main model](</docs/en/errors#advisor-is-less-capable-than-the-current-main-model>). Subagents whose own model satisfies the pairing may still use the advisor. + * If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls. If you then pick a different advisor with `/advisor`, it takes effect after `/clear` or `/compact` and in new sessions. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. ###
modified
--- a/advisor.md +++ b/advisor.md @@ -79,13 +79,14 @@ Choose an advisor model -The advisor must be at least as capable as the main model. The accepted advisors for each main model are: +Both Claude Code and the API require an advisor at least as capable as the main model, and the two rank some models differently. The accepted advisors for each main model are: Main model| Accepted advisors| Notes ---|---|--- Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| -Sonnet 5.5 or Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor +Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor +Sonnet 5.5| Fable, Opus 5 or later, Sonnet 5.5| A Sonnet 4.6 advisor is rejected, and the API refuses a Sonnet 5, Opus 4.6, Opus 4.7, or Opus 4.8 advisor Opus 4.6| Fable, Opus, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected Opus 5.5 or Opus 5| Fable, and Opus 5 or later| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor
modified
--- a/advisor.md +++ b/advisor.md @@ -85,8 +85,8 @@ ---|---|--- Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| -Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor -Opus 4.6| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected +Sonnet 5.5 or Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor +Opus 4.6| Fable, Opus, Sonnet 5 or later| A Sonnet 4.6 advisor is rejected Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected Opus 5.5 or Opus 5| Fable, and Opus 5 or later| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected
modified
--- a/advisor.md +++ b/advisor.md @@ -141,6 +141,7 @@ * **Reviewed** : the line confirms that the advisor has reviewed the conversation. When the advisor returned readable guidance, press `Ctrl+O` to read it. * **Declined** : the line reads `Advisor declined to advise on this request`. If the advisor gave a reason, press `Ctrl+O` to read it. + * **Unavailable** : the advisor call failed, and the line reads `Advisor unavailable (<error_code>)`, where `<error_code>` is the code the call returned. Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan.
modified
--- a/advisor.md +++ b/advisor.md @@ -88,11 +88,11 @@ Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor Opus 4.6| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected -Opus 5| Fable, Opus 5| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor +Opus 5.5 or Opus 5| Fable, and Opus 5 or later| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected Fable 5.1| Fable 5.1| An Opus or Sonnet advisor is rejected, and the API refuses a Fable 5 advisor -Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: +Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: * For an advisor the table lists as rejected, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * For an advisor the table lists as refused by the API, Claude Code attaches it and the API refuses it. Claude Code then resends that request without the advisor, and the rest of the conversation runs without one, so you see no error and get no advisor calls. Pick an accepted advisor with `/advisor`; the change takes effect after `/clear` or `/compact` and in new sessions. @@ -173,7 +173,7 @@ The advisor tool requires all of the following: - * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. + * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. If the gateway or its upstream doesn’t recognize the advisor tool, see [Automatic retry and error forwarding](</docs/en/llm-gateway-protocol#automatic-retry-and-error-forwarding>) for how Claude Code responds. * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. See Choose an advisor model for which advisors each accepts. * **Feature-flag fetching** : Claude Code turns the advisor on through a feature flag it fetches from Anthropic. In a session where a variable that turns flag fetching off is set, such as `DISABLE_TELEMETRY`, the advisor stays off. See [Features that need feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>).
modified
--- a/advisor.md +++ b/advisor.md @@ -40,7 +40,7 @@ * Run `/advisor` with a model, such as `/advisor opus`, to set it. * Run `/advisor off` to turn it off. -Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. +Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). If the API already refused the saved advisor in the current conversation, it stays off until `/clear` or `/compact`, even after you switch models. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. ### @@ -85,17 +85,17 @@ ---|---|--- Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| -Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5| A Sonnet 4.6 advisor is rejected, and requests with an Opus 4.6 advisor fail with an API error +Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5| A Sonnet 4.6 advisor is rejected, and the API refuses an Opus 4.6 advisor Opus 4.6| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected -Opus 5| Fable, Opus 5| An Opus 4.6 or Sonnet advisor is rejected, and requests with an Opus 4.7 or Opus 4.8 advisor fail with an API error +Opus 5| Fable, Opus 5| An Opus 4.6 or Sonnet advisor is rejected, and the API refuses an Opus 4.7 or Opus 4.8 advisor Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected -Fable 5.1| Fable 5.1| An Opus or Sonnet advisor is rejected, and requests with a Fable 5 advisor fail with an API error +Fable 5.1| Fable 5.1| An Opus or Sonnet advisor is rejected, and the API refuses a Fable 5 advisor Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: * For an advisor the table lists as rejected, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. - * For an advisor the table lists as failing with an API error, Claude Code attaches it and the API refuses it. Every request fails with `'<advisor model>' cannot be used as an advisor when the request model is '<main model>'` until you change the advisor with `/advisor` or turn it off. + * For an advisor the table lists as refused by the API, Claude Code attaches it and the API refuses it. Claude Code then resends that request without the advisor, and the rest of the conversation runs without one, so you see no error and get no advisor calls. Pick an accepted advisor with `/advisor`; the change takes effect after `/clear` or `/compact` and in new sessions. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. ###
modified
--- a/advisor.md +++ b/advisor.md @@ -85,14 +85,17 @@ ---|---|--- Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| -Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected -Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor -Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected -Fable 5.1 or Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected - -Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: - - * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. +Sonnet 5| Fable, Opus 4.7 or later, Sonnet 5| A Sonnet 4.6 advisor is rejected, and requests with an Opus 4.6 advisor fail with an API error +Opus 4.6| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected +Opus 4.7 or Opus 4.8| Fable, and Opus 4.7 or later| An Opus 4.6 or Sonnet advisor is rejected +Opus 5| Fable, Opus 5| An Opus 4.6 or Sonnet advisor is rejected, and requests with an Opus 4.7 or Opus 4.8 advisor fail with an API error +Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected +Fable 5.1| Fable 5.1| An Opus or Sonnet advisor is rejected, and requests with a Fable 5 advisor fail with an API error + +Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request, and the API validates it again: + + * For an advisor the table lists as rejected, Claude Code doesn’t attach it to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. + * For an advisor the table lists as failing with an API error, Claude Code attaches it and the API refuses it. Every request fails with `'<advisor model>' cannot be used as an advisor when the request model is '<main model>'` until you change the advisor with `/advisor` or turn it off. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. ###
modified
--- a/advisor.md +++ b/advisor.md @@ -88,7 +88,7 @@ Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected -Fable 5.1 or Fable 5| Fable 5.1, or the same Fable version| An Opus or Sonnet advisor is rejected, and so is a Fable 5 advisor for a Fable 5.1 main model +Fable 5.1 or Fable 5| Fable 5.1 or Fable 5| An Opus or Sonnet advisor is rejected Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request:
modified
--- a/advisor.md +++ b/advisor.md @@ -90,7 +90,7 @@ Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected Fable 5.1 or Fable 5| Fable 5.1, or the same Fable version| An Opus or Sonnet advisor is rejected, and so is a Fable 5 advisor for a Fable 5.1 main model -Fable 5.1 requires Claude Code v2.1.257 or later, and Fable 5 requires v2.1.170 or later. Both require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5.1 requires Claude Code v2.1.257 or later. Both Fable models require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached.
modified
--- a/advisor.md +++ b/advisor.md @@ -34,7 +34,13 @@ /advisor opus -The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. +The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions, except in the cases the [`advisorModel` entry](</docs/en/settings-reference#advisormodel>) lists as applying to the current session only. The command also works where there is no terminal picker: in [non-interactive mode](</docs/en/headless>) with `-p`, in the Agent SDK, in the desktop app, and over [Remote Control](</docs/en/remote-control>). This requires Claude Code v2.1.260 or later. On those surfaces: + + * Run `/advisor` with no argument to print the current advisor model and the aliases it accepts. + * Run `/advisor` with a model, such as `/advisor opus`, to set it. + * Run `/advisor off` to turn it off. + +Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. ### @@ -84,7 +90,7 @@ Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected Fable 5.1 or Fable 5| Fable 5.1, or the same Fable version| An Opus or Sonnet advisor is rejected, and so is a Fable 5 advisor for a Fable 5.1 main model -Fable 5.1 requires Claude Code v2.1.255 or later and Fable 5 requires v2.1.170 or later, plus [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5.1 requires Claude Code v2.1.257 or later, and Fable 5 requires v2.1.170 or later. Both require [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. @@ -141,7 +147,12 @@ Cost -When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, you pay the advisor model’s input and output rates for advisor tokens. On subscription plans, advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to [usage credits](</docs/en/model-config#fable-and-usage-credits>) on plans where Fable usage does. If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. +When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. How those advisor tokens are billed depends on how you pay: + + * **API billing** : you pay the advisor model’s input and output rates for advisor tokens + * **Subscription plans** : advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to [usage credits](</docs/en/model-config#fable-and-usage-credits>) on plans where Fable usage does + +If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. ## @@ -169,7 +180,7 @@ Turn the advisor off -To stop using the advisor and clear your saved `advisorModel`, run `/advisor off` or choose **No advisor** in the `/advisor` picker: +To stop using the advisor, run `/advisor off` or choose **No advisor** in the `/advisor` picker: /advisor off
modified
--- a/advisor.md +++ b/advisor.md @@ -149,7 +149,7 @@ Impact on prompt caching -Enabling or disabling the advisor mid-session does not invalidate your main model’s [prompt cache](</docs/en/prompt-caching>). Unlike [changing model or effort level](</docs/en/prompt-caching#actions-that-invalidate-the-cache>), toggling `/advisor` keeps the cached prefix intact, and the advisor’s returned guidance is cached as part of the transcript on later turns. The advisor model’s own read of the conversation is not cached. Each advisor call processes the full transcript anew, with no reuse between calls. +Enabling or disabling the advisor mid-session does not invalidate your main model’s [prompt cache](</docs/en/prompt-caching>). Unlike [switching models](</docs/en/prompt-caching#switching-models>), toggling `/advisor` keeps the cached prefix intact, and the advisor’s returned guidance is cached as part of the transcript on later turns. The advisor model’s own read of the conversation is not cached. Each advisor call processes the full transcript anew, with no reuse between calls. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -22,7 +22,7 @@ * **`advisorModel` setting**: configure a persistent default in your [settings file](</docs/en/settings>) * **`--advisor` flag**: set the advisor for a single session at launch -Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. +Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. ### @@ -34,7 +34,7 @@ /advisor opus -The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. +The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. ### @@ -82,9 +82,9 @@ Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected -Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected - -Fable 5 requires Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>), whether it acts as the main model or the advisor. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5.1 or Fable 5| Fable 5.1, or the same Fable version| An Opus or Sonnet advisor is rejected, and so is a Fable 5 advisor for a Fable 5.1 main model + +Fable 5.1 requires Claude Code v2.1.255 or later and Fable 5 requires v2.1.170 or later, plus [Fable access](</docs/en/model-config#work-with-fable>). Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. @@ -95,7 +95,7 @@ Fable advisor and usage credits -On some plans, Fable 5 usage bills to usage credits, and Claude Code asks for your [one-time consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>) when you select Fable 5 with `/model`. Fable as the advisor bills the same way, so on those plans Claude Code doesn’t apply Fable as the advisor until you have accepted that consent. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable 5. Claude Code records the consent and [saves Fable 5 as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. +On some plans, Fable usage bills to usage credits, and Fable as the advisor bills the same way. If your account requires the [one-time consent to bill Fable usage to usage credits](</docs/en/model-config#fable-and-usage-credits>), Claude Code asks for it when you select a Fable model with `/model` and doesn’t apply Fable as the advisor until you have accepted that consent. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable. Claude Code records the consent and [saves Fable as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. ### @@ -108,10 +108,10 @@ Pairing| When to use ---|--- Sonnet main + Opus advisor| Sonnet handles routine work and escalates planning, ambiguous failures, and completion checks to Opus -Sonnet main + Fable advisor| Fable 5 guidance at decision points without running Fable 5 throughout. Requires v2.1.170 or later and Fable 5 access +Sonnet main + Fable advisor| Fable guidance at decision points without running Fable throughout. Requires Fable access Haiku main + Opus advisor| Lowest-cost main model with strong planning. Expect higher cost than Haiku alone but lower than switching the main model to Sonnet or Opus Opus main + Opus advisor| A second Opus reviews the first. Useful for high-stakes tasks where an independent check matters more than cost -Fable main + Fable advisor| Highest-capability pairing when Fable 5 is available (v2.1.170+). Fable is a higher tier than Opus and Sonnet, so it is the only accepted advisor for a Fable main model +Fable main + Fable advisor| Highest-capability pairing when Fable is available. Claude Code doesn’t apply an Opus or Sonnet advisor to a Fable main model Sonnet main + Sonnet advisor| A lower-cost second opinion for catching routine oversights ## @@ -141,7 +141,7 @@ Cost -When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, you pay the advisor model’s input and output rates for advisor tokens. On subscription plans, advisor usage counts toward your plan’s usage limits, except that a Fable 5 advisor bills to [usage credits](</docs/en/model-config#fable-5-and-usage-credits>) on plans where Fable 5 usage does. If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. +When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, you pay the advisor model’s input and output rates for advisor tokens. On subscription plans, advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to [usage credits](</docs/en/model-config#fable-and-usage-credits>) on plans where Fable usage does. If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. ## @@ -160,7 +160,7 @@ The advisor tool requires all of the following: * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. - * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later, and a Fable 5 main accepts only a Fable advisor. + * **Supported main model** : Fable, Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. See Choose an advisor model for which advisors each accepts. * **Feature-flag fetching** : Claude Code turns the advisor on through a feature flag it fetches from Anthropic. In a session where a variable that turns flag fetching off is set, such as `DISABLE_TELEMETRY`, the advisor stays off. See [Features that need feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -188,7 +188,7 @@ Advisor tool| At decision points mid-task| Claude calls it when it needs guidance [`opusplan`](</docs/en/model-config#opusplan-model-setting>)| During plan mode when [allowed by `availableModels`](</docs/en/model-config#restrict-model-selection>), then switches to Sonnet for execution| You enter plan mode [Subagents](</docs/en/sub-agents#choose-a-model>) with `model` set| For the entire delegated subtask| Claude delegates, or you invoke the subagent -[`/model`](</docs/en/model-config#setting-your-model>)| For all subsequent turns| You switch models +[`/model`](</docs/en/model-config#setting-your-model>)| From the next request onward| You switch models ##
modified
--- a/advisor.md +++ b/advisor.md @@ -130,7 +130,7 @@ When Claude calls the advisor, the transcript shows an `Advising` line with the advisor model name while the call is in progress. When the result returns, the line reports whether the advisor gave guidance: - * **Reviewed** : the line confirms that the advisor has reviewed the conversation. Press `Ctrl+O` to expand it and read the advisor’s full guidance. + * **Reviewed** : the line confirms that the advisor has reviewed the conversation. When the advisor returned readable guidance, press `Ctrl+O` to read it. * **Declined** : the line reads `Advisor declined to advise on this request`. If the advisor gave a reason, press `Ctrl+O` to read it. Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan.
modified
--- a/advisor.md +++ b/advisor.md @@ -22,7 +22,7 @@ * **`advisorModel` setting**: configure a persistent default in your [settings file](</docs/en/settings>) * **`--advisor` flag**: set the advisor for a single session at launch -If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it, and an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification appears after the session starts. To stop using it, see Turn the advisor off. +Each of these enables the advisor for sessions whose main model supports it. After the session starts, Claude Code shows an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification. To stop using the advisor, see Turn the advisor off. On some plans, Fable as the advisor also needs your one-time [consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>). For what happens before you have given that consent, see Fable advisor and usage credits. ### @@ -34,7 +34,7 @@ /advisor opus -The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the saved advisor model, the advisor is not invoked until you pick an allowed model with `/advisor`. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). +The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. Claude Code doesn’t invoke a saved advisor that your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes. To use the advisor, pick an allowed model with `/advisor`. Claude Code still saves an advisor that your current main model doesn’t support. That advisor activates after you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). On some plans, Fable as the advisor also needs your one-time [consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>). For what `/advisor fable` does before you have given that consent, see Fable advisor and usage credits. ### @@ -58,7 +58,14 @@ claude --advisor opus -The flag takes precedence over the `advisorModel` setting for that session, and isn’t listed in `claude --help`. It exits with an error if the session’s main model does not support the advisor, or if the requested advisor model is excluded by your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist. +Claude Code uses the flag instead of the `advisorModel` setting for that session. It doesn’t list `--advisor` in `claude --help`. Claude Code exits with an error at launch if: + + * The session’s main model doesn’t support the advisor + * The requested model, such as Haiku, can’t act as an advisor + * Your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the requested model + * You requested Fable and your account still requires the usage-credits consent + +If you start a [background session](</docs/en/agent-view>) with `--advisor` and one of these applies, Claude Code starts the session without the advisor instead of exiting. ## @@ -86,6 +93,14 @@ ​ +Fable advisor and usage credits + +On some plans, Fable 5 usage bills to usage credits, and Claude Code asks for your [one-time consent to bill Fable 5 usage to usage credits](</docs/en/model-config#fable-5-and-usage-credits>) when you select Fable 5 with `/model`. Fable as the advisor bills the same way, so on those plans Claude Code doesn’t apply Fable as the advisor until you have accepted that consent. Before you have accepted it, Claude Code doesn’t save Fable as the advisor when you type `/advisor fable` or pick Fable in the `/advisor` picker. It points you to `/model fable` instead. With `claude --advisor fable`, Claude Code exits at launch with a message that points to `/model fable`. In a background session, it starts the session without the advisor instead of exiting. With Fable already saved as your `advisorModel`, Claude Code sends requests without the advisor. In an interactive session whose main model supports the advisor, it also shows a notification that points to `/model fable`. To accept the consent, run `/model fable` and choose to continue on Fable 5. Claude Code records the consent and [saves Fable 5 as your selected model](</docs/en/model-config#default-model-setting>). Then select Fable as the advisor. + +### + +​ + Common model pairings Any accepted pairing works. These combinations balance cost against capability in different ways: @@ -113,7 +128,12 @@ What you see during a session -When Claude calls the advisor, the transcript shows an `Advising` line with the advisor model name while the call is in progress. When the result returns, the line confirms that the advisor has reviewed the conversation. Press `Ctrl+O` to expand it and read the advisor’s full guidance. Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan. +When Claude calls the advisor, the transcript shows an `Advising` line with the advisor model name while the call is in progress. When the result returns, the line reports whether the advisor gave guidance: + + * **Reviewed** : the line confirms that the advisor has reviewed the conversation. Press `Ctrl+O` to expand it and read the advisor’s full guidance. + * **Declined** : the line reads `Advisor declined to advise on this request`. If the advisor gave a reason, press `Ctrl+O` to read it. + +Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan. ## @@ -121,7 +141,7 @@ Cost -Each advisor call sends the conversation to the advisor model, so it consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, advisor tokens are charged at the advisor model’s input and output rates. On subscription plans, advisor usage counts toward your plan’s usage limits. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. +When Claude calls the advisor, the advisor model reads the conversation, so each call consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, you pay the advisor model’s input and output rates for advisor tokens. On subscription plans, advisor usage counts toward your plan’s usage limits, except that a Fable 5 advisor bills to [usage credits](</docs/en/model-config#fable-5-and-usage-credits>) on plans where Fable 5 usage does. If your account requires the usage-credits consent, a Fable advisor bills nothing before you give it, because Claude Code doesn’t apply the selection until then. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -23,8 +23,6 @@ * **`--advisor` flag**: set the advisor for a single session at launch If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it, and an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification appears after the session starts. To stop using it, see Turn the advisor off. - -Claude Code doesn’t offer Fable 5 as the advisor. For organizations with [Fable 5 access](</docs/en/model-config#work-with-fable-5>), the `/advisor` picker lists it as a dimmed, unselectable row labeled `Fable 5 (temporarily unavailable)`, and Claude Code rejects `/advisor fable` and `--advisor fable`. Fable 5 as the main model isn’t affected.A remotely configured rollout controls when Fable 5 returns as an advisor option. ### @@ -68,7 +66,7 @@ Choose an advisor model -The advisor must be at least as capable as the main model. Fable 5 satisfies the capability check but isn’t offered as the advisor, so the Fable entries in the following table apply once the rollout returns it as an option. The accepted advisors for each main model are: +The advisor must be at least as capable as the main model. The accepted advisors for each main model are: Main model| Accepted advisors| Notes ---|---|--- @@ -77,9 +75,9 @@ Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected -Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected. Fable isn’t offered as the advisor, so a Fable 5 main model runs without one +Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected -Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5 requires Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>), whether it acts as the main model or the advisor. Set the advisor as `fable`, `opus`, or `sonnet`. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. @@ -90,7 +88,7 @@ Common model pairings -Any accepted pairing works. Pairings that use Fable 5 as the advisor apply once Fable 5 returns as an advisor option. These combinations balance cost against capability in different ways: +Any accepted pairing works. These combinations balance cost against capability in different ways: Pairing| When to use ---|--- @@ -142,7 +140,8 @@ The advisor tool requires all of the following: * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. - * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later, but a Fable 5 main accepts only a Fable advisor and Fable isn’t offered as the advisor, so a Fable 5 session runs without one until the rollout returns it as an option. + * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later, and a Fable 5 main accepts only a Fable advisor. + * **Feature-flag fetching** : Claude Code turns the advisor on through a feature flag it fetches from Anthropic. In a session where a variable that turns flag fetching off is set, such as `DISABLE_TELEMETRY`, the advisor stays off. See [Features that need feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -154,7 +154,7 @@ /advisor off -To disable the advisor tool entirely, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. The `/advisor` command becomes unavailable and any configured `advisorModel` is ignored. The `--advisor` flag is accepted but has no effect; existing scripts that pass it continue to work without errors. See [Environment variables](</docs/en/env-vars>). +To disable the advisor tool entirely, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. The `/advisor` command becomes unavailable and any configured `advisorModel` is ignored. The `--advisor` flag is accepted but has no effect. See [Environment variables](</docs/en/env-vars>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -79,7 +79,7 @@ Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected. Fable isn’t offered as the advisor, so a Fable 5 main model runs without one -Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to Claude Code’s built-in default version for each model family, which advances with new Claude Code releases. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached.
modified
--- a/advisor.md +++ b/advisor.md @@ -76,10 +76,10 @@ Sonnet 4.6| Fable, Opus, Sonnet| Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor -Opus 4.7 or later| Fable, Opus 4.7, Opus 4.8| Opus 4.7 and Opus 4.8 are ranked as equally capable, so either accepts the other as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected +Opus 4.7 or later| Fable, and Opus 4.7 or later| Opus 4.7 and later Opus models are ranked as equally capable, so any of them accepts another as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected. Fable isn’t offered as the advisor, so a Fable 5 main model runs without one -Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-5`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached.
modified
--- a/advisor.md +++ b/advisor.md @@ -22,9 +22,9 @@ * **`advisorModel` setting**: configure a persistent default in your [settings file](</docs/en/settings>) * **`--advisor` flag**: set the advisor for a single session at launch -If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it. To stop using it, see Turn the advisor off. +If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it, and an `Advisor Tool (experimental) is on and may use more tokens · /advisor` notification appears after the session starts. To stop using it, see Turn the advisor off. -To use Fable 5 as the advisor, you need Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>) for your organization. +Claude Code doesn’t offer Fable 5 as the advisor. For organizations with [Fable 5 access](</docs/en/model-config#work-with-fable-5>), the `/advisor` picker lists it as a dimmed, unselectable row labeled `Fable 5 (temporarily unavailable)`, and Claude Code rejects `/advisor fable` and `--advisor fable`. Fable 5 as the main model isn’t affected.A remotely configured rollout controls when Fable 5 returns as an advisor option. ### @@ -36,7 +36,7 @@ /advisor opus -Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the saved advisor model, the advisor is not invoked until you pick an allowed model with `/advisor`. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). +The command confirms with `Advisor set to` followed by the advisor model name. Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the saved advisor model, the advisor is not invoked until you pick an allowed model with `/advisor`. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). ### @@ -60,7 +60,7 @@ claude --advisor opus -The flag takes precedence over the `advisorModel` setting for that session. It exits with an error if the session’s main model does not support the advisor, or if the requested advisor model is excluded by your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist. +The flag takes precedence over the `advisorModel` setting for that session, and isn’t listed in `claude --help`. It exits with an error if the session’s main model does not support the advisor, or if the requested advisor model is excluded by your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist. ## @@ -68,7 +68,7 @@ Choose an advisor model -The advisor must be at least as capable as the main model. The accepted advisors for each main model are: +The advisor must be at least as capable as the main model. Fable 5 satisfies the capability check but isn’t offered as the advisor, so the Fable entries in the following table apply once the rollout returns it as an option. The accepted advisors for each main model are: Main model| Accepted advisors| Notes ---|---|--- @@ -77,9 +77,9 @@ Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor Opus 4.7 or later| Fable, Opus 4.7, Opus 4.8| Opus 4.7 and Opus 4.8 are ranked as equally capable, so either accepts the other as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected -Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected +Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected. Fable isn’t offered as the advisor, so a Fable 5 main model runs without one -Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: +Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus` or `sonnet`, or as `fable` once the rollout returns it as an option. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. @@ -90,7 +90,7 @@ Common model pairings -Any accepted pairing works. These combinations balance cost against capability in different ways: +Any accepted pairing works. Pairings that use Fable 5 as the advisor apply once Fable 5 returns as an advisor option. These combinations balance cost against capability in different ways: Pairing| When to use ---|--- @@ -142,7 +142,7 @@ The advisor tool requires all of the following: * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. - * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. + * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later, but a Fable 5 main accepts only a Fable advisor and Fable isn’t offered as the advisor, so a Fable 5 session runs without one until the rollout returns it as an option. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires the Anthropic API. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires the Anthropic API. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -141,7 +141,7 @@ The advisor tool requires all of the following: - * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. + * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires Claude Code v2.1.98 or later with the Anthropic API. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires the Anthropic API. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -141,7 +141,6 @@ The advisor tool requires all of the following: - * **Claude Code v2.1.98 or later** : run `claude update` to upgrade. * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later.
modified
--- a/advisor.md +++ b/advisor.md @@ -1,4 +1,4 @@ -The advisor tool is experimental and requires Claude Code v2.1.98 or later with the Anthropic API. It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Behavior, pricing, and availability may change. +The advisor tool is experimental and requires Claude Code v2.1.98 or later with the Anthropic API. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Behavior, pricing, and availability may change. The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. @@ -142,7 +142,7 @@ The advisor tool requires all of the following: * **Claude Code v2.1.98 or later** : run `claude update` to upgrade. - * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. + * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -75,7 +75,8 @@ Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected -Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected. An Opus 4.6 main also accepts a Sonnet 5 advisor +Opus 4.6| Fable, Opus, Sonnet 5| Sonnet 5 and Opus 4.6 are ranked as equally capable, so an Opus 4.6 main accepts a Sonnet 5 advisor +Opus 4.7 or later| Fable, Opus 4.7, Opus 4.8| Opus 4.7 and Opus 4.8 are ranked as equally capable, so either accepts the other as an advisor. An Opus 4.7 main with an Opus 4.6 or Sonnet 5 advisor is rejected Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: @@ -154,7 +155,7 @@ /advisor off -To disable the advisor tool entirely, including the `/advisor` command and the `--advisor` flag, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. See [Environment variables](</docs/en/env-vars>). +To disable the advisor tool entirely, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. The `/advisor` command becomes unavailable and any configured `advisorModel` is ignored. The `--advisor` flag is accepted but has no effect; existing scripts that pass it continue to work without errors. See [Environment variables](</docs/en/env-vars>). ##
modified
--- a/advisor.md +++ b/advisor.md @@ -75,7 +75,7 @@ Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected -Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected +Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected. An Opus 4.6 main also accepts a Sonnet 5 advisor Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request:
modified
--- a/advisor.md +++ b/advisor.md @@ -74,6 +74,7 @@ ---|---|--- Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one Sonnet 4.6| Fable, Opus, Sonnet| +Sonnet 5| Fable, Opus, Sonnet 5| A Sonnet 4.6 advisor is rejected Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected @@ -141,7 +142,7 @@ * **Claude Code v2.1.98 or later** : run `claude update` to upgrade. * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. - * **Supported main model** : Opus 4.6 or later, Sonnet 4.6, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. + * **Supported main model** : Opus 4.6 or later, Sonnet 4.6 or later, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. ##
modified
--- a/advisor.md +++ b/advisor.md @@ -36,7 +36,7 @@ /advisor opus -Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). +Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist excludes the saved advisor model, the advisor is not invoked until you pick an allowed model with `/advisor`. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). ### @@ -60,7 +60,7 @@ claude --advisor opus -The flag takes precedence over the `advisorModel` setting for that session. Unlike `/advisor`, which saves an inactive selection, the flag exits with an error if the session’s main model does not support the advisor. +The flag takes precedence over the `advisorModel` setting for that session. It exits with an error if the session’s main model does not support the advisor, or if the requested advisor model is excluded by your organization’s [`availableModels`](</docs/en/model-config#restrict-model-selection>) allowlist. ## @@ -166,7 +166,7 @@ Approach| When the stronger model runs| How it starts ---|---|--- Advisor tool| At decision points mid-task| Claude calls it when it needs guidance -[`opusplan`](</docs/en/model-config#opusplan-model-setting>)| During plan mode, then switches to Sonnet for execution| You enter plan mode +[`opusplan`](</docs/en/model-config#opusplan-model-setting>)| During plan mode when [allowed by `availableModels`](</docs/en/model-config#restrict-model-selection>), then switches to Sonnet for execution| You enter plan mode [Subagents](</docs/en/sub-agents#choose-a-model>) with `model` set| For the entire delegated subtask| Claude delegates, or you invoke the subagent [`/model`](</docs/en/model-config#setting-your-model>)| For all subsequent turns| You switch models
modified
--- a/advisor.md +++ b/advisor.md @@ -24,7 +24,7 @@ If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it. To stop using it, see Turn the advisor off. -To use Fable 5 as the advisor, you need Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>) for your organization. Fable does not appear in the picker that `/advisor` opens, so pass it directly as `/advisor fable`, `--advisor fable`, or `"advisorModel": "fable"`. +To use Fable 5 as the advisor, you need Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>) for your organization. ### @@ -77,7 +77,10 @@ Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected -Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. The `fable` option does not appear in the `/advisor` picker. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. The API enforces the pairing, not Claude Code. Setting a rejected pairing succeeds, then surfaces as a `cannot be used as an advisor when the request model is` error on the next request. +Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. Subagents inherit the configured advisor and apply the same pairing check against their own model. Claude Code validates the pairing before sending a request: + + * If the advisor is less capable than the main model, the advisor is not attached to the main model’s requests. The `/advisor` command output and a notification show this. Subagents whose own model satisfies the pairing may still use the advisor. + * If the main model or the advisor is a model Claude Code does not recognize, the advisor is not attached. ###
added
Show diff (182 lines)
--- a/advisor.md +++ b/advisor.md @@ -0,0 +1,179 @@ +The advisor tool is experimental and requires Claude Code v2.1.98 or later with the Anthropic API. It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Behavior, pricing, and availability may change. + +The advisor tool lets Claude consult a second, typically stronger model at key moments during a task, such as before committing to an approach, when stuck on a recurring error, or before declaring a task complete. The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic’s infrastructure as a [server tool](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>), available to both subscription and API-billed accounts. You choose which model acts as the advisor, and Claude decides when to call it. This page covers how to enable the advisor, which model pairings are accepted, what Claude shows during a consultation, and how advisor usage is billed. + +## + +​ + +When to use the advisor + +The advisor fits long, multi-step tasks where most turns are routine but plan quality determines the outcome. Examples include large refactors, debugging sessions where an error keeps recurring, and tasks you want independently checked before Claude declares them done. It adds less value on short tasks where there is little to plan, or on work where every turn needs the strongest model. For those, [switch the main model](</docs/en/model-config#setting-your-model>) instead, or see how the advisor compares with opusplan and subagents for other ways to get a second opinion. + +## + +​ + +Enable the advisor + +You can set the advisor model in three ways: + + * **`/advisor` command**: set or change the advisor mid-session and save it as your default + * **`advisorModel` setting**: configure a persistent default in your [settings file](</docs/en/settings>) + * **`--advisor` flag**: set the advisor for a single session at launch + +If any of these sets an advisor model, the advisor is enabled for sessions whose main model supports it. To stop using it, see Turn the advisor off. + +To use Fable 5 as the advisor, you need Claude Code v2.1.170 or later and [Fable 5 access](</docs/en/model-config#work-with-fable-5>) for your organization. Fable does not appear in the picker that `/advisor` opens, so pass it directly as `/advisor fable`, `--advisor fable`, or `"advisorModel": "fable"`. + +### + +​ + +Use the `/advisor` command + +Run `/advisor` without arguments to open a picker listing the available advisor models, or pass the model directly: + + /advisor opus + +Your selection is saved to `advisorModel` in your user settings and persists across sessions. If your current main model does not support the advisor, the selection is still saved and activates when you switch to a compatible main model with [`/model`](</docs/en/model-config#setting-your-model>). + +### + +​ + +Set `advisorModel` in settings + +To configure the advisor as a default without opening a session, set it in your settings file: + + { + "advisorModel": "opus" + } + +### + +​ + +Use the `--advisor` flag + +To set the advisor for a single session without changing your saved setting, launch with the flag: + + claude --advisor opus + +The flag takes precedence over the `advisorModel` setting for that session. Unlike `/advisor`, which saves an inactive selection, the flag exits with an error if the session’s main model does not support the advisor. + +## + +​ + +Choose an advisor model + +The advisor must be at least as capable as the main model. The accepted advisors for each main model are: + +Main model| Accepted advisors| Notes +---|---|--- +Haiku 4.5| Fable, Opus, Sonnet| Haiku can call the advisor but cannot act as one +Sonnet 4.6| Fable, Opus, Sonnet| +Opus 4.6 or later| Fable, Opus at or above the main model’s version| An Opus 4.7 main with an Opus 4.6 advisor is rejected +Fable 5 (v2.1.170+)| Fable| An Opus or Sonnet advisor is rejected + +Fable 5 requires Claude Code v2.1.170 or later and Fable 5 access, whether it acts as the main model or the advisor. The `fable` option does not appear in the `/advisor` picker. Set the advisor as `opus`, `sonnet`, or `fable`. These aliases resolve to the latest version of each model. You can also pass a full model ID such as `claude-opus-4-8`. The API enforces the pairing, not Claude Code. Setting a rejected pairing succeeds, then surfaces as a `cannot be used as an advisor when the request model is` error on the next request. + +### + +​ + +Common model pairings + +Any accepted pairing works. These combinations balance cost against capability in different ways: + +Pairing| When to use +---|--- +Sonnet main + Opus advisor| Sonnet handles routine work and escalates planning, ambiguous failures, and completion checks to Opus +Sonnet main + Fable advisor| Fable 5 guidance at decision points without running Fable 5 throughout. Requires v2.1.170 or later and Fable 5 access +Haiku main + Opus advisor| Lowest-cost main model with strong planning. Expect higher cost than Haiku alone but lower than switching the main model to Sonnet or Opus +Opus main + Opus advisor| A second Opus reviews the first. Useful for high-stakes tasks where an independent check matters more than cost +Fable main + Fable advisor| Highest-capability pairing when Fable 5 is available (v2.1.170+). Fable is a higher tier than Opus and Sonnet, so it is the only accepted advisor for a Fable main model +Sonnet main + Sonnet advisor| A lower-cost second opinion for catching routine oversights + +## + +​ + +When Claude consults the advisor + +Claude decides when to call the advisor. It tends to consult before committing to an approach, when an error keeps recurring, and before declaring a task done, but the timing is model-driven rather than rule-based. You can ask for a consultation in your prompt the same way you would request any tool, for example `consult the advisor before you continue`. There is no setting to cap or force advisor calls; if you want Claude to consult more or less often during a task, say so in your instructions. + +## + +​ + +What you see during a session + +When Claude calls the advisor, the transcript shows an `Advising` line with the advisor model name while the call is in progress. When the result returns, the line confirms that the advisor has reviewed the conversation. Press `Ctrl+O` to expand it and read the advisor’s full guidance. Claude generally follows the advisor’s guidance, but adapts when its own evidence contradicts a specific claim: if a recommended step fails when tried, or the file contents contradict the advice, Claude surfaces the conflict rather than following the guidance unconditionally. The advisor always receives the full conversation, and Claude controls the timing. For more control or a different configuration, see how the advisor compares with subagents and opusplan. + +## + +​ + +Cost + +Each advisor call sends the conversation to the advisor model, so it consumes tokens at the advisor model’s rates in addition to your main model’s usage. With API billing, advisor tokens are charged at the advisor model’s input and output rates. On subscription plans, advisor usage counts toward your plan’s usage limits. Claude calls the advisor at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout. Advisor usage counts toward the session totals shown by [`/usage`](</docs/en/costs#track-your-costs>). For how advisor tokens are reported in API responses, see [Usage and billing](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool#usage-and-billing>) in the Claude API documentation. + +## + +​ + +Impact on prompt caching + +Enabling or disabling the advisor mid-session does not invalidate your main model’s [prompt cache](</docs/en/prompt-caching>). Unlike [changing model or effort level](</docs/en/prompt-caching#actions-that-invalidate-the-cache>), toggling `/advisor` keeps the cached prefix intact, and the advisor’s returned guidance is cached as part of the transcript on later turns. The advisor model’s own read of the conversation is not cached. Each advisor call processes the full transcript anew, with no reuse between calls. + +## + +​ + +Requirements + +The advisor tool requires all of the following: + + * **Claude Code v2.1.98 or later** : run `claude update` to upgrade. + * **Anthropic API only** : the advisor is a server-executed tool. It is not available on Amazon Bedrock, Google Vertex AI, or Microsoft Foundry. Through an [LLM gateway](</docs/en/llm-gateway>) configured with `ANTHROPIC_BASE_URL`, availability depends on whether the gateway forwards the request intact to the Anthropic API. + * **Supported main model** : Opus 4.6 or later, Sonnet 4.6, or Haiku 4.5. Fable 5 also qualifies on Claude Code v2.1.170 or later. + +## + +​ + +Turn the advisor off + +To stop using the advisor and clear your saved `advisorModel`, run `/advisor off` or choose **No advisor** in the `/advisor` picker: + + /advisor off + +To disable the advisor tool entirely, including the `/advisor` command and the `--advisor` flag, set `CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1`. See [Environment variables](</docs/en/env-vars>). + +## + +​ + +Compare with related features + +The advisor is one of several ways to combine model strengths. Pick based on when you want a second model involved. + +Approach| When the stronger model runs| How it starts +---|---|--- +Advisor tool| At decision points mid-task| Claude calls it when it needs guidance +[`opusplan`](</docs/en/model-config#opusplan-model-setting>)| During plan mode, then switches to Sonnet for execution| You enter plan mode +[Subagents](</docs/en/sub-agents#choose-a-model>) with `model` set| For the entire delegated subtask| Claude delegates, or you invoke the subagent +[`/model`](</docs/en/model-config#setting-your-model>)| For all subsequent turns| You switch models + +## + +​ + +See also + + * [Model configuration](</docs/en/model-config>): switch models, set effort levels, and use `opusplan` + * [Manage costs effectively](</docs/en/costs>): track token usage across models + * [Advisor tool in the Claude API](<https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool>): understand the underlying server tool, or use it directly from the Messages API + * [The advisor strategy](<https://claude.com/blog/the-advisor-strategy>): why pairing a fast main model with a stronger advisor works