migration-guide changedmodels/opus-5-5/migration-guide
Nearest release: v2.1.333, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+21added
Lines−29removed
From line
282
where the diff opens
First seen
23 Sep 2026
this site's first read of the page
Recorded edits36to this page, all time
The whole hunk
from line 282, old and new numbered
/
from line 282
282282* Set `effort` explicitly: the default is `medium`, where Claude Opus 5’s is `high`.
283283* Replace `tool_choice` types `any` and `tool` with `auto` plus strict tool use or structured outputs.
284284* If you use an earlier computer use tool version, declare `computer_toolset_20260801` instead, drop that version’s beta header, and update your agent loop for the toolset. On Amazon Bedrock, `computer_20251124` also works. See the [computer use breaking change](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide#computer-use-toolset).
285* If a router or fallback can move a conversation off Claude Opus 5.5, expect the new model to run without Claude Opus 5.5’s thinking blocks. Claude Fable 5.1 and Claude Mythos 5.1 keep them on the Claude API. Claude Fable 5.2 and Claude Mythos 5.2 keep them on the Claude API and Claude Models on Google Cloud (Google managed). Claude Opus 5.5 itself reads thinking from Claude Opus 5 and from [earlier Claude Opus, Claude Sonnet, and Claude Haiku models](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#earlier-models). On the Claude API and Claude Models on Google Cloud (Google managed), it also reads thinking from Claude Sonnet 5.5 and Claude Haiku 5.5. It doesn’t read thinking from Claude Fable or Claude Mythos models.
285* If a router or fallback changes models, check [which model switches keep thinking blocks](https://platform.claude.com/docs/en/models/opus-5-5/whats-new-opus-5-5#thinking-blocks-are-tied-to-the-model-that-produced-them). On the other switches, the API drops them without an error.
286286* Read content blocks by `type`, and pass `thinking` blocks back unmodified in tool-use loops.
287287* If your interface renders text between tool calls, set `display: "updates"` (in beta) or `"summarized"` and render the non-empty `thinking` blocks.
288288* If your code edits earlier turns, the `system` prompt, or `tools` mid-conversation, follow [Preserved thinking](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking).
from line 323
323323* Re-tune `max_tokens` to account for the updated tokenization, including compaction triggers.
324324* Re-test any client-side token-count estimations.
325325* If your application sends images, re-budget for [high-resolution image support](https://platform.claude.com/docs/en/build-with-claude/vision#high-resolution-image-support-on-claude-opus-4-7) (up to approximately 3x more image tokens per full-resolution image). Downsample before sending if you do not need the additional fidelity.
326* If you consume pointing or bounding-box coordinates from the model, remove any scale-factor conversion; coordinates are 1:1 with actual image pixels on Claude Opus 4.7 and later models.
326* If your code rescales point or bounding-box coordinates, [use Claude Opus 5.5’s long-edge and visual-token limits](https://platform.claude.com/docs/en/build-with-claude/vision-coordinates#rescale-coordinates-when-you-cannot-pre-resize).
327327* Review the [behavior changes](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide#behavior-changes) that started in Claude Opus 4.7.
328328* If your product does legitimate security work, apply to the [Cyber Verification Program](https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude-opus-and-sonnet) for access to lower restrictions on cyber content.
329329
from line 333
333333* Verify tool call JSON parsing uses a standard JSON parser.
334334* Move from `client.beta.messages.create()` (csharp: `client.Beta.Messages.Create()`; go: `client.Beta.Messages.New()`; java: `client.beta().messages().create()`; php: `$client->beta->messages->create()`; cli: `ant beta:messages create`) to `client.messages.create()` (csharp: `client.Messages.Create()`; go: `client.Messages.New()`; java: `client.messages().create()`; php: `$client->messages->create()`; cli: `ant messages create`): adaptive thinking and effort need no beta namespace.
335335* Remove the `effort-2025-11-24` beta header (the effort parameter does not require it).
336* Remove the `fine-grained-tool-streaming-2025-05-14` beta header.
336* Replace the `fine-grained-tool-streaming-2025-05-14` beta header with `eager_input_streaming: true` on each user-defined tool that needs fine-grained streaming.
337337* Remove the `interleaved-thinking-2025-05-14` beta header (adaptive thinking enables interleaved thinking automatically).
338338* Migrate `output_format` to `output_config.format` (if applicable).
339339
from line 897
897897
898898Claude Opus 5.5 supports computer use through the `computer_toolset_20260801` toolset. On Amazon Bedrock, Claude Opus 5.5 also accepts the `computer_20251124` tool with the `computer-use-2025-11-24` beta header. Claude Opus 5.5 returns a 400 error for any computer use tool version it doesn’t accept, such as `computer_20251124` on the Claude API. It doesn’t accept `computer_20250124` on any platform. On the Claude API, the error message begins `'claude-opus-5-5' does not support tool types: computer_20251124.` and then lists the tool types the model accepts.
899899
900Integrations that use the toolset need no change. To move a `computer_20251124` integration to the toolset, drop the beta header and send the `computer_toolset_20260801` entry with no `name` or display dimensions. In your agent loop, handle every member `tool_use` block in a turn and echo `toolset_name` on every result. Read the action from each block’s `name`, not from `input.action`. [Migrate from `computer_20251124`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#migrate-from-computer-20251124) lists the agent-loop changes.
900Integrations that use the toolset need no change. To move a `computer_20251124` integration to the toolset, drop the beta header and send the `computer_toolset_20260801` entry with no `name` or display dimensions. In your agent loop, handle every member `tool_use` block in a turn and echo its `toolset_name` on the matching result. Read the action from each block’s `name`, not from `input.action`. [Migrate from `computer_20251124`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#migrate-from-computer-20251124) lists every change.
901901
902902Before. Claude Opus 5 accepts this request, and Claude Opus 5.5 rejects it with a 400 error on the Claude API:
903903
from line 1158
11581158
11591159### Text between tool calls is returned in thinking blocks
11601160
1161On Claude Opus 5, text the model writes between tool calls comes back as `text` blocks. On Claude Opus 5.5, as on Claude Fable 5.1, that narration comes back as [progress-update `thinking` blocks](https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates), at most one before each tool call. At the default `thinking.display` of `"omitted"`, their `thinking` field is empty. No request fails, but an application that streams that text to its users as progress updates goes quiet between tool calls. To restore the updates, read them from `thinking` blocks and set a `display` value that returns their text: `"updates"` (beta, `thinking-display-updates-2026-08-18` header) returns the progress updates while reasoning stays hidden, and `"summarized"` returns both, mixed together. Then render each non-empty `thinking` block ahead of the `tool_use` block it precedes, and pass the blocks back unchanged with the rest of the assistant turn. See [User-facing progress updates](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5#user-facing-progress-updates).
1161On Claude Opus 5, text the model writes between tool calls comes back as `text` blocks. On Claude Opus 5.5, that narration comes back as [progress-update `thinking` blocks](https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates), at most one before each tool call. At the default `thinking.display` of `"omitted"`, their `thinking` field is empty. No request fails, but an application that streams that text to its users as progress updates stops showing it.
11621162
1163To restore the updates, set a `display` value and read their summaries from `thinking` blocks. The value `"updates"` returns the summaries while reasoning stays hidden, and `"summarized"` returns both, mixed together. The `"updates"` value is in beta and needs the `thinking-display-updates-2026-08-18` beta header. Then, render each non-empty `thinking` block ahead of the `tool_use` block it precedes, and pass the blocks back unchanged with the rest of the assistant turn. See [User-facing progress updates](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5#user-facing-progress-updates).
1164
11631165### Safety classifiers and fallback
11641166
11651167Claude Opus 5.5 can return `stop_reason: "refusal"` with a `stop_details` category. Its classifiers cover a broader set of categories than Claude Opus 5’s, so expect `stop_details.category` values such as `"bio"` in addition to `"cyber"` and `"reasoning_extraction"`; see the [refusal category table](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#refusal-response). Handle refusals and configure [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback) or your own retry (server-side fallback doesn’t retry requests declined with `"reasoning_extraction"`; that refusal is returned to you); see [Refusals and fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback) and [Safeguard refusals](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5#safeguard-refusals).
from line 1260
12581260 ```
12591261
12601262 ```bash CLI
1261 ant messages create <<'YAML'
1262 model: claude-opus-4-6
1263 max_tokens: 16000
1264 thinking:
1265 type: enabled
1266 budget_tokens: 10000
1267 messages:
1268 - role: user
1269 content: "..."
1270 YAML
1263 ant messages create \
1264 --model claude-opus-4-6 \
1265 --max-tokens 16000 \
1266 --thinking '{type: enabled, budget_tokens: 10000}' \
1267 --message '{role: user, content: "..."}'
12711268 ```
12721269
12731270 ```python Python
from line 1386
13891386 ```
13901387
13911388 ```bash CLI
1392 ant messages create <<'YAML'
1393 model: claude-opus-5-5
1394 max_tokens: 16000
1395 thinking:
1396 type: adaptive
1397 output_config:
1398 effort: high
1399 messages:
1400 - role: user
1401 content: "..."
1402 YAML
1389 ant messages create \
1390 --model claude-opus-5-5 \
1391 --max-tokens 16000 \
1392 --thinking '{type: adaptive}' \
1393 --output-config '{effort: high}' \
1394 --message '{role: user, content: "..."}'
14031395 ```
14041396
14051397 ```python Python
from line 1526
15341526
15351527 High-resolution support is automatic. Plan for two things:
15361528
1537 * Full-resolution images can use up to approximately 3x more image tokens than on prior models (up to 4,784 tokens for each image, compared to the previous cap of roughly 1,600 tokens). Re-budget `max_tokens` and cost expectations for image-heavy workloads, or downsample before sending if you do not need the additional fidelity.
1538 * Pointing and bounding-box coordinates returned by the model are 1:1 with actual image pixels on Claude Opus 4.7, so no scale-factor conversion is required.
1529 * Full-resolution images can use up to approximately 3x more image tokens than on prior models (up to 4,784 tokens for each image, compared to the previous cap of roughly 1,600 tokens). Revisit cost estimates for image-heavy workloads, or downsample before sending if you do not need the additional fidelity.
1530 * Coordinates map directly onto your image only when Claude doesn’t downscale it. If your code rescales point or bounding-box coordinates, [use Claude Opus 5.5’s long-edge and visual-token limits](https://platform.claude.com/docs/en/build-with-claude/vision-coordinates#rescale-coordinates-when-you-cannot-pre-resize). Other limits can make the coordinates wrong with no error.
15391531
15401532 See [High-resolution image support on Claude Opus 4.7](https://platform.claude.com/docs/en/build-with-claude/vision#high-resolution-image-support-on-claude-opus-4-7) for details.
15411533
from line 1555
15631555
156415562. **Remove effort beta header:** The effort parameter does not require a beta header. Remove the `effort-2025-11-24` beta from your requests.
15651557
15663. **Remove fine-grained tool streaming beta header:** Fine-grained tool streaming does not require a beta header. Remove the `fine-grained-tool-streaming-2025-05-14` beta from your requests.
15583. **Replace fine-grained tool streaming beta header:** Set `eager_input_streaming: true` on each user-defined tool that needs fine-grained streaming, and remove the `fine-grained-tool-streaming-2025-05-14` beta from your requests.
15671559
156815604. **Remove interleaved thinking beta header:** With adaptive thinking, interleaved thinking is automatic on every model that supports adaptive thinking. Remove the `interleaved-thinking-2025-05-14` beta from your requests.
15691561
No line in this hunk matches that.