@ai-sdk/openai-compatible
3.0.93 · 17 Nov 2026Apache-2.014.4M / weekRepositoryHomepagenpmAtom feed
300 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
2.0.85
16 Oct 2026openai-compatible: Support URL-based image responses
Add opt-in URL validation and credential origin handling to
getFromApifor URL-based image responses. Validate redirect targets, strip unsafe request headers, and drop credentials on cross-origin redirects while preserving existing unvalidated requests.
Patch Changes
openai-compatible: Support URL-based image responses
Add opt-in URL validation and credential origin handling to
getFromApifor URL-based image responses. Validate redirect targets, strip unsafe request headers, and drop credentials on cross-origin redirects while preserving existing unvalidated requests.
2.0.81 – 2.0.844 releases that only update dependencies@ai-sdk/provider 3.0.19@ai-sdk/provider-utils 4.0.60Show each
- 2.0.8415 Oct 2026@ai-sdk/provider 3.0.19@ai-sdk/provider-utils 4.0.60
- 2.0.8315 Oct 2026@ai-sdk/provider-utils 4.0.59
- 2.0.8213 Oct 2026@ai-sdk/provider-utils 4.0.58
- 2.0.8130 Sep 2026@ai-sdk/provider-utils 4.0.57
2.0.80
28 Sep 2026provider-utils: Preserve streamed tool calls with unreliable IDs and indices
Patch Changes
provider-utils: Preserve streamed tool calls with unreliable IDs and indices
2.0.76 – 2.0.794 releases that only update dependencies@ai-sdk/provider 3.0.18@ai-sdk/provider-utils 4.0.55Show each
2.0.75
9 Sep 2026openai-compatible: Keep reasoning streams contiguous when deltas include empty tool call arrays
openai: Return an AI SDK error for empty chat completion choices
Patch Changes
openai-compatible: Keep reasoning streams contiguous when deltas include empty tool call arrays
openai: Return an AI SDK error for empty chat completion choices
2.0.74
30 Aug 2026Support text and thinking parts in array-based chat completion content while ignoring unknown part types.
Patch Changes
Support text and thinking parts in array-based chat completion content while ignoring unknown part types.
2.0.71 – 2.0.733 releases that only update dependencies@ai-sdk/provider-utils 4.0.49Show each
- 2.0.7326 Aug 2026@ai-sdk/provider-utils 4.0.49
- 2.0.7225 Aug 2026@ai-sdk/provider-utils 4.0.48
- 2.0.7124 Aug 2026@ai-sdk/provider-utils 4.0.47
2.0.70
21 Aug 2026openai-compatible: Report truncated chat streams as errors
2.0.69
18 Aug 2026openai-compatible: Preserve unmapped usage fields in
usage.rawusage.rawis specified as usage "in the shape that the provider returns",
and the chat model already parsed the usage object loosely so that extra
top-level fields survived. The nestedprompt_tokens_detailsandcompletion_tokens_detailsobjects were still strict, so anything a provider
reported inside them was dropped — which is where providers put their most
distinguishing detail. The existing "should preserve extra usage fields"
fixture was itself losingaudio_tokens,image_tokensandtext_tokens
this way.Both nested objects are now parsed loosely, as is the completion model's usage
schema, which was strict throughout despite feeding the samerawfield.Only
usage.rawchanges. The mapped token counts are unaffected.
2.0.67 – 2.0.682 releases that only update dependencies@ai-sdk/provider-utils 4.0.46Show each
- 2.0.6814 Aug 2026@ai-sdk/provider-utils 4.0.46
- 2.0.6711 Aug 2026@ai-sdk/provider-utils 4.0.45
2.0.66
11 Aug 2026provider/openai-compatible: Clamp
outputTokens.textat 0 when a provider reportscompletion_tokens_details.reasoning_tokensgreater thancompletion_tokens(observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative;totalandreasoningremain as reported by the provider.
Patch Changes
provider/openai-compatible: Clamp
outputTokens.textat 0 when a provider reportscompletion_tokens_details.reasoning_tokensgreater thancompletion_tokens(observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative;totalandreasoningremain as reported by the provider.
2.0.62 – 2.0.654 releases that only update dependencies@ai-sdk/provider-utils 4.0.43Show each
- 2.0.6510 Aug 2026@ai-sdk/provider-utils 4.0.43
- 2.0.647 Aug 2026@ai-sdk/provider-utils 4.0.42
- 2.0.6329 Jul 2026@ai-sdk/provider-utils 4.0.41
- 2.0.6217 Jul 2026@ai-sdk/provider-utils 4.0.40
2.0.61
15 Jul 2026Preserve structured error data from chat completion SSE streams.
2.0.59 – 2.0.602 releases that only update dependencies@ai-sdk/provider-utils 4.0.39@ai-sdk/provider 3.0.14Show each
2.0.58
7 Jul 2026openai-compatible: Buffer tool call deltas until function.name arrives
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
Patch Changes
openai-compatible: Buffer tool call deltas until function.name arrives
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
2.0.53 – 2.0.575 releases that only update dependencies@ai-sdk/provider-utils 4.0.36@ai-sdk/provider 3.0.13Show each
2.0.52
25 Jun 2026Publish all packages under the
@ai-v6dist tag.
Patch Changes
Publish all packages under the
@ai-v6dist tag.
2.0.49 – 2.0.513 releases with no change for you2 dependency updates, 1 without a note@ai-sdk/provider-utils 4.0.30Show each
- 2.0.5116 Jun 2026@ai-sdk/provider-utils 4.0.30
- 2.0.5012 Jun 2026@ai-sdk/provider-utils 4.0.29
- 2.0.4911 Jun 2026no note
2.0.48
22 May 2026Accept empty string
rolein streaming delta chunks from OpenAI-compatible providers
2.0.47
7 May 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.27
2.0.46
4 May 2026openai, openai-compatible: Only send null content for assistant messages with tool calls
2.0.45
1 May 2026vertex: Add grok models to vertex provider
2.0.43 – 2.0.442 releases that only update dependencies@ai-sdk/provider-utils 4.0.26@ai-sdk/provider 3.0.10Show each
2.0.42
29 Apr 2026Trigger release for all packages after provenance setup
Patch - send content: null instead of empty string for tool-only assistant messages
Patch Changes
Trigger release for all packages after provenance setup
Patch - send content: null instead of empty string for tool-only assistant messages
2.0.41
7 Apr 2026Add AI Gateway hint to provider READMEs
2.0.40
6 Apr 2026openai-compatible: Honor camelCase providerOptions key in chat and completion models
2.0.38 – 2.0.392 releases that only update dependencies@ai-sdk/provider-utils 4.0.23Show each
- 2.0.396 Apr 2026@ai-sdk/provider-utils 4.0.23
- 2.0.382 Apr 2026@ai-sdk/provider-utils 4.0.22
2.0.37
20 Mar 2026Publish v6 to latest npm dist tag
Patch Changes
Publish v6 to latest npm dist tag
2.0.36
5 Mar 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.20
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.