Packages

@ai-sdk/openai

4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed

Your version

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

  1. 1.x
  2. 1.0.0

    18 Nov 2024
    • breaking

      Chore (release): bump major version to 4.0

    • breaking

      Chore (provider/openai): remove OpenAI facade

    • breaking

      Chore (providers): remove baseUrl option

  3. 0.0.x
  4. 0.0.72

    5 Nov 2024
    • Feat (provider/openai): support predicted outputs

  5. 0.0.71

    1 Nov 2024
    • Fix (provider/openai): support object-json mode without schema

  6. 0.0.70

    25 Oct 2024
    • provider-defined tools

  7. 0.0.68

    18 Oct 2024
    • Feat (provider/openai): support mp3 and wav audio inputs

  8. 0.0.67

    15 Oct 2024
    • Feat (provider/openai): provider name can be changed for 3rd party openai compatible providers

  9. 0.0.66

    4 Oct 2024
    • Feat (provider/openai): support metadata field for distillation

  10. 0.0.65

    3 Oct 2024
    • Add OpenAI cached prompt tokens to experimental_providerMetadata for generateText and streamText

  11. 0.0.64

    3 Oct 2024
    • Feat (provider/openai): support store parameter for distillation

  12. 0.0.62

    24 Sep 2024
    • Feat (provider/openai): simulated streaming for reasoning models

  13. 0.0.61

    20 Sep 2024
    • Feat (provider/openai): support reasoning token usage and max_completion_tokens

  14. 0.0.60

    14 Sep 2024

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

  15. 0.0.59

    12 Sep 2024
    • Feat (provider/openai): add o1-preview and o1-mini models

  16. 0.0.58

    6 Sep 2024
    • Feat (provider/openai): support image detail

  17. 0.0.57

    6 Sep 2024
    • Feat (provider/openai): support ai sdk image download

  18. 0.0.56

    5 Sep 2024
    • Feat (ai): expose response id, response model, response timestamp in telemetry and api

  19. 0.0.55

    3 Sep 2024
    • Fix (provider/openai): support tool call deltas when arguments are sent in the first chunk

  20. 0.0.54

    26 Aug 2024
    • Feat (ai/provider): introduce ProviderV1 specification

  21. 0.0.53

    22 Aug 2024

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

  22. 0.0.52

    22 Aug 2024
    • Feat (provider/openai): support partial usage information

  23. 0.0.50 – 0.0.512 releases that only update dependencies@ai-sdk/provider-utils 1.0.15@ai-sdk/provider 0.0.21Show each
  24. 0.0.49

    19 Aug 2024
    • Fix (provider/openai): support OpenRouter streaming errors

  25. 0.0.47

    16 Aug 2024
    • Fix (provider/openai): fix strict flag for structured outputs with tools

    • Use FetchFunction type to prevent self-reference

  26. 0.0.46

    14 Aug 2024
    • Fix (ai/provider): send finish reason 'unknown' by default

  27. 0.0.44

    8 Aug 2024
    • Feat (ai/core): support schema name & description in generateObject & streamObject

  28. 0.0.43

    7 Aug 2024
    • Feat (ai/openai): structured outputs

    • Feat (provider/openai): add gpt-4o-2024-08-06 to list of supported models

  29. 0.0.41

    6 Aug 2024
    • Feat (provider/openai): make role nullish to enhance provider support

  30. 0.0.39 – 0.0.402 releases that only update dependencies@ai-sdk/provider-utils 1.0.5@ai-sdk/provider 0.0.14Show each
  31. 0.0.38

    23 Jul 2024
    • Feat (core): support stopSequences setting.

    • Feat (ai/openai): Support legacy function calls

    • Feat (core): support topK setting

  32. 0.0.37

    19 Jul 2024
    • Chore (provider/openai): update model list for type-ahead support

  33. 0.0.36

    9 Jul 2024
    • Feat (ai/core): add token usage to embed and embedMany

  34. 0.0.35

    8 Jul 2024

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

  35. 0.0.34

    27 Jun 2024
    • Feat (ai/core): add custom request header support

  36. 0.0.33

    21 Jun 2024

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

  37. 0.0.32

    20 Jun 2024
    • Fix (@ai-sdk/openai): only send logprobs settings when logprobs are requested

  38. 0.0.31

    17 Jun 2024
    • Feat (@ai-sdk/azure): add azure openai completion support

    • Feat (@ai-sdk/azure): add azure openai completion support

  39. 0.0.30

    17 Jun 2024

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

  40. 0.0.29

    14 Jun 2024
    • Feat (core): add text embedding model support to provider registry

    • Feat (providers): support custom fetch implementations

  41. 0.0.28

    13 Jun 2024
    • Feat (@ai-sdk/openai): add parallelToolCalls setting

  42. 0.0.27

    11 Jun 2024
    • Fix (@ai-sdk/azure): allow for nullish delta

  43. 0.0.26

    11 Jun 2024
    • Fix (@ai-sdk/openai): add internal dist to bundle

  44. 0.0.25

    11 Jun 2024
    • Chore (@ai-sdk/openai): expose models under /internal for reuse in other providers

  45. 0.0.24

    6 Jun 2024
    • Fix (@ai-sdk/openai): make function name and arguments nullish

  46. 0.0.23

    6 Jun 2024
    • Fix (@ai-sdk/openai): allow null tool_calls value.