@ai-sdk/perplexity
5.0.37 · 20 Nov 2026Apache-2.01.9M / weekRepositoryHomepagenpmAtom feed
247 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 5.x · latest line
5.0.36 – 5.0.372 releases that only update dependencies@ai-sdk/provider-utils 5.0.83@ai-sdk/provider 4.0.39Show each
5.0.35
13 Nov 2026Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.
5.0.34
13 Nov 2026Only updates a dependency:@ai-sdk/provider-utils 5.0.81
5.0.33
12 Nov 2026Add web grounding and page freshness options to decision models, and expose search evidence, fetched pages, and tool invocation counts in provider metadata.
5.0.30 – 5.0.323 releases that only update dependencies@ai-sdk/provider-utils 5.0.80@ai-sdk/provider 4.0.38Show each
- 5.0.3212 Nov 2026@ai-sdk/provider-utils 5.0.80@ai-sdk/provider 4.0.38
- 5.0.3110 Nov 2026@ai-sdk/provider-utils 5.0.79
- 5.0.3010 Nov 2026@ai-sdk/provider-utils 5.0.78
5.0.28
7 Nov 2026Honor
toolChoice: 'none'by omitting function and native tools, including MCP and connector configurations, and settingmax_tool_calls: 0to disable preset tools.
Patch Changes
Honor
toolChoice: 'none'by omitting function and native tools, including MCP and connector configurations, and settingmax_tool_calls: 0to disable preset tools.
5.0.27
5 Nov 2026Centralize Perplexity language, embedding, and decision capabilities and provider options in a shared catalog, preserving request behavior and generating model capability tables from the catalog.
Patch Changes
Centralize Perplexity language, embedding, and decision capabilities and provider options in a shared catalog, preserving request behavior and generating model capability tables from the catalog.
5.0.25 – 5.0.262 releases that only update dependencies@ai-sdk/provider-utils 5.0.74Show each
- 5.0.263 Nov 2026@ai-sdk/provider-utils 5.0.74
- 5.0.252 Nov 2026@ai-sdk/provider-utils 5.0.73
5.0.24
30 Oct 2026Support 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.
Patch Changes
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.
5.0.23
29 Oct 2026Map the top-level
reasoningoption consistently across providersProviders now resolve reasoning the same way:
mapReasoningToProviderEffortnow accepts anyreasoningvalue, returns an optionalproviderOptionsEffortunchanged, and rounds levels that are missing from the effort map to the closest supported level.mapReasoningToProviderBudgetmaps'none'to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing frombudgetPercentages.OpenAICompatibleChatConfigadds an optionalmapReasoningfunction for mapping the top-levelreasoningoption.
Patch Changes
Map the top-level
reasoningoption consistently across providersProviders now resolve reasoning the same way:
A provider-specific reasoning setting in
providerOptionsis sent unchanged. OpenAI no longer dropsproviderOptions.openai.reasoningEffortvalues that are not in its list for the model, and Fireworks no longer rewritesproviderOptions.fireworks.reasoningEffort. Fireworks also sends top-levelreasoningvalues 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).Otherwise,
reasoningmaps 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 withoutxhigheffort, 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 OpenAIgpt-ossmodels, and Gemini 2.5 Pro (minimum thinking budget). Gemini 3 and Anthropic and Bedrockbetween_toolsmappings now emit the compatibility warning too.
mapReasoningToProviderEffortnow accepts anyreasoningvalue, returns an optionalproviderOptionsEffortunchanged, and rounds levels that are missing from the effort map to the closest supported level.mapReasoningToProviderBudgetmaps'none'to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing frombudgetPercentages.OpenAICompatibleChatConfigadds an optionalmapReasoningfunction for mapping the top-levelreasoningoption.
5.0.22
27 Oct 2026Expose the web search queries the Agent API ran as
providerMetadata.perplexity.searchQueriesforgenerateTextandstreamText. Previously only the query count (usage.numSearchQueries) was returned and the queries onsearch_resultsitems andresponse.reasoning.search_queriesevents were dropped.
Patch Changes
Expose the web search queries the Agent API ran as
providerMetadata.perplexity.searchQueriesforgenerateTextandstreamText. Previously only the query count (usage.numSearchQueries) was returned and the queries onsearch_resultsitems andresponse.reasoning.search_queriesevents were dropped.
5.0.19 – 5.0.213 releases that only update dependencies@ai-sdk/provider-utils 5.0.69@ai-sdk/provider 4.0.34Show each
5.0.18
22 Oct 2026Report
interruptedwhen a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption.This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions), Alibaba, Amazon Bedrock Converse, Cohere, DeepSeek, Groq, Hugging Face Responses, Mistral Chat, Moonshot AI, Open Responses, Perplexity, and xAI Responses. It also covers cutoffs in later Anthropic messages and Google automatic continuations.
Compatibility notice: These streams previously fell back to
otheror omitted the finish part. Applications must now handleinterruptedin finish-reason switches, mappings, and custom validation. CheckfinishReason === 'interrupted'to detect incomplete responses; interruption alone does not trigger error handling.Explicit unknown completion reasons still map to
other. Actual provider, parsing, and transport errors retain their error paths; affected error paths that previously left the finish reason asothernow reporterror. OpenAI-compatible remains unchanged.
Patch Changes
Report
interruptedwhen a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption.This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions), Alibaba, Amazon Bedrock Converse, Cohere, DeepSeek, Groq, Hugging Face Responses, Mistral Chat, Moonshot AI, Open Responses, Perplexity, and xAI Responses. It also covers cutoffs in later Anthropic messages and Google automatic continuations.
Compatibility notice: These streams previously fell back to
otheror omitted the finish part. Applications must now handleinterruptedin finish-reason switches, mappings, and custom validation. CheckfinishReason === 'interrupted'to detect incomplete responses; interruption alone does not trigger error handling.Explicit unknown completion reasons still map to
other. Actual provider, parsing, and transport errors retain their error paths; affected error paths that previously left the finish reason asothernow reporterror. OpenAI-compatible remains unchanged.
5.0.17
21 Oct 2026Defer construction of provider validation schemas until first use to reduce package import time.
Patch Changes
Defer construction of provider validation schemas until first use to reduce package import time.
5.0.16
20 Oct 2026Add
maxOutputTokensandreasoningto experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.
Patch Changes
Add
maxOutputTokensandreasoningto experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.
5.0.15
19 Oct 2026perplexity: Add decisions api support
Patch Changes
perplexity: Add decisions api support
5.0.11 – 5.0.144 releases that only update dependencies@ai-sdk/provider 4.0.29@ai-sdk/provider-utils 5.0.62Show each
5.0.10
8 Oct 2026Map the top level embedding dimensions to provider settings
Patch Changes
Map the top level embedding dimensions to provider settings
5.0.8 – 5.0.92 releases that only update dependencies@ai-sdk/provider 4.0.25@ai-sdk/provider-utils 5.0.57Show each
5.0.7
6 Oct 2026provider: Add a portable
maxreasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.Compatibility notes:
Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a
majorlabel if they decide to align the provider-spec addition with a future AI SDK major release.
Patch Changes
provider: Add a portable
maxreasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.Compatibility notes:
TypeScript source compatibility: Adding
maxwidensLanguageModelV4CallOptions['reasoning']and the derivedReasoningLeveltype. Third-party providers and consumers with exhaustive switches orRecord<ReasoningLevel, ...>mappings must handlemaxbefore upgrading. Ordinary calls using existing reasoning levels remain accepted.Amazon Bedrock: Existing Nova 2 calls using portable
reasoning: 'xhigh'now sendmaxReasoningEffort: 'high'instead of the unsupported'max', and return a compatibility warning. Anthropic and OpenAI Bedrock effort mappings retain their existingxhighbehavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent.Fireworks: Existing portable
minimalandxhighcalls keep their request mappings tolowandhigh, respectively, and now return compatibility warnings in generation and streaming results. Portablemaxmaps tohighwith the same warning behavior.
Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a
majorlabel if they decide to align the provider-spec addition with a future AI SDK major release.
5.0.5 – 5.0.62 releases that only update dependencies@ai-sdk/provider 4.0.22@ai-sdk/provider-utils 5.0.54Show each
5.0.4
30 Sep 2026Add Perplexity integration attribution to provider requests.
Patch Changes
Add Perplexity integration attribution to provider requests.
5.0.3
28 Sep 2026Use standards-compliant User-Agent header
Patch Changes
Use standards-compliant User-Agent header
5.0.2
28 Sep 2026Only updates dependencies:@ai-sdk/provider-utils 5.0.50@ai-sdk/provider 4.0.19
5.0.1
27 Sep 2026Accept
nullfields in Agent API stream events, such ascontents: nullonresponse.reasoning.fetch_url_resultswhen no URLs were fetched. Previously these events failed validation and errored the stream.
5.0.0
26 Sep 2026- Breaking
Migrate language generation from the Sonar Chat Completions API to the Agent API. Replace Sonar model IDs and provider options with Agent API presets, models, and tools. The new API changes request and response metadata, raw stream events, usage and cost data, and does not support Sonar PDF input or image and video results.
Recover missing text from Agent API terminal events and output items, including incomplete responses, without repeating text already received as deltas. Track each message content part separately.
Accept native Agent API tool traces such as finance results without validating them as web search results. Preserve these traces in raw responses and stream chunks.
Major Changes
- Breaking
Migrate language generation from the Sonar Chat Completions API to the Agent API. Replace Sonar model IDs and provider options with Agent API presets, models, and tools. The new API changes request and response metadata, raw stream events, usage and cost data, and does not support Sonar PDF input or image and video results.
Patch Changes
Recover missing text from Agent API terminal events and output items, including incomplete responses, without repeating text already received as deltas. Track each message content part separately.
Accept native Agent API tool traces such as finance results without validating them as web search results. Preserve these traces in raw responses and stream chunks.
Preserve URL citation annotations as sources in Agent API streams, including completed and incomplete terminal responses.
Emit each Agent API source URL once while preserving search result IDs for citation correlation when a URL is fetched or annotated before it appears in search results.
- 4.x
4.0.40 – 4.0.5212 releases that only update dependencies@ai-sdk/provider-utils 5.0.49@ai-sdk/provider 4.0.18Show each
- 4.0.5225 Sep 2026@ai-sdk/provider-utils 5.0.49
- 4.0.5023 Sep 2026@ai-sdk/provider-utils 5.0.47
- 4.0.4923 Sep 2026@ai-sdk/provider 4.0.18@ai-sdk/provider-utils 5.0.46
- 4.0.4818 Sep 2026@ai-sdk/provider-utils 5.0.45
- 4.0.4718 Sep 2026@ai-sdk/provider-utils 5.0.44
- 4.0.4616 Sep 2026@ai-sdk/provider-utils 5.0.43@ai-sdk/provider 4.0.17
- 4.0.4516 Sep 2026@ai-sdk/provider-utils 5.0.42@ai-sdk/provider 4.0.16
- 4.0.4415 Sep 2026@ai-sdk/provider 4.0.15@ai-sdk/provider-utils 5.0.41
- 4.0.4311 Sep 2026@ai-sdk/provider 4.0.14@ai-sdk/provider-utils 5.0.40
- 4.0.429 Sep 2026@ai-sdk/provider 4.0.13@ai-sdk/provider-utils 5.0.39
- 4.0.419 Sep 2026@ai-sdk/provider 4.0.12@ai-sdk/provider-utils 5.0.38
- 4.0.408 Sep 2026@ai-sdk/provider 4.0.11@ai-sdk/provider-utils 5.0.37
4.0.39
2 Sep 2026perplexity: Preserve complete raw chat usage objects
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.