NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2684 most downloaded on npm
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
Last release today
28 Sep 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 26 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
1558 releases · first in 2014
493295c: Remove the deprecated ToolCallOptions export.
986c6fd: feat(ai): change type of experimental_context from unknown to generic
493295c: Remove the deprecated ToolCallOptions export.
Use ToolExecutionOptions instead.
### Patch Changes - Updated dependencies [70a9aae] - @ai-sdk/gateway@4.0.0-beta.27
One column per quarter.
b3c9f6a: feat(ai): create new opentelemetry package (@ai-sdk/otel)
5d0f18e: feat(ai): move opentelemetry to new package
9b47dea: fix(ai): remove otel Tracer api from telemetry settings
b56301c: feat(ai): decouple otel from generate/streamObject
6abd098: split prepareToolsAndToolChoice() into prepareTools() and prepareToolChoice()
prepareToolsAndToolChoice() into prepareTools() and prepareToolChoice()### Patch Changes - Updated dependencies [294cbe7] - @ai-sdk/gateway@4.0.0-beta.26
5c4d910: feat(ai): add new isLoopFinished stop condition helper for unlimited steps
isLoopFinished stop condition helper for unlimited stepsbc67b4f: feat(ai): add experimental callbacks for structured outputs
31ee822: refactoring(ai): extract filterActiveTools and expose it as experimental_filterActiveTools
### Patch Changes - Updated dependencies [435895b] - @ai-sdk/gateway@4.0.0-beta.25
### Patch Changes - Updated dependencies [d30466c] - @ai-sdk/gateway@4.0.0-beta.24
### Patch Changes - Updated dependencies [4ec78cd] - @ai-sdk/gateway@4.0.0-beta.23
a3fd75b: feat(ai): expose Experimental_ModelCallStreamPart type
### Patch Changes - Updated dependencies [7ceff62] - @ai-sdk/gateway@4.0.0-beta.22
989d3d2: fix(ai): include generated files in OTEL response attributes
f4cfccd: feat(ai): decouple otel from rerank function
1f509d4: fix(ai): force template check on 'kind' param
### Patch Changes - Updated dependencies [4f91b5d] - @ai-sdk/gateway@4.0.0-beta.20
118b953: feat(ai): decouple otel from embed functions
99bf941: feat(ai): extract streamModelCall function for streaming text generation
### Patch Changes - Updated dependencies [72889f8] - @ai-sdk/gateway@4.0.0-beta.19
caf1b6f: feat(ai): introduce experimental callbacks for rerank function
4b46062: refactoring(ai): extract tool callback invocation into separate function and forward chunks before callback invocation
### Patch Changes - f5a6f89: README updates
877bf12: fix(ai): flatten model attributes for telemetry
b9cf502: refactoring(ai): delay tool execution in stream text until model call is finished
3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in generateText and streamText
generateText and streamTextf0b0b20: feat(ai): add per-tool timeout overrides via toolTimeouts
ff9ce30: feat(ai): introduce experimental callbacks for embed function
80d4dde: fix(ai): include tool input on tool result for provider executed dynamic tools
### Patch Changes - Updated dependencies [ead9144] - @ai-sdk/gateway@4.0.0-beta.14
34fd051: feat(ai): add toolMs to timeout configuration
### Patch Changes - Updated dependencies [2095655] - @ai-sdk/gateway@4.0.0-beta.13
@ai-sdk/provider-utils@5.0.0-beta.3
@ai-sdk/provider-utils@5.0.0-beta.2
### Patch Changes - Updated dependencies [4d6ab9a] - @ai-sdk/gateway@4.0.0-beta.10
### Patch Changes - Updated dependencies [980f777] - Updated dependencies [7185ba2] - @ai-sdk/gateway@4.0.0-beta.9
### Patch Changes - Updated dependencies [4adc485] - @ai-sdk/gateway@4.0.0-beta.8
c26ca8d: Remove custom User-Agent header from HttpChatTransport to fix CORS preflight failures in Safari and Firefox
### Patch Changes - Updated dependencies [e046ea3] - @ai-sdk/gateway@4.0.0-beta.7
### Patch Changes - Updated dependencies [82288b0] - @ai-sdk/gateway@4.0.0-beta.6
### Patch Changes - Updated dependencies [aa5a583] - @ai-sdk/gateway@4.0.0-beta.5
1fe058b: fix(anthropic): preserve the error code returned by model
### Patch Changes - Updated dependencies [f32d84a] - @ai-sdk/gateway@4.0.0-beta.4
210ed3d: feat(ai): pass result provider metadata across the stream
### Patch Changes - Updated dependencies [c949e25] - @ai-sdk/gateway@4.0.0-beta.3
ebd4da2: feat(ai): add missing usage attributes
5ceed7d: fix(ai): doStream should reflect transformed values
531251e: fix(security): validate redirect targets in download functions to prevent SSRF bypass
531251e: fix(security): validate redirect targets in download functions to prevent SSRF bypass
Both downloadBlob and download now validate the final URL after following HTTP redirects, preventing attackers from bypassing SSRF protections via open redirects to internal/private addresses.
Updated dependencies [531251e]
### Patch Changes - Updated dependencies [7afaece] - Updated dependencies [f16c103] - @ai-sdk/gateway@4.0.0-beta.1
6a3793e: chore(ai): add optional ChatRequestOptions to addToolApprovalResponse and addToolOutput
addToolApprovalResponse and addToolOutput@ai-sdk/provider-utils@5.0.0-beta.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →