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.
Latest stable
7.0.169
Last release 8 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 27 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
1654 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
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 →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [ 6669d69 ]
Nothing published for this version
Nothing published for this version
6d50947: add experimental extraction models backed by structured language model output
2ebc78b: Move Node.js connection-time DNS validation to the optional guarded-fetch package. It uses an Undici agent to validate every resolved address
2ebc78b: Move Node.js connection-time DNS validation to the optional guarded-fetch package. It uses an Undici agent to validate every resolved address and pin the connection to those results, independently of global fetch wrappers. It supports explicitly trusted private origins and connection-pool cleanup.
Security behavior change: provider-utils now uses the configured fetch or the runtime's global fetch and no longer depends on Undici. Default URL checks still reject private IP literals, local hostnames, unsafe schemes, and unsafe redirect URLs, but do not block public-looking hostnames that resolve to private addresses or DNS rebinding. Applications fetching untrusted URLs should inject createGuardedFetch() on Node.js or enforce equivalent network egress restrictions.
Allow downloadBlob to accept a fetch transport so applications can apply the same protection to file downloads.
MCP OAuth discovery keeps its strict DNS requirement: because Node.js no longer has a DNS-pinned default transport, untrusted authorization-server, redirect, token, and registration URLs now require an explicit custom fetch with connection-time DNS validation on Node.js too. Pass createGuardedFetch() through transport.fetch. The configured MCP server origin and browser window discovery remain supported.
Updated dependencies [cb4fa52]
Nothing published for this version
Nothing published for this version
Updated dependencies [ b74971f ]
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
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
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
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
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
f5fc6ba: Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while
### Patch Changes - Updated dependencies [6d50947] - @ai-sdk/provider-utils@5.0.81
### Patch Changes - Updated dependencies [2ebc78b] - Updated dependencies [cb4fa52] - @ai-sdk/provider-utils@5.0.80 - @ai-sdk/provider@4.0.38
0294b58: feat(ai): set ai, @ai-sdk/provider-utils, and runtime in user-agent header
ai, @ai-sdk/provider-utils, and runtime in user-agent headerde5c066: fix(ai): forwarded providerExecuted flag in validateUIMessages
cd91e4b: fix(ai): use correct type for reasoning outputs
Updated dependencies [ 6400cf8 ]
892af4d : feat (provider/xai): implement server-side realtime extensions
892af4d: feat (provider/xai): implement server-side realtime extensions
XaiRealtimeModel now implements getServerWebSocketConfig(), returning the upstream voice realtime WebSocket URL (with the model query param) plus header auth derived from the model's configured credentials. Unsupported endpoint intents are rejected. The event mapper now populates normalized usage on response-done and input-transcription-completed using xAI's OpenAI-compatible realtime wire shape.
41465fd: Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.
2e44144: Support typed output.uploadUrl delivery for video generation, editing, and extension. Polling returns an explicit uploaded outcome without downloading or exposing the signed destination, including in request errors. Use camelCase output.uploadUrl instead of raw output.upload_url passthrough; the new option rejects null and requires an HTTPS URL.
Updated dependencies [36802d4]
Updated dependencies [e0143b0]
Updated dependencies [934100c]
Updated dependencies [892af4d]
Updated dependencies [89aff56]
Updated dependencies [41465fd]
Updated dependencies [9754014]
Updated dependencies [4bb73b0]
Updated dependencies [2e44144]
Updated dependencies [ fa15312 ]
d6785d7: feat (ai): add tool and agent helpers
ccc2ded: feat (ai): export gateway provider
89b76ce : Centralize xAI language, image, speech, transcription, and realtime capabilities in a shared model catalog, preserving request policies and
7716e18 : Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated req
7716e18: Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.
The experimental OpenAI Live getServerWebSocketConfig() method can now resolve asynchronously. Await its result before using the connection settings.
Updated dependencies [7716e18]
Updated dependencies [5c247e9]
Updated dependencies [dcd2f8d]
d5440b3: Add web grounding and page freshness options to decision models, and expose search evidence, fetched pages, and tool invocation counts in pro
61a315e: fix: map the top-level reasoning option consistently across providers
Providers now resolve reasoning the same way:
providerOptions is sent unchanged. OpenAI no longer drops providerOptions.openai.reasoningEffort values that are not in its list for the model, and Fireworks no longer rewrites providerOptions.fireworks.reasoningEffort. Fireworks also sends top-level reasoning values directly instead of rounding them to 'high' at most, except for model families known to reject 'none' (GPT-OSS, GLM-5.3, Muse Spark) or 'minimal' (Nemotron, Inkling).reasoning maps to the closest level the model supports, rounding down, and rounds up only when there is no lower level. For example, 'xhigh' now maps to 'high' instead of 'max' on Anthropic and Bedrock models without xhigh effort, and 'medium' maps to 'low' instead of 'high' on DeepSeek, Kimi K3, and Mistral GLM-5.3 models.'none' on a model that cannot disable reasoning maps to the model's lowest level with a compatibility warning, instead of being dropped or sending a request the API rejects. This affects GPT-6 models without 'none', xAI grok-4.5 and later, Groq GPT-OSS, Kimi K3, Perplexity, QuiverAI, Bedrock OpenAI gpt-oss models, and Gemini 2.5 Pro (minimum thinking budget). Gemini 3 and Anthropic and Bedrock between_tools mappings now emit the compatibility warning too.mapReasoningToProviderEffort now accepts any reasoning value, returns an optional providerOptionsEffort unchanged, and rounds levels that are missing from the effort map to the closest supported level. mapReasoningToProviderBudget maps 'none' to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing from budgetPercentages. OpenAICompatibleChatConfig adds an optional mapReasoning function for mapping the top-level reasoning option.
Updated dependencies [61a315e]
One column per quarter.