Packages

@ai-sdk/openai-compatible

3.0.93 · 17 Nov 2026Apache-2.014.4M / weekRepositoryHomepagenpmAtom feed

Your version

300 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x
  2. 2.0.34 – 2.0.352 releases that only update dependencies@ai-sdk/provider-utils 4.0.19Show each
  3. 2.0.33

    2 Mar 2026
    • openai-compat: Decode base64 string data

  4. 2.0.30 – 2.0.323 releases that only update dependencies@ai-sdk/provider-utils 4.0.17Show each
  5. 2.0.29

    11 Feb 2026
    • Normalize provider specific model options type names and ensure they are exported

  6. 2.0.27

    4 Feb 2026
    • Change usage schemas from z.object to z.looseObject to improve compatibility with non-standard OpenAI-compatible APIs.

  7. 2.0.21 – 2.0.266 releases with no change for you4 dependency updates, 2 maintenance@ai-sdk/provider 3.0.7@ai-sdk/provider-utils 4.0.13Show each
  8. 2.0.20

    27 Jan 2026
    • openai-compatible: Include reasoning_content in assistant messages for multi-turn tool calls

  9. 2.0.19

    26 Jan 2026
    • openai-compat: Add metadata extractor to provider settings

  10. 2.0.17 – 2.0.182 releases with no change for you1 dependency update, 1 maintenance@ai-sdk/provider 3.0.5@ai-sdk/provider-utils 4.0.9Show each
  11. 2.0.16

    20 Jan 2026
    • openai-compatible: Accept non-OpenAI provider options

  12. 2.0.15

    20 Jan 2026
    • Deprecated

      Use consistent camelCase openaiCompatible key for providerOptions. The kebab-case openai-compatible key is now deprecated but still supported with a console warning.

  13. 2.0.14

    20 Jan 2026
    • openai-compat: Support passing multiple file types

  14. 2.0.12

    15 Jan 2026
    • openai-compatible: Add transformRequestBody function for openai-compatible

  15. 2.0.10 – 2.0.112 releases that only update dependencies@ai-sdk/provider-utils 4.0.7@ai-sdk/provider 3.0.3Show each
  16. 2.0.9

    13 Jan 2026
    • groq,compat: Add strictJsonSchema for providers

  17. 2.0.8

    13 Jan 2026
    • compat,groq: Send reasoning-end before text-start in streaming

  18. 2.0.7

    12 Jan 2026
    • openai-compat: Add thoughtSignature handling for google models

  19. 2.0.6

    12 Jan 2026

    Only updates a dependency:@ai-sdk/provider-utils 4.0.5

  20. 2.0.5

    12 Jan 2026
    • Change some response schemas from z.object to z.looseObject to improve compatibility with non-standard OpenAI-compatible APIs.

  21. 2.0.3 – 2.0.42 releases that only update dependencies@ai-sdk/provider 3.0.2@ai-sdk/provider-utils 4.0.4Show each
  22. 2.0.2

    30 Dec 2025
    • Trigger release to update @latest

  23. 2.0.1

    23 Dec 2025

    Only updates a dependency:@ai-sdk/provider-utils 4.0.1

  24. 2.0.0

    22 Dec 2025
    • Breaking

      Ai SDK 6 beta

    • provider: Add specificationVersion to ProviderV3

    • provider: Shared spec v3

  25. 1.x
  26. 1.0.63

    10 Nov 2026

    Only updates a dependency:@ai-sdk/provider-utils 3.0.46

  27. 1.0.62

    7 Nov 2026
    • Avoid empty structured-output answers from Baseten's DeepSeek V4 Pro 0813 when reasoning is enabled. Fall back to JSON prompt instructions while keeping reasoning and SDK output validation, and report the fallback through request transformation warnings.

    • openai,openai-compatible: Surface refusal logprobs and openai-compatible refusals

      @ai-sdk/openai: Chat Completions responses that contain a refusal can return logprobs.refusal next to logprobs.content. The provider previously read only logprobs.content, so providerMetadata.openai.logprobs was empty or missing for refusals. Refusal logprobs are now included in emission order (content logprobs followed by refusal logprobs) in both generateText and streamText.

      Streaming logprobs are now collected across all chunks in streamText: previously only the logprobs of the last streamed chunk were reported. This applies to content logprobs as well, so providerMetadata.openai.logprobs now contains the logprobs of every streamed token instead of only the last chunk's tokens. Explicitly empty logprobs (logprobs: { content:, refusal: null }) are reported as an empty array, as before.

      A refusal that arrives in the same streamed chunk as the finish_reason is now taken into account: such a response is reported with a content-filter finish reason instead of stop.

      @ai-sdk/openai-compatible: Chat Completions responses that carry message.refusal (non-streaming) or delta.refusal (streaming) were ignored, so providers such as OpenAI served through createOpenAICompatible lost the refusal text and reported an empty stop response. Refusals are now returned as text content after any content text, and a non-empty refusal with a stop finish reason is reported as a content-filter finish reason. This also applies when the refusal and the finish reason arrive in the same streamed chunk. Non-string refusals (for example refusal: false from servers that use booleans) are ignored instead of failing the response.

  28. 1.0.61

    3 Nov 2026
    • openai-compatible: Preserve string tool call arguments and safely serialize BigInt and circular structures in tool calls and outputs

  29. 1.0.60

    30 Oct 2026

    Only updates a dependency:@ai-sdk/provider-utils 3.0.43

  30. 1.0.59

    21 Oct 2026
    • Defer validation schema construction until first use to reduce provider import time.

  31. 1.0.58

    30 Sep 2026

    Only updates a dependency:@ai-sdk/provider-utils 3.0.41

  32. 1.0.57

    28 Sep 2026
    • provider-utils: Preserve streamed tool calls with unreliable IDs and indices

  33. 1.0.55 – 1.0.562 releases that only update dependencies@ai-sdk/provider-utils 3.0.39@ai-sdk/provider 2.0.5Show each
  34. 1.0.54

    9 Sep 2026
    • openai: Return an AI SDK error for empty chat completion choices

  35. 1.0.48 – 1.0.534 releases that only update dependencies@ai-sdk/provider-utils 3.0.36Show each

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.