@ai-sdk/gateway 4.0.149 → 4.0.151
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 +15 -0
- package/dist/index.d.ts +26 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/gateway-decision-model-settings.ts +3 -25
- package/src/gateway-embedding-model-settings.ts +3 -28
- package/src/gateway-extraction-model-settings.ts +5 -1
- package/src/gateway-image-model-settings.ts +3 -43
- package/src/gateway-language-model-settings.ts +3 -331
- package/src/gateway-model-catalog.ts +543 -0
- package/src/gateway-realtime-model-settings.ts +3 -10
- package/src/gateway-reranking-model-settings.ts +3 -9
- package/src/gateway-speech-model-settings.ts +3 -26
- package/src/gateway-transcription-model-settings.ts +3 -16
- package/src/gateway-video-model-settings.ts +3 -39
|
@@ -1,331 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
| 'alibaba/qwen-3-30b'
|
|
5
|
-
| 'alibaba/qwen-3-32b'
|
|
6
|
-
| 'alibaba/qwen3-coder'
|
|
7
|
-
| 'alibaba/qwen3-coder-30b-a3b'
|
|
8
|
-
| 'alibaba/qwen3-coder-next'
|
|
9
|
-
| 'alibaba/qwen3-max-thinking'
|
|
10
|
-
| 'alibaba/qwen3-next-80b-a3b-instruct'
|
|
11
|
-
| 'alibaba/qwen3-next-80b-a3b-thinking'
|
|
12
|
-
| 'alibaba/qwen3-vl-instruct'
|
|
13
|
-
| 'alibaba/qwen3.5-flash'
|
|
14
|
-
| 'alibaba/qwen3.5-plus'
|
|
15
|
-
| 'alibaba/qwen3.6-27b'
|
|
16
|
-
| 'alibaba/qwen3.6-35b-a3b'
|
|
17
|
-
| 'alibaba/qwen3.6-plus'
|
|
18
|
-
| 'alibaba/qwen3.7-flash'
|
|
19
|
-
| 'alibaba/qwen3.7-max'
|
|
20
|
-
| 'alibaba/qwen3.7-plus'
|
|
21
|
-
| 'alibaba/qwen3.8-2.4t-a95b'
|
|
22
|
-
| 'alibaba/qwen3.8-27b'
|
|
23
|
-
| 'alibaba/qwen3.8-flash'
|
|
24
|
-
| 'alibaba/qwen3.8-max'
|
|
25
|
-
| 'alibaba/qwen3.8-max-0902'
|
|
26
|
-
| 'alibaba/qwen3.8-max-prime'
|
|
27
|
-
| 'alibaba/qwen3.8-omni-flash'
|
|
28
|
-
| 'alibaba/qwen4-max'
|
|
29
|
-
| 'amazon/nova-2-lite'
|
|
30
|
-
| 'amazon/nova-lite'
|
|
31
|
-
| 'amazon/nova-micro'
|
|
32
|
-
| 'amazon/nova-pro'
|
|
33
|
-
| 'anthropic/claude-fable-5'
|
|
34
|
-
| 'anthropic/claude-fable-5-batch'
|
|
35
|
-
| 'anthropic/claude-fable-5.1'
|
|
36
|
-
| 'anthropic/claude-fable-5.1-batch'
|
|
37
|
-
| 'anthropic/claude-fable-5.2'
|
|
38
|
-
| 'anthropic/claude-fable-5.2-batch'
|
|
39
|
-
| 'anthropic/claude-fable-5.2-fast'
|
|
40
|
-
| 'anthropic/claude-haiku-4.5'
|
|
41
|
-
| 'anthropic/claude-haiku-4.5-batch'
|
|
42
|
-
| 'anthropic/claude-haiku-5.5'
|
|
43
|
-
| 'anthropic/claude-haiku-5.5-batch'
|
|
44
|
-
| 'anthropic/claude-opus-4.5'
|
|
45
|
-
| 'anthropic/claude-opus-4.5-batch'
|
|
46
|
-
| 'anthropic/claude-opus-4.6'
|
|
47
|
-
| 'anthropic/claude-opus-4.6-batch'
|
|
48
|
-
| 'anthropic/claude-opus-4.7'
|
|
49
|
-
| 'anthropic/claude-opus-4.7-batch'
|
|
50
|
-
| 'anthropic/claude-opus-4.8'
|
|
51
|
-
| 'anthropic/claude-opus-4.8-batch'
|
|
52
|
-
| 'anthropic/claude-opus-4.8-fast'
|
|
53
|
-
| 'anthropic/claude-opus-5'
|
|
54
|
-
| 'anthropic/claude-opus-5-batch'
|
|
55
|
-
| 'anthropic/claude-opus-5-fast'
|
|
56
|
-
| 'anthropic/claude-opus-5.5'
|
|
57
|
-
| 'anthropic/claude-opus-5.5-batch'
|
|
58
|
-
| 'anthropic/claude-opus-5.5-fast'
|
|
59
|
-
| 'anthropic/claude-sonnet-4.5'
|
|
60
|
-
| 'anthropic/claude-sonnet-4.5-batch'
|
|
61
|
-
| 'anthropic/claude-sonnet-4.6'
|
|
62
|
-
| 'anthropic/claude-sonnet-4.6-batch'
|
|
63
|
-
| 'anthropic/claude-sonnet-5'
|
|
64
|
-
| 'anthropic/claude-sonnet-5-batch'
|
|
65
|
-
| 'anthropic/claude-sonnet-5.5'
|
|
66
|
-
| 'anthropic/claude-sonnet-5.5-batch'
|
|
67
|
-
| 'bytedance/seed-2.1-turbo'
|
|
68
|
-
| 'callstack/apex'
|
|
69
|
-
| 'cohere/command-a'
|
|
70
|
-
| 'deepseek/deepseek-r1'
|
|
71
|
-
| 'deepseek/deepseek-v3.1'
|
|
72
|
-
| 'deepseek/deepseek-v3.2'
|
|
73
|
-
| 'deepseek/deepseek-v3.2-thinking'
|
|
74
|
-
| 'deepseek/deepseek-v4-flash'
|
|
75
|
-
| 'deepseek/deepseek-v4-flash-0731'
|
|
76
|
-
| 'deepseek/deepseek-v4-flash-vision-exp'
|
|
77
|
-
| 'deepseek/deepseek-v4-pro'
|
|
78
|
-
| 'deepseek/deepseek-v4-pro-0813'
|
|
79
|
-
| 'deepseek/deepseek-v4.1-flash'
|
|
80
|
-
| 'deepseek/deepseek-v4.1-flash-1017'
|
|
81
|
-
| 'deepseek/deepseek-v4.1-flash-1017-fast'
|
|
82
|
-
| 'deepseek/deepseek-v4.1-flash-1017-ultrafast'
|
|
83
|
-
| 'deepseek/deepseek-v4.1-flash-fast'
|
|
84
|
-
| 'elorian/glimpse'
|
|
85
|
-
| 'fireworks/ember-1'
|
|
86
|
-
| 'google/gemini-2.5-flash'
|
|
87
|
-
| 'google/gemini-2.5-flash-batch'
|
|
88
|
-
| 'google/gemini-2.5-flash-image'
|
|
89
|
-
| 'google/gemini-2.5-flash-lite'
|
|
90
|
-
| 'google/gemini-2.5-flash-lite-batch'
|
|
91
|
-
| 'google/gemini-2.5-pro'
|
|
92
|
-
| 'google/gemini-2.5-pro-batch'
|
|
93
|
-
| 'google/gemini-3-flash'
|
|
94
|
-
| 'google/gemini-3-flash-batch'
|
|
95
|
-
| 'google/gemini-3-pro-image'
|
|
96
|
-
| 'google/gemini-3.1-flash-image'
|
|
97
|
-
| 'google/gemini-3.1-flash-lite'
|
|
98
|
-
| 'google/gemini-3.1-flash-lite-batch'
|
|
99
|
-
| 'google/gemini-3.1-flash-lite-image'
|
|
100
|
-
| 'google/gemini-3.1-pro-preview'
|
|
101
|
-
| 'google/gemini-3.1-pro-preview-batch'
|
|
102
|
-
| 'google/gemini-3.5-flash'
|
|
103
|
-
| 'google/gemini-3.5-flash-lite'
|
|
104
|
-
| 'google/gemini-3.5-flash-lite-batch'
|
|
105
|
-
| 'google/gemini-3.6-flash'
|
|
106
|
-
| 'google/gemini-3.6-flash-batch'
|
|
107
|
-
| 'google/gemini-3.7-flash'
|
|
108
|
-
| 'google/gemini-3.8-flash'
|
|
109
|
-
| 'google/gemini-4-argon'
|
|
110
|
-
| 'google/gemini-4-carbon'
|
|
111
|
-
| 'google/gemini-4-hydrogen'
|
|
112
|
-
| 'google/gemini-nano-banana-2.1'
|
|
113
|
-
| 'google/gemini-omni-1.2-flash'
|
|
114
|
-
| 'google/gemini-omni-flash-preview'
|
|
115
|
-
| 'google/gemma-4-26b-a4b-it'
|
|
116
|
-
| 'google/gemma-4-31b-it'
|
|
117
|
-
| 'humansand/ampersand-v0.1'
|
|
118
|
-
| 'inception/mercury-3'
|
|
119
|
-
| 'inclusionai/ling-3.0-flash'
|
|
120
|
-
| 'inclusionai/ling-3.0-flash-fin'
|
|
121
|
-
| 'inclusionai/ling-3.0-flash-sante'
|
|
122
|
-
| 'inclusionai/ling-3.0-flash-vl'
|
|
123
|
-
| 'inclusionai/ling-3.1-flash'
|
|
124
|
-
| 'inclusionai/ling-3.1-flash-1019'
|
|
125
|
-
| 'inference-net/schematron-v2-small'
|
|
126
|
-
| 'inference-net/schematron-v2-turbo'
|
|
127
|
-
| 'interfaze/interfaze-beta'
|
|
128
|
-
| 'liquid/lfm2.5-24b-a2b'
|
|
129
|
-
| 'meituan/longcat-2.5'
|
|
130
|
-
| 'meta/llama-3.1-70b'
|
|
131
|
-
| 'meta/llama-3.1-8b'
|
|
132
|
-
| 'meta/llama-3.3-70b'
|
|
133
|
-
| 'meta/llama-4-maverick'
|
|
134
|
-
| 'meta/llama-4-scout'
|
|
135
|
-
| 'meta/muse-ember'
|
|
136
|
-
| 'meta/muse-glimmer-30b'
|
|
137
|
-
| 'meta/muse-spark-1.1'
|
|
138
|
-
| 'meta/muse-spark-1.2'
|
|
139
|
-
| 'meta/muse-spark-1.2-contributor'
|
|
140
|
-
| 'meta/muse-spark-1.3'
|
|
141
|
-
| 'meta/muse-spark-1.3-contributor'
|
|
142
|
-
| 'meta/muse-spark-open'
|
|
143
|
-
| 'meta/muse-wonder-1.0'
|
|
144
|
-
| 'minimax/minimax-m2'
|
|
145
|
-
| 'minimax/minimax-m2.1'
|
|
146
|
-
| 'minimax/minimax-m2.1-lightning'
|
|
147
|
-
| 'minimax/minimax-m2.5'
|
|
148
|
-
| 'minimax/minimax-m2.5-highspeed'
|
|
149
|
-
| 'minimax/minimax-m2.7'
|
|
150
|
-
| 'minimax/minimax-m2.7-highspeed'
|
|
151
|
-
| 'minimax/minimax-m3'
|
|
152
|
-
| 'minimax/minimax-m3.1-flash'
|
|
153
|
-
| 'mistral/codestral'
|
|
154
|
-
| 'mistral/ministral-14b'
|
|
155
|
-
| 'mistral/ministral-3b'
|
|
156
|
-
| 'mistral/ministral-8b'
|
|
157
|
-
| 'mistral/mistral-large-3'
|
|
158
|
-
| 'mistral/mistral-large-4'
|
|
159
|
-
| 'mistral/mistral-medium-3.5'
|
|
160
|
-
| 'mistral/mistral-nemo'
|
|
161
|
-
| 'mistral/mistral-small'
|
|
162
|
-
| 'mixedbread/toast-1'
|
|
163
|
-
| 'moonshotai/kimi-k2'
|
|
164
|
-
| 'moonshotai/kimi-k2.5'
|
|
165
|
-
| 'moonshotai/kimi-k2.6'
|
|
166
|
-
| 'moonshotai/kimi-k2.7-code'
|
|
167
|
-
| 'moonshotai/kimi-k2.7-code-highspeed'
|
|
168
|
-
| 'moonshotai/kimi-k3'
|
|
169
|
-
| 'moonshotai/kimi-k3-fast'
|
|
170
|
-
| 'moonshotai/kimi-k3.1-pro'
|
|
171
|
-
| 'moonshotai/kimi-k3.1-pro-highspeed'
|
|
172
|
-
| 'morph/morph-v3-fast'
|
|
173
|
-
| 'morph/morph-v3-large'
|
|
174
|
-
| 'nvidia/nemotron-3-super-120b-a12b'
|
|
175
|
-
| 'nvidia/nemotron-3-ultra-550b-a55b'
|
|
176
|
-
| 'nvidia/nemotron-3.5-lightning'
|
|
177
|
-
| 'nvidia/nemotron-3.5-lightning-free'
|
|
178
|
-
| 'nvidia/nemotron-3.5-super-vl'
|
|
179
|
-
| 'nvidia/nemotron-nano-12b-v2-vl'
|
|
180
|
-
| 'nvidia/nemotron-nano-9b-v2'
|
|
181
|
-
| 'openai/gpt-4.1'
|
|
182
|
-
| 'openai/gpt-4.1-batch'
|
|
183
|
-
| 'openai/gpt-4.1-fast'
|
|
184
|
-
| 'openai/gpt-4.1-mini'
|
|
185
|
-
| 'openai/gpt-4.1-mini-batch'
|
|
186
|
-
| 'openai/gpt-4.1-mini-fast'
|
|
187
|
-
| 'openai/gpt-4.1-nano'
|
|
188
|
-
| 'openai/gpt-4o'
|
|
189
|
-
| 'openai/gpt-4o-batch'
|
|
190
|
-
| 'openai/gpt-4o-fast'
|
|
191
|
-
| 'openai/gpt-4o-mini'
|
|
192
|
-
| 'openai/gpt-4o-mini-batch'
|
|
193
|
-
| 'openai/gpt-4o-mini-fast'
|
|
194
|
-
| 'openai/gpt-5'
|
|
195
|
-
| 'openai/gpt-5-batch'
|
|
196
|
-
| 'openai/gpt-5-codex'
|
|
197
|
-
| 'openai/gpt-5-fast'
|
|
198
|
-
| 'openai/gpt-5-mini'
|
|
199
|
-
| 'openai/gpt-5-mini-batch'
|
|
200
|
-
| 'openai/gpt-5-mini-fast'
|
|
201
|
-
| 'openai/gpt-5-nano'
|
|
202
|
-
| 'openai/gpt-5-nano-batch'
|
|
203
|
-
| 'openai/gpt-5-pro'
|
|
204
|
-
| 'openai/gpt-5-pro-batch'
|
|
205
|
-
| 'openai/gpt-5.1-codex'
|
|
206
|
-
| 'openai/gpt-5.1-codex-max'
|
|
207
|
-
| 'openai/gpt-5.1-codex-mini'
|
|
208
|
-
| 'openai/gpt-5.1-thinking'
|
|
209
|
-
| 'openai/gpt-5.1-thinking-fast'
|
|
210
|
-
| 'openai/gpt-5.2'
|
|
211
|
-
| 'openai/gpt-5.2-batch'
|
|
212
|
-
| 'openai/gpt-5.2-codex'
|
|
213
|
-
| 'openai/gpt-5.2-fast'
|
|
214
|
-
| 'openai/gpt-5.2-pro'
|
|
215
|
-
| 'openai/gpt-5.3-codex'
|
|
216
|
-
| 'openai/gpt-5.3-codex-fast'
|
|
217
|
-
| 'openai/gpt-5.4'
|
|
218
|
-
| 'openai/gpt-5.4-batch'
|
|
219
|
-
| 'openai/gpt-5.4-fast'
|
|
220
|
-
| 'openai/gpt-5.4-mini'
|
|
221
|
-
| 'openai/gpt-5.4-mini-batch'
|
|
222
|
-
| 'openai/gpt-5.4-mini-fast'
|
|
223
|
-
| 'openai/gpt-5.4-nano'
|
|
224
|
-
| 'openai/gpt-5.4-nano-batch'
|
|
225
|
-
| 'openai/gpt-5.4-pro'
|
|
226
|
-
| 'openai/gpt-5.5'
|
|
227
|
-
| 'openai/gpt-5.5-batch'
|
|
228
|
-
| 'openai/gpt-5.5-fast'
|
|
229
|
-
| 'openai/gpt-5.5-pro'
|
|
230
|
-
| 'openai/gpt-5.5-pro-batch'
|
|
231
|
-
| 'openai/gpt-5.6-luna'
|
|
232
|
-
| 'openai/gpt-5.6-luna-batch'
|
|
233
|
-
| 'openai/gpt-5.6-luna-fast'
|
|
234
|
-
| 'openai/gpt-5.6-sol'
|
|
235
|
-
| 'openai/gpt-5.6-sol-batch'
|
|
236
|
-
| 'openai/gpt-5.6-sol-fast'
|
|
237
|
-
| 'openai/gpt-5.6-terra'
|
|
238
|
-
| 'openai/gpt-5.6-terra-batch'
|
|
239
|
-
| 'openai/gpt-5.6-terra-fast'
|
|
240
|
-
| 'openai/gpt-6-astra'
|
|
241
|
-
| 'openai/gpt-6-astra-batch'
|
|
242
|
-
| 'openai/gpt-6-astra-fast'
|
|
243
|
-
| 'openai/gpt-6-luna'
|
|
244
|
-
| 'openai/gpt-6-luna-batch'
|
|
245
|
-
| 'openai/gpt-6-luna-fast'
|
|
246
|
-
| 'openai/gpt-6-sol'
|
|
247
|
-
| 'openai/gpt-6-sol-batch'
|
|
248
|
-
| 'openai/gpt-6-sol-fast'
|
|
249
|
-
| 'openai/gpt-6.1-sol'
|
|
250
|
-
| 'openai/gpt-6.1-sol-batch'
|
|
251
|
-
| 'openai/gpt-6.1-sol-fast'
|
|
252
|
-
| 'openai/gpt-6.1-terra'
|
|
253
|
-
| 'openai/gpt-6.1-terra-fast'
|
|
254
|
-
| 'openai/gpt-6.2-astra'
|
|
255
|
-
| 'openai/gpt-6.2-astra-fast'
|
|
256
|
-
| 'openai/gpt-6.2-sol'
|
|
257
|
-
| 'openai/gpt-6.2-sol-fast'
|
|
258
|
-
| 'openai/gpt-oss-120b'
|
|
259
|
-
| 'openai/gpt-oss-20b'
|
|
260
|
-
| 'openai/gpt-oss-safeguard-120b'
|
|
261
|
-
| 'openai/gpt-oss-safeguard-20b'
|
|
262
|
-
| 'openai/o1'
|
|
263
|
-
| 'openai/o3'
|
|
264
|
-
| 'openai/o3-fast'
|
|
265
|
-
| 'openai/o3-mini'
|
|
266
|
-
| 'openai/o3-pro'
|
|
267
|
-
| 'openai/o4-mini'
|
|
268
|
-
| 'paperinstruments/ultramarine-1-flash'
|
|
269
|
-
| 'particle/particle-1'
|
|
270
|
-
| 'perplexity/sonar'
|
|
271
|
-
| 'quiverai/arrow-2'
|
|
272
|
-
| 'quiverai/arrow-2-telos'
|
|
273
|
-
| 'recursive/flint-v1.0'
|
|
274
|
-
| 'reflection/beam'
|
|
275
|
-
| 'reflection/beam-free'
|
|
276
|
-
| 'sakana/fugu-max'
|
|
277
|
-
| 'sakana/fugu-ultra'
|
|
278
|
-
| 'sakana/fugu-ultra-v2'
|
|
279
|
-
| 'sakana/namazu'
|
|
280
|
-
| 'scaledown/scaledown-extract-1'
|
|
281
|
-
| 'scaledown/scaledown-summarize-1'
|
|
282
|
-
| 'spacexai/grok-4.20-multi-agent'
|
|
283
|
-
| 'spacexai/grok-4.20-multi-agent-batch'
|
|
284
|
-
| 'spacexai/grok-4.20-multi-agent-beta'
|
|
285
|
-
| 'spacexai/grok-4.20-non-reasoning'
|
|
286
|
-
| 'spacexai/grok-4.20-non-reasoning-batch'
|
|
287
|
-
| 'spacexai/grok-4.20-non-reasoning-beta'
|
|
288
|
-
| 'spacexai/grok-4.20-reasoning'
|
|
289
|
-
| 'spacexai/grok-4.20-reasoning-batch'
|
|
290
|
-
| 'spacexai/grok-4.20-reasoning-beta'
|
|
291
|
-
| 'spacexai/grok-4.3'
|
|
292
|
-
| 'spacexai/grok-4.3-batch'
|
|
293
|
-
| 'spacexai/grok-4.5'
|
|
294
|
-
| 'spacexai/grok-4.6'
|
|
295
|
-
| 'spacexai/grok-4.7'
|
|
296
|
-
| 'spacexai/grok-build-0.1'
|
|
297
|
-
| 'stealth/glyph-cluster'
|
|
298
|
-
| 'stepfun/step-3.7-flash'
|
|
299
|
-
| 'stepfun/step-5-preview'
|
|
300
|
-
| 'tencent/hy-mt2-lite'
|
|
301
|
-
| 'tencent/hy-mt2-plus'
|
|
302
|
-
| 'tencent/hy-mt2-pro'
|
|
303
|
-
| 'tencent/hy3'
|
|
304
|
-
| 'tencent/hy4'
|
|
305
|
-
| 'tencent/hy4-flash'
|
|
306
|
-
| 'tencent/hy4-preview'
|
|
307
|
-
| 'thinkingmachines/inkling'
|
|
308
|
-
| 'thinkingmachines/inkling-2-small'
|
|
309
|
-
| 'thinkingmachines/inkling-small'
|
|
310
|
-
| 'xiaomi/mimo-v2.6-flash'
|
|
311
|
-
| 'xiaomi/mimo-v2.6-pro'
|
|
312
|
-
| 'xiaomi/mimo-v2.6-pro-ultraspeed'
|
|
313
|
-
| 'zai/glm-4.5'
|
|
314
|
-
| 'zai/glm-4.5-air'
|
|
315
|
-
| 'zai/glm-4.5v'
|
|
316
|
-
| 'zai/glm-4.6'
|
|
317
|
-
| 'zai/glm-4.7'
|
|
318
|
-
| 'zai/glm-4.7-flash'
|
|
319
|
-
| 'zai/glm-4.7-flashx'
|
|
320
|
-
| 'zai/glm-5'
|
|
321
|
-
| 'zai/glm-5-turbo'
|
|
322
|
-
| 'zai/glm-5.1'
|
|
323
|
-
| 'zai/glm-5.2'
|
|
324
|
-
| 'zai/glm-5.2-fast'
|
|
325
|
-
| 'zai/glm-5.3'
|
|
326
|
-
| 'zai/glm-5.3-fast'
|
|
327
|
-
| 'zai/glm-5.3-flash'
|
|
328
|
-
| 'zai/glm-5.3-flashx'
|
|
329
|
-
| 'zai/glm-5.3-flashx-legal'
|
|
330
|
-
| 'zai/glm-5v-turbo'
|
|
331
|
-
| (string & {});
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
3
|
+
export type GatewayModelId = GatewayModelIds['language'] | (string & {});
|