AI Cloud Architect

Migrate from Anthropic’s Claude Sonnet 3.x to Claude Sonnet 4.x on Amazon Bedrock

AWSHow-to by Melanie Li, Deepak Dalakoti, Derrick Choo, Mahsa Paknezhad, Nicholas Moore, Sovik Nath, Saurabh Trikande and Gareth JonesAWS Artificial Intelligence Blog

This post provides a systematic approach to migrating from Anthropic’s Claude 3.5 Sonnet to Claude Sonnet 4.5 on Amazon Bedrock. We examine the key model differences, highlight essential migration considerations, and deliver proven best practices to transform this necessary transition into a strategic advantage that drives measurable value for your organization.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A step-by-step migration path from Claude Sonnet 3.x to Claude Sonnet 4.5 on Bedrock, covering model ID changes, tool and API breaking changes, extended thinking and evaluation.

Who it is for

Teams running Claude Sonnet 3.x on Amazon Bedrock that must move to Sonnet 4.5 before the 3.x deprecation date.

Key points

  • Switching from InvokeModel to Converse API is recommended; the model ID change is the only required change for InvokeModel.
  • Sonnet 4.5 accepts only one of temperature or top_p, so inference code must be updated.
  • Extended thinking bills reasoning tokens as output tokens at standard rates.

Timeline

  1. This postMigrate from Anthropic’s Claude Sonnet 3.x to Claude Sonnet 4.x on Amazon Bedrock
  2. What it explainsAnthropic’s Claude Sonnet 4.5 is now in Amazon Bedrock · AWS · AnnouncementAlso published by AWS News Blog

Go deeper