@ai-sdk/openai 3.0.44 → 3.0.45

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.
@@ -2041,6 +2041,9 @@ The following optional provider options are available for OpenAI completion mode
2041
2041
 
2042
2042
  | Model | Image Input | Audio Input | Object Generation | Tool Usage |
2043
2043
  | --------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
2044
+ | `gpt-5.4-pro` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2045
+ | `gpt-5.4` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2046
+ | `gpt-5.3-chat-latest` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2044
2047
  | `gpt-5.2-pro` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2045
2048
  | `gpt-5.2-chat-latest` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
2046
2049
  | `gpt-5.2` | <Check size={18} /> | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "3.0.44",
3
+ "version": "3.0.45",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -51,6 +51,7 @@ export type OpenAIChatModelId =
51
51
  | 'gpt-5.2-chat-latest'
52
52
  | 'gpt-5.2-pro'
53
53
  | 'gpt-5.2-pro-2025-12-11'
54
+ | 'gpt-5.3-chat-latest'
54
55
  | 'gpt-5.4'
55
56
  | 'gpt-5.4-2026-03-05'
56
57
  | 'gpt-5.4-pro'
@@ -40,6 +40,7 @@ export function getOpenAILanguageModelCapabilities(
40
40
  const supportsNonReasoningParameters =
41
41
  modelId.startsWith('gpt-5.1') ||
42
42
  modelId.startsWith('gpt-5.2') ||
43
+ modelId.startsWith('gpt-5.3') ||
43
44
  modelId.startsWith('gpt-5.4');
44
45
 
45
46
  const systemMessageMode = isReasoningModel ? 'developer' : 'system';
@@ -37,11 +37,12 @@ export const openaiResponsesReasoningModelIds = [
37
37
  'gpt-5.2-chat-latest',
38
38
  'gpt-5.2-pro',
39
39
  'gpt-5.2-codex',
40
+ 'gpt-5.3-chat-latest',
41
+ 'gpt-5.3-codex',
40
42
  'gpt-5.4',
41
43
  'gpt-5.4-2026-03-05',
42
44
  'gpt-5.4-pro',
43
45
  'gpt-5.4-pro-2026-03-05',
44
- 'gpt-5.3-codex',
45
46
  ] as const;
46
47
 
47
48
  export const openaiResponsesModelIds = [
@@ -98,11 +99,12 @@ export type OpenAIResponsesModelId =
98
99
  | 'gpt-5.2-pro'
99
100
  | 'gpt-5.2-pro-2025-12-11'
100
101
  | 'gpt-5.2-codex'
102
+ | 'gpt-5.3-chat-latest'
103
+ | 'gpt-5.3-codex'
101
104
  | 'gpt-5.4'
102
105
  | 'gpt-5.4-2026-03-05'
103
106
  | 'gpt-5.4-pro'
104
107
  | 'gpt-5.4-pro-2026-03-05'
105
- | 'gpt-5.3-codex'
106
108
  | 'gpt-5-2025-08-07'
107
109
  | 'gpt-5-chat-latest'
108
110
  | 'gpt-5-codex'