@ai-sdk/gateway 4.0.150 → 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 +9 -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 -26
- 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 -46
- package/src/gateway-language-model-settings.ts +3 -324
- 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
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
export const gatewayModelIds = {
|
|
2
|
+
language: [
|
|
3
|
+
'alibaba/qwen-3-14b',
|
|
4
|
+
'alibaba/qwen-3-30b',
|
|
5
|
+
'alibaba/qwen-3-32b',
|
|
6
|
+
'alibaba/qwen3-coder-30b-a3b',
|
|
7
|
+
'alibaba/qwen3-coder-next',
|
|
8
|
+
'alibaba/qwen3-max-thinking',
|
|
9
|
+
'alibaba/qwen3-next-80b-a3b-instruct',
|
|
10
|
+
'alibaba/qwen3-vl-instruct',
|
|
11
|
+
'alibaba/qwen3.5-flash',
|
|
12
|
+
'alibaba/qwen3.5-plus',
|
|
13
|
+
'alibaba/qwen3.6-27b',
|
|
14
|
+
'alibaba/qwen3.6-35b-a3b',
|
|
15
|
+
'alibaba/qwen3.6-plus',
|
|
16
|
+
'alibaba/qwen3.7-flash',
|
|
17
|
+
'alibaba/qwen3.7-max',
|
|
18
|
+
'alibaba/qwen3.7-plus',
|
|
19
|
+
'alibaba/qwen3.8-2.4t-a95b',
|
|
20
|
+
'alibaba/qwen3.8-27b',
|
|
21
|
+
'alibaba/qwen3.8-flash',
|
|
22
|
+
'alibaba/qwen3.8-max',
|
|
23
|
+
'alibaba/qwen3.8-max-0902',
|
|
24
|
+
'alibaba/qwen3.8-max-prime',
|
|
25
|
+
'alibaba/qwen3.8-omni-flash',
|
|
26
|
+
'alibaba/qwen4-max',
|
|
27
|
+
'amazon/nova-2-lite',
|
|
28
|
+
'amazon/nova-lite',
|
|
29
|
+
'amazon/nova-micro',
|
|
30
|
+
'amazon/nova-pro',
|
|
31
|
+
'anthropic/claude-fable-5',
|
|
32
|
+
'anthropic/claude-fable-5-batch',
|
|
33
|
+
'anthropic/claude-fable-5.1',
|
|
34
|
+
'anthropic/claude-fable-5.1-batch',
|
|
35
|
+
'anthropic/claude-fable-5.2',
|
|
36
|
+
'anthropic/claude-fable-5.2-batch',
|
|
37
|
+
'anthropic/claude-fable-5.2-fast',
|
|
38
|
+
'anthropic/claude-haiku-4.5',
|
|
39
|
+
'anthropic/claude-haiku-4.5-batch',
|
|
40
|
+
'anthropic/claude-haiku-5.5',
|
|
41
|
+
'anthropic/claude-haiku-5.5-batch',
|
|
42
|
+
'anthropic/claude-opus-4.5',
|
|
43
|
+
'anthropic/claude-opus-4.5-batch',
|
|
44
|
+
'anthropic/claude-opus-4.6',
|
|
45
|
+
'anthropic/claude-opus-4.6-batch',
|
|
46
|
+
'anthropic/claude-opus-4.7',
|
|
47
|
+
'anthropic/claude-opus-4.7-batch',
|
|
48
|
+
'anthropic/claude-opus-4.8',
|
|
49
|
+
'anthropic/claude-opus-4.8-batch',
|
|
50
|
+
'anthropic/claude-opus-4.8-fast',
|
|
51
|
+
'anthropic/claude-opus-5',
|
|
52
|
+
'anthropic/claude-opus-5-batch',
|
|
53
|
+
'anthropic/claude-opus-5-fast',
|
|
54
|
+
'anthropic/claude-opus-5.5',
|
|
55
|
+
'anthropic/claude-opus-5.5-batch',
|
|
56
|
+
'anthropic/claude-opus-5.5-fast',
|
|
57
|
+
'anthropic/claude-sonnet-4.5',
|
|
58
|
+
'anthropic/claude-sonnet-4.5-batch',
|
|
59
|
+
'anthropic/claude-sonnet-4.6',
|
|
60
|
+
'anthropic/claude-sonnet-4.6-batch',
|
|
61
|
+
'anthropic/claude-sonnet-5',
|
|
62
|
+
'anthropic/claude-sonnet-5-batch',
|
|
63
|
+
'anthropic/claude-sonnet-5.5',
|
|
64
|
+
'anthropic/claude-sonnet-5.5-batch',
|
|
65
|
+
'bytedance/seed-2.1-turbo',
|
|
66
|
+
'callstack/apex',
|
|
67
|
+
'cohere/command-a',
|
|
68
|
+
'deepseek/deepseek-r1',
|
|
69
|
+
'deepseek/deepseek-v3.1',
|
|
70
|
+
'deepseek/deepseek-v3.2',
|
|
71
|
+
'deepseek/deepseek-v3.2-thinking',
|
|
72
|
+
'deepseek/deepseek-v4-flash',
|
|
73
|
+
'deepseek/deepseek-v4-flash-0731',
|
|
74
|
+
'deepseek/deepseek-v4-flash-vision-exp',
|
|
75
|
+
'deepseek/deepseek-v4-pro',
|
|
76
|
+
'deepseek/deepseek-v4-pro-0813',
|
|
77
|
+
'deepseek/deepseek-v4.1-flash',
|
|
78
|
+
'deepseek/deepseek-v4.1-flash-1017',
|
|
79
|
+
'deepseek/deepseek-v4.1-flash-1017-fast',
|
|
80
|
+
'deepseek/deepseek-v4.1-flash-1017-ultrafast',
|
|
81
|
+
'deepseek/deepseek-v4.1-flash-fast',
|
|
82
|
+
'elorian/glimpse',
|
|
83
|
+
'fireworks/ember-1',
|
|
84
|
+
'google/gemini-2.5-flash',
|
|
85
|
+
'google/gemini-2.5-flash-batch',
|
|
86
|
+
'google/gemini-2.5-flash-image',
|
|
87
|
+
'google/gemini-2.5-flash-lite',
|
|
88
|
+
'google/gemini-2.5-flash-lite-batch',
|
|
89
|
+
'google/gemini-2.5-pro',
|
|
90
|
+
'google/gemini-2.5-pro-batch',
|
|
91
|
+
'google/gemini-3-flash',
|
|
92
|
+
'google/gemini-3-flash-batch',
|
|
93
|
+
'google/gemini-3-pro-image',
|
|
94
|
+
'google/gemini-3.1-flash-image',
|
|
95
|
+
'google/gemini-3.1-flash-lite',
|
|
96
|
+
'google/gemini-3.1-flash-lite-batch',
|
|
97
|
+
'google/gemini-3.1-flash-lite-image',
|
|
98
|
+
'google/gemini-3.1-pro-preview',
|
|
99
|
+
'google/gemini-3.1-pro-preview-batch',
|
|
100
|
+
'google/gemini-3.5-flash',
|
|
101
|
+
'google/gemini-3.5-flash-lite',
|
|
102
|
+
'google/gemini-3.5-flash-lite-batch',
|
|
103
|
+
'google/gemini-3.6-flash',
|
|
104
|
+
'google/gemini-3.6-flash-batch',
|
|
105
|
+
'google/gemini-3.7-flash',
|
|
106
|
+
'google/gemini-3.8-flash',
|
|
107
|
+
'google/gemini-4-argon',
|
|
108
|
+
'google/gemini-4-carbon',
|
|
109
|
+
'google/gemini-4-hydrogen',
|
|
110
|
+
'google/gemini-4-neon',
|
|
111
|
+
'google/gemini-nano-banana-2.1',
|
|
112
|
+
'google/gemini-omni-1.2-flash',
|
|
113
|
+
'google/gemini-omni-flash-preview',
|
|
114
|
+
'google/gemma-4-26b-a4b-it',
|
|
115
|
+
'google/gemma-4-31b-it',
|
|
116
|
+
'humansand/ampersand-v0.1',
|
|
117
|
+
'inception/mercury-3',
|
|
118
|
+
'inclusionai/ling-3.0-flash',
|
|
119
|
+
'inclusionai/ling-3.0-flash-fin',
|
|
120
|
+
'inclusionai/ling-3.0-flash-sante',
|
|
121
|
+
'inclusionai/ling-3.0-flash-vl',
|
|
122
|
+
'inclusionai/ling-3.1-flash',
|
|
123
|
+
'inclusionai/ling-3.1-flash-1019',
|
|
124
|
+
'inference-net/schematron-v2-small',
|
|
125
|
+
'inference-net/schematron-v2-turbo',
|
|
126
|
+
'interfaze/interfaze-beta',
|
|
127
|
+
'liquid/lfm2.5-24b-a2b',
|
|
128
|
+
'meituan/longcat-2.5',
|
|
129
|
+
'meta/llama-3.1-70b',
|
|
130
|
+
'meta/llama-3.1-8b',
|
|
131
|
+
'meta/llama-3.3-70b',
|
|
132
|
+
'meta/llama-4-maverick',
|
|
133
|
+
'meta/llama-4-scout',
|
|
134
|
+
'meta/muse-ember',
|
|
135
|
+
'meta/muse-glimmer-30b',
|
|
136
|
+
'meta/muse-spark-1.1',
|
|
137
|
+
'meta/muse-spark-1.2',
|
|
138
|
+
'meta/muse-spark-1.2-contributor',
|
|
139
|
+
'meta/muse-spark-1.3',
|
|
140
|
+
'meta/muse-spark-1.3-contributor',
|
|
141
|
+
'meta/muse-spark-open',
|
|
142
|
+
'meta/muse-wonder-1.0',
|
|
143
|
+
'minimax/minimax-m2.1',
|
|
144
|
+
'minimax/minimax-m2.5',
|
|
145
|
+
'minimax/minimax-m2.7',
|
|
146
|
+
'minimax/minimax-m3',
|
|
147
|
+
'minimax/minimax-m3.1-flash',
|
|
148
|
+
'mistral/codestral',
|
|
149
|
+
'mistral/ministral-14b',
|
|
150
|
+
'mistral/ministral-3b',
|
|
151
|
+
'mistral/ministral-8b',
|
|
152
|
+
'mistral/mistral-large-3',
|
|
153
|
+
'mistral/mistral-large-4',
|
|
154
|
+
'mistral/mistral-medium-3.5',
|
|
155
|
+
'mistral/mistral-nemo',
|
|
156
|
+
'mistral/mistral-small',
|
|
157
|
+
'mixedbread/toast-1',
|
|
158
|
+
'moonshotai/kimi-k2',
|
|
159
|
+
'moonshotai/kimi-k2.5',
|
|
160
|
+
'moonshotai/kimi-k2.6',
|
|
161
|
+
'moonshotai/kimi-k2.7-code',
|
|
162
|
+
'moonshotai/kimi-k2.7-code-highspeed',
|
|
163
|
+
'moonshotai/kimi-k3',
|
|
164
|
+
'moonshotai/kimi-k3-fast',
|
|
165
|
+
'moonshotai/kimi-k3.1-pro',
|
|
166
|
+
'moonshotai/kimi-k3.1-pro-highspeed',
|
|
167
|
+
'morph/morph-v3-fast',
|
|
168
|
+
'morph/morph-v3-large',
|
|
169
|
+
'nvidia/nemotron-3-super-120b-a12b',
|
|
170
|
+
'nvidia/nemotron-3-ultra-550b-a55b',
|
|
171
|
+
'nvidia/nemotron-3.5-lightning',
|
|
172
|
+
'nvidia/nemotron-3.5-lightning-free',
|
|
173
|
+
'nvidia/nemotron-3.5-super-vl',
|
|
174
|
+
'nvidia/nemotron-nano-12b-v2-vl',
|
|
175
|
+
'nvidia/nemotron-nano-9b-v2',
|
|
176
|
+
'openai/gpt-4.1',
|
|
177
|
+
'openai/gpt-4.1-batch',
|
|
178
|
+
'openai/gpt-4.1-fast',
|
|
179
|
+
'openai/gpt-4.1-mini',
|
|
180
|
+
'openai/gpt-4.1-mini-batch',
|
|
181
|
+
'openai/gpt-4.1-mini-fast',
|
|
182
|
+
'openai/gpt-4.1-nano',
|
|
183
|
+
'openai/gpt-4o',
|
|
184
|
+
'openai/gpt-4o-batch',
|
|
185
|
+
'openai/gpt-4o-fast',
|
|
186
|
+
'openai/gpt-4o-mini',
|
|
187
|
+
'openai/gpt-4o-mini-batch',
|
|
188
|
+
'openai/gpt-4o-mini-fast',
|
|
189
|
+
'openai/gpt-5',
|
|
190
|
+
'openai/gpt-5-batch',
|
|
191
|
+
'openai/gpt-5-codex',
|
|
192
|
+
'openai/gpt-5-fast',
|
|
193
|
+
'openai/gpt-5-mini',
|
|
194
|
+
'openai/gpt-5-mini-batch',
|
|
195
|
+
'openai/gpt-5-mini-fast',
|
|
196
|
+
'openai/gpt-5-nano',
|
|
197
|
+
'openai/gpt-5-nano-batch',
|
|
198
|
+
'openai/gpt-5-pro',
|
|
199
|
+
'openai/gpt-5-pro-batch',
|
|
200
|
+
'openai/gpt-5.1-codex',
|
|
201
|
+
'openai/gpt-5.1-codex-max',
|
|
202
|
+
'openai/gpt-5.1-codex-mini',
|
|
203
|
+
'openai/gpt-5.1-thinking',
|
|
204
|
+
'openai/gpt-5.1-thinking-fast',
|
|
205
|
+
'openai/gpt-5.2',
|
|
206
|
+
'openai/gpt-5.2-batch',
|
|
207
|
+
'openai/gpt-5.2-codex',
|
|
208
|
+
'openai/gpt-5.2-fast',
|
|
209
|
+
'openai/gpt-5.2-pro',
|
|
210
|
+
'openai/gpt-5.3-codex',
|
|
211
|
+
'openai/gpt-5.3-codex-fast',
|
|
212
|
+
'openai/gpt-5.4',
|
|
213
|
+
'openai/gpt-5.4-batch',
|
|
214
|
+
'openai/gpt-5.4-fast',
|
|
215
|
+
'openai/gpt-5.4-mini',
|
|
216
|
+
'openai/gpt-5.4-mini-batch',
|
|
217
|
+
'openai/gpt-5.4-mini-fast',
|
|
218
|
+
'openai/gpt-5.4-nano',
|
|
219
|
+
'openai/gpt-5.4-nano-batch',
|
|
220
|
+
'openai/gpt-5.4-pro',
|
|
221
|
+
'openai/gpt-5.5',
|
|
222
|
+
'openai/gpt-5.5-batch',
|
|
223
|
+
'openai/gpt-5.5-fast',
|
|
224
|
+
'openai/gpt-5.5-pro',
|
|
225
|
+
'openai/gpt-5.5-pro-batch',
|
|
226
|
+
'openai/gpt-5.6-luna',
|
|
227
|
+
'openai/gpt-5.6-luna-batch',
|
|
228
|
+
'openai/gpt-5.6-luna-fast',
|
|
229
|
+
'openai/gpt-5.6-sol',
|
|
230
|
+
'openai/gpt-5.6-sol-batch',
|
|
231
|
+
'openai/gpt-5.6-sol-fast',
|
|
232
|
+
'openai/gpt-5.6-terra',
|
|
233
|
+
'openai/gpt-5.6-terra-batch',
|
|
234
|
+
'openai/gpt-5.6-terra-fast',
|
|
235
|
+
'openai/gpt-6-astra',
|
|
236
|
+
'openai/gpt-6-astra-batch',
|
|
237
|
+
'openai/gpt-6-astra-fast',
|
|
238
|
+
'openai/gpt-6-luna',
|
|
239
|
+
'openai/gpt-6-luna-batch',
|
|
240
|
+
'openai/gpt-6-luna-fast',
|
|
241
|
+
'openai/gpt-6-sol',
|
|
242
|
+
'openai/gpt-6-sol-batch',
|
|
243
|
+
'openai/gpt-6-sol-fast',
|
|
244
|
+
'openai/gpt-6.1-sol',
|
|
245
|
+
'openai/gpt-6.1-sol-batch',
|
|
246
|
+
'openai/gpt-6.1-sol-fast',
|
|
247
|
+
'openai/gpt-6.1-terra',
|
|
248
|
+
'openai/gpt-6.1-terra-fast',
|
|
249
|
+
'openai/gpt-6.2-astra',
|
|
250
|
+
'openai/gpt-6.2-astra-fast',
|
|
251
|
+
'openai/gpt-6.2-sol',
|
|
252
|
+
'openai/gpt-6.2-sol-fast',
|
|
253
|
+
'openai/gpt-oss-120b',
|
|
254
|
+
'openai/gpt-oss-20b',
|
|
255
|
+
'openai/gpt-oss-safeguard-120b',
|
|
256
|
+
'openai/gpt-oss-safeguard-20b',
|
|
257
|
+
'openai/o1',
|
|
258
|
+
'openai/o3',
|
|
259
|
+
'openai/o3-fast',
|
|
260
|
+
'openai/o3-mini',
|
|
261
|
+
'openai/o3-pro',
|
|
262
|
+
'openai/o4-mini',
|
|
263
|
+
'paperinstruments/ultramarine-1-flash',
|
|
264
|
+
'particle/particle-1',
|
|
265
|
+
'perplexity/sonar',
|
|
266
|
+
'quiverai/arrow-2',
|
|
267
|
+
'quiverai/arrow-2-telos',
|
|
268
|
+
'recursive/flint-v1.0',
|
|
269
|
+
'reflection/beam',
|
|
270
|
+
'reflection/beam-free',
|
|
271
|
+
'sakana/fugu-max',
|
|
272
|
+
'sakana/fugu-ultra',
|
|
273
|
+
'sakana/fugu-ultra-v2',
|
|
274
|
+
'sakana/namazu',
|
|
275
|
+
'scaledown/scaledown-extract-1',
|
|
276
|
+
'scaledown/scaledown-summarize-1',
|
|
277
|
+
'spacexai/grok-4.20-multi-agent',
|
|
278
|
+
'spacexai/grok-4.20-multi-agent-batch',
|
|
279
|
+
'spacexai/grok-4.20-multi-agent-beta',
|
|
280
|
+
'spacexai/grok-4.20-non-reasoning',
|
|
281
|
+
'spacexai/grok-4.20-non-reasoning-batch',
|
|
282
|
+
'spacexai/grok-4.20-non-reasoning-beta',
|
|
283
|
+
'spacexai/grok-4.20-reasoning',
|
|
284
|
+
'spacexai/grok-4.20-reasoning-batch',
|
|
285
|
+
'spacexai/grok-4.20-reasoning-beta',
|
|
286
|
+
'spacexai/grok-4.3',
|
|
287
|
+
'spacexai/grok-4.3-batch',
|
|
288
|
+
'spacexai/grok-4.5',
|
|
289
|
+
'spacexai/grok-4.6',
|
|
290
|
+
'spacexai/grok-4.7',
|
|
291
|
+
'spacexai/grok-build-0.1',
|
|
292
|
+
'stealth/glyph-cluster',
|
|
293
|
+
'stepfun/step-3.7-flash',
|
|
294
|
+
'stepfun/step-5-preview',
|
|
295
|
+
'tencent/hy-mt2-lite',
|
|
296
|
+
'tencent/hy-mt2-plus',
|
|
297
|
+
'tencent/hy-mt2-pro',
|
|
298
|
+
'tencent/hy3',
|
|
299
|
+
'tencent/hy4',
|
|
300
|
+
'tencent/hy4-flash',
|
|
301
|
+
'tencent/hy4-preview',
|
|
302
|
+
'thinkingmachines/inkling',
|
|
303
|
+
'thinkingmachines/inkling-2-small',
|
|
304
|
+
'thinkingmachines/inkling-small',
|
|
305
|
+
'xiaomi/mimo-v2.6-flash',
|
|
306
|
+
'xiaomi/mimo-v2.6-pro',
|
|
307
|
+
'xiaomi/mimo-v2.6-pro-ultraspeed',
|
|
308
|
+
'zai/glm-4.5',
|
|
309
|
+
'zai/glm-4.5-air',
|
|
310
|
+
'zai/glm-4.5v',
|
|
311
|
+
'zai/glm-4.6',
|
|
312
|
+
'zai/glm-4.7',
|
|
313
|
+
'zai/glm-4.7-flash',
|
|
314
|
+
'zai/glm-4.7-flashx',
|
|
315
|
+
'zai/glm-5',
|
|
316
|
+
'zai/glm-5-turbo',
|
|
317
|
+
'zai/glm-5.1',
|
|
318
|
+
'zai/glm-5.2',
|
|
319
|
+
'zai/glm-5.2-fast',
|
|
320
|
+
'zai/glm-5.3',
|
|
321
|
+
'zai/glm-5.3-fast',
|
|
322
|
+
'zai/glm-5.3-flash',
|
|
323
|
+
'zai/glm-5.3-flashx',
|
|
324
|
+
'zai/glm-5.3-flashx-legal',
|
|
325
|
+
'zai/glm-5v-turbo',
|
|
326
|
+
],
|
|
327
|
+
embedding: [
|
|
328
|
+
'alibaba/qwen3-embedding-0.6b',
|
|
329
|
+
'alibaba/qwen3-embedding-4b',
|
|
330
|
+
'alibaba/qwen3-embedding-8b',
|
|
331
|
+
'amazon/titan-embed-text-v2',
|
|
332
|
+
'cohere/embed-v4.0',
|
|
333
|
+
'cohere/embed-v5.0-fast',
|
|
334
|
+
'cohere/embed-v5.0-pro',
|
|
335
|
+
'google/gemini-embedding-001',
|
|
336
|
+
'google/gemini-embedding-2',
|
|
337
|
+
'google/text-embedding-005',
|
|
338
|
+
'google/text-multilingual-embedding-002',
|
|
339
|
+
'mistral/codestral-embed',
|
|
340
|
+
'mistral/mistral-embed',
|
|
341
|
+
'openai/text-embedding-3-large',
|
|
342
|
+
'openai/text-embedding-3-small',
|
|
343
|
+
'openai/text-embedding-ada-002',
|
|
344
|
+
'perplexity/pplx-embed-v1-0.6b',
|
|
345
|
+
'perplexity/pplx-embed-v1-4b',
|
|
346
|
+
'voyage/voyage-3-large',
|
|
347
|
+
'voyage/voyage-3.5',
|
|
348
|
+
'voyage/voyage-3.5-lite',
|
|
349
|
+
'voyage/voyage-4',
|
|
350
|
+
'voyage/voyage-4-large',
|
|
351
|
+
'voyage/voyage-4-lite',
|
|
352
|
+
'voyage/voyage-code-2',
|
|
353
|
+
'voyage/voyage-code-3',
|
|
354
|
+
'voyage/voyage-finance-2',
|
|
355
|
+
'voyage/voyage-law-2',
|
|
356
|
+
],
|
|
357
|
+
decision: [
|
|
358
|
+
'baseten/elephant-1',
|
|
359
|
+
'baseten/joey-1',
|
|
360
|
+
'baseten/mammoth-1',
|
|
361
|
+
'convaiinnovations/laya',
|
|
362
|
+
'google/gemini-decision-1',
|
|
363
|
+
'heygen/heygen-decision-1',
|
|
364
|
+
'heygen/heygen-decision-1-turbo',
|
|
365
|
+
'liquid/d1',
|
|
366
|
+
'liquid/d1-ultra',
|
|
367
|
+
'liquid/d1.2',
|
|
368
|
+
'liquid/d1.2-ultra',
|
|
369
|
+
'microsoft/decision-1.1',
|
|
370
|
+
'microsoft/microsoft-decision-1',
|
|
371
|
+
'nace-ai/drex-max-finance',
|
|
372
|
+
'nace-ai/drex-max-v1.1',
|
|
373
|
+
'nace-ai/drex-v2.0',
|
|
374
|
+
'openai/gpt-6-luna-decisions',
|
|
375
|
+
'parallel/parallel-decisions-fast',
|
|
376
|
+
'perplexity/pplx-decider-flash-v1.2',
|
|
377
|
+
'perplexity/pplx-decider-flash-v1.3',
|
|
378
|
+
'perplexity/pplx-decider-v1.2',
|
|
379
|
+
'perplexity/pplx-decider-v1.3',
|
|
380
|
+
'scaledown/scaledown-classify-1',
|
|
381
|
+
'typesafe-ai/jev',
|
|
382
|
+
'typesafe-ai/jev-1.13.0',
|
|
383
|
+
'typesafe-ai/jev-1.14.0',
|
|
384
|
+
],
|
|
385
|
+
extraction: [],
|
|
386
|
+
image: [
|
|
387
|
+
'bfl/flux-2-flex',
|
|
388
|
+
'bfl/flux-2-klein-4b',
|
|
389
|
+
'bfl/flux-2-klein-9b',
|
|
390
|
+
'bfl/flux-2-max',
|
|
391
|
+
'bfl/flux-2-pro',
|
|
392
|
+
'bfl/flux-3-image',
|
|
393
|
+
'bfl/flux-3-image-klein',
|
|
394
|
+
'bfl/flux-kontext-max',
|
|
395
|
+
'bfl/flux-kontext-pro',
|
|
396
|
+
'bfl/flux-pro-1.0-fill',
|
|
397
|
+
'bfl/flux-pro-1.1',
|
|
398
|
+
'bfl/flux-pro-1.1-ultra',
|
|
399
|
+
'bytedance/seedream-4.0',
|
|
400
|
+
'bytedance/seedream-4.5',
|
|
401
|
+
'bytedance/seedream-5.0-lite',
|
|
402
|
+
'bytedance/seedream-5.0-pro',
|
|
403
|
+
'bytedance/seedream-5.5',
|
|
404
|
+
'meta/muse-image-1.0',
|
|
405
|
+
'microsoft/mai-image-2.6',
|
|
406
|
+
'microsoft/mai-image-2.6-flash',
|
|
407
|
+
'microsoft/mai-image-2.7',
|
|
408
|
+
'microsoft/mai-image-2.7-flash',
|
|
409
|
+
'minimax/minimax-h3-image',
|
|
410
|
+
'minimax/minimax-h3-image-highspeed',
|
|
411
|
+
'openai/gpt-image-1-mini',
|
|
412
|
+
'openai/gpt-image-1.5',
|
|
413
|
+
'openai/gpt-image-2',
|
|
414
|
+
'openai/gpt-image-2.5-flare',
|
|
415
|
+
'openai/gpt-image-2.5-sunburst',
|
|
416
|
+
'openai/gpt-image-2.6-flare',
|
|
417
|
+
'openai/gpt-image-2.6-sunburst',
|
|
418
|
+
'prodia/flux-fast-schnell',
|
|
419
|
+
'recraft/recraft-v2',
|
|
420
|
+
'recraft/recraft-v3',
|
|
421
|
+
'recraft/recraft-v4',
|
|
422
|
+
'recraft/recraft-v4-pro',
|
|
423
|
+
'recraft/recraft-v4.1',
|
|
424
|
+
'recraft/recraft-v4.1-flash',
|
|
425
|
+
'recraft/recraft-v4.1-pro',
|
|
426
|
+
'recraft/recraft-v4.1-utility',
|
|
427
|
+
'recraft/recraft-v4.1-utility-pro',
|
|
428
|
+
'spacexai/grok-imagine-image',
|
|
429
|
+
'spacexai/grok-imagine-image-2.0',
|
|
430
|
+
'topaz/wonder-3.5',
|
|
431
|
+
],
|
|
432
|
+
video: [
|
|
433
|
+
'alibaba/wan-v2.5-t2v-preview',
|
|
434
|
+
'alibaba/wan-v2.6-i2v',
|
|
435
|
+
'alibaba/wan-v2.6-i2v-flash',
|
|
436
|
+
'alibaba/wan-v2.6-r2v',
|
|
437
|
+
'alibaba/wan-v2.6-r2v-flash',
|
|
438
|
+
'alibaba/wan-v2.6-t2v',
|
|
439
|
+
'alibaba/wan-v2.7-r2v',
|
|
440
|
+
'alibaba/wan-v2.7-t2v',
|
|
441
|
+
'alibaba/wan-v3.0-video',
|
|
442
|
+
'alibaba/wan-v3.0-video-prime',
|
|
443
|
+
'bfl/flux-3-video',
|
|
444
|
+
'bytedance/seedance-2.0',
|
|
445
|
+
'bytedance/seedance-2.0-fast',
|
|
446
|
+
'bytedance/seedance-2.0-mini',
|
|
447
|
+
'bytedance/seedance-2.5',
|
|
448
|
+
'bytedance/seedance-2.5-flash',
|
|
449
|
+
'bytedance/seedance-v1.0-pro',
|
|
450
|
+
'bytedance/seedance-v1.0-pro-fast',
|
|
451
|
+
'google/veo-3.1-fast-generate-001',
|
|
452
|
+
'google/veo-3.1-generate-001',
|
|
453
|
+
'google/veo-3.1-lite-generate-001',
|
|
454
|
+
'heygen/heygen-video-1',
|
|
455
|
+
'klingai/kling-v2.5-turbo-i2v',
|
|
456
|
+
'klingai/kling-v2.5-turbo-t2v',
|
|
457
|
+
'klingai/kling-v2.6-i2v',
|
|
458
|
+
'klingai/kling-v2.6-motion-control',
|
|
459
|
+
'klingai/kling-v2.6-t2v',
|
|
460
|
+
'klingai/kling-v3.0-i2v',
|
|
461
|
+
'klingai/kling-v3.0-motion-control',
|
|
462
|
+
'klingai/kling-v3.0-t2v',
|
|
463
|
+
'minimax/minimax-h3',
|
|
464
|
+
'minimax/minimax-h3-max',
|
|
465
|
+
'spacexai/grok-imagine-video',
|
|
466
|
+
'spacexai/grok-imagine-video-1.5',
|
|
467
|
+
'spacexai/grok-imagine-video-1.5-lite',
|
|
468
|
+
'topaz/proteus',
|
|
469
|
+
'topaz/starlight-precise-2.6',
|
|
470
|
+
],
|
|
471
|
+
realtime: [
|
|
472
|
+
'elevenlabs/eleven-realtime-v1-max',
|
|
473
|
+
'elevenlabs/eleven-realtime-v1-mini',
|
|
474
|
+
'google/gemini-3.8-live',
|
|
475
|
+
'google/gemini-3.8-live-extended-thinking',
|
|
476
|
+
'openai/gpt-live-1',
|
|
477
|
+
'openai/gpt-realtime-1.5',
|
|
478
|
+
'openai/gpt-realtime-2',
|
|
479
|
+
'openai/gpt-realtime-2.1',
|
|
480
|
+
'openai/gpt-realtime-mini',
|
|
481
|
+
'spacexai/grok-voice-3.0',
|
|
482
|
+
],
|
|
483
|
+
reranking: [
|
|
484
|
+
'cohere/rerank-v3.5',
|
|
485
|
+
'cohere/rerank-v4-fast',
|
|
486
|
+
'cohere/rerank-v4-pro',
|
|
487
|
+
'cohere/rerank-v5-fast',
|
|
488
|
+
'cohere/rerank-v5-pro',
|
|
489
|
+
'voyage/rerank-2.5',
|
|
490
|
+
'voyage/rerank-2.5-lite',
|
|
491
|
+
'voyage/rerank-3',
|
|
492
|
+
'voyage/rerank-3-lite',
|
|
493
|
+
],
|
|
494
|
+
speech: [
|
|
495
|
+
'elevenlabs/eleven-flash-v2',
|
|
496
|
+
'elevenlabs/eleven-flash-v2.5',
|
|
497
|
+
'elevenlabs/eleven-multilingual-v2',
|
|
498
|
+
'elevenlabs/eleven-v3',
|
|
499
|
+
'elevenlabs/eleven-v3-conversational',
|
|
500
|
+
'elevenlabs/eleven-v4',
|
|
501
|
+
'elevenlabs/eleven-v4-turbo',
|
|
502
|
+
'elevenlabs/music-v2',
|
|
503
|
+
'elevenlabs/music-v2.5',
|
|
504
|
+
'elevenlabs/sound-effects-v2',
|
|
505
|
+
'fish-audio/drama-3',
|
|
506
|
+
'fish-audio/s1',
|
|
507
|
+
'fish-audio/s2-pro',
|
|
508
|
+
'fish-audio/s2.1-pro',
|
|
509
|
+
'google/gemini-3.8-flash-lite-tts',
|
|
510
|
+
'google/gemini-3.8-flash-tts',
|
|
511
|
+
'microsoft/mai-voice-2',
|
|
512
|
+
'microsoft/mai-voice-2-flash',
|
|
513
|
+
'microsoft/mai-voice-2.1',
|
|
514
|
+
'microsoft/mai-voice-2.1-flash',
|
|
515
|
+
'mistral/voxtral-mini-tts-3',
|
|
516
|
+
'openai/tts-1',
|
|
517
|
+
'openai/tts-1-hd',
|
|
518
|
+
'spacexai/grok-tts',
|
|
519
|
+
],
|
|
520
|
+
transcription: [
|
|
521
|
+
'elevenlabs/scribe-v2',
|
|
522
|
+
'elevenlabs/scribe-v2-realtime',
|
|
523
|
+
'fish-audio/transcribe-1',
|
|
524
|
+
'google/gemini-3.5-transcribe',
|
|
525
|
+
'google/gemini-3.5-transcribe-live',
|
|
526
|
+
'microsoft/mai-transcribe-2',
|
|
527
|
+
'microsoft/mai-transcribe-2-streaming',
|
|
528
|
+
'mistral/voxtral-mini-transcribe-3',
|
|
529
|
+
'mistral/voxtral-small-transcribe-3',
|
|
530
|
+
'openai/gpt-4o-mini-transcribe',
|
|
531
|
+
'openai/gpt-4o-transcribe',
|
|
532
|
+
'openai/gpt-live-transcribe',
|
|
533
|
+
'openai/gpt-realtime-whisper',
|
|
534
|
+
'openai/gpt-transcribe',
|
|
535
|
+
'openai/whisper-1',
|
|
536
|
+
'spacexai/grok-stt',
|
|
537
|
+
],
|
|
538
|
+
} as const;
|
|
539
|
+
|
|
540
|
+
/** Known model IDs, derived from the catalog declarations. */
|
|
541
|
+
export type GatewayModelIds = {
|
|
542
|
+
[Type in keyof typeof gatewayModelIds]: (typeof gatewayModelIds)[Type][number];
|
|
543
|
+
};
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
1
3
|
export type GatewayRealtimeModelId =
|
|
2
|
-
| '
|
|
3
|
-
| 'elevenlabs/eleven-realtime-v1-mini'
|
|
4
|
-
| 'google/gemini-3.8-live'
|
|
5
|
-
| 'google/gemini-3.8-live-extended-thinking'
|
|
6
|
-
| 'openai/gpt-live-1'
|
|
7
|
-
| 'openai/gpt-realtime-1.5'
|
|
8
|
-
| 'openai/gpt-realtime-2'
|
|
9
|
-
| 'openai/gpt-realtime-2.1'
|
|
10
|
-
| 'openai/gpt-realtime-mini'
|
|
11
|
-
| 'spacexai/grok-voice-3.0'
|
|
4
|
+
| GatewayModelIds['realtime']
|
|
12
5
|
| (string & {});
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
1
3
|
export type GatewayRerankingModelId =
|
|
2
|
-
| '
|
|
3
|
-
| 'cohere/rerank-v4-fast'
|
|
4
|
-
| 'cohere/rerank-v4-pro'
|
|
5
|
-
| 'cohere/rerank-v5-fast'
|
|
6
|
-
| 'cohere/rerank-v5-pro'
|
|
7
|
-
| 'voyage/rerank-2.5'
|
|
8
|
-
| 'voyage/rerank-2.5-lite'
|
|
9
|
-
| 'voyage/rerank-3'
|
|
10
|
-
| 'voyage/rerank-3-lite'
|
|
4
|
+
| GatewayModelIds['reranking']
|
|
11
5
|
| (string & {});
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
| 'elevenlabs/eleven-multilingual-v2'
|
|
5
|
-
| 'elevenlabs/eleven-v3'
|
|
6
|
-
| 'elevenlabs/eleven-v3-conversational'
|
|
7
|
-
| 'elevenlabs/eleven-v4'
|
|
8
|
-
| 'elevenlabs/eleven-v4-turbo'
|
|
9
|
-
| 'elevenlabs/music-v2'
|
|
10
|
-
| 'elevenlabs/music-v2.5'
|
|
11
|
-
| 'elevenlabs/sound-effects-v2'
|
|
12
|
-
| 'fish-audio/drama-3'
|
|
13
|
-
| 'fish-audio/s1'
|
|
14
|
-
| 'fish-audio/s2-pro'
|
|
15
|
-
| 'fish-audio/s2.1-pro'
|
|
16
|
-
| 'google/gemini-3.8-flash-lite-tts'
|
|
17
|
-
| 'google/gemini-3.8-flash-tts'
|
|
18
|
-
| 'microsoft/mai-voice-2'
|
|
19
|
-
| 'microsoft/mai-voice-2-flash'
|
|
20
|
-
| 'microsoft/mai-voice-2.1'
|
|
21
|
-
| 'microsoft/mai-voice-2.1-flash'
|
|
22
|
-
| 'mistral/voxtral-mini-tts-3'
|
|
23
|
-
| 'openai/tts-1'
|
|
24
|
-
| 'openai/tts-1-hd'
|
|
25
|
-
| 'spacexai/grok-tts'
|
|
26
|
-
| (string & {});
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
3
|
+
export type GatewaySpeechModelId = GatewayModelIds['speech'] | (string & {});
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
1
3
|
export type GatewayTranscriptionModelId =
|
|
2
|
-
| '
|
|
3
|
-
| 'elevenlabs/scribe-v2-realtime'
|
|
4
|
-
| 'fish-audio/transcribe-1'
|
|
5
|
-
| 'google/gemini-3.5-transcribe'
|
|
6
|
-
| 'google/gemini-3.5-transcribe-live'
|
|
7
|
-
| 'microsoft/mai-transcribe-2'
|
|
8
|
-
| 'microsoft/mai-transcribe-2-streaming'
|
|
9
|
-
| 'mistral/voxtral-mini-transcribe-3'
|
|
10
|
-
| 'mistral/voxtral-small-transcribe-3'
|
|
11
|
-
| 'openai/gpt-4o-mini-transcribe'
|
|
12
|
-
| 'openai/gpt-4o-transcribe'
|
|
13
|
-
| 'openai/gpt-live-transcribe'
|
|
14
|
-
| 'openai/gpt-realtime-whisper'
|
|
15
|
-
| 'openai/gpt-transcribe'
|
|
16
|
-
| 'openai/whisper-1'
|
|
17
|
-
| 'spacexai/grok-stt'
|
|
4
|
+
| GatewayModelIds['transcription']
|
|
18
5
|
| (string & {});
|
|
@@ -1,39 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
| 'alibaba/wan-v2.6-i2v-flash'
|
|
5
|
-
| 'alibaba/wan-v2.6-r2v'
|
|
6
|
-
| 'alibaba/wan-v2.6-r2v-flash'
|
|
7
|
-
| 'alibaba/wan-v2.6-t2v'
|
|
8
|
-
| 'alibaba/wan-v2.7-r2v'
|
|
9
|
-
| 'alibaba/wan-v2.7-t2v'
|
|
10
|
-
| 'alibaba/wan-v3.0-video'
|
|
11
|
-
| 'alibaba/wan-v3.0-video-prime'
|
|
12
|
-
| 'bfl/flux-3-video'
|
|
13
|
-
| 'bytedance/seedance-2.0'
|
|
14
|
-
| 'bytedance/seedance-2.0-fast'
|
|
15
|
-
| 'bytedance/seedance-2.0-mini'
|
|
16
|
-
| 'bytedance/seedance-2.5'
|
|
17
|
-
| 'bytedance/seedance-2.5-flash'
|
|
18
|
-
| 'bytedance/seedance-v1.0-pro'
|
|
19
|
-
| 'bytedance/seedance-v1.0-pro-fast'
|
|
20
|
-
| 'google/veo-3.1-fast-generate-001'
|
|
21
|
-
| 'google/veo-3.1-generate-001'
|
|
22
|
-
| 'google/veo-3.1-lite-generate-001'
|
|
23
|
-
| 'heygen/heygen-video-1'
|
|
24
|
-
| 'klingai/kling-v2.5-turbo-i2v'
|
|
25
|
-
| 'klingai/kling-v2.5-turbo-t2v'
|
|
26
|
-
| 'klingai/kling-v2.6-i2v'
|
|
27
|
-
| 'klingai/kling-v2.6-motion-control'
|
|
28
|
-
| 'klingai/kling-v2.6-t2v'
|
|
29
|
-
| 'klingai/kling-v3.0-i2v'
|
|
30
|
-
| 'klingai/kling-v3.0-motion-control'
|
|
31
|
-
| 'klingai/kling-v3.0-t2v'
|
|
32
|
-
| 'minimax/minimax-h3'
|
|
33
|
-
| 'minimax/minimax-h3-max'
|
|
34
|
-
| 'spacexai/grok-imagine-video'
|
|
35
|
-
| 'spacexai/grok-imagine-video-1.5'
|
|
36
|
-
| 'spacexai/grok-imagine-video-1.5-lite'
|
|
37
|
-
| 'topaz/proteus'
|
|
38
|
-
| 'topaz/starlight-precise-2.6'
|
|
39
|
-
| (string & {});
|
|
1
|
+
import type { GatewayModelIds } from './gateway-model-catalog';
|
|
2
|
+
|
|
3
|
+
export type GatewayVideoModelId = GatewayModelIds['video'] | (string & {});
|