@ai-sdk/openai 3.0.121 → 3.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -770,11 +770,12 @@ var openaiLanguageModelChatOptions = lazySchema2(
770
770
  * - 'flex': 50% cheaper processing at the cost of increased latency. Only available for o3 and o4-mini models.
771
771
  * - 'priority': Higher-speed processing with predictably low latency at premium cost. Available for Enterprise customers.
772
772
  * - 'fast': OpenAI's newer name for the 'priority' tier. Interchangeable with it.
773
+ * - 'ultrafast': Access-controlled Ultrafast processing. Only available for gpt-5.6-sol.
773
774
  * - 'default': The request will be processed with the standard pricing and performance for the selected model.
774
775
  *
775
776
  * @default 'auto'
776
777
  */
777
- serviceTier: z3.enum(["auto", "flex", "priority", "fast", "default"]).optional(),
778
+ serviceTier: z3.enum(["auto", "flex", "priority", "fast", "ultrafast", "default"]).optional(),
778
779
  /**
779
780
  * Whether to use strict JSON schema validation.
780
781
  *
@@ -3291,10 +3292,11 @@ var openaiLanguageModelResponsesOptionsSchema = lazySchema20(
3291
3292
  * Set to 'flex' for 50% cheaper processing at the cost of increased latency (available for o3, o4-mini, and gpt-5 models).
3292
3293
  * Set to 'priority' for faster processing with Enterprise access (available for gpt-4, gpt-5, gpt-5-mini, o3, o4-mini; gpt-5-nano is not supported).
3293
3294
  * Set to 'fast' for the same tier as 'priority' (OpenAI's newer name for it).
3295
+ * Set to 'ultrafast' for access-controlled Ultrafast processing (available only for gpt-5.6-sol).
3294
3296
  *
3295
3297
  * Defaults to 'auto'.
3296
3298
  */
3297
- serviceTier: z21.enum(["auto", "flex", "priority", "fast", "default"]).nullish(),
3299
+ serviceTier: z21.enum(["auto", "flex", "priority", "fast", "ultrafast", "default"]).nullish(),
3298
3300
  /**
3299
3301
  * Whether to store the generation. Defaults to `true`.
3300
3302
  */
@@ -8264,7 +8266,7 @@ var OpenAITranscriptionModel = class {
8264
8266
  };
8265
8267
 
8266
8268
  // src/version.ts
8267
- var VERSION = true ? "3.0.121" : "0.0.0-test";
8269
+ var VERSION = true ? "3.0.123" : "0.0.0-test";
8268
8270
 
8269
8271
  // src/openai-provider.ts
8270
8272
  function createOpenAI(options = {}) {