AI SDK
banner
sdk.vercel.ai
AI SDK
@sdk.vercel.ai
The AI Toolkit for TypeScript.
Configuring Call Options
Pass type-safe runtime inputs to dynamically configure agent behavior.
v6.ai-sdk.dev
November 12, 2025 at 6:50 PM
Call options can be used to:
• Add dynamic context
• Select models dynamically
• Configure tools per request
• Customize provider-specific options (e.g. reasoningEffort)
November 12, 2025 at 6:50 PM
AI SDK 6 Beta
Get started with the Beta version of AI SDK 6.
v6.ai-sdk.dev
October 23, 2025 at 5:05 PM
pruneMessages
API Reference for pruneMessages.
ai-sdk.dev
October 20, 2025 at 10:21 PM
Anthropic
Learn how to use the Anthropic provider for the AI SDK.
ai-sdk.dev
October 19, 2025 at 2:24 AM
Anthropic
Learn how to use the Anthropic provider for the AI SDK.
ai-sdk.dev
October 14, 2025 at 10:23 PM
Create UI components with the tool input and output types.
October 14, 2025 at 10:23 PM
Migrate AI SDK 4.0 to 5.0
Learn how to upgrade AI SDK 4.0 to 5.0.
ai-sdk.dev
October 14, 2025 at 4:32 PM
OpenAI
Learn how to use the OpenAI provider for the AI SDK.
ai-sdk.dev
October 7, 2025 at 10:06 AM
Hugging Face
Learn how to use Hugging Face Provider.
ai-sdk.dev
September 30, 2025 at 5:25 PM
OpenAI
Learn how to use the OpenAI provider for the AI SDK.
ai-sdk.dev
September 30, 2025 at 2:10 PM
Anthropic
Learn how to use the Anthropic provider for the AI SDK.
ai-sdk.dev
September 26, 2025 at 3:37 PM