@tanstack/ai-vercel-gateway 0.0.1

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.
Files changed (63) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -0
  3. package/dist/esm/adapters/embedding.d.ts +21 -0
  4. package/dist/esm/adapters/embedding.js +73 -0
  5. package/dist/esm/adapters/embedding.js.map +1 -0
  6. package/dist/esm/adapters/factory.d.ts +16 -0
  7. package/dist/esm/adapters/factory.js +28 -0
  8. package/dist/esm/adapters/factory.js.map +1 -0
  9. package/dist/esm/adapters/image.d.ts +22 -0
  10. package/dist/esm/adapters/image.js +87 -0
  11. package/dist/esm/adapters/image.js.map +1 -0
  12. package/dist/esm/adapters/responses-text.d.ts +26 -0
  13. package/dist/esm/adapters/responses-text.js +38 -0
  14. package/dist/esm/adapters/responses-text.js.map +1 -0
  15. package/dist/esm/adapters/summarize.d.ts +9 -0
  16. package/dist/esm/adapters/summarize.js +17 -0
  17. package/dist/esm/adapters/summarize.js.map +1 -0
  18. package/dist/esm/adapters/text.d.ts +60 -0
  19. package/dist/esm/adapters/text.js +29 -0
  20. package/dist/esm/adapters/text.js.map +1 -0
  21. package/dist/esm/embedding/embedding-provider-options.d.ts +5 -0
  22. package/dist/esm/image/image-provider-options.d.ts +7 -0
  23. package/dist/esm/index.d.ts +17 -0
  24. package/dist/esm/index.js +9 -0
  25. package/dist/esm/message-types.d.ts +44 -0
  26. package/dist/esm/model-meta.d.ts +493 -0
  27. package/dist/esm/model-meta.js +351 -0
  28. package/dist/esm/model-meta.js.map +1 -0
  29. package/dist/esm/text/responses-provider-options.d.ts +3 -0
  30. package/dist/esm/text/text-provider-options.d.ts +40 -0
  31. package/dist/esm/tools/function-tool.d.ts +16 -0
  32. package/dist/esm/tools/function-tool.js +30 -0
  33. package/dist/esm/tools/function-tool.js.map +1 -0
  34. package/dist/esm/tools/index.d.ts +2 -0
  35. package/dist/esm/tools/index.js +3 -0
  36. package/dist/esm/tools/tool-converter.d.ts +7 -0
  37. package/dist/esm/tools/tool-converter.js +15 -0
  38. package/dist/esm/tools/tool-converter.js.map +1 -0
  39. package/dist/esm/utils/client.d.ts +8 -0
  40. package/dist/esm/utils/client.js +29 -0
  41. package/dist/esm/utils/client.js.map +1 -0
  42. package/dist/esm/utils/map-gateway-options.d.ts +4 -0
  43. package/dist/esm/utils/map-gateway-options.js +14 -0
  44. package/dist/esm/utils/map-gateway-options.js.map +1 -0
  45. package/package.json +73 -0
  46. package/src/adapters/embedding.ts +122 -0
  47. package/src/adapters/factory.ts +81 -0
  48. package/src/adapters/image.ts +156 -0
  49. package/src/adapters/responses-text.ts +99 -0
  50. package/src/adapters/summarize.ts +44 -0
  51. package/src/adapters/text.ts +68 -0
  52. package/src/embedding/embedding-provider-options.ts +6 -0
  53. package/src/image/image-provider-options.ts +13 -0
  54. package/src/index.ts +78 -0
  55. package/src/message-types.ts +45 -0
  56. package/src/model-meta.ts +2512 -0
  57. package/src/text/responses-provider-options.ts +10 -0
  58. package/src/text/text-provider-options.ts +47 -0
  59. package/src/tools/function-tool.ts +46 -0
  60. package/src/tools/index.ts +5 -0
  61. package/src/tools/tool-converter.ts +15 -0
  62. package/src/utils/client.ts +40 -0
  63. package/src/utils/map-gateway-options.ts +15 -0
