# What changed in @ai-sdk/amazon-bedrock

> 56 changes in @ai-sdk/amazon-bedrock 3 to 5 from its official release notes, upgrade guides and advisories: 4 breaking, 1 security, 12 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@ai-sdk/amazon-bedrock/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @ai-sdk/amazon-bedrock 5

### Breaking changes

- The thinking block binding field was renamed for Bedrock. (5.0.83) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.83)

### Security

- Sanitizes document filenames before sending them to Bedrock. (5.0.75) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.75)

### New APIs and options

- Adds Claude Haiku 5.5 support on Amazon Bedrock, with a 128k max output token limit, adaptive thinking, and all five effort levels. (5.0.109) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.109)
- Adds the US-prefixed Claude Haiku 5.5 model ID for Amazon Bedrock. (3.0.139, 5.0.109) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.109), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.139)
- Portable reasoning now supports max, with native provider mappings, compatibility coercions, and budget-based fallback support. (5.0.107) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.107)
- Adds per-request metadata to the Converse and ConverseStream APIs for tagging Amazon Bedrock invocation logs for cost attribution. (5.0.105) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.105)
- Adds the 20260318 web search and web fetch tools with response inclusion controls. (5.0.85) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.85)
- Claude Fable 5.1 model IDs were added to the Bedrock provider. (5.0.84) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.84)
- Adds a provider option to choose between native structured output and the JSON tool fallback for Anthropic models. (5.0.71) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.71)
- Anthropic reasoning budgets are enabled for application inference profile ARNs. (4.0.166, 5.0.68) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.68), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.166)
- A model family setting is available for embeddings to support ARN models. (4.0.166, 5.0.67) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.166), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.67)

### Behavior and default changes

- Bedrock uses native structured output and strict tools only for known supported Claude models; future Claude model IDs omit unsupported fields and use JSON instructions for structured output by default. (5.0.114) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.114)
- Top-level embedding dimensions are now mapped to provider settings. (5.0.113) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.113)
- Capability declarations now use confirmed model IDs, advertise file and mask support where applicable, and allow asynchronous lookups and middleware overrides to resolve to unknown. (5.0.98) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.98)
- Structured output defaults to the JSON tool fallback for Claude Sonnet 4.6 and Claude Haiku 4.5, while strict tool support is preserved. (5.0.71) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.71)
- Amazon Bedrock streaming responses now accept citation deltas. (3.0.126, 4.0.166, 5.0.67) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.126), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.166), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.67)

### Fixes and other changes

- SigV4 signing is skipped for non-ASCII header values. (3.0.140, 4.0.193, 5.0.110) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.193), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.110), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.140)
- Structured output for Claude Haiku 5.5 on Amazon Bedrock uses the JSON tool fallback. (4.0.192, 5.0.109) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.109), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.192)
- Partial configurations continue to preserve explicit values and derive missing fields; explicit effort or budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent. (5.0.107) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.107)
- Nova 2 calls using portable xhigh now send maxReasoningEffort: 'high' instead of the unsupported 'max', and return a compatibility warning. (5.0.107) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.107)
- Hostname parts are validated using isValidHostnamePart. (5.0.103) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.103)
- The User-Agent header now follows standards, improving compatibility with systems that inspect it. (5.0.100) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.100)
- The provider omits max output tokens for Nova 2 Lite high reasoning. (5.0.98) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.98)
- Unsupported OpenAI sampling settings are omitted from Converse requests. (5.0.93) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.93)
- Supported Mantle models are routed through the OpenAI endpoint. (5.0.93) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.93)
- Unsupported sampling parameters are omitted for newer Claude models. (5.0.93) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.93)
- Avoids forcing structured-output tools for incompatible Claude models. (3.0.134, 4.0.181, 5.0.92) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.92), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.181), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.134)
- API error messages are preserved when the error type is omitted. (3.0.132, 4.0.178, 5.0.87) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.132), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.87), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.178)
- Open tool schemas no longer use strict mode. (5.0.87) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.87)
- Anthropic features are enabled for application inference profile chat models. (3.0.132, 4.0.177, 5.0.85) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.132), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.85), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.177)
- Bedrock endpoints now support non-standard AWS regions and service-specific overrides. (4.0.176, 5.0.82) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.82), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.176)
- Returns text from citation content responses. (5.0.75) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.75)
- Preserves provider-executed tool results when replaying messages. (5.0.75) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.75)
- Assistant messages are omitted when filtering unsigned reasoning leaves only cache points. (3.0.126, 4.0.166, 5.0.67) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.126), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.166), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.67)
- Amazon Bedrock now forwards the Anthropic option for disabling parallel tool use without sending conflicting tool choice fields. (3.0.124, 4.0.165, 5.0.65) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.65), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.165), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.124)
- Modeled event-stream exceptions are now surfaced by the Amazon Bedrock provider. (3.0.119, 4.0.159, 5.0.60) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.60), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.159), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.119)
- Handles empty string tool call IDs. (5.0.59) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.59)
- Supports reasoningContent.redactedContent from the Converse API and replays it on subsequent turns. (3.0.118, 4.0.158, 5.0.59) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.158), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.118), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%405.0.59)

## @ai-sdk/amazon-bedrock 4

### Breaking changes

- Amazon Bedrock event stream frame decoding and processing failures are surfaced instead of silently completing the stream. (4.0.157) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.157)
- Amazon Bedrock event streams ending with an incomplete buffered frame are rejected instead of completing normally with partial output. (4.0.157) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.157)

### New APIs and options

- Adds a structured output mode option. (3.0.127, 4.0.168) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.168), [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.127)

### Behavior and default changes

- Native structured output is used for known supported Claude models; future Claude model IDs use JSON instructions for structured output by default. (4.0.195) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.195)
- Claude Sonnet 4.6 and Claude Haiku 4.5 default to the JSON tool fallback while preserving strict tool support. (4.0.168) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.168)

### Fixes and other changes

- Strict-tool fields are omitted for future Claude model IDs that do not support them. (4.0.195) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.195)
- Generated text is now returned from citation content blocks. (4.0.171) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.171)
- Amazon Bedrock now handles channel-qualified JSON response tool names. (4.0.169) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.169)
- Raw usage metadata now preserves complete Amazon Bedrock Converse usage objects. (4.0.163) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%404.0.163)

## @ai-sdk/amazon-bedrock 3

### Breaking changes

- For claude-sonnet-5-5, disabled thinking is replaced with between_tools thinking, and budget-based thinking is converted to adaptive thinking; disabled thinking emits a warning. (3.0.137) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.137)

### New APIs and options

- Adds Claude Haiku 5.5 as a supported Amazon Bedrock model. (3.0.139) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.139)
- Adds the between_tools thinking type, the lowest thinking setting for claude-sonnet-5-5. (3.0.137) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.137)

### Behavior and default changes

- For claude-sonnet-5-5, jsonTool falls back to native structured outputs with a warning. (3.0.137) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.137)
- For claude-sonnet-5-5, required and named tool choices fall back to auto with a warning because the model rejects forced tool use. (3.0.137) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.137)
- Claude Sonnet 4.6 and Claude Haiku 4.5 now default to the JSON tool fallback. (3.0.127) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.127)

### Fixes and other changes

- For claude-sonnet-5-5, xhigh and max effort are lowered to high with a warning because the API rejects them with between_tools. (3.0.137) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.137)
- Resolves endpoints for non-standard AWS partitions and endpoint overrides. (3.0.131) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.131)
- Non-streaming citation responses now return text. (3.0.129) — [release notes](https://github.com/vercel/ai/releases/tag/%40ai-sdk/amazon-bedrock%403.0.129)
