@llmgateway/models 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 (112) hide show
  1. package/dist/get-cheapest-from-available-providers.d.ts +30 -0
  2. package/dist/get-cheapest-from-available-providers.js +183 -0
  3. package/dist/get-cheapest-from-available-providers.js.map +1 -0
  4. package/dist/get-cheapest-model-for-provider.d.ts +2 -0
  5. package/dist/get-cheapest-model-for-provider.js +49 -0
  6. package/dist/get-cheapest-model-for-provider.js.map +1 -0
  7. package/dist/get-provider-endpoint.d.ts +3 -0
  8. package/dist/get-provider-endpoint.js +243 -0
  9. package/dist/get-provider-endpoint.js.map +1 -0
  10. package/dist/get-provider-headers.d.ts +5 -0
  11. package/dist/get-provider-headers.js +45 -0
  12. package/dist/get-provider-headers.js.map +1 -0
  13. package/dist/helpers.d.ts +1 -0
  14. package/dist/helpers.js +27 -0
  15. package/dist/helpers.js.map +1 -0
  16. package/dist/index.d.ts +16 -0
  17. package/dist/index.js +17 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/models/alibaba.d.ts +686 -0
  20. package/dist/models/alibaba.js +789 -0
  21. package/dist/models/alibaba.js.map +1 -0
  22. package/dist/models/anthropic.d.ts +572 -0
  23. package/dist/models/anthropic.js +638 -0
  24. package/dist/models/anthropic.js.map +1 -0
  25. package/dist/models/aws-bedrock.d.ts +1 -0
  26. package/dist/models/aws-bedrock.js +2 -0
  27. package/dist/models/aws-bedrock.js.map +1 -0
  28. package/dist/models/bytedance.d.ts +131 -0
  29. package/dist/models/bytedance.js +151 -0
  30. package/dist/models/bytedance.js.map +1 -0
  31. package/dist/models/deepseek.d.ts +175 -0
  32. package/dist/models/deepseek.js +197 -0
  33. package/dist/models/deepseek.js.map +1 -0
  34. package/dist/models/google.d.ts +1065 -0
  35. package/dist/models/google.js +1201 -0
  36. package/dist/models/google.js.map +1 -0
  37. package/dist/models/llmgateway.d.ts +39 -0
  38. package/dist/models/llmgateway.js +59 -0
  39. package/dist/models/llmgateway.js.map +1 -0
  40. package/dist/models/meta.d.ts +263 -0
  41. package/dist/models/meta.js +300 -0
  42. package/dist/models/meta.js.map +1 -0
  43. package/dist/models/microsoft.d.ts +1 -0
  44. package/dist/models/microsoft.js +2 -0
  45. package/dist/models/microsoft.js.map +1 -0
  46. package/dist/models/minimax.d.ts +59 -0
  47. package/dist/models/minimax.js +68 -0
  48. package/dist/models/minimax.js.map +1 -0
  49. package/dist/models/mistral.d.ts +78 -0
  50. package/dist/models/mistral.js +92 -0
  51. package/dist/models/mistral.js.map +1 -0
  52. package/dist/models/moonshot.d.ts +165 -0
  53. package/dist/models/moonshot.js +184 -0
  54. package/dist/models/moonshot.js.map +1 -0
  55. package/dist/models/nousresearch.d.ts +21 -0
  56. package/dist/models/nousresearch.js +26 -0
  57. package/dist/models/nousresearch.js.map +1 -0
  58. package/dist/models/openai.d.ts +1018 -0
  59. package/dist/models/openai.js +1213 -0
  60. package/dist/models/openai.js.map +1 -0
  61. package/dist/models/perplexity.d.ts +67 -0
  62. package/dist/models/perplexity.js +78 -0
  63. package/dist/models/perplexity.js.map +1 -0
  64. package/dist/models/routeway.d.ts +161 -0
  65. package/dist/models/routeway.js +187 -0
  66. package/dist/models/routeway.js.map +1 -0
  67. package/dist/models/xai.d.ts +270 -0
  68. package/dist/models/xai.js +311 -0
  69. package/dist/models/xai.js.map +1 -0
  70. package/dist/models/zai.d.ts +492 -0
  71. package/dist/models/zai.js +551 -0
  72. package/dist/models/zai.js.map +1 -0
  73. package/dist/models.d.ts +5304 -0
  74. package/dist/models.js +37 -0
  75. package/dist/models.js.map +1 -0
  76. package/dist/models.spec.d.ts +1 -0
  77. package/dist/models.spec.js +263 -0
  78. package/dist/models.spec.js.map +1 -0
  79. package/dist/prepare-request-body.d.ts +10 -0
  80. package/dist/prepare-request-body.js +1081 -0
  81. package/dist/prepare-request-body.js.map +1 -0
  82. package/dist/prepare-request-body.spec.d.ts +1 -0
  83. package/dist/prepare-request-body.spec.js +231 -0
  84. package/dist/prepare-request-body.spec.js.map +1 -0
  85. package/dist/process-image-url.d.ts +4 -0
  86. package/dist/process-image-url.js +121 -0
  87. package/dist/process-image-url.js.map +1 -0
  88. package/dist/provider.d.ts +9 -0
  89. package/dist/provider.js +64 -0
  90. package/dist/provider.js.map +1 -0
  91. package/dist/providers.d.ts +405 -0
  92. package/dist/providers.js +413 -0
  93. package/dist/providers.js.map +1 -0
  94. package/dist/testing.d.ts +7 -0
  95. package/dist/testing.js +19 -0
  96. package/dist/testing.js.map +1 -0
  97. package/dist/transform-anthropic-messages.d.ts +2 -0
  98. package/dist/transform-anthropic-messages.js +185 -0
  99. package/dist/transform-anthropic-messages.js.map +1 -0
  100. package/dist/transform-google-messages.d.ts +25 -0
  101. package/dist/transform-google-messages.js +122 -0
  102. package/dist/transform-google-messages.js.map +1 -0
  103. package/dist/type-guards.d.ts +20 -0
  104. package/dist/type-guards.js +35 -0
  105. package/dist/type-guards.js.map +1 -0
  106. package/dist/types.d.ts +291 -0
  107. package/dist/types.js +28 -0
  108. package/dist/types.js.map +1 -0
  109. package/dist/validate-provider-key.d.ts +4 -0
  110. package/dist/validate-provider-key.js +113 -0
  111. package/dist/validate-provider-key.js.map +1 -0
  112. package/package.json +29 -0
