@ai-sdk/anthropic
4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed
3.0.143 is the newest release of 3.x.
In short
1 new1 fixed
Release note
Patch Changes
anthropic: Add Claude Sonnet 5.5 support
add the
claude-sonnet-5-5model ID to@ai-sdk/anthropicand@ai-sdk/google-vertex,anthropic.claude-sonnet-5-5andus.anthropic.claude-sonnet-5-5to@ai-sdk/amazon-bedrock, andanthropic/claude-sonnet-5.5to@ai-sdk/gatewayadd the
between_toolsthinking type (thinking: { type: 'between_tools' }), the lowest thinking setting onclaude-sonnet-5-5;xhighandmaxeffort are lowered tohighwith a warning because the API rejects them withbetween_toolsclaude-sonnet-5-5rejects disabled thinking:thinking: { type: 'disabled' }is replaced withbetween_toolsthinking (with a warning), and budget-based thinking is converted to adaptive thinkingclaude-sonnet-5-5rejects forced tool use:requiredand named tool choices fall back toauto, andstructuredOutputMode: 'jsonTool'falls back to native structured outputs, each with a warning
eeabdce: Normalize dangling programmatic tool caller references in conversation history after pruning. Before a subsequent user message, omit caller metadata whose source code execution call is missing and emit a warning, preserving the retained tool calls and results. Keep caller metadata unchanged for active tool continuations.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.