@ai-sdk/anthropic
Vercel AI SDK Anthropic Provider by Vercel
Vercel AI SDK Anthropic Provider package.
npm install @ai-sdk/anthropic@4.0.87Vercel AI SDK Anthropic Provider (@ai-sdk/anthropic) is currently at v4.0.87 on NPM (published 2026-10-22), with a 90-day stability score of 78/100 (B) and MEDIUM schema drift risk across 116 releases in the past 90 days. v4 provider requires AI SDK 7+ and moves thinking budget configuration under providerOptions.anthropic.thinking. Production teams should pin npm install @ai-sdk/anthropic@4.0.87 rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
v4 provider requires AI SDK 7+ and moves thinking budget configuration under providerOptions.anthropic.thinking.
anthropicproviderOptions.anthropic.thinkingconst model = anthropic("claude-3-7-sonnet-20250219", { sendReasoning: true });const result = await generateText({
model: anthropic("claude-sonnet-4-5"),
providerOptions: { anthropic: { thinking: { type: "enabled", budgetTokens: 4000 } } }
});Frequently Asked Questions: @ai-sdk/anthropic
What is the latest version of @ai-sdk/anthropic on NPM?
As of 2026-10-24, the latest stable version of @ai-sdk/anthropic (Vercel AI SDK Anthropic Provider by Vercel) on NPM is v4.0.87, published on 2026-10-22. It has shipped 116 releases in the last 90 days.
Does @ai-sdk/anthropic v4.0.87 have breaking changes or MCP schema drift risk?
@ai-sdk/anthropic currently carries a MEDIUM schema drift risk rating with a Stability Score of 78/100 (Grade B). v4 provider requires AI SDK 7+ and moves thinking budget configuration under providerOptions.anthropic.thinking.
How do I safely pin @ai-sdk/anthropic in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `npm install @ai-sdk/anthropic@4.0.87` and monitor anthropic, providerOptions.anthropic.thinking for parameter or schema changes.
Get Instant Breaking-Change Alerts for @ai-sdk/anthropic
We poll NPM and vercel/ai every 30 minutes. Get an email with the exact diff when @ai-sdk/anthropic ships a breaking release beyond v4.0.87.
Recent NPM Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
LangChain Core JS • Stability B+ (82)