@@ -0,0 +1,789 @@
1
+ export const alibabaModels = [
2
+ {
3
+ id: "qwen-max",
4
+ name: "Qwen Max",
5
+ description: "Alibaba's flagship Qwen model with vision and tool support.",
6
+ family: "alibaba",
7
+ releasedAt: new Date("2025-09-05"),
8
+ providers: [
9
+ {
10
+ providerId: "alibaba",
11
+ modelName: "qwen-max",
12
+ inputPrice: 1.6 / 1e6,
13
+ outputPrice: 6.4 / 1e6,
14
+ requestPrice: 0,
15
+ contextSize: 131072,
16
+ maxOutput: 32000,
17
+ streaming: true,
18
+ vision: true,
19
+ tools: true,
20
+ jsonOutput: true,
21
+ },
22
+ ],
23
+ },
24
+ {
25
+ id: "qwen-max-latest",
26
+ name: "Qwen Max Latest",
27
+ description: "Latest Qwen Max with enhanced capabilities.",
28
+ family: "alibaba",
29
+ releasedAt: new Date("2025-01-25"),
30
+ providers: [
31
+ {
32
+ providerId: "alibaba",
33
+ modelName: "qwen-max-latest",
34
+ inputPrice: 1.6 / 1e6,
35
+ outputPrice: 6.4 / 1e6,
36
+ requestPrice: 0,
37
+ contextSize: 131072,
38
+ maxOutput: 32000,
39
+ streaming: true,
40
+ vision: true,
41
+ tools: true,
42
+ jsonOutput: true,
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ id: "qwen-plus",
48
+ name: "Qwen Plus",
49
+ description: "Mid-tier Qwen model balancing speed and capability.",
50
+ family: "alibaba",
51
+ releasedAt: new Date("2025-01-25"),
52
+ providers: [
53
+ {
54
+ providerId: "alibaba",
55
+ modelName: "qwen-plus",
56
+ inputPrice: 0.4 / 1e6,
57
+ outputPrice: 1.2 / 1e6,
58
+ requestPrice: 0,
59
+ contextSize: 131072,
60
+ maxOutput: 32000,
61
+ streaming: true,
62
+ vision: false,
63
+ tools: true,
64
+ jsonOutput: true,
65
+ },
66
+ ],
67
+ },
68
+ {
69
+ id: "qwen-plus-latest",
70
+ name: "Qwen Plus Latest",
71
+ description: "Updated Qwen Plus with extended context support.",
72
+ family: "alibaba",
73
+ releasedAt: new Date("2024-09-09"),
74
+ providers: [
75
+ {
76
+ providerId: "alibaba",
77
+ modelName: "qwen-plus-latest",
78
+ inputPrice: 0.4 / 1e6,
79
+ outputPrice: 1.2 / 1e6,
80
+ requestPrice: 0,
81
+ contextSize: 1000000,
82
+ maxOutput: 32000,
83
+ streaming: true,
84
+ vision: false,
85
+ tools: true,
86
+ jsonOutput: true,
87
+ },
88
+ ],
89
+ },
90
+ {
91
+ id: "qwen-flash",
92
+ name: "Qwen Flash",
93
+ description: "Fast, cost-effective Qwen for high-volume tasks.",
94
+ family: "alibaba",
95
+ releasedAt: new Date("2024-09-09"),
96
+ providers: [
97
+ {
98
+ providerId: "alibaba",
99
+ modelName: "qwen-flash",
100
+ inputPrice: 0.05 / 1e6,
101
+ outputPrice: 0.4 / 1e6,
102
+ requestPrice: 0,
103
+ contextSize: 1000000,
104
+ maxOutput: 32000,
105
+ streaming: true,
106
+ vision: false,
107
+ tools: true,
108
+ jsonOutput: true,
109
+ },
110
+ ],
111
+ },
112
+ {
113
+ id: "qwen-omni-turbo",
114
+ name: "Qwen Omni Turbo",
115
+ description: "Multimodal Qwen with vision support.",
116
+ family: "alibaba",
117
+ releasedAt: new Date("2025-03-26"),
118
+ providers: [
119
+ {
120
+ providerId: "alibaba",
121
+ modelName: "qwen-omni-turbo",
122
+ inputPrice: 0.2 / 1e6,
123
+ outputPrice: 0.8 / 1e6,
124
+ requestPrice: 0,
125
+ contextSize: 32768,
126
+ maxOutput: 8192,
127
+ streaming: true,
128
+ vision: true,
129
+ tools: false,
130
+ jsonOutput: true,
131
+ },
132
+ ],
133
+ },
134
+ {
135
+ id: "qwen-turbo",
136
+ name: "Qwen Turbo",
137
+ description: "Fastest Qwen model for quick responses.",
138
+ family: "alibaba",
139
+ releasedAt: new Date("2025-02-01"),
140
+ providers: [
141
+ {
142
+ providerId: "alibaba",
143
+ modelName: "qwen-turbo",
144
+ inputPrice: 0.05 / 1e6,
145
+ outputPrice: 0.2 / 1e6,
146
+ requestPrice: 0,
147
+ contextSize: 1000000,
148
+ maxOutput: 8192,
149
+ streaming: true,
150
+ vision: false,
151
+ tools: false,
152
+ jsonOutput: true,
153
+ },
154
+ ],
155
+ },
156
+ {
157
+ id: "qwen3-coder-plus",
158
+ name: "Qwen3 Coder Plus",
159
+ description: "Advanced Qwen for code generation.",
160
+ family: "alibaba",
161
+ releasedAt: new Date("2025-09-23"),
162
+ providers: [
163
+ {
164
+ test: "skip",
165
+ providerId: "alibaba",
166
+ modelName: "qwen3-coder-plus",
167
+ inputPrice: 6 / 1e6,
168
+ outputPrice: 60 / 1e6,
169
+ requestPrice: 0,
170
+ contextSize: 1000000,
171
+ maxOutput: 66000,
172
+ streaming: true,
173
+ vision: false,
174
+ tools: true,
175
+ jsonOutput: true,
176
+ },
177
+ ],
178
+ },
179
+ {
180
+ id: "qwen-qwq-32b",
181
+ name: "Qwen QwQ 32B",
182
+ description: "Qwen 32B reasoning model.",
183
+ family: "alibaba",
184
+ releasedAt: new Date("2025-03-01"),
185
+ providers: [
186
+ {
187
+ providerId: "nebius",
188
+ modelName: "Qwen/QwQ-32B",
189
+ inputPrice: 0.15 / 1e6,
190
+ outputPrice: 0.45 / 1e6,
191
+ requestPrice: 0,
192
+ contextSize: 32768,
193
+ maxOutput: 8192,
194
+ streaming: true,
195
+ vision: false,
196
+ tools: false,
197
+ jsonOutput: true,
198
+ deactivatedAt: new Date("2025-11-03"),
199
+ },
200
+ ],
201
+ },
202
+ {
203
+ id: "qwen3-235b-a22b-instruct-2507",
204
+ name: "Qwen3 235B A22B Instruct 2507",
205
+ description: "Large Qwen 3 MoE instruction model.",
206
+ family: "alibaba",
207
+ releasedAt: new Date("2025-07-21"),
208
+ providers: [
209
+ {
210
+ providerId: "nebius",
211
+ stability: "unstable",
212
+ modelName: "Qwen/Qwen3-235B-A22B-Instruct-2507",
213
+ inputPrice: 0.2 / 1e6,
214
+ outputPrice: 0.6 / 1e6,
215
+ requestPrice: 0,
216
+ contextSize: 262000,
217
+ maxOutput: 8192,
218
+ reasoning: false,
219
+ streaming: true,
220
+ vision: false,
221
+ tools: true,
222
+ jsonOutput: true,
223
+ },
224
+ {
225
+ providerId: "cerebras",
226
+ test: "skip",
227
+ modelName: "qwen-3-235b-a22b-instruct-2507",
228
+ inputPrice: 0.6 / 1e6,
229
+ outputPrice: 1.2 / 1e6,
230
+ requestPrice: 0,
231
+ contextSize: 262000,
232
+ maxOutput: 8192,
233
+ reasoning: false,
234
+ streaming: true,
235
+ vision: false,
236
+ tools: true,
237
+ jsonOutput: true,
238
+ },
239
+ ],
240
+ },
241
+ {
242
+ id: "qwen3-235b-a22b-thinking-2507",
243
+ name: "Qwen3 235B A22B Thinking 2507",
244
+ description: "Qwen 3 MoE with reasoning capabilities.",
245
+ family: "alibaba",
246
+ releasedAt: new Date("2025-07-25"),
247
+ providers: [
248
+ {
249
+ providerId: "nebius",
250
+ modelName: "Qwen/Qwen3-235B-A22B-Thinking-2507",
251
+ inputPrice: 0.2 / 1e6,
252
+ outputPrice: 0.6 / 1e6,
253
+ requestPrice: 0,
254
+ contextSize: 262000,
255
+ maxOutput: 8192,
256
+ reasoning: true,
257
+ streaming: true,
258
+ vision: false,
259
+ tools: true,
260
+ stability: "unstable",
261
+ jsonOutput: true,
262
+ },
263
+ ],
264
+ },
265
+ {
266
+ id: "qwen3-14b",
267
+ name: "Qwen3 14B",
268
+ description: "Mid-size Qwen 3 model.",
269
+ family: "alibaba",
270
+ releasedAt: new Date("2025-04-28"),
271
+ providers: [
272
+ {
273
+ providerId: "nebius",
274
+ modelName: "Qwen/Qwen3-14B",
275
+ inputPrice: 0.08 / 1e6,
276
+ outputPrice: 0.24 / 1e6,
277
+ requestPrice: 0,
278
+ contextSize: 32768,
279
+ maxOutput: 8192,
280
+ streaming: true,
281
+ vision: false,
282
+ tools: true,
283
+ jsonOutput: true,
284
+ deactivatedAt: new Date("2025-11-03"),
285
+ },
286
+ ],
287
+ },
288
+ {
289
+ id: "qwen3-32b",
290
+ name: "Qwen3 32B",
291
+ description: "Mid-size Qwen 3 model.",
292
+ family: "alibaba",
293
+ releasedAt: new Date("2025-04-28"),
294
+ providers: [
295
+ {
296
+ providerId: "nebius",
297
+ modelName: "Qwen/Qwen3-32B",
298
+ inputPrice: 0.1 / 1e6,
299
+ outputPrice: 0.3 / 1e6,
300
+ requestPrice: 0,
301
+ contextSize: 32768,
302
+ maxOutput: 8192,
303
+ streaming: true,
304
+ vision: false,
305
+ tools: true,
306
+ jsonOutput: true,
307
+ },
308
+ {
309
+ providerId: "cerebras",
310
+ modelName: "qwen-3-32b",
311
+ inputPrice: 0.4 / 1e6,
312
+ outputPrice: 0.8 / 1e6,
313
+ requestPrice: 0,
314
+ contextSize: 32768,
315
+ maxOutput: 8192,
316
+ streaming: true,
317
+ vision: false,
318
+ tools: true,
319
+ jsonOutput: true,
320
+ },
321
+ ],
322
+ },
323
+ {
324
+ id: "qwen3-30b-a3b",
325
+ name: "Qwen3 30B A3B",
326
+ description: "Mid-size Qwen 3 MoE model.",
327
+ family: "alibaba",
328
+ releasedAt: new Date("2025-04-28"),
329
+ providers: [
330
+ {
331
+ providerId: "nebius",
332
+ modelName: "Qwen/Qwen3-30B-A3B",
333
+ inputPrice: 0.1 / 1e6,
334
+ outputPrice: 0.3 / 1e6,
335
+ requestPrice: 0,
336
+ contextSize: 32768,
337
+ maxOutput: 8192,
338
+ streaming: true,
339
+ vision: false,
340
+ tools: true,
341
+ jsonOutput: true,
342
+ deactivatedAt: new Date("2025-11-03"),
343
+ },
344
+ ],
345
+ },
346
+ {
347
+ id: "qwen25-coder-7b",
348
+ name: "Qwen2.5 Coder 7B",
349
+ description: "Qwen 2.5 code model, 7B size.",
350
+ family: "alibaba",
351
+ releasedAt: new Date("2024-09-19"),
352
+ providers: [
353
+ {
354
+ providerId: "nebius",
355
+ modelName: "Qwen/Qwen2.5-Coder-7B-fast",
356
+ inputPrice: 0.01 / 1e6,
357
+ outputPrice: 0.03 / 1e6,
358
+ requestPrice: 0,
359
+ contextSize: 32768,
360
+ maxOutput: 8192,
361
+ streaming: true,
362
+ vision: false,
363
+ tools: false,
364
+ jsonOutput: true,
365
+ },
366
+ ],
367
+ },
368
+ {
369
+ id: "qwen25-32b-instruct",
370
+ name: "Qwen2.5 32B Instruct",
371
+ description: "Qwen 2.5 instruction model, 32B size.",
372
+ family: "alibaba",
373
+ releasedAt: new Date("2024-09-19"),
374
+ providers: [
375
+ {
376
+ providerId: "nebius",
377
+ modelName: "Qwen/Qwen2.5-32B-Instruct",
378
+ inputPrice: 0.06 / 1e6,
379
+ outputPrice: 0.2 / 1e6,
380
+ requestPrice: 0,
381
+ contextSize: 32768,
382
+ maxOutput: 8192,
383
+ streaming: true,
384
+ vision: false,
385
+ tools: true,
386
+ jsonOutput: true,
387
+ deactivatedAt: new Date("2025-09-10"),
388
+ },
389
+ ],
390
+ },
391
+ {
392
+ id: "qwen25-72b-instruct",
393
+ name: "Qwen2.5 72B Instruct",
394
+ description: "Qwen 2.5 instruction model, 72B size.",
395
+ family: "alibaba",
396
+ releasedAt: new Date("2024-09-19"),
397
+ providers: [
398
+ {
399
+ providerId: "nebius",
400
+ modelName: "Qwen/Qwen2.5-72B-Instruct",
401
+ inputPrice: 0.13 / 1e6,
402
+ outputPrice: 0.4 / 1e6,
403
+ requestPrice: 0,
404
+ contextSize: 32768,
405
+ maxOutput: 8192,
406
+ streaming: true,
407
+ vision: false,
408
+ tools: true,
409
+ jsonOutput: true,
410
+ deactivatedAt: new Date("2025-11-03"),
411
+ },
412
+ ],
413
+ },
414
+ {
415
+ id: "qwen2-vl-72b-instruct",
416
+ name: "Qwen2 VL 72B Instruct",
417
+ description: "Vision-language Qwen 2 model, 72B size.",
418
+ family: "alibaba",
419
+ releasedAt: new Date("2024-09-19"),
420
+ providers: [
421
+ {
422
+ providerId: "nebius",
423
+ modelName: "Qwen/Qwen2-VL-72B-Instruct",
424
+ inputPrice: 0.13 / 1e6,
425
+ outputPrice: 0.4 / 1e6,
426
+ requestPrice: 0,
427
+ contextSize: 32768,
428
+ maxOutput: 8192,
429
+ streaming: true,
430
+ vision: true,
431
+ tools: false,
432
+ jsonOutput: true,
433
+ deactivatedAt: new Date("2025-09-10"),
434
+ },
435
+ ],
436
+ },
437
+ {
438
+ id: "qwen2-5-vl-72b-instruct",
439
+ name: "Qwen2.5 VL 72B Instruct",
440
+ description: "Vision-language Qwen 2.5 model, 72B size.",
441
+ family: "alibaba",
442
+ releasedAt: new Date("2025-01-26"),
443
+ providers: [
444
+ {
445
+ providerId: "nebius",
446
+ modelName: "Qwen/Qwen2.5-VL-72B-Instruct",
447
+ inputPrice: 0.13 / 1e6,
448
+ outputPrice: 0.4 / 1e6,
449
+ requestPrice: 0,
450
+ contextSize: 32768,
451
+ maxOutput: 8192,
452
+ streaming: true,
453
+ vision: true,
454
+ tools: false,
455
+ jsonOutput: true,
456
+ },
457
+ ],
458
+ },
459
+ {
460
+ id: "qwen3-coder-480b-a35b-instruct",
461
+ name: "Qwen3 Coder 480B A35B Instruct",
462
+ description: "Code-specialized Qwen 3 MoE, 480B size.",
463
+ family: "alibaba",
464
+ releasedAt: new Date("2025-01-31"),
465
+ providers: [
466
+ {
467
+ providerId: "nebius",
468
+ modelName: "Qwen/Qwen3-Coder-480B-A35B-Instruct",
469
+ inputPrice: 0.4 / 1e6,
470
+ outputPrice: 1.8 / 1e6,
471
+ requestPrice: 0,
472
+ contextSize: 262000,
473
+ maxOutput: 8192,
474
+ streaming: true,
475
+ vision: false,
476
+ tools: true,
477
+ jsonOutput: true,
478
+ },
479
+ ],
480
+ },
481
+ {
482
+ id: "qwen3-coder-30b-a3b-instruct",
483
+ name: "Qwen3 Coder 30B A3B Instruct",
484
+ description: "Code-specialized Qwen 3 MoE, 30B size.",
485
+ family: "alibaba",
486
+ releasedAt: new Date("2025-07-31"),
487
+ providers: [
488
+ {
489
+ providerId: "nebius",
490
+ modelName: "Qwen/Qwen3-Coder-30B-A3B-Instruct",
491
+ inputPrice: 0.1 / 1e6,
492
+ outputPrice: 0.3 / 1e6,
493
+ requestPrice: 0,
494
+ contextSize: 262000,
495
+ maxOutput: 8192,
496
+ streaming: true,
497
+ vision: false,
498
+ tools: true,
499
+ jsonOutput: true,
500
+ },
501
+ ],
502
+ },
503
+ {
504
+ id: "qwen3-30b-a3b-instruct-2507",
505
+ name: "Qwen3 30B A3B Instruct 2507",
506
+ description: "Qwen 3 MoE instruction model, July 2025.",
507
+ family: "alibaba",
508
+ releasedAt: new Date("2025-07-30"),
509
+ providers: [
510
+ {
511
+ providerId: "nebius",
512
+ modelName: "Qwen/Qwen3-30B-A3B-Instruct-2507",
513
+ inputPrice: 0.1 / 1e6,
514
+ outputPrice: 0.3 / 1e6,
515
+ requestPrice: 0,
516
+ contextSize: 262000,
517
+ maxOutput: 8192,
518
+ streaming: true,
519
+ vision: false,
520
+ tools: true,
521
+ jsonOutput: true,
522
+ },
523
+ ],
524
+ },
525
+ {
526
+ id: "qwen3-30b-a3b-thinking-2507",
527
+ name: "Qwen3 30B A3B Thinking 2507",
528
+ description: "Qwen 3 MoE with reasoning, July 2025.",
529
+ family: "alibaba",
530
+ releasedAt: new Date("2025-07-30"),
531
+ providers: [
532
+ {
533
+ providerId: "nebius",
534
+ modelName: "Qwen/Qwen3-30B-A3B-Thinking-2507",
535
+ inputPrice: 0.1 / 1e6,
536
+ outputPrice: 0.3 / 1e6,
537
+ requestPrice: 0,
538
+ contextSize: 262000,
539
+ maxOutput: 8192,
540
+ streaming: true,
541
+ vision: false,
542
+ tools: true,
543
+ reasoning: true,
544
+ jsonOutput: true,
545
+ },
546
+ ],
547
+ },
548
+ {
549
+ id: "qwen-vl-max",
550
+ name: "Qwen VL Max",
551
+ description: "Vision-language Qwen flagship model.",
552
+ family: "alibaba",
553
+ releasedAt: new Date("2025-02-01"),
554
+ providers: [
555
+ {
556
+ providerId: "alibaba",
557
+ modelName: "qwen-vl-max",
558
+ inputPrice: 0.8 / 1e6,
559
+ outputPrice: 3.2 / 1e6,
560
+ requestPrice: 0,
561
+ contextSize: 131072,
562
+ maxOutput: 32000,
563
+ streaming: true,
564
+ vision: true,
565
+ tools: false,
566
+ jsonOutput: true,
567
+ },
568
+ ],
569
+ },
570
+ {
571
+ id: "qwen-vl-plus",
572
+ name: "Qwen VL Plus",
573
+ description: "Vision-language Qwen mid-tier model.",
574
+ family: "alibaba",
575
+ releasedAt: new Date("2025-02-05"),
576
+ providers: [
577
+ {
578
+ providerId: "alibaba",
579
+ modelName: "qwen-vl-plus",
580
+ inputPrice: 0.21 / 1e6,
581
+ outputPrice: 0.64 / 1e6,
582
+ requestPrice: 0,
583
+ contextSize: 131072,
584
+ maxOutput: 32000,
585
+ streaming: true,
586
+ vision: true,
587
+ tools: false,
588
+ jsonOutput: true,
589
+ },
590
+ ],
591
+ },
592
+ {
593
+ id: "qwen3-next-80b-a3b-thinking",
594
+ name: "Qwen3 Next 80B A3B Thinking",
595
+ description: "Preview Qwen 3 Next with reasoning.",
596
+ family: "alibaba",
597
+ releasedAt: new Date("2025-09-10"),
598
+ providers: [
599
+ {
600
+ providerId: "alibaba",
601
+ stability: "unstable",
602
+ modelName: "qwen3-next-80b-a3b-thinking",
603
+ inputPrice: 0.5 / 1e6,
604
+ outputPrice: 6 / 1e6,
605
+ requestPrice: 0,
606
+ contextSize: 131072,
607
+ maxOutput: 32768,
608
+ reasoning: true,
609
+ reasoningOutput: "omit",
610
+ streaming: true,
611
+ vision: false,
612
+ tools: true,
613
+ jsonOutput: false,
614
+ },
615
+ ],
616
+ },
617
+ {
618
+ id: "qwen3-next-80b-a3b-instruct",
619
+ name: "Qwen3 Next 80B A3B Instruct",
620
+ description: "Preview Qwen 3 Next instruction model.",
621
+ family: "alibaba",
622
+ releasedAt: new Date("2025-09-10"),
623
+ providers: [
624
+ {
625
+ providerId: "alibaba",
626
+ modelName: "qwen3-next-80b-a3b-instruct",
627
+ inputPrice: 0.5 / 1e6,
628
+ outputPrice: 2 / 1e6,
629
+ requestPrice: 0,
630
+ contextSize: 129024,
631
+ maxOutput: 32768,
632
+ streaming: true,
633
+ vision: false,
634
+ tools: true,
635
+ jsonOutput: true,
636
+ },
637
+ ],
638
+ },
639
+ {
640
+ id: "qwen3-max",
641
+ name: "Qwen3 Max",
642
+ description: "Top-tier Qwen 3 with reasoning and vision support.",
643
+ family: "alibaba",
644
+ releasedAt: new Date("2025-09-24"),
645
+ providers: [
646
+ {
647
+ test: "skip",
648
+ providerId: "alibaba",
649
+ modelName: "qwen3-max-preview",
650
+ inputPrice: 3 / 1e6,
651
+ outputPrice: 15 / 1e6,
652
+ cachedInputPrice: 0.6 / 1e6,
653
+ requestPrice: 0,
654
+ contextSize: 256000,
655
+ maxOutput: 32800,
656
+ reasoning: true,
657
+ reasoningOutput: "omit",
658
+ streaming: true,
659
+ vision: true,
660
+ tools: true,
661
+ jsonOutput: true,
662
+ },
663
+ ],
664
+ },
665
+ {
666
+ id: "qwen3-coder",
667
+ name: "Qwen3 Coder",
668
+ description: "General Qwen 3 coding model.",
669
+ family: "alibaba",
670
+ releasedAt: new Date("2025-07-23"),
671
+ providers: [
672
+ {
673
+ providerId: "canopywave",
674
+ modelName: "qwen/qwen3-coder",
675
+ inputPrice: 0.22 / 1e6,
676
+ outputPrice: 0.95 / 1e6,
677
+ discount: 0.75,
678
+ requestPrice: 0,
679
+ contextSize: 262000,
680
+ maxOutput: 8192,
681
+ streaming: true,
682
+ vision: false,
683
+ tools: true,
684
+ jsonOutput: true,
685
+ },
686
+ ],
687
+ },
688
+ {
689
+ id: "qwen-image-plus",
690
+ name: "Qwen Image Plus",
691
+ description: "Alibaba's Qwen Image Plus model for text-to-image generation with excellent text rendering capabilities.",
692
+ family: "alibaba",
693
+ output: ["text", "image"],
694
+ releasedAt: new Date("2025-08-04"),
695
+ providers: [
696
+ {
697
+ test: "skip",
698
+ providerId: "alibaba",
699
+ modelName: "qwen-image-plus",
700
+ inputPrice: 0,
701
+ outputPrice: 0,
702
+ requestPrice: 0.03,
703
+ contextSize: 2000,
704
+ maxOutput: 4096,
705
+ streaming: false,
706
+ vision: false,
707
+ tools: false,
708
+ jsonOutput: false,
709
+ imageGenerations: true,
710
+ },
711
+ ],
712
+ },
713
+ {
714
+ id: "qwen-image-max",
715
+ name: "Qwen Image Max",
716
+ description: "Alibaba's flagship Qwen Image Max model for highest quality text-to-image generation.",
717
+ family: "alibaba",
718
+ output: ["text", "image"],
719
+ releasedAt: new Date("2025-08-04"),
720
+ providers: [
721
+ {
722
+ test: "skip",
723
+ providerId: "alibaba",
724
+ modelName: "qwen-image-max",
725
+ inputPrice: 0,
726
+ outputPrice: 0,
727
+ requestPrice: 0.075,
728
+ contextSize: 2000,
729
+ maxOutput: 4096,
730
+ streaming: false,
731
+ vision: false,
732
+ tools: false,
733
+ jsonOutput: false,
734
+ imageGenerations: true,
735
+ },
736
+ ],
737
+ },
738
+ {
739
+ id: "qwen-image",
740
+ name: "Qwen Image",
741
+ description: "Alibaba's Qwen Image model for text-to-image generation with excellent text rendering capabilities.",
742
+ family: "alibaba",
743
+ output: ["text", "image"],
744
+ releasedAt: new Date("2025-08-04"),
745
+ providers: [
746
+ {
747
+ test: "skip",
748
+ providerId: "alibaba",
749
+ modelName: "qwen-image",
750
+ inputPrice: 0,
751
+ outputPrice: 0,
752
+ requestPrice: 0.035,
753
+ contextSize: 2000,
754
+ maxOutput: 4096,
755
+ streaming: false,
756
+ vision: false,
757
+ tools: false,
758
+ jsonOutput: false,
759
+ imageGenerations: true,
760
+ },
761
+ ],
762
+ },
763
+ {
764
+ id: "qwen-image-max-2025-12-30",
765
+ name: "Qwen Image Max 2025-12-30",
766
+ description: "Alibaba's Qwen 2025-12-30 Image model for text-to-image generation with excellent text rendering capabilities.",
767
+ family: "alibaba",
768
+ output: ["text", "image"],
769
+ releasedAt: new Date("2025-12-31"),
770
+ providers: [
771
+ {
772
+ test: "skip",
773
+ providerId: "alibaba",
774
+ modelName: "qwen-image-max-2025-12-30",
775
+ inputPrice: 0,
776
+ outputPrice: 0,
777
+ requestPrice: 0.075,
778
+ contextSize: 2000,
779
+ maxOutput: 4096,
780
+ streaming: false,
781
+ vision: false,
782
+ tools: false,
783
+ jsonOutput: false,
784
+ imageGenerations: true,
785
+ },
786
+ ],
787
+ },
788
+ ];
789
+ //# sourceMappingURL=alibaba.js.map