@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
523 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.0.90 – 3.0.912 releases that only update dependencies@ai-sdk/provider-utils 4.0.42Show each
- 3.0.917 Aug 2026@ai-sdk/provider-utils 4.0.42
- 3.0.9029 Jul 2026@ai-sdk/provider-utils 4.0.41
3.0.89
28 Jul 2026Add blocked domain filters to the OpenAI and Azure Responses API web search tools.
3.0.88
23 Jul 2026Apply reasoning, service tier, and image defaults to recognizable future OpenAI model family versions.
3.0.87
22 Jul 2026Preserve stored tool search output item IDs from provider metadata.
3.0.85 – 3.0.862 releases that only update dependencies@ai-sdk/provider-utils 4.0.40Show each
- 3.0.8617 Jul 2026@ai-sdk/provider-utils 4.0.40
- 3.0.8514 Jul 2026@ai-sdk/provider-utils 4.0.39
3.0.84
10 Jul 2026provider/openai: Add GPT-5.6 reasoning and prompt cache controls
3.0.83
9 Jul 2026provider/openai,provider/gateway: Add gpt-5.6 model ids
Patch Changes
provider/openai,provider/gateway: Add gpt-5.6 model ids
3.0.82
7 Jul 2026security: Prevent streaming tool calls from finalizing on parsable partial JSON
Streaming tool call arguments were finalized using
isParsableJson()as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs inflush()after the stream is fully consumed.More precise default message for tool execution denial
openai: Throw retryable errors for OpenAI stream failures before output starts
Patch Changes
security: Prevent streaming tool calls from finalizing on parsable partial JSON
Streaming tool call arguments were finalized using
isParsableJson()as a heuristic for completion. If partial accumulated JSON happened to be valid JSON before all chunks arrived, the tool call would be executed with incomplete arguments. Tool call finalization now only occurs inflush()after the stream is fully consumed.More precise default message for tool execution denial
openai: Throw retryable errors for OpenAI stream failures before output starts
3.0.79 – 3.0.813 releases that only update dependencies@ai-sdk/provider-utils 4.0.36@ai-sdk/provider 3.0.13Show each
3.0.78
29 Jun 2026Return a helpful error when the Responses stream parser receives Chat Completions chunks.
3.0.77
27 Jun 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.33
3.0.76
26 Jun 2026openai: Add support for web_search_call.results include option
Patch Changes
openai: Add support for web_search_call.results include option
3.0.75
25 Jun 2026Publish all packages under the
@ai-v6dist tag.
Patch Changes
Publish all packages under the
@ai-v6dist tag.
3.0.74
22 Jun 2026openai: Add orchestration token usage details to Responses API usage
3.0.73
17 Jun 2026provider/openai: Send client-executed tool calls as full function_call items in the Responses API so they pair with their function_call_output by call_id
3.0.70 – 3.0.723 releases with no change for you2 dependency updates, 1 without a note@ai-sdk/provider-utils 4.0.30Show each
- 3.0.7216 Jun 2026@ai-sdk/provider-utils 4.0.30
- 3.0.7112 Jun 2026@ai-sdk/provider-utils 4.0.29
- 3.0.7011 Jun 2026no note
3.0.69
9 Jun 2026openai: Add namespaces for tool definitions
3.0.68
4 Jun 2026openai: round-trip
namespaceon function_call input itemsWhen
tool_searchdispatches a deferred tool, the resultingfunction_callcarries anamespacefield identifying which deferred-tool group the model picked.#14789preserved this on the read side (providerMetadata.openai.namespace), but the write side still serializedfunction_callinput items withoutnamespace. Multi-step / multi-turn conversations then failed withMissing namespace for function_call '<name>'. ... Round-trip the model's function_call item with its namespace field included.convert-to-openai-responses-input.tsnow readsnamespacefromproviderOptions.openai.namespace(orproviderMetadata.openai.namespace) ontool-callparts and includes it on the serializedfunction_callitem, mirroring howitemIdis round-tripped.
3.0.67
29 May 2026feat(provider/azure):web search tool in the Azure OpenAI Responses API.
3.0.66
27 May 2026openai: Forward
web_search_call.action.queriesfrom Responses API
3.0.65
21 May 2026openai: Skip passing reasoning items when using previous response id
3.0.64
15 May 2026openai: Add opt-in pass-through for unsupported file media types
3.0.63
7 May 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.27
3.0.62
6 May 2026Add allowedTools provider option for OpenAI Responses
3.0.61
5 May 2026provider/openai: Forward imageDetail providerOptions on tool-result image content
3.0.60
4 May 2026openai: Add GPT-5.5 chat model IDs
3.0.59
4 May 2026openai, openai-compatible: Only send null content for assistant messages with tool calls
3.0.58
1 May 2026openai: Preserve
namespaceon function_call output items
3.0.55 – 3.0.572 releases with no change for you1 dependency updates, 1 maintenance@ai-sdk/provider-utils 4.0.25@ai-sdk/provider 3.0.10Show each
- 3.0.571 May 2026docs, tests or tooling
- 3.0.5530 Apr 2026@ai-sdk/provider-utils 4.0.25@ai-sdk/provider 3.0.10
3.0.54
29 Apr 2026Trigger release for all packages after provenance setup
Patch - send content: null instead of empty string for tool-only assistant messages
provider/openai: Add gpt-image-2 model support
Patch Changes
Trigger release for all packages after provenance setup
Patch - send content: null instead of empty string for tool-only assistant messages
provider/openai: Add gpt-image-2 model support
3.0.53
14 Apr 2026openai: Default undefined tool-call input to empty object before serializing tool arguments
3.0.52
7 Apr 2026Add AI Gateway hint to provider READMEs
3.0.50 – 3.0.512 releases that only update dependencies@ai-sdk/provider-utils 4.0.23Show each
- 3.0.516 Apr 2026@ai-sdk/provider-utils 4.0.23
- 3.0.502 Apr 2026@ai-sdk/provider-utils 4.0.22
3.0.49
30 Mar 2026openai: Support file-url parts in tool output content
3.0.48
23 Mar 2026Add
gpt-5.4-mini,gpt-5.4-mini-2026-03-17,gpt-5.4-nano, andgpt-5.4-nano-2026-03-17models.openai: Preserve raw finish reason for failed responses stream events
Handle
response.failedchunks in Responses API streaming sofinishReason.rawis preserved fromincomplete_details.reason(e.g.max_output_tokens), and map failed-without-reason cases to unifiederrorinstead ofother.
3.0.47
20 Mar 2026Publish v6 to latest npm dist tag
Patch Changes
Publish v6 to latest npm dist tag
3.0.46
17 Mar 2026openai: Add new tool search tool
3.0.45
9 Mar 2026provider/openai: Add
gpt-5.3-chat-latest
3.0.44
9 Mar 2026provider/openai: Drop reasoning parts without encrypted content when store: false
3.0.43
5 Mar 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.20
3.0.42
5 Mar 2026provider/openai: Add GPT-5.4 model support
3.0.41
5 Mar 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.19