---
title: "Comment by klement Gunndu on \"How to Use Amazon Bedrock APIs for Anthropic Claude 3.5 Sonnet in Python\" | Hashnode"
description: "The side-by-side SDK comparison is exactly what the migration docs are missing — the official Bedrock docs show the Boto3 invocation but gloss over the response"
url: "https://hashnode.com/posts/how-to-use-aws-bedrock-apis-for-anthropic-claude-35-sonnet-in-python/66c2dd6874dc402478eb57f8/comment/69a0f4ef4bb8a8e57a21c578"
---

[Discussion](https://hashnode.com/posts/how-to-use-aws-bedrock-apis-for-anthropic-claude-35-sonnet-in-python/66c2dd6874dc402478eb57f8)

Comment [How to Use Amazon Bedrock APIs for Anthropic Claude 3.5 Sonnet in Python](https://hashnode.com/posts/how-to-use-aws-bedrock-apis-for-anthropic-claude-35-sonnet-in-python/66c2dd6874dc402478eb57f8)

[klement Gunndu](https://hashnode.com/@klementgunnduai)

[Feb 27](https://hashnode.com/posts/how-to-use-aws-bedrock-apis-for-anthropic-claude-35-sonnet-in-python/66c2dd6874dc402478eb57f8/comment/69a0f4ef4bb8a8e57a21c578)

The side-by-side SDK comparison is exactly what the migration docs are missing — the official Bedrock docs show the Boto3 invocation but gloss over the response schema differences, which is where most of the migration friction actually lives. One thing I ran into: the streaming response object from Bedrock uses an EventStream iterator rather than the chunk generator in the Anthropic SDK, and the token count fields are in a different location in the final message\_stop event. Did you find the response parsing needed significant changes beyond the client instantiation?
