Last updated: · Applies to: Claude Code 2.1.321+, Messages API clients and Claude Managed Agents
Migrate Claude Code and the API to Fable 5.2
To migrate to Fable 5.2, update Claude Code and select /model fable, or change the API model ID to claude-fable-5-2. For custom integrations, review all four official breaking changes before reusing conversations, computer tools or advisors. This guide focuses on the Fable 5.1 to 5.2 path.
How do I migrate Claude Code and the API?
Update Claude Code to version 2.1.321 or later, select Fable 5.2, and change API code to claude-fable-5-2. The ID is the same on every platform except Amazon Bedrock, where it is anthropic.claude-fable-5-2.
Update Claude Code in a terminal:
claude updateSelect it inside Claude Code:
/model fableOr start a session with the full model ID:
claude --model claude-fable-5-2claude --model fable also selects the alias. In Claude apps gateway sessions, use /model claude-fable-5-2: the fable alias resolves to Fable 5 there unless ANTHROPIC_DEFAULT_FABLE_MODEL is set.
The official migration helper for a project is:
/claude-api migrate this project to claude-fable-5-2Saved claude-fable-5-1 user settings move to the fable alias on Pro and Max at first run of 2.1.321 or later; Team and Enterprise wait for organization settings. No Fable model is the account-type default. The Fable 5.2 overview covers plans, launch offers and benchmarks.
Console accounts, third-party providers, and project, local or managed settings retain a saved Fable 5.1 choice. For Team and Enterprise, the settings change applies from the next session after organization settings allow it. Use /status to check the active model; for a persistent default, set ANTHROPIC_MODEL to claude-fable-5-2. To select 5.1 explicitly again, use /model claude-fable-5-1.
Fable models use the 1M context window by default. In Claude Code, Fable 5.2 defaults to Medium effort unless you set a level for it. A Claude apps gateway must be configured to serve the model ID you request.
Fable 5.2 is also listed as a supported model in the official Code Mode documentation. The Claude Code code-mode guide covers the separate v2.1.323+ opt-in and terminal requirements.
This guide covers Messages API code. Claude Managed Agents requires no changes beyond the model name, except that an advisor must also use claude-fable-5-2 or claude-mythos-5-2, and any speed: "fast" in the agent's model object must be removed.
What are the four breaking changes from Fable 5.1?
The official “What’s new” page lists four breaking changes: account-wide prefix checking, 5.2 thinking-block readability, the earlier computer tool, and advisor compatibility.
- The prefix check applies to every account. Fable 5.2 enforces it for every account; Fable 5.1 does so by default for accounts created on or after August 31, 2026. Nothing changes if Claude Code, claude.ai, Managed Agents or the Agent SDK manages the history. Custom message builders should use the thinking-block 400 diagnosis and fix.
- Only Fable 5.2 and Mythos 5.2 read Fable 5.2 thinking blocks. Switching away can discard reasoning; the readability section explains the supported direction of transfer.
- The earlier computer tool errors outside Amazon Bedrock. Replace
computer_20251124withcomputer_toolset_20260801and update the agent loop; follow the computer-use 400 migration steps. - A Fable 5.2 executor needs a Fable 5.2 or Mythos 5.2 advisor. Update the advisor model when changing the executor; see advisor requirements.
Which API settings and limits apply?
Fable 5.2 and Mythos 5.2 share always-on adaptive thinking, five effort levels and the following API settings. Some restrictions already applied to Fable 5.1.
| Setting | Required behavior |
|---|---|
| Thinking | Adaptive thinking is always on. thinking: {type: "disabled"} and thinking: {type: "enabled", budget_tokens: N} return 400. |
| Effort | low, medium, high, xhigh and max; API default high, unchanged from Fable 5.1. |
| Assistant prefill | Returns 400, unchanged from Fable 5.1. |
| Sampling parameters | Omit temperature, top_p and top_k. |
| Tool choice | {type: "auto"} and {type: "none"} are supported. {type: "any"} and {type: "tool", name: "..."} return 400, unchanged from Fable 5.1. |
| CMEK organizations | Structured outputs, including strict tool use and JSON outputs, are unavailable. Remove strict: true and output_config.format. |
| Context / maximum output | 1M tokens / 128k tokens. |
| Standard input / output price | $8 / $40 per million tokens, versus $10 / $50 on Fable 5.1. |
| Cache read price | $0.20 per million tokens, versus $0.25 on Fable 5.1. |
| Data retention | 30-day retention is required. These are Covered Models, unavailable under ZDR unless expressly authorized. On the Claude API, an organization or workspace without 30-day retention receives a 400 invalid_request_error. |
| Priority Tier | Neither model is supported. |
| Rate limits | Fable 5.2 has its own rate limit, separate from the combined Fable 5.1 and Fable 5 limit. |
The official forced-tool-choice error is:
tool_choice: type "tool" and "any" are not supported for this model.Fast mode is supported in Messages API requests. See the fast-mode guide for prices, enabling it and the product-specific availability limits.
What happens to thinking blocks when switching models?
Fable 5.2 and Mythos 5.2 can read each other’s thinking blocks, but no other model can read their blocks. On the Claude API and Claude Models on Google Cloud (Google managed), both 5.2 models also read blocks from Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.1, Mythos 5.1, Opus 5, Fable 5, Mythos 5, and earlier Opus, Sonnet and Haiku models.
Moving onto 5.2 therefore keeps earlier reasoning from those models. Moving from 5.2 to any other model, including Opus 5.5, Fable 5.1 and fallback models Opus 4.8 and Opus 5, drops 5.2’s blocks. The request succeeds and dropped blocks are not billed, but losing reasoning can raise cost and latency on the first turn after the switch.
With the thinking-binding-controls-2026-08-01 beta header, input_transformations lists these drops with reason "model_binding_mismatch". This differs from a prefix mismatch caused by editing earlier history.
How do I update an advisor?
Set the advisor model to claude-fable-5-2 or claude-mythos-5-2 when the executor becomes Fable 5.2 or Mythos 5.2. The advisor tool is in beta, and the advisor must be at least as capable as the executor.
A 5.2 executor accepts only those two 5.2 advisors. Any other advisor, including Fable 5.1 or Mythos 5.1, returns a 400 invalid_request_error. Changing an advisor’s model edits the tools, so make the change in new conversations.
Every executor model accepts a Fable 5.2 advisor. A Fable 5.2 advisor returns its advice encrypted.
Which behavior changes should I evaluate?
Anthropic’s testing found different thinking and subagent behavior from Fable 5.1, so re-baseline effort, cost and latency for your workload.
- Prompt lines asking for less thinking do not stop 5.2 from thinking at medium effort and above. Remove those lines and lower effort.
- At
xhighandmaxin an agentic coding product, Anthropic observed 5.2 using subagents to review its own work where 5.1 did not on the same tasks. Those subagents can account for a large part of session cost. - A small
max_tokenscan leave no room for text because thinking tokens count toward that limit.
What is the Fable 5.1 to 5.2 migration checklist?
The official checklist updates model and tool configuration, audits custom history handling, and re-evaluates production behavior.
- Replace
claude-fable-5-1withclaude-fable-5-2. - Check rate limits: 5.2 has its own limit.
- If using
computer_20251124anywhere except Amazon Bedrock, declarecomputer_toolset_20260801and update the agent loop using the computer-tool migration guide. - For a Fable 5.2 executor using the advisor tool, set the advisor to
claude-fable-5-2orclaude-mythos-5-2. - If your code builds messages itself, run a session with the
thinking-binding-controls-2026-08-01beta header andprefix_mismatch_behavior: "drop_block". Loginput_transformationsand fix everyprefix_binding_mismatchentry, even if 5.1 never returned the error. The thinking-block fix page explains recovery. - Choose the production
prefix_mismatch_behavior:"error"(default), or"drop_block"as a stopgap. - Keep passing thinking blocks back unchanged, including empty ones.
- Replay stored conversations through the account that produced them or a linked account.
- Re-run an effort sweep and re-baseline cost and latency.
- Review system prompts, skills and instructions.
The official migration guide also covers paths from Mythos 5.1, Opus 5.5, Fable 5, Opus 5 and Opus 4.8.
FAQ
Use the full model ID for API code, and distinguish managed history from messages your application builds.
What model ID replaces claude-fable-5-1?
Use claude-fable-5-2 on every platform except Amazon Bedrock, where the ID is anthropic.claude-fable-5-2.
Do I need to change a Claude Code messages array?
No changes are required when Claude Code, claude.ai, Claude Managed Agents or the Claude Agent SDK manages your history. The prefix-check audit is for code that builds messages itself.
Can I turn thinking off on Fable 5.2?
No. Adaptive thinking is always on. Disabled thinking and manual thinking with budget_tokens return a 400; use effort to control thinking depth.
What changes for Claude Managed Agents?
Update the model name. If the agent has an advisor, change it to claude-fable-5-2 or claude-mythos-5-2 as well. Remove speed: "fast" from the agent model object if present.
Official sources
Anthropic’s migration guide, model changes and Claude Code references support these steps.
Unofficial guide, not affiliated with or endorsed by Anthropic. This page follows the official sources listed above, checked November 9, 2026.