@ai-sdk/gateway 4.0.0-beta.0 → 4.0.0-beta.10
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/CHANGELOG.md +63 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/gateway-image-model-settings.ts +6 -0
- package/src/gateway-language-model-settings.ts +9 -1
|
@@ -60,10 +60,12 @@ export type GatewayModelId =
|
|
|
60
60
|
| 'google/gemini-3.1-flash-image-preview'
|
|
61
61
|
| 'google/gemini-3.1-flash-lite-preview'
|
|
62
62
|
| 'google/gemini-3.1-pro-preview'
|
|
63
|
+
| 'inception/mercury-2'
|
|
63
64
|
| 'inception/mercury-coder-small'
|
|
64
65
|
| 'kwaipilot/kat-coder-pro-v1'
|
|
65
66
|
| 'meituan/longcat-flash-chat'
|
|
66
67
|
| 'meituan/longcat-flash-thinking'
|
|
68
|
+
| 'meituan/longcat-flash-thinking-2601'
|
|
67
69
|
| 'meta/llama-3.1-70b'
|
|
68
70
|
| 'meta/llama-3.1-8b'
|
|
69
71
|
| 'meta/llama-3.2-11b'
|
|
@@ -77,6 +79,7 @@ export type GatewayModelId =
|
|
|
77
79
|
| 'minimax/minimax-m2.1'
|
|
78
80
|
| 'minimax/minimax-m2.1-lightning'
|
|
79
81
|
| 'minimax/minimax-m2.5'
|
|
82
|
+
| 'minimax/minimax-m2.5-highspeed'
|
|
80
83
|
| 'mistral/codestral'
|
|
81
84
|
| 'mistral/devstral-2'
|
|
82
85
|
| 'mistral/devstral-small'
|
|
@@ -104,7 +107,6 @@ export type GatewayModelId =
|
|
|
104
107
|
| 'nvidia/nemotron-3-nano-30b-a3b'
|
|
105
108
|
| 'nvidia/nemotron-nano-12b-v2-vl'
|
|
106
109
|
| 'nvidia/nemotron-nano-9b-v2'
|
|
107
|
-
| 'openai/codex-mini'
|
|
108
110
|
| 'openai/gpt-3.5-turbo'
|
|
109
111
|
| 'openai/gpt-3.5-turbo-instruct'
|
|
110
112
|
| 'openai/gpt-4-turbo'
|
|
@@ -131,6 +133,8 @@ export type GatewayModelId =
|
|
|
131
133
|
| 'openai/gpt-5.2-pro'
|
|
132
134
|
| 'openai/gpt-5.3-chat'
|
|
133
135
|
| 'openai/gpt-5.3-codex'
|
|
136
|
+
| 'openai/gpt-5.4'
|
|
137
|
+
| 'openai/gpt-5.4-pro'
|
|
134
138
|
| 'openai/gpt-oss-120b'
|
|
135
139
|
| 'openai/gpt-oss-20b'
|
|
136
140
|
| 'openai/gpt-oss-safeguard-20b'
|
|
@@ -157,6 +161,9 @@ export type GatewayModelId =
|
|
|
157
161
|
| 'xai/grok-4-fast-reasoning'
|
|
158
162
|
| 'xai/grok-4.1-fast-non-reasoning'
|
|
159
163
|
| 'xai/grok-4.1-fast-reasoning'
|
|
164
|
+
| 'xai/grok-4.20-multi-agent-beta'
|
|
165
|
+
| 'xai/grok-4.20-non-reasoning-beta'
|
|
166
|
+
| 'xai/grok-4.20-reasoning-beta'
|
|
160
167
|
| 'xai/grok-code-fast-1'
|
|
161
168
|
| 'xiaomi/mimo-v2-flash'
|
|
162
169
|
| 'zai/glm-4.5'
|
|
@@ -166,6 +173,7 @@ export type GatewayModelId =
|
|
|
166
173
|
| 'zai/glm-4.6v'
|
|
167
174
|
| 'zai/glm-4.6v-flash'
|
|
168
175
|
| 'zai/glm-4.7'
|
|
176
|
+
| 'zai/glm-4.7-flash'
|
|
169
177
|
| 'zai/glm-4.7-flashx'
|
|
170
178
|
| 'zai/glm-5'
|
|
171
179
|
| (string & {});
|