In short.
Claude on Amazon Bedrock (bedrock-runtime) is an integration guide for developers building Claude features on AWS, with compatibility rules that can break requests when the model, software version or routing choice is wrong. It covers InvokeModel and Converse, AWS credentials and bearer tokens, SDK examples, model inference profiles and geographic routing. A prominent warning says the newest SDK default API version can cause HTTP 400 errors for models numbered 4.6 or lower. Supported features include tool use, prompt caching, structured outputs and PDF input, with important restrictions by model and API. Hosted tools and several Claude platform services are unavailable through this route. Regional routing carries a stated 10 percent premium for applicable models; exact usage costs are not supplied. No installation or API request was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete selected page at [https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy.md], including endpoint and alternative-service notices, the SDK API-version warning, installation and request examples, model and inference-profile information, authentication, logging, feature restrictions, context and payload limits, and routing premiums. All linked pages are excluded. Model deprecation labels are preserved without inventing retirement dates. No software or service behavior was executed or tested; exact costs, licensing terms and live availability remain unverified.
The overview
Identity
This is Anthropic's documentation guide for using Claude through Amazon Bedrock's bedrock-runtime endpoint. The original source address is [https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy.md]. It is instructional material for integrating a hosted model service, rather than a model download or standalone application.
Its scope is InvokeModel and Converse, using AWS event-stream encoding for streaming. The page distinguishes this route from bedrock-mantle, which uses the native Messages API and SSE streaming. It also states that Claude Fable 5.2 and the limited-availability Claude Mythos 5.2 are served only through bedrock-runtime among Amazon Bedrock endpoints.
Assessment
The guide is useful for developers maintaining Bedrock runtime integrations or deliberately choosing these APIs. Its strongest practical details are the SDK compatibility warning, examples of correctly prefixed model IDs, authentication options and explanations of common HTTP 400 failures.
Examples and feature names need to be read alongside their model and API restrictions. The page does not establish integration success, output quality, latency or reliability through measurements, and no behavior was tested.
Users
The intended readers are application developers using AWS and Claude. Beginners get installation commands and a short text-generation example, but the guide assumes an AWS account and configured programmatic access for its AWS-credential setup.
Experienced developers get details about inference profile IDs and ARNs, explicit API versions, authentication providers, streaming formats and differences between InvokeModel and Converse. Teams requiring geographic routing or corporate bearer-token access also have relevant guidance. It is not a complete introduction to AWS account administration or IAM.
Capabilities
The page provides model-listing and text-generation examples for Python, TypeScript, C#, Go, Java, PHP and Ruby, with direct Boto3 examples as well. It describes AWS credential authentication, bearer-token authentication and optional invocation logging of prompts and completions.
Feature highlights include Messages-style requests through supported SDKs, prompt caching, thinking, tool use, citations and structured outputs. PDF support is documented for both InvokeModel and Converse. Support varies by model and API; the highlights are not a promise that every listed model supports every feature.
For specified newer models, InvokeModel supports computer and browser toolsets using computer_toolset_20260801 and browser_toolset_20260801 without a beta header. Mid-conversation system messages and effort changes have separate model restrictions and, for effort changes, a required beta setting.
Using it
Requirements
The documented AWS-credential setup assumes an AWS account, programmatic access and access to Anthropic models in the intended region. It specifies AWS CLI version 2.13.23 or newer. Model and inference-profile availability vary by region.
Requests need a supported SDK or a correctly formed direct API call. AWS credential requests require SigV4 signing, which the SDK examples handle. Bearer tokens are an alternative, including automatic discovery through AWS_BEARER_TOKEN_BEDROCK; token issuance, lifetime and administrative controls are not explained here.
For models numbered 4.6 or lower, SDK compatibility is a prerequisite: the page warns that the latest SDK sends API version 2026-10-21 by default, which these models do not support on Bedrock. It recommends keeping and pinning the existing compatible SDK version.
Mechanism
An application sends messages to a Claude model through Bedrock's runtime APIs. Anthropic SDKs expose familiar message-creation methods while handling the Bedrock integration. The direct Boto3 example calls invoke_model and sets anthropic_version to bedrock-2023-05-31 in the JSON body; the Anthropic SDK's newer default does not apply to that manually constructed request.
For newer models, a base model ID can fail because on-demand throughput is unsupported. The guide instructs callers to use an inference profile ID or ARN instead. Prefixes such as global., us. and eu. select available routing profiles; the supported prefixes differ by model.
Global profiles dynamically route to available regions. Regional profiles constrain routing to a geographic area, which can still include multiple AWS regions. The requested AWS region and the inference profile therefore serve different purposes.
Setup
The documented sequence is to configure AWS access, check credentials with aws sts get-caller-identity, request Anthropic model access in the Bedrock console, install a compatible SDK and choose an available inference profile. These are instructions from the page; none was performed.
For Python, the page gives pip install -U "anthropic[bedrock]<2". For TypeScript it gives npm install @anthropic-ai/bedrock-sdk@0. These commands constrain a major version rather than pinning one exact release. The separate warning to pin an existing compatible SDK remains relevant for models numbered 4.6 or lower.
Set the region explicitly when adapting examples. The Python client can resolve it from environment variables or AWS configuration and raises an error if none is found. The TypeScript client reads AWS_REGION, otherwise defaults to us-east-1, and does not read the region from ~/.aws/config.
Example
The page's Python example can use configured AWS credentials to request a short response from the global Opus 4.6 inference profile:
from anthropic import AnthropicBedrock client = AnthropicBedrock(aws_region="us-west-2") message = client.messages.create( model="global.anthropic.claude-opus-4-6-v1", max_tokens=256, messages=[{"role": "user", "content": "Hello, world"}], ) print(message.content)
This example requires a compatible SDK, valid access and an available profile. Changing global. to us. demonstrates the page's US geographic routing option. No response content, successful invocation, latency or billed usage was observed.
Assessment & evidence
Limitations
This route does not support URL input sources for images or documents, the Files API, server-side code execution, web search, web fetch or advisor. The page also excludes Agent Skills, the MCP connector, programmatic tool calling, Claude Managed Agents, and Message Batches, Models, Admin, Compliance, and Usage and Cost API endpoints.
Automatic prompt caching through the top-level cache_control field is unsupported; the guide points to explicit cache breakpoints instead. Server-side fallback is unavailable. The ant CLI does not support Amazon Bedrock.
Bedrock limits request payloads to 20 MB, so documents or images can hit the byte limit before the context limit. The page assigns a one-million-token context window to specified models, including Opus 4.6 and Sonnet 4.6, while other models have 200,000 tokens.
Converse accepts system instructions through its top-level system parameter; the page directs mid-conversation system-message use to InvokeModel. Support for those messages varies by model. Mid-conversation effort changes also require a supported model and the mid-conversation-output-config-2026-07-01 beta setting, otherwise requests can return HTTP 400.
Reasoning
The guide supports choosing bedrock-runtime when an application needs these AWS APIs and its required model and features are supported. Existing AWS integration and access to models served only on this endpoint are concrete reasons to consider it.
Its documented restrictions also provide reasons to compare other endpoints before building around hosted tools or managed agent services. Geographic routing adds a separate tradeoff: global profiles allow broader dynamic routing, while regional profiles constrain geography at a stated price premium. The page provides no measurements proving a latency or reliability advantage for either option.
Alternatives
The page directs readers to Claude in Amazon Bedrock for bedrock-mantle access using the native Messages API at /anthropic/v1/messages with SSE streaming: [https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock]. It presents that route as the option for native request shape and full feature parity for the models discussed in its endpoint notice.
It also describes Claude Platform on AWS as an Anthropic-operated alternative with AWS Marketplace billing and typically same-day feature access: [https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws]. Detailed setup, prices and availability for these alternatives are not established by the selected page.
Evidence
The evidence is the complete supplied Anthropic documentation page. It contains installation commands, request examples, a model/profile table, authentication guidance, feature restrictions and routing explanations. These support an assessment of the guide's content, rather than demonstrated service performance.
Linked AWS and Anthropic pages were not included. Their detailed pricing, lifecycle schedules, contractual terms and feature documentation remain outside the evidence. No code, installation, credential check, API call or logging configuration was executed.
Access & freshness
Costs
Exact token rates and the cost of the example request are unknown from this page. It states that regional routing carries a 10 percent premium over global routing for Claude Sonnet 4.5 and later models; older models retain their existing pricing structures. No global-routing premium does not mean inference is free.
The guide links to Bedrock pricing at [https://aws.amazon.com/bedrock/pricing/]. The linked rates are outside the supplied evidence. It also does not quantify logging charges or provide a total application cost estimate.
Rights
The page does not state a documentation or example-code licence, redistribution permission, model usage terms or output ownership terms. These rights are unknown from the supplied evidence and cannot be inferred from public access.
Invocation logging can record prompts and completions. Anthropic recommends at least a 30-day rolling log and states that enabling this logging service does not give AWS or Anthropic access to the content. That statement does not establish a complete retention, training-use, deletion or contractual privacy policy.
Freshness
The page was captured on 2026-11-25 at 12:25:16.274 UTC. No publication or last-update date is stated. Its warning explicitly addresses API version 2026-10-21, but current package releases and live service behavior were not independently verified.
The model table labels Opus 4.1, Sonnet 4.5 and Sonnet 4 as deprecated. It does not give their Bedrock retirement dates and says partner lifecycle schedules can differ from Claude API schedules. It directs readers to AWS's lifecycle page for authoritative retirement information: [https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle.html].
Actions
Before implementing, confirm the target model's lifecycle status, account access, supported inference profile and required features. Decide whether routing must stay within a geographic area, then choose a supported profile prefix and account for the applicable premium.
For models numbered 4.6 or lower, identify and pin a compatible SDK release before upgrading dependencies. Configure authentication and region explicitly, then use a small request like the documented example to validate access and observe actual usage.
Compare the other documented endpoints if the application requires unsupported hosted tools or platform APIs. Obtain the applicable service terms, data-handling details and current prices separately; this page does not settle them.