@@ -0,0 +1,2512 @@
1
+ /**
2
+ * This file is generated by scripts/convert-vercel-gateway-models.ts. Do not edit by hand.
3
+ */
4
+
5
+ import type { VercelGatewayEmbeddingProviderOptions } from './embedding/embedding-provider-options'
6
+ import type {
7
+ VercelGatewayImageProviderOptions,
8
+ VercelGatewayImageSize,
9
+ } from './image/image-provider-options'
10
+ import type {
11
+ VercelGatewayBaseOptions,
12
+ VercelGatewayCommonOptions,
13
+ VercelGatewayTextProviderOptions,
14
+ } from './text/text-provider-options'
15
+
16
+ export const VERCEL_GATEWAY_CHAT_MODELS = [
17
+ 'alibaba/qwen-3-14b',
18
+ 'alibaba/qwen-3-235b',
19
+ 'alibaba/qwen-3-30b',
20
+ 'alibaba/qwen-3-32b',
21
+ 'alibaba/qwen-3.6-max-preview',
22
+ 'alibaba/qwen3-235b-a22b-thinking',
23
+ 'alibaba/qwen3-coder',
24
+ 'alibaba/qwen3-coder-30b-a3b',
25
+ 'alibaba/qwen3-coder-next',
26
+ 'alibaba/qwen3-coder-plus',
27
+ 'alibaba/qwen3-max',
28
+ 'alibaba/qwen3-max-preview',
29
+ 'alibaba/qwen3-max-thinking',
30
+ 'alibaba/qwen3-next-80b-a3b-instruct',
31
+ 'alibaba/qwen3-next-80b-a3b-thinking',
32
+ 'alibaba/qwen3-vl-235b-a22b-instruct',
33
+ 'alibaba/qwen3-vl-instruct',
34
+ 'alibaba/qwen3-vl-thinking',
35
+ 'alibaba/qwen3.5-flash',
36
+ 'alibaba/qwen3.5-plus',
37
+ 'alibaba/qwen3.6-27b',
38
+ 'alibaba/qwen3.6-plus',
39
+ 'alibaba/qwen3.7-flash',
40
+ 'alibaba/qwen3.7-max',
41
+ 'alibaba/qwen3.7-plus',
42
+ 'alibaba/qwen3.8-max',
43
+ 'amazon/nova-2-lite',
44
+ 'amazon/nova-lite',
45
+ 'amazon/nova-micro',
46
+ 'amazon/nova-pro',
47
+ 'anthropic/claude-3-haiku',
48
+ 'anthropic/claude-fable-5',
49
+ 'anthropic/claude-haiku-4.5',
50
+ 'anthropic/claude-opus-4',
51
+ 'anthropic/claude-opus-4.5',
52
+ 'anthropic/claude-opus-4.6',
53
+ 'anthropic/claude-opus-4.7',
54
+ 'anthropic/claude-opus-4.8',
55
+ 'anthropic/claude-opus-4.8-fast',
56
+ 'anthropic/claude-opus-5',
57
+ 'anthropic/claude-opus-5-fast',
58
+ 'anthropic/claude-sonnet-4',
59
+ 'anthropic/claude-sonnet-4.5',
60
+ 'anthropic/claude-sonnet-4.6',
61
+ 'anthropic/claude-sonnet-5',
62
+ 'arcee-ai/trinity-large-thinking',
63
+ 'arcee-ai/trinity-mini',
64
+ 'bytedance/seed-1.6',
65
+ 'bytedance/seed-1.8',
66
+ 'cohere/command-a',
67
+ 'deepseek/deepseek-r1',
68
+ 'deepseek/deepseek-v3',
69
+ 'deepseek/deepseek-v3.1',
70
+ 'deepseek/deepseek-v3.1-terminus',
71
+ 'deepseek/deepseek-v3.2',
72
+ 'deepseek/deepseek-v3.2-thinking',
73
+ 'deepseek/deepseek-v4-flash',
74
+ 'deepseek/deepseek-v4-flash-0731',
75
+ 'deepseek/deepseek-v4-pro',
76
+ 'fish-audio/s1',
77
+ 'fish-audio/s2-pro',
78
+ 'fish-audio/s2.1-pro',
79
+ 'fish-audio/transcribe-1',
80
+ 'google/gemini-2.5-flash',
81
+ 'google/gemini-2.5-flash-image',
82
+ 'google/gemini-2.5-flash-lite',
83
+ 'google/gemini-2.5-pro',
84
+ 'google/gemini-3-flash',
85
+ 'google/gemini-3-pro-image',
86
+ 'google/gemini-3.1-flash-image',
87
+ 'google/gemini-3.1-flash-image-preview',
88
+ 'google/gemini-3.1-flash-lite',
89
+ 'google/gemini-3.1-flash-lite-image',
90
+ 'google/gemini-3.1-pro-preview',
91
+ 'google/gemini-3.5-flash',
92
+ 'google/gemini-3.5-flash-lite',
93
+ 'google/gemini-3.6-flash',
94
+ 'google/gemini-omni-flash-preview',
95
+ 'google/gemma-4-26b-a4b-it',
96
+ 'google/gemma-4-31b-it',
97
+ 'inception/mercury-2',
98
+ 'inception/mercury-coder-small',
99
+ 'inclusionai/ling-3.0-flash',
100
+ 'inclusionai/ling-3.0-tiny-free',
101
+ 'interfaze/interfaze-beta',
102
+ 'kwaipilot/kat-coder-air-v2.5',
103
+ 'kwaipilot/kat-coder-pro-v1',
104
+ 'kwaipilot/kat-coder-pro-v2',
105
+ 'kwaipilot/kat-coder-pro-v2.5',
106
+ 'meta/llama-3.1-70b',
107
+ 'meta/llama-3.1-8b',
108
+ 'meta/llama-3.3-70b',
109
+ 'meta/llama-4-maverick',
110
+ 'meta/llama-4-scout',
111
+ 'meta/muse-glimmer-30b',
112
+ 'meta/muse-spark-1.1',
113
+ 'meta/muse-spark-1.2',
114
+ 'meta/muse-spark-1.2-contributor',
115
+ 'minimax/minimax-m2',
116
+ 'minimax/minimax-m2.1',
117
+ 'minimax/minimax-m2.1-lightning',
118
+ 'minimax/minimax-m2.5',
119
+ 'minimax/minimax-m2.5-highspeed',
120
+ 'minimax/minimax-m2.7',
121
+ 'minimax/minimax-m2.7-highspeed',
122
+ 'minimax/minimax-m3',
123
+ 'mistral/codestral',
124
+ 'mistral/devstral-2',
125
+ 'mistral/devstral-small-2',
126
+ 'mistral/magistral-medium',
127
+ 'mistral/magistral-small',
128
+ 'mistral/ministral-14b',
129
+ 'mistral/ministral-3b',
130
+ 'mistral/ministral-8b',
131
+ 'mistral/mistral-large-3',
132
+ 'mistral/mistral-medium',
133
+ 'mistral/mistral-medium-3.5',
134
+ 'mistral/mistral-nemo',
135
+ 'mistral/mistral-small',
136
+ 'mistral/pixtral-12b',
137
+ 'moonshotai/kimi-k2',
138
+ 'moonshotai/kimi-k2-thinking',
139
+ 'moonshotai/kimi-k2.5',
140
+ 'moonshotai/kimi-k2.6',
141
+ 'moonshotai/kimi-k2.7-code',
142
+ 'moonshotai/kimi-k2.7-code-highspeed',
143
+ 'moonshotai/kimi-k3',
144
+ 'moonshotai/kimi-k3-fast',
145
+ 'morph/morph-v3-fast',
146
+ 'morph/morph-v3-large',
147
+ 'nvidia/nemotron-3-nano-30b-a3b',
148
+ 'nvidia/nemotron-3-super-120b-a12b',
149
+ 'nvidia/nemotron-3-ultra-550b-a55b',
150
+ 'nvidia/nemotron-nano-12b-v2-vl',
151
+ 'nvidia/nemotron-nano-9b-v2',
152
+ 'openai/gpt-3.5-turbo',
153
+ 'openai/gpt-4-turbo',
154
+ 'openai/gpt-4.1',
155
+ 'openai/gpt-4.1-mini',
156
+ 'openai/gpt-4.1-nano',
157
+ 'openai/gpt-4o',
158
+ 'openai/gpt-4o-mini',
159
+ 'openai/gpt-4o-mini-search-preview',
160
+ 'openai/gpt-4o-mini-transcribe',
161
+ 'openai/gpt-4o-transcribe',
162
+ 'openai/gpt-5',
163
+ 'openai/gpt-5-codex',
164
+ 'openai/gpt-5-mini',
165
+ 'openai/gpt-5-nano',
166
+ 'openai/gpt-5-pro',
167
+ 'openai/gpt-5.1-codex',
168
+ 'openai/gpt-5.1-codex-max',
169
+ 'openai/gpt-5.1-codex-mini',
170
+ 'openai/gpt-5.1-thinking',
171
+ 'openai/gpt-5.2',
172
+ 'openai/gpt-5.2-codex',
173
+ 'openai/gpt-5.2-pro',
174
+ 'openai/gpt-5.3-codex',
175
+ 'openai/gpt-5.4',
176
+ 'openai/gpt-5.4-mini',
177
+ 'openai/gpt-5.4-nano',
178
+ 'openai/gpt-5.4-pro',
179
+ 'openai/gpt-5.5',
180
+ 'openai/gpt-5.5-pro',
181
+ 'openai/gpt-5.6-luna',
182
+ 'openai/gpt-5.6-sol',
183
+ 'openai/gpt-5.6-terra',
184
+ 'openai/gpt-oss-120b',
185
+ 'openai/gpt-oss-20b',
186
+ 'openai/gpt-oss-safeguard-20b',
187
+ 'openai/gpt-realtime-1.5',
188
+ 'openai/gpt-realtime-2',
189
+ 'openai/gpt-realtime-2.1',
190
+ 'openai/gpt-realtime-mini',
191
+ 'openai/gpt-realtime-whisper',
192
+ 'openai/o1',
193
+ 'openai/o3',
194
+ 'openai/o3-deep-research',
195
+ 'openai/o3-mini',
196
+ 'openai/o3-pro',
197
+ 'openai/o4-mini',
198
+ 'openai/tts-1',
199
+ 'openai/tts-1-hd',
200
+ 'openai/whisper-1',
201
+ 'perplexity/sonar',
202
+ 'perplexity/sonar-pro',
203
+ 'perplexity/sonar-reasoning-pro',
204
+ 'poolside/laguna-s-2.1',
205
+ 'poolside/laguna-s-2.1-free',
206
+ 'sakana/fugu-ultra',
207
+ 'sakana/namazu',
208
+ 'stepfun/step-3.5-flash',
209
+ 'stepfun/step-3.7-flash',
210
+ 'tencent/hy3',
211
+ 'thinkingmachines/inkling',
212
+ 'thinkingmachines/inkling-small',
213
+ 'xai/grok-4.1-fast-non-reasoning',
214
+ 'xai/grok-4.1-fast-reasoning',
215
+ 'xai/grok-4.20-multi-agent',
216
+ 'xai/grok-4.20-multi-agent-beta',
217
+ 'xai/grok-4.20-non-reasoning',
218
+ 'xai/grok-4.20-non-reasoning-beta',
219
+ 'xai/grok-4.20-reasoning',
220
+ 'xai/grok-4.20-reasoning-beta',
221
+ 'xai/grok-4.3',
222
+ 'xai/grok-4.5',
223
+ 'xai/grok-build-0.1',
224
+ 'xai/grok-stt',
225
+ 'xai/grok-tts',
226
+ 'xai/grok-voice-think-fast-1.0',
227
+ 'xai/grok-voice-think-fast-2.0',
228
+ 'xiaomi/mimo-v2.5',
229
+ 'xiaomi/mimo-v2.5-pro',
230
+ 'zai/glm-4.5',
231
+ 'zai/glm-4.5-air',
232
+ 'zai/glm-4.5v',
233
+ 'zai/glm-4.6',
234
+ 'zai/glm-4.6v',
235
+ 'zai/glm-4.6v-flash',
236
+ 'zai/glm-4.7',
237
+ 'zai/glm-4.7-flash',
238
+ 'zai/glm-4.7-flashx',
239
+ 'zai/glm-5',
240
+ 'zai/glm-5-turbo',
241
+ 'zai/glm-5.1',
242
+ 'zai/glm-5.2',
243
+ 'zai/glm-5.2-fast',
244
+ 'zai/glm-5v-turbo',
245
+ ] as const
246
+
247
+ export type VercelGatewayChatModel = (typeof VERCEL_GATEWAY_CHAT_MODELS)[number]
248
+
249
+ export const VERCEL_GATEWAY_PROVIDERS = [
250
+ 'alibaba',
251
+ 'amazon',
252
+ 'anthropic',
253
+ 'arcee-ai',
254
+ 'bfl',
255
+ 'bytedance',
256
+ 'cohere',
257
+ 'deepseek',
258
+ 'fish-audio',
259
+ 'google',
260
+ 'inception',
261
+ 'inclusionai',
262
+ 'interfaze',
263
+ 'klingai',
264
+ 'kwaipilot',
265
+ 'meta',
266
+ 'minimax',
267
+ 'mistral',
268
+ 'moonshotai',
269
+ 'morph',
270
+ 'nvidia',
271
+ 'openai',
272
+ 'perplexity',
273
+ 'poolside',
274
+ 'prodia',
275
+ 'quiverai',
276
+ 'recraft',
277
+ 'sakana',
278
+ 'stepfun',
279
+ 'tencent',
280
+ 'thinkingmachines',
281
+ 'voyage',
282
+ 'xai',
283
+ 'xiaomi',
284
+ 'zai',
285
+ ] as const
286
+
287
+ export type VercelGatewayProvider = (typeof VERCEL_GATEWAY_PROVIDERS)[number]
288
+
289
+ export const VERCEL_GATEWAY_MODEL_TAGS = [
290
+ 'explicit-caching',
291
+ 'fast',
292
+ 'file-input',
293
+ 'free',
294
+ 'image-generation',
295
+ 'implicit-caching',
296
+ 'reasoning',
297
+ 'structured-output',
298
+ 'tool-use',
299
+ 'video-generation',
300
+ 'vision',
301
+ 'web-search',
302
+ 'websocket-realtime',
303
+ 'websocket-transcription',
304
+ ] as const
305
+
306
+ export type VercelGatewayModelTag = (typeof VERCEL_GATEWAY_MODEL_TAGS)[number]
307
+
308
+ export const VERCEL_GATEWAY_EMBEDDING_MODELS = [
309
+ 'alibaba/qwen3-embedding-0.6b',
310
+ 'alibaba/qwen3-embedding-4b',
311
+ 'alibaba/qwen3-embedding-8b',
312
+ 'amazon/titan-embed-text-v2',
313
+ 'cohere/embed-v4.0',
314
+ 'google/gemini-embedding-001',
315
+ 'google/gemini-embedding-2',
316
+ 'google/text-embedding-005',
317
+ 'google/text-multilingual-embedding-002',
318
+ 'mistral/codestral-embed',
319
+ 'mistral/mistral-embed',
320
+ 'openai/text-embedding-3-large',
321
+ 'openai/text-embedding-3-small',
322
+ 'openai/text-embedding-ada-002',
323
+ 'perplexity/pplx-embed-v1-0.6b',
324
+ 'perplexity/pplx-embed-v1-4b',
325
+ 'voyage/voyage-3-large',
326
+ 'voyage/voyage-3.5',
327
+ 'voyage/voyage-3.5-lite',
328
+ 'voyage/voyage-4',
329
+ 'voyage/voyage-4-large',
330
+ 'voyage/voyage-4-lite',
331
+ 'voyage/voyage-code-2',
332
+ 'voyage/voyage-code-3',
333
+ 'voyage/voyage-finance-2',
334
+ 'voyage/voyage-law-2',
335
+ ] as const
336
+
337
+ export type VercelGatewayEmbeddingModel =
338
+ (typeof VERCEL_GATEWAY_EMBEDDING_MODELS)[number]
339
+
340
+ export const VERCEL_GATEWAY_IMAGE_MODELS = [
341
+ 'bfl/flux-2-flex',
342
+ 'bfl/flux-2-klein-4b',
343
+ 'bfl/flux-2-klein-9b',
344
+ 'bfl/flux-2-max',
345
+ 'bfl/flux-2-pro',
346
+ 'bfl/flux-kontext-max',
347
+ 'bfl/flux-kontext-pro',
348
+ 'bfl/flux-pro-1.0-fill',
349
+ 'bfl/flux-pro-1.1',
350
+ 'bfl/flux-pro-1.1-ultra',
351
+ 'bytedance/seedream-4.0',
352
+ 'bytedance/seedream-4.5',
353
+ 'bytedance/seedream-5.0-lite',
354
+ 'bytedance/seedream-5.0-pro',
355
+ 'google/imagen-4.0-fast-generate-001',
356
+ 'google/imagen-4.0-generate-001',
357
+ 'google/imagen-4.0-ultra-generate-001',
358
+ 'openai/gpt-image-1',
359
+ 'openai/gpt-image-1-mini',
360
+ 'openai/gpt-image-1.5',
361
+ 'openai/gpt-image-2',
362
+ 'prodia/flux-fast-schnell',
363
+ 'quiverai/arrow-1.1',
364
+ 'recraft/recraft-v2',
365
+ 'recraft/recraft-v3',
366
+ 'recraft/recraft-v4',
367
+ 'recraft/recraft-v4-pro',
368
+ 'recraft/recraft-v4.1',
369
+ 'recraft/recraft-v4.1-pro',
370
+ 'recraft/recraft-v4.1-utility',
371
+ 'recraft/recraft-v4.1-utility-pro',
372
+ 'xai/grok-imagine-image',
373
+ 'xai/grok-imagine-image-2.0',
374
+ ] as const
375
+
376
+ export type VercelGatewayImageModel =
377
+ (typeof VERCEL_GATEWAY_IMAGE_MODELS)[number]
378
+
379
+ export type VercelGatewayChatModelProviderOptionsByName = {
380
+ 'alibaba/qwen-3-14b': VercelGatewayCommonOptions &
381
+ Pick<
382
+ VercelGatewayBaseOptions,
383
+ | 'max_tokens'
384
+ | 'max_output_tokens'
385
+ | 'temperature'
386
+ | 'stop'
387
+ | 'reasoning'
388
+ | 'include_reasoning'
389
+ >
390
+ 'alibaba/qwen-3-235b': VercelGatewayCommonOptions &
391
+ Pick<
392
+ VercelGatewayBaseOptions,
393
+ | 'max_tokens'
394
+ | 'max_output_tokens'
395
+ | 'temperature'
396
+ | 'stop'
397
+ | 'reasoning'
398
+ | 'include_reasoning'
399
+ >
400
+ 'alibaba/qwen-3-30b': VercelGatewayCommonOptions &
401
+ Pick<
402
+ VercelGatewayBaseOptions,
403
+ | 'max_tokens'
404
+ | 'max_output_tokens'
405
+ | 'temperature'
406
+ | 'stop'
407
+ | 'reasoning'
408
+ | 'include_reasoning'
409
+ >
410
+ 'alibaba/qwen-3-32b': VercelGatewayCommonOptions &
411
+ Pick<
412
+ VercelGatewayBaseOptions,
413
+ | 'max_tokens'
414
+ | 'max_output_tokens'
415
+ | 'temperature'
416
+ | 'stop'
417
+ | 'reasoning'
418
+ | 'include_reasoning'
419
+ >
420
+ 'alibaba/qwen-3.6-max-preview': VercelGatewayCommonOptions &
421
+ Pick<
422
+ VercelGatewayBaseOptions,
423
+ | 'max_tokens'
424
+ | 'max_output_tokens'
425
+ | 'temperature'
426
+ | 'stop'
427
+ | 'reasoning'
428
+ | 'include_reasoning'
429
+ >
430
+ 'alibaba/qwen3-235b-a22b-thinking': VercelGatewayCommonOptions &
431
+ Pick<
432
+ VercelGatewayBaseOptions,
433
+ | 'max_tokens'
434
+ | 'max_output_tokens'
435
+ | 'temperature'
436
+ | 'stop'
437
+ | 'reasoning'
438
+ | 'include_reasoning'
439
+ >
440
+ 'alibaba/qwen3-coder': VercelGatewayCommonOptions &
441
+ Pick<
442
+ VercelGatewayBaseOptions,
443
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
444
+ >
445
+ 'alibaba/qwen3-coder-30b-a3b': VercelGatewayCommonOptions &
446
+ Pick<
447
+ VercelGatewayBaseOptions,
448
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
449
+ >
450
+ 'alibaba/qwen3-coder-next': VercelGatewayCommonOptions &
451
+ Pick<
452
+ VercelGatewayBaseOptions,
453
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
454
+ >
455
+ 'alibaba/qwen3-coder-plus': VercelGatewayCommonOptions &
456
+ Pick<
457
+ VercelGatewayBaseOptions,
458
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
459
+ >
460
+ 'alibaba/qwen3-max': VercelGatewayCommonOptions &
461
+ Pick<
462
+ VercelGatewayBaseOptions,
463
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
464
+ >
465
+ 'alibaba/qwen3-max-preview': VercelGatewayCommonOptions &
466
+ Pick<
467
+ VercelGatewayBaseOptions,
468
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
469
+ >
470
+ 'alibaba/qwen3-max-thinking': VercelGatewayCommonOptions &
471
+ Pick<
472
+ VercelGatewayBaseOptions,
473
+ | 'max_tokens'
474
+ | 'max_output_tokens'
475
+ | 'temperature'
476
+ | 'stop'
477
+ | 'reasoning'
478
+ | 'include_reasoning'
479
+ >
480
+ 'alibaba/qwen3-next-80b-a3b-instruct': VercelGatewayCommonOptions &
481
+ Pick<
482
+ VercelGatewayBaseOptions,
483
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
484
+ >
485
+ 'alibaba/qwen3-next-80b-a3b-thinking': VercelGatewayCommonOptions &
486
+ Pick<
487
+ VercelGatewayBaseOptions,
488
+ | 'max_tokens'
489
+ | 'max_output_tokens'
490
+ | 'temperature'
491
+ | 'stop'
492
+ | 'reasoning'
493
+ | 'include_reasoning'
494
+ >
495
+ 'alibaba/qwen3-vl-235b-a22b-instruct': VercelGatewayCommonOptions &
496
+ Pick<
497
+ VercelGatewayBaseOptions,
498
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
499
+ >
500
+ 'alibaba/qwen3-vl-instruct': VercelGatewayCommonOptions &
501
+ Pick<
502
+ VercelGatewayBaseOptions,
503
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
504
+ >
505
+ 'alibaba/qwen3-vl-thinking': VercelGatewayCommonOptions &
506
+ Pick<
507
+ VercelGatewayBaseOptions,
508
+ | 'max_tokens'
509
+ | 'max_output_tokens'
510
+ | 'temperature'
511
+ | 'stop'
512
+ | 'reasoning'
513
+ | 'include_reasoning'
514
+ >
515
+ 'alibaba/qwen3.5-flash': VercelGatewayCommonOptions &
516
+ Pick<
517
+ VercelGatewayBaseOptions,
518
+ | 'max_tokens'
519
+ | 'max_output_tokens'
520
+ | 'temperature'
521
+ | 'stop'
522
+ | 'reasoning'
523
+ | 'include_reasoning'
524
+ >
525
+ 'alibaba/qwen3.5-plus': VercelGatewayCommonOptions &
526
+ Pick<
527
+ VercelGatewayBaseOptions,
528
+ | 'max_tokens'
529
+ | 'max_output_tokens'
530
+ | 'temperature'
531
+ | 'stop'
532
+ | 'reasoning'
533
+ | 'include_reasoning'
534
+ >
535
+ 'alibaba/qwen3.6-27b': VercelGatewayCommonOptions &
536
+ Pick<
537
+ VercelGatewayBaseOptions,
538
+ | 'max_tokens'
539
+ | 'max_output_tokens'
540
+ | 'temperature'
541
+ | 'stop'
542
+ | 'reasoning'
543
+ | 'include_reasoning'
544
+ >
545
+ 'alibaba/qwen3.6-plus': VercelGatewayCommonOptions &
546
+ Pick<
547
+ VercelGatewayBaseOptions,
548
+ | 'max_tokens'
549
+ | 'max_output_tokens'
550
+ | 'temperature'
551
+ | 'stop'
552
+ | 'reasoning'
553
+ | 'include_reasoning'
554
+ >
555
+ 'alibaba/qwen3.7-flash': VercelGatewayCommonOptions &
556
+ Pick<
557
+ VercelGatewayBaseOptions,
558
+ | 'max_tokens'
559
+ | 'max_output_tokens'
560
+ | 'temperature'
561
+ | 'stop'
562
+ | 'reasoning'
563
+ | 'include_reasoning'
564
+ >
565
+ 'alibaba/qwen3.7-max': VercelGatewayCommonOptions &
566
+ Pick<
567
+ VercelGatewayBaseOptions,
568
+ | 'max_tokens'
569
+ | 'max_output_tokens'
570
+ | 'temperature'
571
+ | 'stop'
572
+ | 'reasoning'
573
+ | 'include_reasoning'
574
+ >
575
+ 'alibaba/qwen3.7-plus': VercelGatewayCommonOptions &
576
+ Pick<
577
+ VercelGatewayBaseOptions,
578
+ | 'max_tokens'
579
+ | 'max_output_tokens'
580
+ | 'temperature'
581
+ | 'stop'
582
+ | 'reasoning'
583
+ | 'include_reasoning'
584
+ >
585
+ 'alibaba/qwen3.8-max': VercelGatewayCommonOptions &
586
+ Pick<
587
+ VercelGatewayBaseOptions,
588
+ | 'max_tokens'
589
+ | 'max_output_tokens'
590
+ | 'temperature'
591
+ | 'stop'
592
+ | 'reasoning'
593
+ | 'include_reasoning'
594
+ >
595
+ 'amazon/nova-2-lite': VercelGatewayCommonOptions &
596
+ Pick<
597
+ VercelGatewayBaseOptions,
598
+ | 'max_tokens'
599
+ | 'max_output_tokens'
600
+ | 'temperature'
601
+ | 'stop'
602
+ | 'reasoning'
603
+ | 'include_reasoning'
604
+ >
605
+ 'amazon/nova-lite': VercelGatewayCommonOptions &
606
+ Pick<
607
+ VercelGatewayBaseOptions,
608
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
609
+ >
610
+ 'amazon/nova-micro': VercelGatewayCommonOptions &
611
+ Pick<
612
+ VercelGatewayBaseOptions,
613
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
614
+ >
615
+ 'amazon/nova-pro': VercelGatewayCommonOptions &
616
+ Pick<
617
+ VercelGatewayBaseOptions,
618
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
619
+ >
620
+ 'anthropic/claude-3-haiku': VercelGatewayCommonOptions &
621
+ Pick<
622
+ VercelGatewayBaseOptions,
623
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
624
+ >
625
+ 'anthropic/claude-fable-5': VercelGatewayCommonOptions &
626
+ Pick<
627
+ VercelGatewayBaseOptions,
628
+ | 'max_tokens'
629
+ | 'max_output_tokens'
630
+ | 'temperature'
631
+ | 'stop'
632
+ | 'reasoning'
633
+ | 'include_reasoning'
634
+ >
635
+ 'anthropic/claude-haiku-4.5': VercelGatewayCommonOptions &
636
+ Pick<
637
+ VercelGatewayBaseOptions,
638
+ | 'max_tokens'
639
+ | 'max_output_tokens'
640
+ | 'temperature'
641
+ | 'stop'
642
+ | 'reasoning'
643
+ | 'include_reasoning'
644
+ >
645
+ 'anthropic/claude-opus-4': VercelGatewayCommonOptions &
646
+ Pick<
647
+ VercelGatewayBaseOptions,
648
+ | 'max_tokens'
649
+ | 'max_output_tokens'
650
+ | 'temperature'
651
+ | 'stop'
652
+ | 'reasoning'
653
+ | 'include_reasoning'
654
+ >
655
+ 'anthropic/claude-opus-4.5': VercelGatewayCommonOptions &
656
+ Pick<
657
+ VercelGatewayBaseOptions,
658
+ | 'max_tokens'
659
+ | 'max_output_tokens'
660
+ | 'temperature'
661
+ | 'stop'
662
+ | 'reasoning'
663
+ | 'include_reasoning'
664
+ >
665
+ 'anthropic/claude-opus-4.6': VercelGatewayCommonOptions &
666
+ Pick<
667
+ VercelGatewayBaseOptions,
668
+ | 'max_tokens'
669
+ | 'max_output_tokens'
670
+ | 'temperature'
671
+ | 'stop'
672
+ | 'reasoning'
673
+ | 'include_reasoning'
674
+ >
675
+ 'anthropic/claude-opus-4.7': VercelGatewayCommonOptions &
676
+ Pick<
677
+ VercelGatewayBaseOptions,
678
+ | 'max_tokens'
679
+ | 'max_output_tokens'
680
+ | 'temperature'
681
+ | 'stop'
682
+ | 'reasoning'
683
+ | 'include_reasoning'
684
+ >
685
+ 'anthropic/claude-opus-4.8': VercelGatewayCommonOptions &
686
+ Pick<
687
+ VercelGatewayBaseOptions,
688
+ | 'max_tokens'
689
+ | 'max_output_tokens'
690
+ | 'temperature'
691
+ | 'stop'
692
+ | 'reasoning'
693
+ | 'include_reasoning'
694
+ >
695
+ 'anthropic/claude-opus-4.8-fast': VercelGatewayCommonOptions &
696
+ Pick<
697
+ VercelGatewayBaseOptions,
698
+ | 'max_tokens'
699
+ | 'max_output_tokens'
700
+ | 'temperature'
701
+ | 'stop'
702
+ | 'reasoning'
703
+ | 'include_reasoning'
704
+ >
705
+ 'anthropic/claude-opus-5': VercelGatewayCommonOptions &
706
+ Pick<
707
+ VercelGatewayBaseOptions,
708
+ | 'max_tokens'
709
+ | 'max_output_tokens'
710
+ | 'temperature'
711
+ | 'stop'
712
+ | 'reasoning'
713
+ | 'include_reasoning'
714
+ >
715
+ 'anthropic/claude-opus-5-fast': VercelGatewayCommonOptions &
716
+ Pick<
717
+ VercelGatewayBaseOptions,
718
+ | 'max_tokens'
719
+ | 'max_output_tokens'
720
+ | 'temperature'
721
+ | 'stop'
722
+ | 'reasoning'
723
+ | 'include_reasoning'
724
+ >
725
+ 'anthropic/claude-sonnet-4': VercelGatewayCommonOptions &
726
+ Pick<
727
+ VercelGatewayBaseOptions,
728
+ | 'max_tokens'
729
+ | 'max_output_tokens'
730
+ | 'temperature'
731
+ | 'stop'
732
+ | 'reasoning'
733
+ | 'include_reasoning'
734
+ >
735
+ 'anthropic/claude-sonnet-4.5': VercelGatewayCommonOptions &
736
+ Pick<
737
+ VercelGatewayBaseOptions,
738
+ | 'max_tokens'
739
+ | 'max_output_tokens'
740
+ | 'temperature'
741
+ | 'stop'
742
+ | 'reasoning'
743
+ | 'include_reasoning'
744
+ >
745
+ 'anthropic/claude-sonnet-4.6': VercelGatewayCommonOptions &
746
+ Pick<
747
+ VercelGatewayBaseOptions,
748
+ | 'max_tokens'
749
+ | 'max_output_tokens'
750
+ | 'temperature'
751
+ | 'stop'
752
+ | 'reasoning'
753
+ | 'include_reasoning'
754
+ >
755
+ 'anthropic/claude-sonnet-5': VercelGatewayCommonOptions &
756
+ Pick<
757
+ VercelGatewayBaseOptions,
758
+ | 'max_tokens'
759
+ | 'max_output_tokens'
760
+ | 'temperature'
761
+ | 'stop'
762
+ | 'reasoning'
763
+ | 'include_reasoning'
764
+ >
765
+ 'arcee-ai/trinity-large-thinking': VercelGatewayCommonOptions &
766
+ Pick<
767
+ VercelGatewayBaseOptions,
768
+ | 'max_tokens'
769
+ | 'max_output_tokens'
770
+ | 'temperature'
771
+ | 'stop'
772
+ | 'reasoning'
773
+ | 'include_reasoning'
774
+ >
775
+ 'arcee-ai/trinity-mini': VercelGatewayCommonOptions &
776
+ Pick<
777
+ VercelGatewayBaseOptions,
778
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
779
+ >
780
+ 'bytedance/seed-1.6': VercelGatewayCommonOptions &
781
+ Pick<
782
+ VercelGatewayBaseOptions,
783
+ | 'max_tokens'
784
+ | 'max_output_tokens'
785
+ | 'temperature'
786
+ | 'stop'
787
+ | 'reasoning'
788
+ | 'include_reasoning'
789
+ >
790
+ 'bytedance/seed-1.8': VercelGatewayCommonOptions &
791
+ Pick<
792
+ VercelGatewayBaseOptions,
793
+ | 'max_tokens'
794
+ | 'max_output_tokens'
795
+ | 'temperature'
796
+ | 'stop'
797
+ | 'reasoning'
798
+ | 'include_reasoning'
799
+ >
800
+ 'cohere/command-a': VercelGatewayCommonOptions &
801
+ Pick<
802
+ VercelGatewayBaseOptions,
803
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
804
+ >
805
+ 'deepseek/deepseek-r1': VercelGatewayCommonOptions &
806
+ Pick<
807
+ VercelGatewayBaseOptions,
808
+ | 'max_tokens'
809
+ | 'max_output_tokens'
810
+ | 'temperature'
811
+ | 'stop'
812
+ | 'reasoning'
813
+ | 'include_reasoning'
814
+ >
815
+ 'deepseek/deepseek-v3': VercelGatewayCommonOptions &
816
+ Pick<
817
+ VercelGatewayBaseOptions,
818
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
819
+ >
820
+ 'deepseek/deepseek-v3.1': VercelGatewayCommonOptions &
821
+ Pick<
822
+ VercelGatewayBaseOptions,
823
+ | 'max_tokens'
824
+ | 'max_output_tokens'
825
+ | 'temperature'
826
+ | 'stop'
827
+ | 'reasoning'
828
+ | 'include_reasoning'
829
+ >
830
+ 'deepseek/deepseek-v3.1-terminus': VercelGatewayCommonOptions &
831
+ Pick<
832
+ VercelGatewayBaseOptions,
833
+ | 'max_tokens'
834
+ | 'max_output_tokens'
835
+ | 'temperature'
836
+ | 'stop'
837
+ | 'reasoning'
838
+ | 'include_reasoning'
839
+ >
840
+ 'deepseek/deepseek-v3.2': VercelGatewayCommonOptions &
841
+ Pick<
842
+ VercelGatewayBaseOptions,
843
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
844
+ >
845
+ 'deepseek/deepseek-v3.2-thinking': VercelGatewayCommonOptions &
846
+ Pick<
847
+ VercelGatewayBaseOptions,
848
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
849
+ >
850
+ 'deepseek/deepseek-v4-flash': VercelGatewayCommonOptions &
851
+ Pick<
852
+ VercelGatewayBaseOptions,
853
+ | 'max_tokens'
854
+ | 'max_output_tokens'
855
+ | 'temperature'
856
+ | 'stop'
857
+ | 'reasoning'
858
+ | 'include_reasoning'
859
+ >
860
+ 'deepseek/deepseek-v4-flash-0731': VercelGatewayCommonOptions &
861
+ Pick<
862
+ VercelGatewayBaseOptions,
863
+ | 'max_tokens'
864
+ | 'max_output_tokens'
865
+ | 'temperature'
866
+ | 'stop'
867
+ | 'reasoning'
868
+ | 'include_reasoning'
869
+ >
870
+ 'deepseek/deepseek-v4-pro': VercelGatewayCommonOptions &
871
+ Pick<
872
+ VercelGatewayBaseOptions,
873
+ | 'max_tokens'
874
+ | 'max_output_tokens'
875
+ | 'temperature'
876
+ | 'stop'
877
+ | 'reasoning'
878
+ | 'include_reasoning'
879
+ >
880
+ 'fish-audio/s1': VercelGatewayCommonOptions
881
+ 'fish-audio/s2-pro': VercelGatewayCommonOptions
882
+ 'fish-audio/s2.1-pro': VercelGatewayCommonOptions
883
+ 'fish-audio/transcribe-1': VercelGatewayCommonOptions
884
+ 'google/gemini-2.5-flash': VercelGatewayCommonOptions &
885
+ Pick<
886
+ VercelGatewayBaseOptions,
887
+ | 'max_tokens'
888
+ | 'max_output_tokens'
889
+ | 'temperature'
890
+ | 'stop'
891
+ | 'reasoning'
892
+ | 'include_reasoning'
893
+ >
894
+ 'google/gemini-2.5-flash-image': VercelGatewayCommonOptions &
895
+ Pick<
896
+ VercelGatewayBaseOptions,
897
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
898
+ >
899
+ 'google/gemini-2.5-flash-lite': VercelGatewayCommonOptions &
900
+ Pick<
901
+ VercelGatewayBaseOptions,
902
+ | 'max_tokens'
903
+ | 'max_output_tokens'
904
+ | 'temperature'
905
+ | 'stop'
906
+ | 'reasoning'
907
+ | 'include_reasoning'
908
+ >
909
+ 'google/gemini-2.5-pro': VercelGatewayCommonOptions &
910
+ Pick<
911
+ VercelGatewayBaseOptions,
912
+ | 'max_tokens'
913
+ | 'max_output_tokens'
914
+ | 'temperature'
915
+ | 'stop'
916
+ | 'reasoning'
917
+ | 'include_reasoning'
918
+ >
919
+ 'google/gemini-3-flash': VercelGatewayCommonOptions &
920
+ Pick<
921
+ VercelGatewayBaseOptions,
922
+ | 'max_tokens'
923
+ | 'max_output_tokens'
924
+ | 'temperature'
925
+ | 'stop'
926
+ | 'reasoning'
927
+ | 'include_reasoning'
928
+ >
929
+ 'google/gemini-3-pro-image': VercelGatewayCommonOptions &
930
+ Pick<
931
+ VercelGatewayBaseOptions,
932
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
933
+ >
934
+ 'google/gemini-3.1-flash-image': VercelGatewayCommonOptions &
935
+ Pick<
936
+ VercelGatewayBaseOptions,
937
+ | 'max_tokens'
938
+ | 'max_output_tokens'
939
+ | 'temperature'
940
+ | 'stop'
941
+ | 'reasoning'
942
+ | 'include_reasoning'
943
+ >
944
+ 'google/gemini-3.1-flash-image-preview': VercelGatewayCommonOptions &
945
+ Pick<
946
+ VercelGatewayBaseOptions,
947
+ | 'max_tokens'
948
+ | 'max_output_tokens'
949
+ | 'temperature'
950
+ | 'stop'
951
+ | 'reasoning'
952
+ | 'include_reasoning'
953
+ >
954
+ 'google/gemini-3.1-flash-lite': VercelGatewayCommonOptions &
955
+ Pick<
956
+ VercelGatewayBaseOptions,
957
+ | 'max_tokens'
958
+ | 'max_output_tokens'
959
+ | 'temperature'
960
+ | 'stop'
961
+ | 'reasoning'
962
+ | 'include_reasoning'
963
+ >
964
+ 'google/gemini-3.1-flash-lite-image': VercelGatewayCommonOptions &
965
+ Pick<
966
+ VercelGatewayBaseOptions,
967
+ | 'max_tokens'
968
+ | 'max_output_tokens'
969
+ | 'temperature'
970
+ | 'stop'
971
+ | 'reasoning'
972
+ | 'include_reasoning'
973
+ >
974
+ 'google/gemini-3.1-pro-preview': VercelGatewayCommonOptions &
975
+ Pick<
976
+ VercelGatewayBaseOptions,
977
+ | 'max_tokens'
978
+ | 'max_output_tokens'
979
+ | 'temperature'
980
+ | 'stop'
981
+ | 'reasoning'
982
+ | 'include_reasoning'
983
+ >
984
+ 'google/gemini-3.5-flash': VercelGatewayCommonOptions &
985
+ Pick<
986
+ VercelGatewayBaseOptions,
987
+ | 'max_tokens'
988
+ | 'max_output_tokens'
989
+ | 'temperature'
990
+ | 'stop'
991
+ | 'reasoning'
992
+ | 'include_reasoning'
993
+ >
994
+ 'google/gemini-3.5-flash-lite': VercelGatewayCommonOptions &
995
+ Pick<
996
+ VercelGatewayBaseOptions,
997
+ | 'max_tokens'
998
+ | 'max_output_tokens'
999
+ | 'temperature'
1000
+ | 'stop'
1001
+ | 'reasoning'
1002
+ | 'include_reasoning'
1003
+ >
1004
+ 'google/gemini-3.6-flash': VercelGatewayCommonOptions &
1005
+ Pick<
1006
+ VercelGatewayBaseOptions,
1007
+ | 'max_tokens'
1008
+ | 'max_output_tokens'
1009
+ | 'temperature'
1010
+ | 'stop'
1011
+ | 'reasoning'
1012
+ | 'include_reasoning'
1013
+ >
1014
+ 'google/gemini-omni-flash-preview': VercelGatewayCommonOptions &
1015
+ Pick<
1016
+ VercelGatewayBaseOptions,
1017
+ | 'max_tokens'
1018
+ | 'max_output_tokens'
1019
+ | 'temperature'
1020
+ | 'stop'
1021
+ | 'reasoning'
1022
+ | 'include_reasoning'
1023
+ >
1024
+ 'google/gemma-4-26b-a4b-it': VercelGatewayCommonOptions &
1025
+ Pick<
1026
+ VercelGatewayBaseOptions,
1027
+ | 'max_tokens'
1028
+ | 'max_output_tokens'
1029
+ | 'temperature'
1030
+ | 'stop'
1031
+ | 'reasoning'
1032
+ | 'include_reasoning'
1033
+ >
1034
+ 'google/gemma-4-31b-it': VercelGatewayCommonOptions &
1035
+ Pick<
1036
+ VercelGatewayBaseOptions,
1037
+ | 'max_tokens'
1038
+ | 'max_output_tokens'
1039
+ | 'temperature'
1040
+ | 'stop'
1041
+ | 'reasoning'
1042
+ | 'include_reasoning'
1043
+ >
1044
+ 'inception/mercury-2': VercelGatewayCommonOptions &
1045
+ Pick<
1046
+ VercelGatewayBaseOptions,
1047
+ | 'max_tokens'
1048
+ | 'max_output_tokens'
1049
+ | 'temperature'
1050
+ | 'stop'
1051
+ | 'reasoning'
1052
+ | 'include_reasoning'
1053
+ >
1054
+ 'inception/mercury-coder-small': VercelGatewayCommonOptions &
1055
+ Pick<
1056
+ VercelGatewayBaseOptions,
1057
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1058
+ >
1059
+ 'inclusionai/ling-3.0-flash': VercelGatewayCommonOptions &
1060
+ Pick<
1061
+ VercelGatewayBaseOptions,
1062
+ | 'max_tokens'
1063
+ | 'max_output_tokens'
1064
+ | 'temperature'
1065
+ | 'stop'
1066
+ | 'reasoning'
1067
+ | 'include_reasoning'
1068
+ >
1069
+ 'inclusionai/ling-3.0-tiny-free': VercelGatewayCommonOptions &
1070
+ Pick<
1071
+ VercelGatewayBaseOptions,
1072
+ | 'max_tokens'
1073
+ | 'max_output_tokens'
1074
+ | 'temperature'
1075
+ | 'stop'
1076
+ | 'reasoning'
1077
+ | 'include_reasoning'
1078
+ >
1079
+ 'interfaze/interfaze-beta': VercelGatewayCommonOptions &
1080
+ Pick<
1081
+ VercelGatewayBaseOptions,
1082
+ | 'max_tokens'
1083
+ | 'max_output_tokens'
1084
+ | 'temperature'
1085
+ | 'stop'
1086
+ | 'reasoning'
1087
+ | 'include_reasoning'
1088
+ >
1089
+ 'kwaipilot/kat-coder-air-v2.5': VercelGatewayCommonOptions &
1090
+ Pick<
1091
+ VercelGatewayBaseOptions,
1092
+ | 'max_tokens'
1093
+ | 'max_output_tokens'
1094
+ | 'temperature'
1095
+ | 'stop'
1096
+ | 'reasoning'
1097
+ | 'include_reasoning'
1098
+ >
1099
+ 'kwaipilot/kat-coder-pro-v1': VercelGatewayCommonOptions &
1100
+ Pick<
1101
+ VercelGatewayBaseOptions,
1102
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1103
+ >
1104
+ 'kwaipilot/kat-coder-pro-v2': VercelGatewayCommonOptions &
1105
+ Pick<
1106
+ VercelGatewayBaseOptions,
1107
+ | 'max_tokens'
1108
+ | 'max_output_tokens'
1109
+ | 'temperature'
1110
+ | 'stop'
1111
+ | 'reasoning'
1112
+ | 'include_reasoning'
1113
+ >
1114
+ 'kwaipilot/kat-coder-pro-v2.5': VercelGatewayCommonOptions &
1115
+ Pick<
1116
+ VercelGatewayBaseOptions,
1117
+ | 'max_tokens'
1118
+ | 'max_output_tokens'
1119
+ | 'temperature'
1120
+ | 'stop'
1121
+ | 'reasoning'
1122
+ | 'include_reasoning'
1123
+ >
1124
+ 'meta/llama-3.1-70b': VercelGatewayCommonOptions &
1125
+ Pick<
1126
+ VercelGatewayBaseOptions,
1127
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1128
+ >
1129
+ 'meta/llama-3.1-8b': VercelGatewayCommonOptions &
1130
+ Pick<
1131
+ VercelGatewayBaseOptions,
1132
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1133
+ >
1134
+ 'meta/llama-3.3-70b': VercelGatewayCommonOptions &
1135
+ Pick<
1136
+ VercelGatewayBaseOptions,
1137
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1138
+ >
1139
+ 'meta/llama-4-maverick': VercelGatewayCommonOptions &
1140
+ Pick<
1141
+ VercelGatewayBaseOptions,
1142
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1143
+ >
1144
+ 'meta/llama-4-scout': VercelGatewayCommonOptions &
1145
+ Pick<
1146
+ VercelGatewayBaseOptions,
1147
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1148
+ >
1149
+ 'meta/muse-glimmer-30b': VercelGatewayCommonOptions &
1150
+ Pick<
1151
+ VercelGatewayBaseOptions,
1152
+ | 'max_tokens'
1153
+ | 'max_output_tokens'
1154
+ | 'temperature'
1155
+ | 'stop'
1156
+ | 'reasoning'
1157
+ | 'include_reasoning'
1158
+ >
1159
+ 'meta/muse-spark-1.1': VercelGatewayCommonOptions &
1160
+ Pick<
1161
+ VercelGatewayBaseOptions,
1162
+ | 'max_tokens'
1163
+ | 'max_output_tokens'
1164
+ | 'temperature'
1165
+ | 'stop'
1166
+ | 'reasoning'
1167
+ | 'include_reasoning'
1168
+ >
1169
+ 'meta/muse-spark-1.2': VercelGatewayCommonOptions &
1170
+ Pick<
1171
+ VercelGatewayBaseOptions,
1172
+ | 'max_tokens'
1173
+ | 'max_output_tokens'
1174
+ | 'temperature'
1175
+ | 'stop'
1176
+ | 'reasoning'
1177
+ | 'include_reasoning'
1178
+ >
1179
+ 'meta/muse-spark-1.2-contributor': VercelGatewayCommonOptions &
1180
+ Pick<
1181
+ VercelGatewayBaseOptions,
1182
+ | 'max_tokens'
1183
+ | 'max_output_tokens'
1184
+ | 'temperature'
1185
+ | 'stop'
1186
+ | 'reasoning'
1187
+ | 'include_reasoning'
1188
+ >
1189
+ 'minimax/minimax-m2': VercelGatewayCommonOptions &
1190
+ Pick<
1191
+ VercelGatewayBaseOptions,
1192
+ | 'max_tokens'
1193
+ | 'max_output_tokens'
1194
+ | 'temperature'
1195
+ | 'stop'
1196
+ | 'reasoning'
1197
+ | 'include_reasoning'
1198
+ >
1199
+ 'minimax/minimax-m2.1': VercelGatewayCommonOptions &
1200
+ Pick<
1201
+ VercelGatewayBaseOptions,
1202
+ | 'max_tokens'
1203
+ | 'max_output_tokens'
1204
+ | 'temperature'
1205
+ | 'stop'
1206
+ | 'reasoning'
1207
+ | 'include_reasoning'
1208
+ >
1209
+ 'minimax/minimax-m2.1-lightning': VercelGatewayCommonOptions &
1210
+ Pick<
1211
+ VercelGatewayBaseOptions,
1212
+ | 'max_tokens'
1213
+ | 'max_output_tokens'
1214
+ | 'temperature'
1215
+ | 'stop'
1216
+ | 'reasoning'
1217
+ | 'include_reasoning'
1218
+ >
1219
+ 'minimax/minimax-m2.5': VercelGatewayCommonOptions &
1220
+ Pick<
1221
+ VercelGatewayBaseOptions,
1222
+ | 'max_tokens'
1223
+ | 'max_output_tokens'
1224
+ | 'temperature'
1225
+ | 'stop'
1226
+ | 'reasoning'
1227
+ | 'include_reasoning'
1228
+ >
1229
+ 'minimax/minimax-m2.5-highspeed': VercelGatewayCommonOptions &
1230
+ Pick<
1231
+ VercelGatewayBaseOptions,
1232
+ | 'max_tokens'
1233
+ | 'max_output_tokens'
1234
+ | 'temperature'
1235
+ | 'stop'
1236
+ | 'reasoning'
1237
+ | 'include_reasoning'
1238
+ >
1239
+ 'minimax/minimax-m2.7': VercelGatewayCommonOptions &
1240
+ Pick<
1241
+ VercelGatewayBaseOptions,
1242
+ | 'max_tokens'
1243
+ | 'max_output_tokens'
1244
+ | 'temperature'
1245
+ | 'stop'
1246
+ | 'reasoning'
1247
+ | 'include_reasoning'
1248
+ >
1249
+ 'minimax/minimax-m2.7-highspeed': VercelGatewayCommonOptions &
1250
+ Pick<
1251
+ VercelGatewayBaseOptions,
1252
+ | 'max_tokens'
1253
+ | 'max_output_tokens'
1254
+ | 'temperature'
1255
+ | 'stop'
1256
+ | 'reasoning'
1257
+ | 'include_reasoning'
1258
+ >
1259
+ 'minimax/minimax-m3': VercelGatewayCommonOptions &
1260
+ Pick<
1261
+ VercelGatewayBaseOptions,
1262
+ | 'max_tokens'
1263
+ | 'max_output_tokens'
1264
+ | 'temperature'
1265
+ | 'stop'
1266
+ | 'reasoning'
1267
+ | 'include_reasoning'
1268
+ >
1269
+ 'mistral/codestral': VercelGatewayCommonOptions &
1270
+ Pick<
1271
+ VercelGatewayBaseOptions,
1272
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1273
+ >
1274
+ 'mistral/devstral-2': VercelGatewayCommonOptions &
1275
+ Pick<
1276
+ VercelGatewayBaseOptions,
1277
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1278
+ >
1279
+ 'mistral/devstral-small-2': VercelGatewayCommonOptions &
1280
+ Pick<
1281
+ VercelGatewayBaseOptions,
1282
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1283
+ >
1284
+ 'mistral/magistral-medium': VercelGatewayCommonOptions &
1285
+ Pick<
1286
+ VercelGatewayBaseOptions,
1287
+ | 'max_tokens'
1288
+ | 'max_output_tokens'
1289
+ | 'temperature'
1290
+ | 'stop'
1291
+ | 'reasoning'
1292
+ | 'include_reasoning'
1293
+ >
1294
+ 'mistral/magistral-small': VercelGatewayCommonOptions &
1295
+ Pick<
1296
+ VercelGatewayBaseOptions,
1297
+ | 'max_tokens'
1298
+ | 'max_output_tokens'
1299
+ | 'temperature'
1300
+ | 'stop'
1301
+ | 'reasoning'
1302
+ | 'include_reasoning'
1303
+ >
1304
+ 'mistral/ministral-14b': VercelGatewayCommonOptions &
1305
+ Pick<
1306
+ VercelGatewayBaseOptions,
1307
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1308
+ >
1309
+ 'mistral/ministral-3b': VercelGatewayCommonOptions &
1310
+ Pick<
1311
+ VercelGatewayBaseOptions,
1312
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1313
+ >
1314
+ 'mistral/ministral-8b': VercelGatewayCommonOptions &
1315
+ Pick<
1316
+ VercelGatewayBaseOptions,
1317
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1318
+ >
1319
+ 'mistral/mistral-large-3': VercelGatewayCommonOptions &
1320
+ Pick<
1321
+ VercelGatewayBaseOptions,
1322
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1323
+ >
1324
+ 'mistral/mistral-medium': VercelGatewayCommonOptions &
1325
+ Pick<
1326
+ VercelGatewayBaseOptions,
1327
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1328
+ >
1329
+ 'mistral/mistral-medium-3.5': VercelGatewayCommonOptions &
1330
+ Pick<
1331
+ VercelGatewayBaseOptions,
1332
+ | 'max_tokens'
1333
+ | 'max_output_tokens'
1334
+ | 'temperature'
1335
+ | 'stop'
1336
+ | 'reasoning'
1337
+ | 'include_reasoning'
1338
+ >
1339
+ 'mistral/mistral-nemo': VercelGatewayCommonOptions &
1340
+ Pick<
1341
+ VercelGatewayBaseOptions,
1342
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1343
+ >
1344
+ 'mistral/mistral-small': VercelGatewayCommonOptions &
1345
+ Pick<
1346
+ VercelGatewayBaseOptions,
1347
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1348
+ >
1349
+ 'mistral/pixtral-12b': VercelGatewayCommonOptions &
1350
+ Pick<
1351
+ VercelGatewayBaseOptions,
1352
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1353
+ >
1354
+ 'moonshotai/kimi-k2': VercelGatewayCommonOptions &
1355
+ Pick<
1356
+ VercelGatewayBaseOptions,
1357
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1358
+ >
1359
+ 'moonshotai/kimi-k2-thinking': VercelGatewayCommonOptions &
1360
+ Pick<
1361
+ VercelGatewayBaseOptions,
1362
+ | 'max_tokens'
1363
+ | 'max_output_tokens'
1364
+ | 'temperature'
1365
+ | 'stop'
1366
+ | 'reasoning'
1367
+ | 'include_reasoning'
1368
+ >
1369
+ 'moonshotai/kimi-k2.5': VercelGatewayCommonOptions &
1370
+ Pick<
1371
+ VercelGatewayBaseOptions,
1372
+ | 'max_tokens'
1373
+ | 'max_output_tokens'
1374
+ | 'temperature'
1375
+ | 'stop'
1376
+ | 'reasoning'
1377
+ | 'include_reasoning'
1378
+ >
1379
+ 'moonshotai/kimi-k2.6': VercelGatewayCommonOptions &
1380
+ Pick<
1381
+ VercelGatewayBaseOptions,
1382
+ | 'max_tokens'
1383
+ | 'max_output_tokens'
1384
+ | 'temperature'
1385
+ | 'stop'
1386
+ | 'reasoning'
1387
+ | 'include_reasoning'
1388
+ >
1389
+ 'moonshotai/kimi-k2.7-code': VercelGatewayCommonOptions &
1390
+ Pick<
1391
+ VercelGatewayBaseOptions,
1392
+ | 'max_tokens'
1393
+ | 'max_output_tokens'
1394
+ | 'temperature'
1395
+ | 'stop'
1396
+ | 'reasoning'
1397
+ | 'include_reasoning'
1398
+ >
1399
+ 'moonshotai/kimi-k2.7-code-highspeed': VercelGatewayCommonOptions &
1400
+ Pick<
1401
+ VercelGatewayBaseOptions,
1402
+ | 'max_tokens'
1403
+ | 'max_output_tokens'
1404
+ | 'temperature'
1405
+ | 'stop'
1406
+ | 'reasoning'
1407
+ | 'include_reasoning'
1408
+ >
1409
+ 'moonshotai/kimi-k3': VercelGatewayCommonOptions &
1410
+ Pick<
1411
+ VercelGatewayBaseOptions,
1412
+ | 'max_tokens'
1413
+ | 'max_output_tokens'
1414
+ | 'stop'
1415
+ | 'reasoning'
1416
+ | 'include_reasoning'
1417
+ >
1418
+ 'moonshotai/kimi-k3-fast': VercelGatewayCommonOptions &
1419
+ Pick<
1420
+ VercelGatewayBaseOptions,
1421
+ | 'max_tokens'
1422
+ | 'max_output_tokens'
1423
+ | 'stop'
1424
+ | 'reasoning'
1425
+ | 'include_reasoning'
1426
+ >
1427
+ 'morph/morph-v3-fast': VercelGatewayCommonOptions &
1428
+ Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop'>
1429
+ 'morph/morph-v3-large': VercelGatewayCommonOptions &
1430
+ Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop'>
1431
+ 'nvidia/nemotron-3-nano-30b-a3b': VercelGatewayCommonOptions &
1432
+ Pick<
1433
+ VercelGatewayBaseOptions,
1434
+ | 'max_tokens'
1435
+ | 'max_output_tokens'
1436
+ | 'temperature'
1437
+ | 'stop'
1438
+ | 'reasoning'
1439
+ | 'include_reasoning'
1440
+ >
1441
+ 'nvidia/nemotron-3-super-120b-a12b': VercelGatewayCommonOptions &
1442
+ Pick<
1443
+ VercelGatewayBaseOptions,
1444
+ | 'max_tokens'
1445
+ | 'max_output_tokens'
1446
+ | 'temperature'
1447
+ | 'stop'
1448
+ | 'reasoning'
1449
+ | 'include_reasoning'
1450
+ >
1451
+ 'nvidia/nemotron-3-ultra-550b-a55b': VercelGatewayCommonOptions &
1452
+ Pick<
1453
+ VercelGatewayBaseOptions,
1454
+ | 'max_tokens'
1455
+ | 'max_output_tokens'
1456
+ | 'temperature'
1457
+ | 'stop'
1458
+ | 'reasoning'
1459
+ | 'include_reasoning'
1460
+ >
1461
+ 'nvidia/nemotron-nano-12b-v2-vl': VercelGatewayCommonOptions &
1462
+ Pick<
1463
+ VercelGatewayBaseOptions,
1464
+ | 'max_tokens'
1465
+ | 'max_output_tokens'
1466
+ | 'temperature'
1467
+ | 'stop'
1468
+ | 'reasoning'
1469
+ | 'include_reasoning'
1470
+ >
1471
+ 'nvidia/nemotron-nano-9b-v2': VercelGatewayCommonOptions &
1472
+ Pick<
1473
+ VercelGatewayBaseOptions,
1474
+ | 'max_tokens'
1475
+ | 'max_output_tokens'
1476
+ | 'temperature'
1477
+ | 'stop'
1478
+ | 'reasoning'
1479
+ | 'include_reasoning'
1480
+ >
1481
+ 'openai/gpt-3.5-turbo': VercelGatewayCommonOptions &
1482
+ Pick<
1483
+ VercelGatewayBaseOptions,
1484
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1485
+ >
1486
+ 'openai/gpt-4-turbo': VercelGatewayCommonOptions &
1487
+ Pick<
1488
+ VercelGatewayBaseOptions,
1489
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1490
+ >
1491
+ 'openai/gpt-4.1': VercelGatewayCommonOptions &
1492
+ Pick<
1493
+ VercelGatewayBaseOptions,
1494
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1495
+ >
1496
+ 'openai/gpt-4.1-mini': VercelGatewayCommonOptions &
1497
+ Pick<
1498
+ VercelGatewayBaseOptions,
1499
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1500
+ >
1501
+ 'openai/gpt-4.1-nano': VercelGatewayCommonOptions &
1502
+ Pick<
1503
+ VercelGatewayBaseOptions,
1504
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1505
+ >
1506
+ 'openai/gpt-4o': VercelGatewayCommonOptions &
1507
+ Pick<
1508
+ VercelGatewayBaseOptions,
1509
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1510
+ >
1511
+ 'openai/gpt-4o-mini': VercelGatewayCommonOptions &
1512
+ Pick<
1513
+ VercelGatewayBaseOptions,
1514
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1515
+ >
1516
+ 'openai/gpt-4o-mini-search-preview': VercelGatewayCommonOptions &
1517
+ Pick<
1518
+ VercelGatewayBaseOptions,
1519
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1520
+ >
1521
+ 'openai/gpt-4o-mini-transcribe': VercelGatewayCommonOptions
1522
+ 'openai/gpt-4o-transcribe': VercelGatewayCommonOptions
1523
+ 'openai/gpt-5': VercelGatewayCommonOptions &
1524
+ Pick<
1525
+ VercelGatewayBaseOptions,
1526
+ | 'max_tokens'
1527
+ | 'max_output_tokens'
1528
+ | 'stop'
1529
+ | 'reasoning'
1530
+ | 'include_reasoning'
1531
+ >
1532
+ 'openai/gpt-5-codex': VercelGatewayCommonOptions &
1533
+ Pick<
1534
+ VercelGatewayBaseOptions,
1535
+ | 'max_tokens'
1536
+ | 'max_output_tokens'
1537
+ | 'stop'
1538
+ | 'reasoning'
1539
+ | 'include_reasoning'
1540
+ >
1541
+ 'openai/gpt-5-mini': VercelGatewayCommonOptions &
1542
+ Pick<
1543
+ VercelGatewayBaseOptions,
1544
+ | 'max_tokens'
1545
+ | 'max_output_tokens'
1546
+ | 'stop'
1547
+ | 'reasoning'
1548
+ | 'include_reasoning'
1549
+ >
1550
+ 'openai/gpt-5-nano': VercelGatewayCommonOptions &
1551
+ Pick<
1552
+ VercelGatewayBaseOptions,
1553
+ | 'max_tokens'
1554
+ | 'max_output_tokens'
1555
+ | 'stop'
1556
+ | 'reasoning'
1557
+ | 'include_reasoning'
1558
+ >
1559
+ 'openai/gpt-5-pro': VercelGatewayCommonOptions &
1560
+ Pick<
1561
+ VercelGatewayBaseOptions,
1562
+ | 'max_tokens'
1563
+ | 'max_output_tokens'
1564
+ | 'temperature'
1565
+ | 'stop'
1566
+ | 'reasoning'
1567
+ | 'include_reasoning'
1568
+ >
1569
+ 'openai/gpt-5.1-codex': VercelGatewayCommonOptions &
1570
+ Pick<
1571
+ VercelGatewayBaseOptions,
1572
+ | 'max_tokens'
1573
+ | 'max_output_tokens'
1574
+ | 'temperature'
1575
+ | 'stop'
1576
+ | 'reasoning'
1577
+ | 'include_reasoning'
1578
+ >
1579
+ 'openai/gpt-5.1-codex-max': VercelGatewayCommonOptions &
1580
+ Pick<
1581
+ VercelGatewayBaseOptions,
1582
+ | 'max_tokens'
1583
+ | 'max_output_tokens'
1584
+ | 'temperature'
1585
+ | 'stop'
1586
+ | 'reasoning'
1587
+ | 'include_reasoning'
1588
+ >
1589
+ 'openai/gpt-5.1-codex-mini': VercelGatewayCommonOptions &
1590
+ Pick<
1591
+ VercelGatewayBaseOptions,
1592
+ | 'max_tokens'
1593
+ | 'max_output_tokens'
1594
+ | 'temperature'
1595
+ | 'stop'
1596
+ | 'reasoning'
1597
+ | 'include_reasoning'
1598
+ >
1599
+ 'openai/gpt-5.1-thinking': VercelGatewayCommonOptions &
1600
+ Pick<
1601
+ VercelGatewayBaseOptions,
1602
+ | 'max_tokens'
1603
+ | 'max_output_tokens'
1604
+ | 'temperature'
1605
+ | 'stop'
1606
+ | 'reasoning'
1607
+ | 'include_reasoning'
1608
+ >
1609
+ 'openai/gpt-5.2': VercelGatewayCommonOptions &
1610
+ Pick<
1611
+ VercelGatewayBaseOptions,
1612
+ | 'max_tokens'
1613
+ | 'max_output_tokens'
1614
+ | 'temperature'
1615
+ | 'stop'
1616
+ | 'reasoning'
1617
+ | 'include_reasoning'
1618
+ >
1619
+ 'openai/gpt-5.2-codex': VercelGatewayCommonOptions &
1620
+ Pick<
1621
+ VercelGatewayBaseOptions,
1622
+ | 'max_tokens'
1623
+ | 'max_output_tokens'
1624
+ | 'temperature'
1625
+ | 'stop'
1626
+ | 'reasoning'
1627
+ | 'include_reasoning'
1628
+ >
1629
+ 'openai/gpt-5.2-pro': VercelGatewayCommonOptions &
1630
+ Pick<
1631
+ VercelGatewayBaseOptions,
1632
+ | 'max_tokens'
1633
+ | 'max_output_tokens'
1634
+ | 'temperature'
1635
+ | 'stop'
1636
+ | 'reasoning'
1637
+ | 'include_reasoning'
1638
+ >
1639
+ 'openai/gpt-5.3-codex': VercelGatewayCommonOptions &
1640
+ Pick<
1641
+ VercelGatewayBaseOptions,
1642
+ | 'max_tokens'
1643
+ | 'max_output_tokens'
1644
+ | 'temperature'
1645
+ | 'stop'
1646
+ | 'reasoning'
1647
+ | 'include_reasoning'
1648
+ >
1649
+ 'openai/gpt-5.4': VercelGatewayCommonOptions &
1650
+ Pick<
1651
+ VercelGatewayBaseOptions,
1652
+ | 'max_tokens'
1653
+ | 'max_output_tokens'
1654
+ | 'temperature'
1655
+ | 'stop'
1656
+ | 'reasoning'
1657
+ | 'include_reasoning'
1658
+ >
1659
+ 'openai/gpt-5.4-mini': VercelGatewayCommonOptions &
1660
+ Pick<
1661
+ VercelGatewayBaseOptions,
1662
+ | 'max_tokens'
1663
+ | 'max_output_tokens'
1664
+ | 'temperature'
1665
+ | 'stop'
1666
+ | 'reasoning'
1667
+ | 'include_reasoning'
1668
+ >
1669
+ 'openai/gpt-5.4-nano': VercelGatewayCommonOptions &
1670
+ Pick<
1671
+ VercelGatewayBaseOptions,
1672
+ | 'max_tokens'
1673
+ | 'max_output_tokens'
1674
+ | 'temperature'
1675
+ | 'stop'
1676
+ | 'reasoning'
1677
+ | 'include_reasoning'
1678
+ >
1679
+ 'openai/gpt-5.4-pro': VercelGatewayCommonOptions &
1680
+ Pick<
1681
+ VercelGatewayBaseOptions,
1682
+ | 'max_tokens'
1683
+ | 'max_output_tokens'
1684
+ | 'temperature'
1685
+ | 'stop'
1686
+ | 'reasoning'
1687
+ | 'include_reasoning'
1688
+ >
1689
+ 'openai/gpt-5.5': VercelGatewayCommonOptions &
1690
+ Pick<
1691
+ VercelGatewayBaseOptions,
1692
+ | 'max_tokens'
1693
+ | 'max_output_tokens'
1694
+ | 'temperature'
1695
+ | 'stop'
1696
+ | 'reasoning'
1697
+ | 'include_reasoning'
1698
+ >
1699
+ 'openai/gpt-5.5-pro': VercelGatewayCommonOptions &
1700
+ Pick<
1701
+ VercelGatewayBaseOptions,
1702
+ | 'max_tokens'
1703
+ | 'max_output_tokens'
1704
+ | 'temperature'
1705
+ | 'stop'
1706
+ | 'reasoning'
1707
+ | 'include_reasoning'
1708
+ >
1709
+ 'openai/gpt-5.6-luna': VercelGatewayCommonOptions &
1710
+ Pick<
1711
+ VercelGatewayBaseOptions,
1712
+ | 'max_tokens'
1713
+ | 'max_output_tokens'
1714
+ | 'temperature'
1715
+ | 'stop'
1716
+ | 'reasoning'
1717
+ | 'include_reasoning'
1718
+ >
1719
+ 'openai/gpt-5.6-sol': VercelGatewayCommonOptions &
1720
+ Pick<
1721
+ VercelGatewayBaseOptions,
1722
+ | 'max_tokens'
1723
+ | 'max_output_tokens'
1724
+ | 'temperature'
1725
+ | 'stop'
1726
+ | 'reasoning'
1727
+ | 'include_reasoning'
1728
+ >
1729
+ 'openai/gpt-5.6-terra': VercelGatewayCommonOptions &
1730
+ Pick<
1731
+ VercelGatewayBaseOptions,
1732
+ | 'max_tokens'
1733
+ | 'max_output_tokens'
1734
+ | 'temperature'
1735
+ | 'stop'
1736
+ | 'reasoning'
1737
+ | 'include_reasoning'
1738
+ >
1739
+ 'openai/gpt-oss-120b': VercelGatewayCommonOptions &
1740
+ Pick<
1741
+ VercelGatewayBaseOptions,
1742
+ | 'max_tokens'
1743
+ | 'max_output_tokens'
1744
+ | 'temperature'
1745
+ | 'stop'
1746
+ | 'reasoning'
1747
+ | 'include_reasoning'
1748
+ >
1749
+ 'openai/gpt-oss-20b': VercelGatewayCommonOptions &
1750
+ Pick<
1751
+ VercelGatewayBaseOptions,
1752
+ | 'max_tokens'
1753
+ | 'max_output_tokens'
1754
+ | 'temperature'
1755
+ | 'stop'
1756
+ | 'reasoning'
1757
+ | 'include_reasoning'
1758
+ >
1759
+ 'openai/gpt-oss-safeguard-20b': VercelGatewayCommonOptions &
1760
+ Pick<
1761
+ VercelGatewayBaseOptions,
1762
+ | 'max_tokens'
1763
+ | 'max_output_tokens'
1764
+ | 'temperature'
1765
+ | 'stop'
1766
+ | 'reasoning'
1767
+ | 'include_reasoning'
1768
+ >
1769
+ 'openai/gpt-realtime-1.5': VercelGatewayCommonOptions &
1770
+ Pick<
1771
+ VercelGatewayBaseOptions,
1772
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1773
+ >
1774
+ 'openai/gpt-realtime-2': VercelGatewayCommonOptions &
1775
+ Pick<
1776
+ VercelGatewayBaseOptions,
1777
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1778
+ >
1779
+ 'openai/gpt-realtime-2.1': VercelGatewayCommonOptions &
1780
+ Pick<
1781
+ VercelGatewayBaseOptions,
1782
+ | 'max_tokens'
1783
+ | 'max_output_tokens'
1784
+ | 'temperature'
1785
+ | 'stop'
1786
+ | 'reasoning'
1787
+ | 'include_reasoning'
1788
+ >
1789
+ 'openai/gpt-realtime-mini': VercelGatewayCommonOptions &
1790
+ Pick<
1791
+ VercelGatewayBaseOptions,
1792
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1793
+ >
1794
+ 'openai/gpt-realtime-whisper': VercelGatewayCommonOptions
1795
+ 'openai/o1': VercelGatewayCommonOptions &
1796
+ Pick<
1797
+ VercelGatewayBaseOptions,
1798
+ | 'max_tokens'
1799
+ | 'max_output_tokens'
1800
+ | 'stop'
1801
+ | 'reasoning'
1802
+ | 'include_reasoning'
1803
+ >
1804
+ 'openai/o3': VercelGatewayCommonOptions &
1805
+ Pick<
1806
+ VercelGatewayBaseOptions,
1807
+ | 'max_tokens'
1808
+ | 'max_output_tokens'
1809
+ | 'stop'
1810
+ | 'reasoning'
1811
+ | 'include_reasoning'
1812
+ >
1813
+ 'openai/o3-deep-research': VercelGatewayCommonOptions &
1814
+ Pick<
1815
+ VercelGatewayBaseOptions,
1816
+ | 'max_tokens'
1817
+ | 'max_output_tokens'
1818
+ | 'temperature'
1819
+ | 'stop'
1820
+ | 'reasoning'
1821
+ | 'include_reasoning'
1822
+ >
1823
+ 'openai/o3-mini': VercelGatewayCommonOptions &
1824
+ Pick<
1825
+ VercelGatewayBaseOptions,
1826
+ | 'max_tokens'
1827
+ | 'max_output_tokens'
1828
+ | 'stop'
1829
+ | 'reasoning'
1830
+ | 'include_reasoning'
1831
+ >
1832
+ 'openai/o3-pro': VercelGatewayCommonOptions &
1833
+ Pick<
1834
+ VercelGatewayBaseOptions,
1835
+ | 'max_tokens'
1836
+ | 'max_output_tokens'
1837
+ | 'temperature'
1838
+ | 'stop'
1839
+ | 'reasoning'
1840
+ | 'include_reasoning'
1841
+ >
1842
+ 'openai/o4-mini': VercelGatewayCommonOptions &
1843
+ Pick<
1844
+ VercelGatewayBaseOptions,
1845
+ | 'max_tokens'
1846
+ | 'max_output_tokens'
1847
+ | 'stop'
1848
+ | 'reasoning'
1849
+ | 'include_reasoning'
1850
+ >
1851
+ 'openai/tts-1': VercelGatewayCommonOptions
1852
+ 'openai/tts-1-hd': VercelGatewayCommonOptions
1853
+ 'openai/whisper-1': VercelGatewayCommonOptions
1854
+ 'perplexity/sonar': VercelGatewayCommonOptions &
1855
+ Pick<
1856
+ VercelGatewayBaseOptions,
1857
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1858
+ >
1859
+ 'perplexity/sonar-pro': VercelGatewayCommonOptions &
1860
+ Pick<
1861
+ VercelGatewayBaseOptions,
1862
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1863
+ >
1864
+ 'perplexity/sonar-reasoning-pro': VercelGatewayCommonOptions &
1865
+ Pick<
1866
+ VercelGatewayBaseOptions,
1867
+ | 'max_tokens'
1868
+ | 'max_output_tokens'
1869
+ | 'temperature'
1870
+ | 'stop'
1871
+ | 'reasoning'
1872
+ | 'include_reasoning'
1873
+ >
1874
+ 'poolside/laguna-s-2.1': VercelGatewayCommonOptions &
1875
+ Pick<
1876
+ VercelGatewayBaseOptions,
1877
+ | 'max_tokens'
1878
+ | 'max_output_tokens'
1879
+ | 'temperature'
1880
+ | 'stop'
1881
+ | 'reasoning'
1882
+ | 'include_reasoning'
1883
+ >
1884
+ 'poolside/laguna-s-2.1-free': VercelGatewayCommonOptions &
1885
+ Pick<
1886
+ VercelGatewayBaseOptions,
1887
+ | 'max_tokens'
1888
+ | 'max_output_tokens'
1889
+ | 'temperature'
1890
+ | 'stop'
1891
+ | 'reasoning'
1892
+ | 'include_reasoning'
1893
+ >
1894
+ 'sakana/fugu-ultra': VercelGatewayCommonOptions &
1895
+ Pick<
1896
+ VercelGatewayBaseOptions,
1897
+ | 'max_tokens'
1898
+ | 'max_output_tokens'
1899
+ | 'temperature'
1900
+ | 'stop'
1901
+ | 'reasoning'
1902
+ | 'include_reasoning'
1903
+ >
1904
+ 'sakana/namazu': VercelGatewayCommonOptions &
1905
+ Pick<
1906
+ VercelGatewayBaseOptions,
1907
+ | 'max_tokens'
1908
+ | 'max_output_tokens'
1909
+ | 'temperature'
1910
+ | 'stop'
1911
+ | 'reasoning'
1912
+ | 'include_reasoning'
1913
+ | 'response_format'
1914
+ | 'structured_outputs'
1915
+ >
1916
+ 'stepfun/step-3.5-flash': VercelGatewayCommonOptions &
1917
+ Pick<
1918
+ VercelGatewayBaseOptions,
1919
+ | 'max_tokens'
1920
+ | 'max_output_tokens'
1921
+ | 'temperature'
1922
+ | 'stop'
1923
+ | 'reasoning'
1924
+ | 'include_reasoning'
1925
+ >
1926
+ 'stepfun/step-3.7-flash': VercelGatewayCommonOptions &
1927
+ Pick<
1928
+ VercelGatewayBaseOptions,
1929
+ | 'max_tokens'
1930
+ | 'max_output_tokens'
1931
+ | 'temperature'
1932
+ | 'stop'
1933
+ | 'reasoning'
1934
+ | 'include_reasoning'
1935
+ >
1936
+ 'tencent/hy3': VercelGatewayCommonOptions &
1937
+ Pick<
1938
+ VercelGatewayBaseOptions,
1939
+ | 'max_tokens'
1940
+ | 'max_output_tokens'
1941
+ | 'temperature'
1942
+ | 'stop'
1943
+ | 'reasoning'
1944
+ | 'include_reasoning'
1945
+ >
1946
+ 'thinkingmachines/inkling': VercelGatewayCommonOptions &
1947
+ Pick<
1948
+ VercelGatewayBaseOptions,
1949
+ | 'max_tokens'
1950
+ | 'max_output_tokens'
1951
+ | 'temperature'
1952
+ | 'stop'
1953
+ | 'reasoning'
1954
+ | 'include_reasoning'
1955
+ >
1956
+ 'thinkingmachines/inkling-small': VercelGatewayCommonOptions &
1957
+ Pick<
1958
+ VercelGatewayBaseOptions,
1959
+ | 'max_tokens'
1960
+ | 'max_output_tokens'
1961
+ | 'temperature'
1962
+ | 'stop'
1963
+ | 'reasoning'
1964
+ | 'include_reasoning'
1965
+ >
1966
+ 'xai/grok-4.1-fast-non-reasoning': VercelGatewayCommonOptions &
1967
+ Pick<
1968
+ VercelGatewayBaseOptions,
1969
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
1970
+ >
1971
+ 'xai/grok-4.1-fast-reasoning': VercelGatewayCommonOptions &
1972
+ Pick<
1973
+ VercelGatewayBaseOptions,
1974
+ | 'max_tokens'
1975
+ | 'max_output_tokens'
1976
+ | 'temperature'
1977
+ | 'stop'
1978
+ | 'reasoning'
1979
+ | 'include_reasoning'
1980
+ >
1981
+ 'xai/grok-4.20-multi-agent': VercelGatewayCommonOptions &
1982
+ Pick<
1983
+ VercelGatewayBaseOptions,
1984
+ | 'max_tokens'
1985
+ | 'max_output_tokens'
1986
+ | 'temperature'
1987
+ | 'stop'
1988
+ | 'reasoning'
1989
+ | 'include_reasoning'
1990
+ >
1991
+ 'xai/grok-4.20-multi-agent-beta': VercelGatewayCommonOptions &
1992
+ Pick<
1993
+ VercelGatewayBaseOptions,
1994
+ | 'max_tokens'
1995
+ | 'max_output_tokens'
1996
+ | 'temperature'
1997
+ | 'stop'
1998
+ | 'reasoning'
1999
+ | 'include_reasoning'
2000
+ >
2001
+ 'xai/grok-4.20-non-reasoning': VercelGatewayCommonOptions &
2002
+ Pick<
2003
+ VercelGatewayBaseOptions,
2004
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
2005
+ >
2006
+ 'xai/grok-4.20-non-reasoning-beta': VercelGatewayCommonOptions &
2007
+ Pick<
2008
+ VercelGatewayBaseOptions,
2009
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
2010
+ >
2011
+ 'xai/grok-4.20-reasoning': VercelGatewayCommonOptions &
2012
+ Pick<
2013
+ VercelGatewayBaseOptions,
2014
+ | 'max_tokens'
2015
+ | 'max_output_tokens'
2016
+ | 'temperature'
2017
+ | 'stop'
2018
+ | 'reasoning'
2019
+ | 'include_reasoning'
2020
+ >
2021
+ 'xai/grok-4.20-reasoning-beta': VercelGatewayCommonOptions &
2022
+ Pick<
2023
+ VercelGatewayBaseOptions,
2024
+ | 'max_tokens'
2025
+ | 'max_output_tokens'
2026
+ | 'temperature'
2027
+ | 'stop'
2028
+ | 'reasoning'
2029
+ | 'include_reasoning'
2030
+ >
2031
+ 'xai/grok-4.3': VercelGatewayCommonOptions &
2032
+ Pick<
2033
+ VercelGatewayBaseOptions,
2034
+ | 'max_tokens'
2035
+ | 'max_output_tokens'
2036
+ | 'temperature'
2037
+ | 'stop'
2038
+ | 'reasoning'
2039
+ | 'include_reasoning'
2040
+ >
2041
+ 'xai/grok-4.5': VercelGatewayCommonOptions &
2042
+ Pick<
2043
+ VercelGatewayBaseOptions,
2044
+ | 'max_tokens'
2045
+ | 'max_output_tokens'
2046
+ | 'temperature'
2047
+ | 'stop'
2048
+ | 'reasoning'
2049
+ | 'include_reasoning'
2050
+ >
2051
+ 'xai/grok-build-0.1': VercelGatewayCommonOptions &
2052
+ Pick<
2053
+ VercelGatewayBaseOptions,
2054
+ | 'max_tokens'
2055
+ | 'max_output_tokens'
2056
+ | 'temperature'
2057
+ | 'stop'
2058
+ | 'reasoning'
2059
+ | 'include_reasoning'
2060
+ >
2061
+ 'xai/grok-stt': VercelGatewayCommonOptions
2062
+ 'xai/grok-tts': VercelGatewayCommonOptions
2063
+ 'xai/grok-voice-think-fast-1.0': VercelGatewayCommonOptions &
2064
+ Pick<
2065
+ VercelGatewayBaseOptions,
2066
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
2067
+ >
2068
+ 'xai/grok-voice-think-fast-2.0': VercelGatewayCommonOptions &
2069
+ Pick<
2070
+ VercelGatewayBaseOptions,
2071
+ 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'
2072
+ >
2073
+ 'xiaomi/mimo-v2.5': VercelGatewayCommonOptions &
2074
+ Pick<
2075
+ VercelGatewayBaseOptions,
2076
+ | 'max_tokens'
2077
+ | 'max_output_tokens'
2078
+ | 'temperature'
2079
+ | 'stop'
2080
+ | 'reasoning'
2081
+ | 'include_reasoning'
2082
+ >
2083
+ 'xiaomi/mimo-v2.5-pro': VercelGatewayCommonOptions &
2084
+ Pick<
2085
+ VercelGatewayBaseOptions,
2086
+ | 'max_tokens'
2087
+ | 'max_output_tokens'
2088
+ | 'temperature'
2089
+ | 'stop'
2090
+ | 'reasoning'
2091
+ | 'include_reasoning'
2092
+ >
2093
+ 'zai/glm-4.5': VercelGatewayCommonOptions &
2094
+ Pick<
2095
+ VercelGatewayBaseOptions,
2096
+ | 'max_tokens'
2097
+ | 'max_output_tokens'
2098
+ | 'temperature'
2099
+ | 'stop'
2100
+ | 'reasoning'
2101
+ | 'include_reasoning'
2102
+ >
2103
+ 'zai/glm-4.5-air': VercelGatewayCommonOptions &
2104
+ Pick<
2105
+ VercelGatewayBaseOptions,
2106
+ | 'max_tokens'
2107
+ | 'max_output_tokens'
2108
+ | 'temperature'
2109
+ | 'stop'
2110
+ | 'reasoning'
2111
+ | 'include_reasoning'
2112
+ >
2113
+ 'zai/glm-4.5v': VercelGatewayCommonOptions &
2114
+ Pick<
2115
+ VercelGatewayBaseOptions,
2116
+ | 'max_tokens'
2117
+ | 'max_output_tokens'
2118
+ | 'temperature'
2119
+ | 'stop'
2120
+ | 'reasoning'
2121
+ | 'include_reasoning'
2122
+ >
2123
+ 'zai/glm-4.6': VercelGatewayCommonOptions &
2124
+ Pick<
2125
+ VercelGatewayBaseOptions,
2126
+ | 'max_tokens'
2127
+ | 'max_output_tokens'
2128
+ | 'temperature'
2129
+ | 'stop'
2130
+ | 'reasoning'
2131
+ | 'include_reasoning'
2132
+ >
2133
+ 'zai/glm-4.6v': VercelGatewayCommonOptions &
2134
+ Pick<
2135
+ VercelGatewayBaseOptions,
2136
+ | 'max_tokens'
2137
+ | 'max_output_tokens'
2138
+ | 'temperature'
2139
+ | 'stop'
2140
+ | 'reasoning'
2141
+ | 'include_reasoning'
2142
+ >
2143
+ 'zai/glm-4.6v-flash': VercelGatewayCommonOptions &
2144
+ Pick<
2145
+ VercelGatewayBaseOptions,
2146
+ | 'max_tokens'
2147
+ | 'max_output_tokens'
2148
+ | 'temperature'
2149
+ | 'stop'
2150
+ | 'reasoning'
2151
+ | 'include_reasoning'
2152
+ >
2153
+ 'zai/glm-4.7': VercelGatewayCommonOptions &
2154
+ Pick<
2155
+ VercelGatewayBaseOptions,
2156
+ | 'max_tokens'
2157
+ | 'max_output_tokens'
2158
+ | 'temperature'
2159
+ | 'stop'
2160
+ | 'reasoning'
2161
+ | 'include_reasoning'
2162
+ >
2163
+ 'zai/glm-4.7-flash': VercelGatewayCommonOptions &
2164
+ Pick<
2165
+ VercelGatewayBaseOptions,
2166
+ | 'max_tokens'
2167
+ | 'max_output_tokens'
2168
+ | 'temperature'
2169
+ | 'stop'
2170
+ | 'reasoning'
2171
+ | 'include_reasoning'
2172
+ >
2173
+ 'zai/glm-4.7-flashx': VercelGatewayCommonOptions &
2174
+ Pick<
2175
+ VercelGatewayBaseOptions,
2176
+ | 'max_tokens'
2177
+ | 'max_output_tokens'
2178
+ | 'temperature'
2179
+ | 'stop'
2180
+ | 'reasoning'
2181
+ | 'include_reasoning'
2182
+ >
2183
+ 'zai/glm-5': VercelGatewayCommonOptions &
2184
+ Pick<
2185
+ VercelGatewayBaseOptions,
2186
+ | 'max_tokens'
2187
+ | 'max_output_tokens'
2188
+ | 'temperature'
2189
+ | 'stop'
2190
+ | 'reasoning'
2191
+ | 'include_reasoning'
2192
+ >
2193
+ 'zai/glm-5-turbo': VercelGatewayCommonOptions &
2194
+ Pick<
2195
+ VercelGatewayBaseOptions,
2196
+ | 'max_tokens'
2197
+ | 'max_output_tokens'
2198
+ | 'temperature'
2199
+ | 'stop'
2200
+ | 'reasoning'
2201
+ | 'include_reasoning'
2202
+ >
2203
+ 'zai/glm-5.1': VercelGatewayCommonOptions &
2204
+ Pick<
2205
+ VercelGatewayBaseOptions,
2206
+ | 'max_tokens'
2207
+ | 'max_output_tokens'
2208
+ | 'temperature'
2209
+ | 'stop'
2210
+ | 'reasoning'
2211
+ | 'include_reasoning'
2212
+ >
2213
+ 'zai/glm-5.2': VercelGatewayCommonOptions &
2214
+ Pick<
2215
+ VercelGatewayBaseOptions,
2216
+ | 'max_tokens'
2217
+ | 'max_output_tokens'
2218
+ | 'temperature'
2219
+ | 'stop'
2220
+ | 'reasoning'
2221
+ | 'include_reasoning'
2222
+ >
2223
+ 'zai/glm-5.2-fast': VercelGatewayCommonOptions &
2224
+ Pick<
2225
+ VercelGatewayBaseOptions,
2226
+ | 'max_tokens'
2227
+ | 'max_output_tokens'
2228
+ | 'temperature'
2229
+ | 'stop'
2230
+ | 'reasoning'
2231
+ | 'include_reasoning'
2232
+ >
2233
+ 'zai/glm-5v-turbo': VercelGatewayCommonOptions &
2234
+ Pick<
2235
+ VercelGatewayBaseOptions,
2236
+ | 'max_tokens'
2237
+ | 'max_output_tokens'
2238
+ | 'temperature'
2239
+ | 'stop'
2240
+ | 'reasoning'
2241
+ | 'include_reasoning'
2242
+ >
2243
+ }
2244
+
2245
+ export type VercelGatewayModelInputModalitiesByName = {
2246
+ 'alibaba/qwen-3-14b': readonly ['text']
2247
+ 'alibaba/qwen-3-235b': readonly ['text']
2248
+ 'alibaba/qwen-3-30b': readonly ['text']
2249
+ 'alibaba/qwen-3-32b': readonly ['text']
2250
+ 'alibaba/qwen-3.6-max-preview': readonly ['text']
2251
+ 'alibaba/qwen3-235b-a22b-thinking': readonly ['text', 'image', 'document']
2252
+ 'alibaba/qwen3-coder': readonly ['text']
2253
+ 'alibaba/qwen3-coder-30b-a3b': readonly ['text']
2254
+ 'alibaba/qwen3-coder-next': readonly ['text']
2255
+ 'alibaba/qwen3-coder-plus': readonly ['text']
2256
+ 'alibaba/qwen3-max': readonly ['text']
2257
+ 'alibaba/qwen3-max-preview': readonly ['text']
2258
+ 'alibaba/qwen3-max-thinking': readonly ['text']
2259
+ 'alibaba/qwen3-next-80b-a3b-instruct': readonly ['text']
2260
+ 'alibaba/qwen3-next-80b-a3b-thinking': readonly ['text']
2261
+ 'alibaba/qwen3-vl-235b-a22b-instruct': readonly ['text', 'image']
2262
+ 'alibaba/qwen3-vl-instruct': readonly ['text', 'image']
2263
+ 'alibaba/qwen3-vl-thinking': readonly ['text', 'image', 'document']
2264
+ 'alibaba/qwen3.5-flash': readonly ['text', 'image', 'document']
2265
+ 'alibaba/qwen3.5-plus': readonly ['text', 'image', 'document']
2266
+ 'alibaba/qwen3.6-27b': readonly ['text', 'image', 'document']
2267
+ 'alibaba/qwen3.6-plus': readonly ['text', 'image', 'document']
2268
+ 'alibaba/qwen3.7-flash': readonly ['text', 'image', 'document']
2269
+ 'alibaba/qwen3.7-max': readonly ['text']
2270
+ 'alibaba/qwen3.7-plus': readonly ['text', 'image', 'document']
2271
+ 'alibaba/qwen3.8-max': readonly ['text', 'image']
2272
+ 'amazon/nova-2-lite': readonly ['text', 'image', 'document']
2273
+ 'amazon/nova-lite': readonly ['text', 'image', 'document']
2274
+ 'amazon/nova-micro': readonly ['text']
2275
+ 'amazon/nova-pro': readonly ['text', 'image', 'document']
2276
+ 'anthropic/claude-3-haiku': readonly ['text', 'image']
2277
+ 'anthropic/claude-fable-5': readonly ['text', 'image', 'document']
2278
+ 'anthropic/claude-haiku-4.5': readonly ['text', 'image', 'document']
2279
+ 'anthropic/claude-opus-4': readonly ['text', 'image', 'document']
2280
+ 'anthropic/claude-opus-4.5': readonly ['text', 'image', 'document']
2281
+ 'anthropic/claude-opus-4.6': readonly ['text', 'image', 'document']
2282
+ 'anthropic/claude-opus-4.7': readonly ['text', 'image', 'document']
2283
+ 'anthropic/claude-opus-4.8': readonly ['text', 'image', 'document']
2284
+ 'anthropic/claude-opus-4.8-fast': readonly ['text', 'image', 'document']
2285
+ 'anthropic/claude-opus-5': readonly ['text', 'image', 'document']
2286
+ 'anthropic/claude-opus-5-fast': readonly ['text', 'image', 'document']
2287
+ 'anthropic/claude-sonnet-4': readonly ['text', 'image', 'document']
2288
+ 'anthropic/claude-sonnet-4.5': readonly ['text', 'image', 'document']
2289
+ 'anthropic/claude-sonnet-4.6': readonly ['text', 'image', 'document']
2290
+ 'anthropic/claude-sonnet-5': readonly ['text', 'image', 'document']
2291
+ 'arcee-ai/trinity-large-thinking': readonly ['text']
2292
+ 'arcee-ai/trinity-mini': readonly ['text']
2293
+ 'bytedance/seed-1.6': readonly ['text', 'image']
2294
+ 'bytedance/seed-1.8': readonly ['text', 'image']
2295
+ 'cohere/command-a': readonly ['text']
2296
+ 'deepseek/deepseek-r1': readonly ['text']
2297
+ 'deepseek/deepseek-v3': readonly ['text']
2298
+ 'deepseek/deepseek-v3.1': readonly ['text']
2299
+ 'deepseek/deepseek-v3.1-terminus': readonly ['text']
2300
+ 'deepseek/deepseek-v3.2': readonly ['text']
2301
+ 'deepseek/deepseek-v3.2-thinking': readonly ['text']
2302
+ 'deepseek/deepseek-v4-flash': readonly ['text']
2303
+ 'deepseek/deepseek-v4-flash-0731': readonly ['text']
2304
+ 'deepseek/deepseek-v4-pro': readonly ['text']
2305
+ 'fish-audio/s1': readonly ['text']
2306
+ 'fish-audio/s2-pro': readonly ['text']
2307
+ 'fish-audio/s2.1-pro': readonly ['text']
2308
+ 'fish-audio/transcribe-1': readonly ['text', 'audio']
2309
+ 'google/gemini-2.5-flash': readonly ['text', 'image', 'document']
2310
+ 'google/gemini-2.5-flash-image': readonly ['text', 'image']
2311
+ 'google/gemini-2.5-flash-lite': readonly ['text', 'image', 'document']
2312
+ 'google/gemini-2.5-pro': readonly ['text', 'image', 'document']
2313
+ 'google/gemini-3-flash': readonly ['text', 'image', 'document']
2314
+ 'google/gemini-3-pro-image': readonly ['text', 'image']
2315
+ 'google/gemini-3.1-flash-image': readonly ['text', 'image']
2316
+ 'google/gemini-3.1-flash-image-preview': readonly ['text', 'image']
2317
+ 'google/gemini-3.1-flash-lite': readonly ['text', 'image', 'document']
2318
+ 'google/gemini-3.1-flash-lite-image': readonly ['text', 'image']
2319
+ 'google/gemini-3.1-pro-preview': readonly ['text', 'image', 'document']
2320
+ 'google/gemini-3.5-flash': readonly ['text', 'image', 'document']
2321
+ 'google/gemini-3.5-flash-lite': readonly ['text', 'image', 'document']
2322
+ 'google/gemini-3.6-flash': readonly ['text', 'image', 'document']
2323
+ 'google/gemini-omni-flash-preview': readonly ['text', 'image', 'document']
2324
+ 'google/gemma-4-26b-a4b-it': readonly ['text', 'image', 'document']
2325
+ 'google/gemma-4-31b-it': readonly ['text', 'image', 'document']
2326
+ 'inception/mercury-2': readonly ['text']
2327
+ 'inception/mercury-coder-small': readonly ['text']
2328
+ 'inclusionai/ling-3.0-flash': readonly ['text']
2329
+ 'inclusionai/ling-3.0-tiny-free': readonly ['text']
2330
+ 'interfaze/interfaze-beta': readonly ['text', 'image', 'document']
2331
+ 'kwaipilot/kat-coder-air-v2.5': readonly ['text', 'image']
2332
+ 'kwaipilot/kat-coder-pro-v1': readonly ['text']
2333
+ 'kwaipilot/kat-coder-pro-v2': readonly ['text']
2334
+ 'kwaipilot/kat-coder-pro-v2.5': readonly ['text', 'image']
2335
+ 'meta/llama-3.1-70b': readonly ['text']
2336
+ 'meta/llama-3.1-8b': readonly ['text']
2337
+ 'meta/llama-3.3-70b': readonly ['text']
2338
+ 'meta/llama-4-maverick': readonly ['text', 'image']
2339
+ 'meta/llama-4-scout': readonly ['text', 'image']
2340
+ 'meta/muse-glimmer-30b': readonly ['text', 'image']
2341
+ 'meta/muse-spark-1.1': readonly ['text', 'image', 'document']
2342
+ 'meta/muse-spark-1.2': readonly ['text', 'image', 'document']
2343
+ 'meta/muse-spark-1.2-contributor': readonly ['text', 'image', 'document']
2344
+ 'minimax/minimax-m2': readonly ['text']
2345
+ 'minimax/minimax-m2.1': readonly ['text']
2346
+ 'minimax/minimax-m2.1-lightning': readonly ['text']
2347
+ 'minimax/minimax-m2.5': readonly ['text']
2348
+ 'minimax/minimax-m2.5-highspeed': readonly ['text']
2349
+ 'minimax/minimax-m2.7': readonly ['text']
2350
+ 'minimax/minimax-m2.7-highspeed': readonly ['text']
2351
+ 'minimax/minimax-m3': readonly ['text', 'image', 'document']
2352
+ 'mistral/codestral': readonly ['text']
2353
+ 'mistral/devstral-2': readonly ['text']
2354
+ 'mistral/devstral-small-2': readonly ['text', 'image']
2355
+ 'mistral/magistral-medium': readonly ['text', 'image']
2356
+ 'mistral/magistral-small': readonly ['text', 'image']
2357
+ 'mistral/ministral-14b': readonly ['text', 'image', 'document']
2358
+ 'mistral/ministral-3b': readonly ['text', 'image']
2359
+ 'mistral/ministral-8b': readonly ['text', 'image']
2360
+ 'mistral/mistral-large-3': readonly ['text', 'image']
2361
+ 'mistral/mistral-medium': readonly ['text', 'image']
2362
+ 'mistral/mistral-medium-3.5': readonly ['text', 'image']
2363
+ 'mistral/mistral-nemo': readonly ['text', 'image']
2364
+ 'mistral/mistral-small': readonly ['text', 'image']
2365
+ 'mistral/pixtral-12b': readonly ['text', 'image']
2366
+ 'moonshotai/kimi-k2': readonly ['text']
2367
+ 'moonshotai/kimi-k2-thinking': readonly ['text']
2368
+ 'moonshotai/kimi-k2.5': readonly ['text', 'image']
2369
+ 'moonshotai/kimi-k2.6': readonly ['text', 'image']
2370
+ 'moonshotai/kimi-k2.7-code': readonly ['text', 'image', 'document']
2371
+ 'moonshotai/kimi-k2.7-code-highspeed': readonly ['text', 'image', 'document']
2372
+ 'moonshotai/kimi-k3': readonly ['text', 'image', 'document']
2373
+ 'moonshotai/kimi-k3-fast': readonly ['text', 'image', 'document']
2374
+ 'morph/morph-v3-fast': readonly ['text']
2375
+ 'morph/morph-v3-large': readonly ['text']
2376
+ 'nvidia/nemotron-3-nano-30b-a3b': readonly ['text']
2377
+ 'nvidia/nemotron-3-super-120b-a12b': readonly ['text']
2378
+ 'nvidia/nemotron-3-ultra-550b-a55b': readonly ['text']
2379
+ 'nvidia/nemotron-nano-12b-v2-vl': readonly ['text', 'image']
2380
+ 'nvidia/nemotron-nano-9b-v2': readonly ['text']
2381
+ 'openai/gpt-3.5-turbo': readonly ['text']
2382
+ 'openai/gpt-4-turbo': readonly ['text', 'image']
2383
+ 'openai/gpt-4.1': readonly ['text', 'image', 'document']
2384
+ 'openai/gpt-4.1-mini': readonly ['text', 'image', 'document']
2385
+ 'openai/gpt-4.1-nano': readonly ['text', 'image', 'document']
2386
+ 'openai/gpt-4o': readonly ['text', 'image', 'document']
2387
+ 'openai/gpt-4o-mini': readonly ['text', 'image', 'document']
2388
+ 'openai/gpt-4o-mini-search-preview': readonly ['text']
2389
+ 'openai/gpt-4o-mini-transcribe': readonly ['text', 'audio']
2390
+ 'openai/gpt-4o-transcribe': readonly ['text', 'audio']
2391
+ 'openai/gpt-5': readonly ['text', 'image', 'document']
2392
+ 'openai/gpt-5-codex': readonly ['text', 'image', 'document']
2393
+ 'openai/gpt-5-mini': readonly ['text', 'image', 'document']
2394
+ 'openai/gpt-5-nano': readonly ['text', 'image', 'document']
2395
+ 'openai/gpt-5-pro': readonly ['text', 'image', 'document']
2396
+ 'openai/gpt-5.1-codex': readonly ['text', 'image', 'document']
2397
+ 'openai/gpt-5.1-codex-max': readonly ['text', 'image', 'document']
2398
+ 'openai/gpt-5.1-codex-mini': readonly ['text', 'image', 'document']
2399
+ 'openai/gpt-5.1-thinking': readonly ['text', 'image', 'document']
2400
+ 'openai/gpt-5.2': readonly ['text', 'image', 'document']
2401
+ 'openai/gpt-5.2-codex': readonly ['text', 'image', 'document']
2402
+ 'openai/gpt-5.2-pro': readonly ['text', 'image', 'document']
2403
+ 'openai/gpt-5.3-codex': readonly ['text', 'image', 'document']
2404
+ 'openai/gpt-5.4': readonly ['text', 'image', 'document']
2405
+ 'openai/gpt-5.4-mini': readonly ['text', 'image', 'document']
2406
+ 'openai/gpt-5.4-nano': readonly ['text', 'image', 'document']
2407
+ 'openai/gpt-5.4-pro': readonly ['text', 'image', 'document']
2408
+ 'openai/gpt-5.5': readonly ['text', 'image', 'document']
2409
+ 'openai/gpt-5.5-pro': readonly ['text', 'image', 'document']
2410
+ 'openai/gpt-5.6-luna': readonly ['text', 'image', 'document']
2411
+ 'openai/gpt-5.6-sol': readonly ['text', 'image', 'document']
2412
+ 'openai/gpt-5.6-terra': readonly ['text', 'image', 'document']
2413
+ 'openai/gpt-oss-120b': readonly ['text']
2414
+ 'openai/gpt-oss-20b': readonly ['text']
2415
+ 'openai/gpt-oss-safeguard-20b': readonly ['text']
2416
+ 'openai/gpt-realtime-1.5': readonly ['text', 'audio']
2417
+ 'openai/gpt-realtime-2': readonly ['text', 'audio']
2418
+ 'openai/gpt-realtime-2.1': readonly ['text', 'audio']
2419
+ 'openai/gpt-realtime-mini': readonly ['text', 'audio']
2420
+ 'openai/gpt-realtime-whisper': readonly ['text', 'audio']
2421
+ 'openai/o1': readonly ['text', 'image', 'document']
2422
+ 'openai/o3': readonly ['text', 'image', 'document']
2423
+ 'openai/o3-deep-research': readonly ['text', 'image', 'document']
2424
+ 'openai/o3-mini': readonly ['text']
2425
+ 'openai/o3-pro': readonly ['text', 'image', 'document']
2426
+ 'openai/o4-mini': readonly ['text', 'image', 'document']
2427
+ 'openai/tts-1': readonly ['text']
2428
+ 'openai/tts-1-hd': readonly ['text']
2429
+ 'openai/whisper-1': readonly ['text', 'audio']
2430
+ 'perplexity/sonar': readonly ['text', 'image']
2431
+ 'perplexity/sonar-pro': readonly ['text', 'image']
2432
+ 'perplexity/sonar-reasoning-pro': readonly ['text', 'image']
2433
+ 'poolside/laguna-s-2.1': readonly ['text']
2434
+ 'poolside/laguna-s-2.1-free': readonly ['text']
2435
+ 'sakana/fugu-ultra': readonly ['text', 'image']
2436
+ 'sakana/namazu': readonly ['text', 'image', 'document']
2437
+ 'stepfun/step-3.5-flash': readonly ['text', 'image']
2438
+ 'stepfun/step-3.7-flash': readonly ['text', 'image']
2439
+ 'tencent/hy3': readonly ['text']
2440
+ 'thinkingmachines/inkling': readonly ['text', 'image', 'document']
2441
+ 'thinkingmachines/inkling-small': readonly ['text', 'image', 'document']
2442
+ 'xai/grok-4.1-fast-non-reasoning': readonly ['text', 'image', 'document']
2443
+ 'xai/grok-4.1-fast-reasoning': readonly ['text', 'image', 'document']
2444
+ 'xai/grok-4.20-multi-agent': readonly ['text', 'image', 'document']
2445
+ 'xai/grok-4.20-multi-agent-beta': readonly ['text', 'image', 'document']
2446
+ 'xai/grok-4.20-non-reasoning': readonly ['text', 'image', 'document']
2447
+ 'xai/grok-4.20-non-reasoning-beta': readonly ['text', 'image', 'document']
2448
+ 'xai/grok-4.20-reasoning': readonly ['text', 'image', 'document']
2449
+ 'xai/grok-4.20-reasoning-beta': readonly ['text', 'image', 'document']
2450
+ 'xai/grok-4.3': readonly ['text', 'image', 'document']
2451
+ 'xai/grok-4.5': readonly ['text', 'image', 'document']
2452
+ 'xai/grok-build-0.1': readonly ['text', 'image']
2453
+ 'xai/grok-stt': readonly ['text', 'audio']
2454
+ 'xai/grok-tts': readonly ['text']
2455
+ 'xai/grok-voice-think-fast-1.0': readonly ['text', 'audio']
2456
+ 'xai/grok-voice-think-fast-2.0': readonly ['text', 'audio']
2457
+ 'xiaomi/mimo-v2.5': readonly ['text', 'image', 'document']
2458
+ 'xiaomi/mimo-v2.5-pro': readonly ['text']
2459
+ 'zai/glm-4.5': readonly ['text']
2460
+ 'zai/glm-4.5-air': readonly ['text']
2461
+ 'zai/glm-4.5v': readonly ['text', 'image']
2462
+ 'zai/glm-4.6': readonly ['text']
2463
+ 'zai/glm-4.6v': readonly ['text', 'image', 'document']
2464
+ 'zai/glm-4.6v-flash': readonly ['text', 'image', 'document']
2465
+ 'zai/glm-4.7': readonly ['text']
2466
+ 'zai/glm-4.7-flash': readonly ['text']
2467
+ 'zai/glm-4.7-flashx': readonly ['text']
2468
+ 'zai/glm-5': readonly ['text']
2469
+ 'zai/glm-5-turbo': readonly ['text']
2470
+ 'zai/glm-5.1': readonly ['text']
2471
+ 'zai/glm-5.2': readonly ['text']
2472
+ 'zai/glm-5.2-fast': readonly ['text']
2473
+ 'zai/glm-5v-turbo': readonly ['text', 'image', 'document']
2474
+ }
2475
+
2476
+ export type VercelGatewayChatModelToolCapabilitiesByName = {
2477
+ [K in VercelGatewayChatModel]: readonly []
2478
+ }
2479
+
2480
+ export type VercelGatewayEmbeddingModelProviderOptionsByName = {
2481
+ [K in VercelGatewayEmbeddingModel]: VercelGatewayEmbeddingProviderOptions
2482
+ }
2483
+
2484
+ export type VercelGatewayEmbeddingModelInputModalitiesByName = {
2485
+ [K in VercelGatewayEmbeddingModel]: readonly ['text']
2486
+ }
2487
+
2488
+ export type VercelGatewayImageModelProviderOptionsByName = {
2489
+ [K in VercelGatewayImageModel]: VercelGatewayImageProviderOptions
2490
+ }
2491
+
2492
+ export type VercelGatewayImageModelSizeByName = {
2493
+ [K in VercelGatewayImageModel]: VercelGatewayImageSize
2494
+ }
2495
+
2496
+ export type VercelGatewayImageModelInputModalitiesByName = {
2497
+ [K in VercelGatewayImageModel]: readonly []
2498
+ }
2499
+
2500
+ export type ResolveProviderOptions<TModel extends string> =
2501
+ TModel extends keyof VercelGatewayChatModelProviderOptionsByName
2502
+ ? VercelGatewayChatModelProviderOptionsByName[TModel]
2503
+ : TModel extends VercelGatewayEmbeddingModel
2504
+ ? VercelGatewayEmbeddingProviderOptions
2505
+ : TModel extends VercelGatewayImageModel
2506
+ ? VercelGatewayImageProviderOptions
2507
+ : VercelGatewayTextProviderOptions
2508
+
2509
+ export type ResolveInputModalities<TModel extends string> =
2510
+ TModel extends keyof VercelGatewayModelInputModalitiesByName
2511
+ ? VercelGatewayModelInputModalitiesByName[TModel]
2512
+ : readonly ['text']