@llmgateway/models 1.79.0 → 1.82.0

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 (54) hide show
  1. package/dist/models/alibaba.d.ts +469 -469
  2. package/dist/models/alibaba.js +469 -469
  3. package/dist/models/alibaba.js.map +1 -1
  4. package/dist/models/anthropic.d.ts +266 -266
  5. package/dist/models/anthropic.js +266 -266
  6. package/dist/models/anthropic.js.map +1 -1
  7. package/dist/models/bytedance.d.ts +24 -24
  8. package/dist/models/bytedance.js +24 -24
  9. package/dist/models/bytedance.js.map +1 -1
  10. package/dist/models/deepseek.d.ts +62 -62
  11. package/dist/models/deepseek.js +62 -62
  12. package/dist/models/deepseek.js.map +1 -1
  13. package/dist/models/google.d.ts +402 -336
  14. package/dist/models/google.js +402 -336
  15. package/dist/models/google.js.map +1 -1
  16. package/dist/models/meta.d.ts +66 -66
  17. package/dist/models/meta.js +66 -66
  18. package/dist/models/meta.js.map +1 -1
  19. package/dist/models/minimax.d.ts +55 -55
  20. package/dist/models/minimax.js +55 -55
  21. package/dist/models/minimax.js.map +1 -1
  22. package/dist/models/mistral.d.ts +30 -30
  23. package/dist/models/mistral.js +30 -30
  24. package/dist/models/mistral.js.map +1 -1
  25. package/dist/models/moonshot.d.ts +70 -70
  26. package/dist/models/moonshot.js +70 -70
  27. package/dist/models/moonshot.js.map +1 -1
  28. package/dist/models/nousresearch.d.ts +6 -6
  29. package/dist/models/nousresearch.js +6 -6
  30. package/dist/models/nousresearch.js.map +1 -1
  31. package/dist/models/openai.d.ts +335 -327
  32. package/dist/models/openai.js +335 -327
  33. package/dist/models/openai.js.map +1 -1
  34. package/dist/models/perplexity.d.ts +12 -12
  35. package/dist/models/perplexity.js +12 -12
  36. package/dist/models/perplexity.js.map +1 -1
  37. package/dist/models/xai.d.ts +211 -188
  38. package/dist/models/xai.js +211 -188
  39. package/dist/models/xai.js.map +1 -1
  40. package/dist/models/xiaomi.d.ts +38 -38
  41. package/dist/models/xiaomi.js +38 -38
  42. package/dist/models/xiaomi.js.map +1 -1
  43. package/dist/models/zai.d.ts +177 -177
  44. package/dist/models/zai.js +177 -177
  45. package/dist/models/zai.js.map +1 -1
  46. package/dist/models.d.ts +2253 -2151
  47. package/dist/models.js.map +1 -1
  48. package/dist/providers.d.ts +62 -0
  49. package/dist/providers.js +60 -0
  50. package/dist/providers.js.map +1 -1
  51. package/dist/types.d.ts +13 -5
  52. package/dist/types.js +3 -0
  53. package/dist/types.js.map +1 -1
  54. package/package.json +1 -1
@@ -9,70 +9,72 @@ export const googleModels = [
9
9
  {
10
10
  providerId: "google-ai-studio",
11
11
  modelName: "gemini-2.5-pro",
12
- inputPrice: 1.25 / 1e6,
13
- outputPrice: 10.0 / 1e6,
14
- cachedInputPrice: 0.125 / 1e6,
12
+ inputPrice: "1.25e-6",
13
+ outputPrice: "10.0e-6",
14
+ cachedInputPrice: "0.125e-6",
15
15
  pricingTiers: [
16
16
  {
17
17
  name: "Up to 200K",
18
18
  upToTokens: 200000,
19
- inputPrice: 1.25 / 1e6,
20
- outputPrice: 10.0 / 1e6,
21
- cachedInputPrice: 0.125 / 1e6,
19
+ inputPrice: "1.25e-6",
20
+ outputPrice: "10.0e-6",
21
+ cachedInputPrice: "0.125e-6",
22
22
  },
23
23
  {
24
24
  name: "Over 200K",
25
25
  upToTokens: Infinity,
26
- inputPrice: 2.5 / 1e6,
27
- outputPrice: 15.0 / 1e6,
28
- cachedInputPrice: 0.25 / 1e6,
26
+ inputPrice: "2.5e-6",
27
+ outputPrice: "15.0e-6",
28
+ cachedInputPrice: "0.25e-6",
29
29
  },
30
30
  ],
31
- requestPrice: 0,
31
+ requestPrice: "0",
32
32
  contextSize: 1048576,
33
33
  maxOutput: 65536,
34
34
  reasoning: true,
35
35
  reasoningMaxTokens: true,
36
36
  streaming: true,
37
37
  vision: true,
38
+ audio: true,
38
39
  tools: true,
39
40
  webSearch: true,
40
- webSearchPrice: 0.035,
41
+ webSearchPrice: "0.035",
41
42
  jsonOutput: true,
42
43
  jsonOutputSchema: true,
43
44
  },
44
45
  {
45
46
  providerId: "google-vertex",
46
47
  modelName: "gemini-2.5-pro",
47
- inputPrice: 1.25 / 1e6,
48
- outputPrice: 10.0 / 1e6,
49
- cachedInputPrice: 0.125 / 1e6,
48
+ inputPrice: "1.25e-6",
49
+ outputPrice: "10.0e-6",
50
+ cachedInputPrice: "0.125e-6",
50
51
  pricingTiers: [
51
52
  {
52
53
  name: "Up to 200K",
53
54
  upToTokens: 200000,
54
- inputPrice: 1.25 / 1e6,
55
- outputPrice: 10.0 / 1e6,
56
- cachedInputPrice: 0.125 / 1e6,
55
+ inputPrice: "1.25e-6",
56
+ outputPrice: "10.0e-6",
57
+ cachedInputPrice: "0.125e-6",
57
58
  },
58
59
  {
59
60
  name: "Over 200K",
60
61
  upToTokens: Infinity,
61
- inputPrice: 2.5 / 1e6,
62
- outputPrice: 15.0 / 1e6,
63
- cachedInputPrice: 0.25 / 1e6,
62
+ inputPrice: "2.5e-6",
63
+ outputPrice: "15.0e-6",
64
+ cachedInputPrice: "0.25e-6",
64
65
  },
65
66
  ],
66
- requestPrice: 0,
67
+ requestPrice: "0",
67
68
  contextSize: 1048576,
68
69
  maxOutput: 65536,
69
70
  reasoning: true,
70
71
  reasoningMaxTokens: true,
71
72
  streaming: true,
72
73
  vision: true,
74
+ audio: true,
73
75
  tools: true,
74
76
  webSearch: true,
75
- webSearchPrice: 0.035,
77
+ webSearchPrice: "0.035",
76
78
  jsonOutput: true,
77
79
  jsonOutputSchema: true,
78
80
  },
@@ -89,29 +91,30 @@ export const googleModels = [
89
91
  test: "skip",
90
92
  providerId: "google-ai-studio",
91
93
  modelName: "gemini-2.5-pro-preview-05-06",
92
- inputPrice: 1.25 / 1e6,
93
- outputPrice: 10.0 / 1e6,
94
+ inputPrice: "1.25e-6",
95
+ outputPrice: "10.0e-6",
94
96
  pricingTiers: [
95
97
  {
96
98
  name: "Up to 200K",
97
99
  upToTokens: 200000,
98
- inputPrice: 1.25 / 1e6,
99
- outputPrice: 10.0 / 1e6,
100
+ inputPrice: "1.25e-6",
101
+ outputPrice: "10.0e-6",
100
102
  },
101
103
  {
102
104
  name: "Over 200K",
103
105
  upToTokens: Infinity,
104
- inputPrice: 2.5 / 1e6,
105
- outputPrice: 15.0 / 1e6,
106
+ inputPrice: "2.5e-6",
107
+ outputPrice: "15.0e-6",
106
108
  },
107
109
  ],
108
- requestPrice: 0,
110
+ requestPrice: "0",
109
111
  contextSize: 1000000,
110
112
  maxOutput: undefined,
111
113
  reasoning: true,
112
114
  reasoningMaxTokens: true,
113
115
  streaming: true,
114
116
  vision: true,
117
+ audio: true,
115
118
  tools: true,
116
119
  jsonOutput: true,
117
120
  jsonOutputSchema: true,
@@ -121,29 +124,30 @@ export const googleModels = [
121
124
  test: "skip",
122
125
  providerId: "google-vertex",
123
126
  modelName: "gemini-2.5-pro-preview-05-06",
124
- inputPrice: 1.25 / 1e6,
125
- outputPrice: 10.0 / 1e6,
127
+ inputPrice: "1.25e-6",
128
+ outputPrice: "10.0e-6",
126
129
  pricingTiers: [
127
130
  {
128
131
  name: "Up to 200K",
129
132
  upToTokens: 200000,
130
- inputPrice: 1.25 / 1e6,
131
- outputPrice: 10.0 / 1e6,
133
+ inputPrice: "1.25e-6",
134
+ outputPrice: "10.0e-6",
132
135
  },
133
136
  {
134
137
  name: "Over 200K",
135
138
  upToTokens: Infinity,
136
- inputPrice: 2.5 / 1e6,
137
- outputPrice: 15.0 / 1e6,
139
+ inputPrice: "2.5e-6",
140
+ outputPrice: "15.0e-6",
138
141
  },
139
142
  ],
140
- requestPrice: 0,
143
+ requestPrice: "0",
141
144
  contextSize: 1000000,
142
145
  maxOutput: undefined,
143
146
  reasoning: true,
144
147
  reasoningMaxTokens: true,
145
148
  streaming: true,
146
149
  vision: true,
150
+ audio: true,
147
151
  tools: true,
148
152
  jsonOutput: true,
149
153
  jsonOutputSchema: true,
@@ -162,29 +166,30 @@ export const googleModels = [
162
166
  test: "skip",
163
167
  providerId: "google-ai-studio",
164
168
  modelName: "gemini-2.5-pro-preview-06-05",
165
- inputPrice: 1.25 / 1e6,
166
- outputPrice: 10.0 / 1e6,
169
+ inputPrice: "1.25e-6",
170
+ outputPrice: "10.0e-6",
167
171
  pricingTiers: [
168
172
  {
169
173
  name: "Up to 200K",
170
174
  upToTokens: 200000,
171
- inputPrice: 1.25 / 1e6,
172
- outputPrice: 10.0 / 1e6,
175
+ inputPrice: "1.25e-6",
176
+ outputPrice: "10.0e-6",
173
177
  },
174
178
  {
175
179
  name: "Over 200K",
176
180
  upToTokens: Infinity,
177
- inputPrice: 2.5 / 1e6,
178
- outputPrice: 15.0 / 1e6,
181
+ inputPrice: "2.5e-6",
182
+ outputPrice: "15.0e-6",
179
183
  },
180
184
  ],
181
- requestPrice: 0,
185
+ requestPrice: "0",
182
186
  contextSize: 1000000,
183
187
  maxOutput: undefined,
184
188
  reasoning: true,
185
189
  reasoningMaxTokens: true,
186
190
  streaming: true,
187
191
  vision: true,
192
+ audio: true,
188
193
  tools: true,
189
194
  jsonOutput: true,
190
195
  jsonOutputSchema: true,
@@ -194,29 +199,30 @@ export const googleModels = [
194
199
  test: "skip",
195
200
  providerId: "google-vertex",
196
201
  modelName: "gemini-2.5-pro-preview-06-05",
197
- inputPrice: 1.25 / 1e6,
198
- outputPrice: 10.0 / 1e6,
202
+ inputPrice: "1.25e-6",
203
+ outputPrice: "10.0e-6",
199
204
  pricingTiers: [
200
205
  {
201
206
  name: "Up to 200K",
202
207
  upToTokens: 200000,
203
- inputPrice: 1.25 / 1e6,
204
- outputPrice: 10.0 / 1e6,
208
+ inputPrice: "1.25e-6",
209
+ outputPrice: "10.0e-6",
205
210
  },
206
211
  {
207
212
  name: "Over 200K",
208
213
  upToTokens: Infinity,
209
- inputPrice: 2.5 / 1e6,
210
- outputPrice: 15.0 / 1e6,
214
+ inputPrice: "2.5e-6",
215
+ outputPrice: "15.0e-6",
211
216
  },
212
217
  ],
213
- requestPrice: 0,
218
+ requestPrice: "0",
214
219
  contextSize: 1000000,
215
220
  maxOutput: undefined,
216
221
  reasoning: true,
217
222
  reasoningMaxTokens: true,
218
223
  streaming: true,
219
224
  vision: true,
225
+ audio: true,
220
226
  tools: true,
221
227
  jsonOutput: true,
222
228
  jsonOutputSchema: true,
@@ -234,15 +240,16 @@ export const googleModels = [
234
240
  {
235
241
  providerId: "google-ai-studio",
236
242
  modelName: "gemini-2.5-flash-preview-04-17",
237
- inputPrice: 0.15 / 1e6,
238
- outputPrice: 0.6 / 1e6,
239
- requestPrice: 0,
243
+ inputPrice: "0.15e-6",
244
+ outputPrice: "0.6e-6",
245
+ requestPrice: "0",
240
246
  contextSize: 1000000,
241
247
  maxOutput: undefined,
242
248
  reasoning: true,
243
249
  reasoningMaxTokens: true,
244
250
  streaming: true,
245
251
  vision: true,
252
+ audio: true,
246
253
  tools: true,
247
254
  jsonOutput: true,
248
255
  jsonOutputSchema: true,
@@ -251,15 +258,16 @@ export const googleModels = [
251
258
  {
252
259
  providerId: "google-vertex",
253
260
  modelName: "gemini-2.5-flash-preview-04-17",
254
- inputPrice: 0.15 / 1e6,
255
- outputPrice: 0.6 / 1e6,
256
- requestPrice: 0,
261
+ inputPrice: "0.15e-6",
262
+ outputPrice: "0.6e-6",
263
+ requestPrice: "0",
257
264
  contextSize: 1000000,
258
265
  maxOutput: undefined,
259
266
  reasoning: true,
260
267
  reasoningMaxTokens: true,
261
268
  streaming: true,
262
269
  vision: true,
270
+ audio: true,
263
271
  tools: true,
264
272
  jsonOutput: true,
265
273
  jsonOutputSchema: true,
@@ -277,15 +285,16 @@ export const googleModels = [
277
285
  {
278
286
  providerId: "google-ai-studio",
279
287
  modelName: "gemini-2.5-flash-preview-05-20",
280
- inputPrice: 0.15 / 1e6,
281
- outputPrice: 0.6 / 1e6,
282
- requestPrice: 0,
288
+ inputPrice: "0.15e-6",
289
+ outputPrice: "0.6e-6",
290
+ requestPrice: "0",
283
291
  contextSize: 1000000,
284
292
  maxOutput: undefined,
285
293
  reasoning: true,
286
294
  reasoningMaxTokens: true,
287
295
  streaming: true,
288
296
  vision: true,
297
+ audio: true,
289
298
  tools: true,
290
299
  jsonOutput: true,
291
300
  jsonOutputSchema: true,
@@ -294,15 +303,16 @@ export const googleModels = [
294
303
  {
295
304
  providerId: "google-vertex",
296
305
  modelName: "gemini-2.5-flash-preview-05-20",
297
- inputPrice: 0.15 / 1e6,
298
- outputPrice: 0.6 / 1e6,
299
- requestPrice: 0,
306
+ inputPrice: "0.15e-6",
307
+ outputPrice: "0.6e-6",
308
+ requestPrice: "0",
300
309
  contextSize: 1000000,
301
310
  maxOutput: undefined,
302
311
  reasoning: true,
303
312
  reasoningMaxTokens: true,
304
313
  streaming: true,
305
314
  vision: true,
315
+ audio: true,
306
316
  tools: true,
307
317
  jsonOutput: true,
308
318
  jsonOutputSchema: true,
@@ -321,16 +331,17 @@ export const googleModels = [
321
331
  providerId: "google-ai-studio",
322
332
  modelName: "gemini-2.5-flash-preview-09-2025",
323
333
  deactivatedAt: new Date("2026-01-17"),
324
- inputPrice: 0.3 / 1e6,
325
- outputPrice: 2.5 / 1e6,
326
- cachedInputPrice: 0.03 / 1e6,
327
- requestPrice: 0,
334
+ inputPrice: "0.3e-6",
335
+ outputPrice: "2.5e-6",
336
+ cachedInputPrice: "0.03e-6",
337
+ requestPrice: "0",
328
338
  contextSize: 1048576,
329
339
  maxOutput: 65536,
330
340
  reasoning: true,
331
341
  reasoningMaxTokens: true,
332
342
  streaming: true,
333
343
  vision: true,
344
+ audio: true,
334
345
  tools: true,
335
346
  jsonOutput: true,
336
347
  jsonOutputSchema: true,
@@ -339,16 +350,17 @@ export const googleModels = [
339
350
  providerId: "google-vertex",
340
351
  deactivatedAt: new Date("2026-01-27"),
341
352
  modelName: "gemini-2.5-flash-preview-09-2025",
342
- inputPrice: 0.3 / 1e6,
343
- outputPrice: 2.5 / 1e6,
344
- cachedInputPrice: 0.03 / 1e6,
345
- requestPrice: 0,
353
+ inputPrice: "0.3e-6",
354
+ outputPrice: "2.5e-6",
355
+ cachedInputPrice: "0.03e-6",
356
+ requestPrice: "0",
346
357
  contextSize: 1048576,
347
358
  maxOutput: 65536,
348
359
  reasoning: true,
349
360
  reasoningMaxTokens: true,
350
361
  streaming: true,
351
362
  vision: true,
363
+ audio: true,
352
364
  tools: true,
353
365
  jsonOutput: true,
354
366
  jsonOutputSchema: true,
@@ -365,38 +377,44 @@ export const googleModels = [
365
377
  {
366
378
  providerId: "google-ai-studio",
367
379
  modelName: "gemini-2.5-flash",
368
- inputPrice: 0.3 / 1e6,
369
- outputPrice: 2.5 / 1e6,
370
- cachedInputPrice: 0.03 / 1e6,
371
- requestPrice: 0,
380
+ inputPrice: "0.3e-6",
381
+ outputPrice: "2.5e-6",
382
+ cachedInputPrice: "0.03e-6",
383
+ inputAudioPrice: "1.0e-6",
384
+ cachedInputAudioPrice: "0.1e-6",
385
+ requestPrice: "0",
372
386
  contextSize: 1048576,
373
387
  maxOutput: 65535,
374
388
  reasoning: true,
375
389
  reasoningMaxTokens: true,
376
390
  streaming: true,
377
391
  vision: true,
392
+ audio: true,
378
393
  tools: true,
379
394
  webSearch: true,
380
- webSearchPrice: 0.035,
395
+ webSearchPrice: "0.035",
381
396
  jsonOutput: true,
382
397
  jsonOutputSchema: true,
383
398
  },
384
399
  {
385
400
  providerId: "google-vertex",
386
401
  modelName: "gemini-2.5-flash",
387
- inputPrice: 0.3 / 1e6,
388
- outputPrice: 2.5 / 1e6,
389
- cachedInputPrice: 0.03 / 1e6,
390
- requestPrice: 0,
402
+ inputPrice: "0.3e-6",
403
+ outputPrice: "2.5e-6",
404
+ cachedInputPrice: "0.03e-6",
405
+ inputAudioPrice: "1.0e-6",
406
+ cachedInputAudioPrice: "0.1e-6",
407
+ requestPrice: "0",
391
408
  contextSize: 1048576,
392
409
  maxOutput: 65535,
393
410
  reasoning: true,
394
411
  reasoningMaxTokens: true,
395
412
  streaming: true,
396
413
  vision: true,
414
+ audio: true,
397
415
  tools: true,
398
416
  webSearch: true,
399
- webSearchPrice: 0.035,
417
+ webSearchPrice: "0.035",
400
418
  jsonOutput: true,
401
419
  jsonOutputSchema: true,
402
420
  },
@@ -412,14 +430,17 @@ export const googleModels = [
412
430
  {
413
431
  providerId: "google-ai-studio",
414
432
  modelName: "gemini-2.5-flash-lite",
415
- inputPrice: 0.1 / 1e6,
416
- outputPrice: 0.4 / 1e6,
417
- cachedInputPrice: 0.01 / 1e6,
418
- requestPrice: 0,
433
+ inputPrice: "0.1e-6",
434
+ outputPrice: "0.4e-6",
435
+ cachedInputPrice: "0.01e-6",
436
+ inputAudioPrice: "0.3e-6",
437
+ cachedInputAudioPrice: "0.03e-6",
438
+ requestPrice: "0",
419
439
  contextSize: 1048576,
420
440
  maxOutput: 65535,
421
441
  streaming: true,
422
442
  vision: true,
443
+ audio: true,
423
444
  tools: true,
424
445
  jsonOutput: true,
425
446
  jsonOutputSchema: true,
@@ -427,14 +448,17 @@ export const googleModels = [
427
448
  {
428
449
  providerId: "google-vertex",
429
450
  modelName: "gemini-2.5-flash-lite",
430
- inputPrice: 0.1 / 1e6,
431
- outputPrice: 0.4 / 1e6,
432
- cachedInputPrice: 0.01 / 1e6,
433
- requestPrice: 0,
451
+ inputPrice: "0.1e-6",
452
+ outputPrice: "0.4e-6",
453
+ cachedInputPrice: "0.01e-6",
454
+ inputAudioPrice: "0.3e-6",
455
+ cachedInputAudioPrice: "0.03e-6",
456
+ requestPrice: "0",
434
457
  contextSize: 1048576,
435
458
  maxOutput: 65535,
436
459
  streaming: true,
437
460
  vision: true,
461
+ audio: true,
438
462
  tools: true,
439
463
  jsonOutput: true,
440
464
  jsonOutputSchema: true,
@@ -452,14 +476,15 @@ export const googleModels = [
452
476
  providerId: "google-ai-studio",
453
477
  deactivatedAt: new Date("2026-03-31"),
454
478
  modelName: "gemini-2.5-flash-lite-preview-09-2025",
455
- inputPrice: 0.1 / 1e6,
456
- outputPrice: 0.4 / 1e6,
457
- cachedInputPrice: 0.01 / 1e6,
458
- requestPrice: 0,
479
+ inputPrice: "0.1e-6",
480
+ outputPrice: "0.4e-6",
481
+ cachedInputPrice: "0.01e-6",
482
+ requestPrice: "0",
459
483
  contextSize: 1048576,
460
484
  maxOutput: 65535,
461
485
  streaming: true,
462
486
  vision: true,
487
+ audio: true,
463
488
  tools: true,
464
489
  jsonOutput: true,
465
490
  jsonOutputSchema: true,
@@ -467,14 +492,15 @@ export const googleModels = [
467
492
  {
468
493
  providerId: "google-vertex",
469
494
  modelName: "gemini-2.5-flash-lite-preview-09-2025",
470
- inputPrice: 0.1 / 1e6,
471
- outputPrice: 0.4 / 1e6,
472
- cachedInputPrice: 0.01 / 1e6,
473
- requestPrice: 0,
495
+ inputPrice: "0.1e-6",
496
+ outputPrice: "0.4e-6",
497
+ cachedInputPrice: "0.01e-6",
498
+ requestPrice: "0",
474
499
  contextSize: 1048576,
475
500
  maxOutput: 65535,
476
501
  streaming: true,
477
502
  vision: true,
503
+ audio: true,
478
504
  tools: true,
479
505
  jsonOutput: true,
480
506
  jsonOutputSchema: true,
@@ -492,35 +518,36 @@ export const googleModels = [
492
518
  test: "skip",
493
519
  providerId: "google-ai-studio",
494
520
  modelName: "gemini-pro-latest",
495
- inputPrice: 2 / 1e6,
496
- outputPrice: 12 / 1e6,
497
- cachedInputPrice: 0.2 / 1e6,
521
+ inputPrice: "2e-6",
522
+ outputPrice: "12e-6",
523
+ cachedInputPrice: "0.2e-6",
498
524
  pricingTiers: [
499
525
  {
500
526
  name: "Up to 200K",
501
527
  upToTokens: 200000,
502
- inputPrice: 2 / 1e6,
503
- outputPrice: 12 / 1e6,
504
- cachedInputPrice: 0.2 / 1e6,
528
+ inputPrice: "2e-6",
529
+ outputPrice: "12e-6",
530
+ cachedInputPrice: "0.2e-6",
505
531
  },
506
532
  {
507
533
  name: "Over 200K",
508
534
  upToTokens: Infinity,
509
- inputPrice: 4 / 1e6,
510
- outputPrice: 18 / 1e6,
511
- cachedInputPrice: 0.4 / 1e6,
535
+ inputPrice: "4e-6",
536
+ outputPrice: "18e-6",
537
+ cachedInputPrice: "0.4e-6",
512
538
  },
513
539
  ],
514
- requestPrice: 0,
540
+ requestPrice: "0",
515
541
  contextSize: 1048576,
516
542
  maxOutput: 65536,
517
543
  reasoning: true,
518
544
  reasoningMaxTokens: true,
519
545
  streaming: true,
520
546
  vision: true,
547
+ audio: true,
521
548
  tools: true,
522
549
  webSearch: true,
523
- webSearchPrice: 0.014,
550
+ webSearchPrice: "0.014",
524
551
  jsonOutput: true,
525
552
  jsonOutputSchema: true,
526
553
  },
@@ -537,35 +564,36 @@ export const googleModels = [
537
564
  test: "skip",
538
565
  providerId: "google-ai-studio",
539
566
  modelName: "gemini-3-pro-preview",
540
- inputPrice: 2 / 1e6,
541
- outputPrice: 12 / 1e6,
542
- cachedInputPrice: 0.2 / 1e6,
567
+ inputPrice: "2e-6",
568
+ outputPrice: "12e-6",
569
+ cachedInputPrice: "0.2e-6",
543
570
  pricingTiers: [
544
571
  {
545
572
  name: "Up to 200K",
546
573
  upToTokens: 200000,
547
- inputPrice: 2 / 1e6,
548
- outputPrice: 12 / 1e6,
549
- cachedInputPrice: 0.2 / 1e6,
574
+ inputPrice: "2e-6",
575
+ outputPrice: "12e-6",
576
+ cachedInputPrice: "0.2e-6",
550
577
  },
551
578
  {
552
579
  name: "Over 200K",
553
580
  upToTokens: Infinity,
554
- inputPrice: 4 / 1e6,
555
- outputPrice: 18 / 1e6,
556
- cachedInputPrice: 0.4 / 1e6,
581
+ inputPrice: "4e-6",
582
+ outputPrice: "18e-6",
583
+ cachedInputPrice: "0.4e-6",
557
584
  },
558
585
  ],
559
- requestPrice: 0,
586
+ requestPrice: "0",
560
587
  contextSize: 1048576,
561
588
  maxOutput: 65536,
562
589
  reasoning: true,
563
590
  reasoningMaxTokens: true,
564
591
  streaming: true,
565
592
  vision: true,
593
+ audio: true,
566
594
  tools: true,
567
595
  webSearch: true,
568
- webSearchPrice: 0.014,
596
+ webSearchPrice: "0.014",
569
597
  jsonOutput: true,
570
598
  jsonOutputSchema: true,
571
599
  deprecatedAt: new Date("2026-02-27"),
@@ -575,35 +603,36 @@ export const googleModels = [
575
603
  test: "skip",
576
604
  providerId: "google-vertex",
577
605
  modelName: "gemini-3-pro-preview",
578
- inputPrice: 2 / 1e6,
579
- outputPrice: 12 / 1e6,
580
- cachedInputPrice: 0.2 / 1e6,
606
+ inputPrice: "2e-6",
607
+ outputPrice: "12e-6",
608
+ cachedInputPrice: "0.2e-6",
581
609
  pricingTiers: [
582
610
  {
583
611
  name: "Up to 200K",
584
612
  upToTokens: 200000,
585
- inputPrice: 2 / 1e6,
586
- outputPrice: 12 / 1e6,
587
- cachedInputPrice: 0.2 / 1e6,
613
+ inputPrice: "2e-6",
614
+ outputPrice: "12e-6",
615
+ cachedInputPrice: "0.2e-6",
588
616
  },
589
617
  {
590
618
  name: "Over 200K",
591
619
  upToTokens: Infinity,
592
- inputPrice: 4 / 1e6,
593
- outputPrice: 18 / 1e6,
594
- cachedInputPrice: 0.4 / 1e6,
620
+ inputPrice: "4e-6",
621
+ outputPrice: "18e-6",
622
+ cachedInputPrice: "0.4e-6",
595
623
  },
596
624
  ],
597
- requestPrice: 0,
625
+ requestPrice: "0",
598
626
  contextSize: 1048576,
599
627
  maxOutput: 65536,
600
628
  reasoning: true,
601
629
  reasoningMaxTokens: true,
602
630
  streaming: true,
603
631
  vision: true,
632
+ audio: true,
604
633
  tools: true,
605
634
  webSearch: true,
606
- webSearchPrice: 0.014,
635
+ webSearchPrice: "0.014",
607
636
  jsonOutput: true,
608
637
  jsonOutputSchema: true,
609
638
  deprecatedAt: new Date("2026-02-27"),
@@ -622,35 +651,36 @@ export const googleModels = [
622
651
  test: "skip",
623
652
  providerId: "google-ai-studio",
624
653
  modelName: "gemini-3.1-pro-preview",
625
- inputPrice: 2 / 1e6,
626
- outputPrice: 12 / 1e6,
627
- cachedInputPrice: 0.2 / 1e6,
654
+ inputPrice: "2e-6",
655
+ outputPrice: "12e-6",
656
+ cachedInputPrice: "0.2e-6",
628
657
  pricingTiers: [
629
658
  {
630
659
  name: "Up to 200K",
631
660
  upToTokens: 200000,
632
- inputPrice: 2 / 1e6,
633
- outputPrice: 12 / 1e6,
634
- cachedInputPrice: 0.2 / 1e6,
661
+ inputPrice: "2e-6",
662
+ outputPrice: "12e-6",
663
+ cachedInputPrice: "0.2e-6",
635
664
  },
636
665
  {
637
666
  name: "Over 200K",
638
667
  upToTokens: Infinity,
639
- inputPrice: 4 / 1e6,
640
- outputPrice: 18 / 1e6,
641
- cachedInputPrice: 0.4 / 1e6,
668
+ inputPrice: "4e-6",
669
+ outputPrice: "18e-6",
670
+ cachedInputPrice: "0.4e-6",
642
671
  },
643
672
  ],
644
- requestPrice: 0,
673
+ requestPrice: "0",
645
674
  contextSize: 1048576,
646
675
  maxOutput: 65536,
647
676
  reasoning: true,
648
677
  reasoningMaxTokens: true,
649
678
  streaming: true,
650
679
  vision: true,
680
+ audio: true,
651
681
  tools: true,
652
682
  webSearch: true,
653
- webSearchPrice: 0.014,
683
+ webSearchPrice: "0.014",
654
684
  jsonOutput: true,
655
685
  jsonOutputSchema: true,
656
686
  },
@@ -658,35 +688,36 @@ export const googleModels = [
658
688
  test: "skip",
659
689
  providerId: "google-vertex",
660
690
  modelName: "gemini-3.1-pro-preview",
661
- inputPrice: 2 / 1e6,
662
- outputPrice: 12 / 1e6,
663
- cachedInputPrice: 0.2 / 1e6,
691
+ inputPrice: "2e-6",
692
+ outputPrice: "12e-6",
693
+ cachedInputPrice: "0.2e-6",
664
694
  pricingTiers: [
665
695
  {
666
696
  name: "Up to 200K",
667
697
  upToTokens: 200000,
668
- inputPrice: 2 / 1e6,
669
- outputPrice: 12 / 1e6,
670
- cachedInputPrice: 0.2 / 1e6,
698
+ inputPrice: "2e-6",
699
+ outputPrice: "12e-6",
700
+ cachedInputPrice: "0.2e-6",
671
701
  },
672
702
  {
673
703
  name: "Over 200K",
674
704
  upToTokens: Infinity,
675
- inputPrice: 4 / 1e6,
676
- outputPrice: 18 / 1e6,
677
- cachedInputPrice: 0.4 / 1e6,
705
+ inputPrice: "4e-6",
706
+ outputPrice: "18e-6",
707
+ cachedInputPrice: "0.4e-6",
678
708
  },
679
709
  ],
680
- requestPrice: 0,
710
+ requestPrice: "0",
681
711
  contextSize: 1048576,
682
712
  maxOutput: 65536,
683
713
  reasoning: true,
684
714
  reasoningMaxTokens: true,
685
715
  streaming: true,
686
716
  vision: true,
717
+ audio: true,
687
718
  tools: true,
688
719
  webSearch: true,
689
- webSearchPrice: 0.014,
720
+ webSearchPrice: "0.014",
690
721
  jsonOutput: true,
691
722
  jsonOutputSchema: true,
692
723
  },
@@ -694,36 +725,37 @@ export const googleModels = [
694
725
  test: "skip",
695
726
  providerId: "quartz",
696
727
  modelName: "gemini-3.1-pro-preview",
697
- discount: 0.2,
698
- inputPrice: 2 / 1e6,
699
- outputPrice: 12 / 1e6,
700
- cachedInputPrice: 0.2 / 1e6,
728
+ discount: "0.2",
729
+ inputPrice: "2e-6",
730
+ outputPrice: "12e-6",
731
+ cachedInputPrice: "0.2e-6",
701
732
  pricingTiers: [
702
733
  {
703
734
  name: "Up to 200K",
704
735
  upToTokens: 200000,
705
- inputPrice: 2 / 1e6,
706
- outputPrice: 12 / 1e6,
707
- cachedInputPrice: 0.2 / 1e6,
736
+ inputPrice: "2e-6",
737
+ outputPrice: "12e-6",
738
+ cachedInputPrice: "0.2e-6",
708
739
  },
709
740
  {
710
741
  name: "Over 200K",
711
742
  upToTokens: Infinity,
712
- inputPrice: 4 / 1e6,
713
- outputPrice: 18 / 1e6,
714
- cachedInputPrice: 0.4 / 1e6,
743
+ inputPrice: "4e-6",
744
+ outputPrice: "18e-6",
745
+ cachedInputPrice: "0.4e-6",
715
746
  },
716
747
  ],
717
- requestPrice: 0,
748
+ requestPrice: "0",
718
749
  contextSize: 1048576,
719
750
  maxOutput: 65536,
720
751
  reasoning: true,
721
752
  reasoningMaxTokens: true,
722
753
  streaming: true,
723
754
  vision: true,
755
+ audio: true,
724
756
  tools: true,
725
757
  webSearch: true,
726
- webSearchPrice: 0.014,
758
+ webSearchPrice: "0.014",
727
759
  jsonOutput: true,
728
760
  jsonOutputSchema: true,
729
761
  },
@@ -740,14 +772,17 @@ export const googleModels = [
740
772
  test: "skip",
741
773
  providerId: "google-ai-studio",
742
774
  modelName: "gemini-3.1-flash-lite-preview",
743
- inputPrice: 0.25 / 1e6,
744
- outputPrice: 1.5 / 1e6,
745
- cachedInputPrice: 0.025 / 1e6,
746
- requestPrice: 0,
775
+ deprecatedAt: new Date("2026-05-12"),
776
+ deactivatedAt: new Date("2026-05-25"),
777
+ inputPrice: "0.25e-6",
778
+ outputPrice: "1.5e-6",
779
+ cachedInputPrice: "0.025e-6",
780
+ requestPrice: "0",
747
781
  contextSize: 1048576,
748
782
  maxOutput: 65536,
749
783
  streaming: true,
750
784
  vision: true,
785
+ audio: true,
751
786
  tools: true,
752
787
  reasoning: true,
753
788
  reasoningMaxTokens: true,
@@ -758,14 +793,17 @@ export const googleModels = [
758
793
  test: "skip",
759
794
  providerId: "google-vertex",
760
795
  modelName: "gemini-3.1-flash-lite-preview",
761
- inputPrice: 0.25 / 1e6,
762
- outputPrice: 1.5 / 1e6,
763
- cachedInputPrice: 0.025 / 1e6,
764
- requestPrice: 0,
796
+ deprecatedAt: new Date("2026-05-12"),
797
+ deactivatedAt: new Date("2026-05-25"),
798
+ inputPrice: "0.25e-6",
799
+ outputPrice: "1.5e-6",
800
+ cachedInputPrice: "0.025e-6",
801
+ requestPrice: "0",
765
802
  contextSize: 1048576,
766
803
  maxOutput: 65536,
767
804
  streaming: true,
768
805
  vision: true,
806
+ audio: true,
769
807
  tools: true,
770
808
  reasoning: true,
771
809
  reasoningMaxTokens: true,
@@ -784,16 +822,19 @@ export const googleModels = [
784
822
  {
785
823
  providerId: "google-ai-studio",
786
824
  modelName: "gemini-3.1-flash-lite",
787
- inputPrice: 0.25 / 1e6,
788
- outputPrice: 1.5 / 1e6,
789
- cachedInputPrice: 0.025 / 1e6,
790
- cacheWriteInputPrice: 0.08333 / 1e6,
791
- requestPrice: 0,
792
- webSearchPrice: 0.014,
825
+ inputPrice: "0.25e-6",
826
+ outputPrice: "1.5e-6",
827
+ cachedInputPrice: "0.025e-6",
828
+ cacheWriteInputPrice: "0.08333e-6",
829
+ inputAudioPrice: "0.5e-6",
830
+ cachedInputAudioPrice: "0.05e-6",
831
+ requestPrice: "0",
832
+ webSearchPrice: "0.014",
793
833
  contextSize: 1048576,
794
834
  maxOutput: 65536,
795
835
  streaming: true,
796
836
  vision: true,
837
+ audio: true,
797
838
  tools: true,
798
839
  webSearch: true,
799
840
  reasoning: true,
@@ -804,16 +845,19 @@ export const googleModels = [
804
845
  {
805
846
  providerId: "google-vertex",
806
847
  modelName: "gemini-3.1-flash-lite",
807
- inputPrice: 0.25 / 1e6,
808
- outputPrice: 1.5 / 1e6,
809
- cachedInputPrice: 0.025 / 1e6,
810
- cacheWriteInputPrice: 0.08333 / 1e6,
811
- requestPrice: 0,
812
- webSearchPrice: 0.014,
848
+ inputPrice: "0.25e-6",
849
+ outputPrice: "1.5e-6",
850
+ cachedInputPrice: "0.025e-6",
851
+ cacheWriteInputPrice: "0.08333e-6",
852
+ inputAudioPrice: "0.5e-6",
853
+ cachedInputAudioPrice: "0.05e-6",
854
+ requestPrice: "0",
855
+ webSearchPrice: "0.014",
813
856
  contextSize: 1048576,
814
857
  maxOutput: 65536,
815
858
  streaming: true,
816
859
  vision: true,
860
+ audio: true,
817
861
  tools: true,
818
862
  webSearch: true,
819
863
  reasoning: true,
@@ -840,10 +884,10 @@ export const googleModels = [
840
884
  outputPrice: undefined,
841
885
  requestPrice: undefined,
842
886
  perSecondPrice: {
843
- default_audio: 0.4,
844
- default_video: 0.2,
845
- "4k_audio": 0.6,
846
- "4k_video": 0.4,
887
+ default_audio: "0.4",
888
+ default_video: "0.2",
889
+ "4k_audio": "0.6",
890
+ "4k_video": "0.4",
847
891
  },
848
892
  supportedVideoSizes: [
849
893
  "1280x720",
@@ -870,12 +914,12 @@ export const googleModels = [
870
914
  inputPrice: undefined,
871
915
  outputPrice: undefined,
872
916
  requestPrice: undefined,
873
- discount: 0.2,
917
+ discount: "0.2",
874
918
  perSecondPrice: {
875
- default_audio: 0.4,
876
- default_video: 0.2,
877
- "4k_audio": 0.6,
878
- "4k_video": 0.4,
919
+ default_audio: "0.4",
920
+ default_video: "0.2",
921
+ "4k_audio": "0.6",
922
+ "4k_video": "0.4",
879
923
  },
880
924
  supportedVideoSizes: [
881
925
  "1920x1080",
@@ -913,10 +957,10 @@ export const googleModels = [
913
957
  outputPrice: undefined,
914
958
  requestPrice: undefined,
915
959
  perSecondPrice: {
916
- default_audio: 0.15,
917
- default_video: 0.1,
918
- "4k_audio": 0.35,
919
- "4k_video": 0.3,
960
+ default_audio: "0.15",
961
+ default_video: "0.1",
962
+ "4k_audio": "0.35",
963
+ "4k_video": "0.3",
920
964
  },
921
965
  supportedVideoSizes: [
922
966
  "1280x720",
@@ -944,8 +988,8 @@ export const googleModels = [
944
988
  outputPrice: undefined,
945
989
  requestPrice: undefined,
946
990
  perSecondPrice: {
947
- default: 0.15,
948
- "4k": 0.35,
991
+ default: "0.15",
992
+ "4k": "0.35",
949
993
  },
950
994
  supportedVideoSizes: [
951
995
  "1920x1080",
@@ -978,11 +1022,11 @@ export const googleModels = [
978
1022
  test: "skip",
979
1023
  providerId: "google-ai-studio",
980
1024
  modelName: "gemini-3.1-flash-image-preview",
981
- inputPrice: 0.25 / 1e6,
982
- outputPrice: 1.5 / 1e6,
983
- imageInputPrice: 0.25 / 1e6,
1025
+ inputPrice: "0.25e-6",
1026
+ outputPrice: "1.5e-6",
1027
+ imageInputPrice: "0.25e-6",
984
1028
  imageInputTokensByResolution: { default: 560 },
985
- imageOutputPrice: 60 / 1e6,
1029
+ imageOutputPrice: "60e-6",
986
1030
  imageOutputTokensByResolution: {
987
1031
  "0.5K": 747,
988
1032
  "1K": 1120,
@@ -990,7 +1034,7 @@ export const googleModels = [
990
1034
  "4K": 2520,
991
1035
  default: 1120,
992
1036
  },
993
- requestPrice: 0,
1037
+ requestPrice: "0",
994
1038
  contextSize: 65536,
995
1039
  maxOutput: 65536,
996
1040
  streaming: true,
@@ -1003,12 +1047,12 @@ export const googleModels = [
1003
1047
  test: "skip",
1004
1048
  providerId: "glacier",
1005
1049
  modelName: "gemini-3.1-flash-image-preview",
1006
- discount: 0.2,
1007
- inputPrice: 0.25 / 1e6,
1008
- outputPrice: 1.5 / 1e6,
1009
- imageInputPrice: 0.25 / 1e6,
1050
+ discount: "0.2",
1051
+ inputPrice: "0.25e-6",
1052
+ outputPrice: "1.5e-6",
1053
+ imageInputPrice: "0.25e-6",
1010
1054
  imageInputTokensByResolution: { default: 560 },
1011
- imageOutputPrice: 60 / 1e6,
1055
+ imageOutputPrice: "60e-6",
1012
1056
  imageOutputTokensByResolution: {
1013
1057
  "0.5K": 747,
1014
1058
  "1K": 1120,
@@ -1016,7 +1060,7 @@ export const googleModels = [
1016
1060
  "4K": 2520,
1017
1061
  default: 1120,
1018
1062
  },
1019
- requestPrice: 0,
1063
+ requestPrice: "0",
1020
1064
  contextSize: 65536,
1021
1065
  maxOutput: 65536,
1022
1066
  streaming: true,
@@ -1029,11 +1073,11 @@ export const googleModels = [
1029
1073
  test: "skip",
1030
1074
  providerId: "google-vertex",
1031
1075
  modelName: "gemini-3.1-flash-image-preview",
1032
- inputPrice: 0.25 / 1e6,
1033
- outputPrice: 1.5 / 1e6,
1034
- imageInputPrice: 0.25 / 1e6,
1076
+ inputPrice: "0.25e-6",
1077
+ outputPrice: "1.5e-6",
1078
+ imageInputPrice: "0.25e-6",
1035
1079
  imageInputTokensByResolution: { default: 560 },
1036
- imageOutputPrice: 60 / 1e6,
1080
+ imageOutputPrice: "60e-6",
1037
1081
  imageOutputTokensByResolution: {
1038
1082
  "0.5K": 747,
1039
1083
  "1K": 1120,
@@ -1041,7 +1085,7 @@ export const googleModels = [
1041
1085
  "4K": 2520,
1042
1086
  default: 1120,
1043
1087
  },
1044
- requestPrice: 0,
1088
+ requestPrice: "0",
1045
1089
  contextSize: 65536,
1046
1090
  maxOutput: 65536,
1047
1091
  streaming: true,
@@ -1054,12 +1098,12 @@ export const googleModels = [
1054
1098
  test: "skip",
1055
1099
  providerId: "quartz",
1056
1100
  modelName: "gemini-3.1-flash-image-preview",
1057
- discount: 0.2,
1058
- inputPrice: 0.25 / 1e6,
1059
- outputPrice: 1.5 / 1e6,
1060
- imageInputPrice: 0.25 / 1e6,
1101
+ discount: "0.2",
1102
+ inputPrice: "0.25e-6",
1103
+ outputPrice: "1.5e-6",
1104
+ imageInputPrice: "0.25e-6",
1061
1105
  imageInputTokensByResolution: { default: 560 },
1062
- imageOutputPrice: 60 / 1e6,
1106
+ imageOutputPrice: "60e-6",
1063
1107
  imageOutputTokensByResolution: {
1064
1108
  "0.5K": 747,
1065
1109
  "1K": 1120,
@@ -1067,7 +1111,7 @@ export const googleModels = [
1067
1111
  "4K": 2520,
1068
1112
  default: 1120,
1069
1113
  },
1070
- requestPrice: 0,
1114
+ requestPrice: "0",
1071
1115
  contextSize: 65536,
1072
1116
  maxOutput: 65536,
1073
1117
  streaming: true,
@@ -1088,38 +1132,44 @@ export const googleModels = [
1088
1132
  {
1089
1133
  providerId: "google-ai-studio",
1090
1134
  modelName: "gemini-3-flash-preview",
1091
- inputPrice: 0.5 / 1e6,
1092
- outputPrice: 3 / 1e6,
1093
- cachedInputPrice: 0.05 / 1e6,
1094
- requestPrice: 0,
1135
+ inputPrice: "0.5e-6",
1136
+ outputPrice: "3e-6",
1137
+ cachedInputPrice: "0.05e-6",
1138
+ inputAudioPrice: "1.0e-6",
1139
+ cachedInputAudioPrice: "0.1e-6",
1140
+ requestPrice: "0",
1095
1141
  contextSize: 1048576,
1096
1142
  maxOutput: 65535,
1097
1143
  reasoning: true,
1098
1144
  reasoningMaxTokens: true,
1099
1145
  streaming: true,
1100
1146
  vision: true,
1147
+ audio: true,
1101
1148
  tools: true,
1102
1149
  webSearch: true,
1103
- webSearchPrice: 0.014,
1150
+ webSearchPrice: "0.014",
1104
1151
  jsonOutput: true,
1105
1152
  jsonOutputSchema: true,
1106
1153
  },
1107
1154
  {
1108
1155
  providerId: "google-vertex",
1109
1156
  modelName: "gemini-3-flash-preview",
1110
- inputPrice: 0.5 / 1e6,
1111
- outputPrice: 3 / 1e6,
1112
- cachedInputPrice: 0.05 / 1e6,
1113
- requestPrice: 0,
1157
+ inputPrice: "0.5e-6",
1158
+ outputPrice: "3e-6",
1159
+ cachedInputPrice: "0.05e-6",
1160
+ inputAudioPrice: "1.0e-6",
1161
+ cachedInputAudioPrice: "0.1e-6",
1162
+ requestPrice: "0",
1114
1163
  contextSize: 1048576,
1115
1164
  maxOutput: 65535,
1116
1165
  reasoning: true,
1117
1166
  reasoningMaxTokens: true,
1118
1167
  streaming: true,
1119
1168
  vision: true,
1169
+ audio: true,
1120
1170
  tools: true,
1121
1171
  webSearch: true,
1122
- webSearchPrice: 0.014,
1172
+ webSearchPrice: "0.014",
1123
1173
  jsonOutput: true,
1124
1174
  jsonOutputSchema: true,
1125
1175
  },
@@ -1138,16 +1188,16 @@ export const googleModels = [
1138
1188
  test: "skip",
1139
1189
  providerId: "google-ai-studio",
1140
1190
  modelName: "gemini-2.5-flash-image-preview",
1141
- inputPrice: 0.3 / 1e6,
1142
- outputPrice: 2.5 / 1e6,
1143
- imageOutputPrice: 30 / 1e6,
1191
+ inputPrice: "0.3e-6",
1192
+ outputPrice: "2.5e-6",
1193
+ imageOutputPrice: "30e-6",
1144
1194
  imageOutputTokensByResolution: {
1145
1195
  "1K": 1120,
1146
1196
  "2K": 1120,
1147
1197
  "4K": 2000,
1148
1198
  default: 1120,
1149
1199
  },
1150
- requestPrice: 0,
1200
+ requestPrice: "0",
1151
1201
  contextSize: 32768,
1152
1202
  maxOutput: 32768,
1153
1203
  streaming: true,
@@ -1162,16 +1212,16 @@ export const googleModels = [
1162
1212
  test: "skip",
1163
1213
  providerId: "google-vertex",
1164
1214
  modelName: "gemini-2.5-flash-image-preview",
1165
- inputPrice: 0.3 / 1e6,
1166
- outputPrice: 2.5 / 1e6,
1167
- imageOutputPrice: 30 / 1e6,
1215
+ inputPrice: "0.3e-6",
1216
+ outputPrice: "2.5e-6",
1217
+ imageOutputPrice: "30e-6",
1168
1218
  imageOutputTokensByResolution: {
1169
1219
  "1K": 1120,
1170
1220
  "2K": 1120,
1171
1221
  "4K": 2000,
1172
1222
  default: 1120,
1173
1223
  },
1174
- requestPrice: 0,
1224
+ requestPrice: "0",
1175
1225
  contextSize: 32768,
1176
1226
  maxOutput: 32768,
1177
1227
  streaming: true,
@@ -1197,10 +1247,10 @@ export const googleModels = [
1197
1247
  test: "skip",
1198
1248
  providerId: "google-ai-studio",
1199
1249
  modelName: "gemini-2.5-flash-image",
1200
- inputPrice: 0.3 / 1e6,
1201
- outputPrice: 30 / 1e6,
1202
- cachedInputPrice: 0.03 / 1e6,
1203
- requestPrice: 0,
1250
+ inputPrice: "0.3e-6",
1251
+ outputPrice: "30e-6",
1252
+ cachedInputPrice: "0.03e-6",
1253
+ requestPrice: "0",
1204
1254
  contextSize: 32768,
1205
1255
  maxOutput: 32768,
1206
1256
  streaming: true,
@@ -1213,10 +1263,10 @@ export const googleModels = [
1213
1263
  test: "skip",
1214
1264
  providerId: "google-vertex",
1215
1265
  modelName: "gemini-2.5-flash-image",
1216
- inputPrice: 0.3 / 1e6,
1217
- outputPrice: 30 / 1e6,
1218
- cachedInputPrice: 0.03 / 1e6,
1219
- requestPrice: 0,
1266
+ inputPrice: "0.3e-6",
1267
+ outputPrice: "30e-6",
1268
+ cachedInputPrice: "0.03e-6",
1269
+ requestPrice: "0",
1220
1270
  contextSize: 32768,
1221
1271
  maxOutput: 32768,
1222
1272
  streaming: true,
@@ -1229,11 +1279,11 @@ export const googleModels = [
1229
1279
  test: "skip",
1230
1280
  providerId: "glacier",
1231
1281
  modelName: "gemini-2.5-flash-image",
1232
- inputPrice: 0.3 / 1e6,
1233
- outputPrice: 30 / 1e6,
1234
- cachedInputPrice: 0.03 / 1e6,
1235
- requestPrice: 0,
1236
- discount: 0.2,
1282
+ inputPrice: "0.3e-6",
1283
+ outputPrice: "30e-6",
1284
+ cachedInputPrice: "0.03e-6",
1285
+ requestPrice: "0",
1286
+ discount: "0.2",
1237
1287
  contextSize: 32768,
1238
1288
  maxOutput: 32768,
1239
1289
  streaming: true,
@@ -1257,19 +1307,19 @@ export const googleModels = [
1257
1307
  test: "skip",
1258
1308
  providerId: "google-ai-studio",
1259
1309
  modelName: "gemini-3-pro-image-preview",
1260
- inputPrice: 2 / 1e6,
1261
- outputPrice: 12 / 1e6,
1262
- cachedInputPrice: 0.2 / 1e6,
1263
- imageInputPrice: 2 / 1e6,
1310
+ inputPrice: "2e-6",
1311
+ outputPrice: "12e-6",
1312
+ cachedInputPrice: "0.2e-6",
1313
+ imageInputPrice: "2e-6",
1264
1314
  imageInputTokensByResolution: { default: 560 },
1265
- imageOutputPrice: 120 / 1e6,
1315
+ imageOutputPrice: "120e-6",
1266
1316
  imageOutputTokensByResolution: {
1267
1317
  "1K": 1120,
1268
1318
  "2K": 1120,
1269
1319
  "4K": 2000,
1270
1320
  default: 1120,
1271
1321
  },
1272
- requestPrice: 0,
1322
+ requestPrice: "0",
1273
1323
  contextSize: 65536,
1274
1324
  maxOutput: 32768,
1275
1325
  streaming: true,
@@ -1282,20 +1332,20 @@ export const googleModels = [
1282
1332
  test: "skip",
1283
1333
  providerId: "glacier",
1284
1334
  modelName: "gemini-3-pro-image-preview",
1285
- discount: 0.2,
1286
- inputPrice: 2 / 1e6,
1287
- outputPrice: 12 / 1e6,
1288
- cachedInputPrice: 0.2 / 1e6,
1289
- imageInputPrice: 2 / 1e6,
1335
+ discount: "0.2",
1336
+ inputPrice: "2e-6",
1337
+ outputPrice: "12e-6",
1338
+ cachedInputPrice: "0.2e-6",
1339
+ imageInputPrice: "2e-6",
1290
1340
  imageInputTokensByResolution: { default: 560 },
1291
- imageOutputPrice: 120 / 1e6,
1341
+ imageOutputPrice: "120e-6",
1292
1342
  imageOutputTokensByResolution: {
1293
1343
  "1K": 1120,
1294
1344
  "2K": 1120,
1295
1345
  "4K": 2000,
1296
1346
  default: 1120,
1297
1347
  },
1298
- requestPrice: 0,
1348
+ requestPrice: "0",
1299
1349
  contextSize: 65536,
1300
1350
  maxOutput: 32768,
1301
1351
  streaming: true,
@@ -1308,19 +1358,19 @@ export const googleModels = [
1308
1358
  test: "skip",
1309
1359
  providerId: "google-vertex",
1310
1360
  modelName: "gemini-3-pro-image-preview",
1311
- inputPrice: 2 / 1e6,
1312
- outputPrice: 12 / 1e6,
1313
- cachedInputPrice: 0.2 / 1e6,
1314
- imageInputPrice: 2 / 1e6,
1361
+ inputPrice: "2e-6",
1362
+ outputPrice: "12e-6",
1363
+ cachedInputPrice: "0.2e-6",
1364
+ imageInputPrice: "2e-6",
1315
1365
  imageInputTokensByResolution: { default: 560 },
1316
- imageOutputPrice: 120 / 1e6,
1366
+ imageOutputPrice: "120e-6",
1317
1367
  imageOutputTokensByResolution: {
1318
1368
  "1K": 1120,
1319
1369
  "2K": 1120,
1320
1370
  "4K": 2000,
1321
1371
  default: 1120,
1322
1372
  },
1323
- requestPrice: 0,
1373
+ requestPrice: "0",
1324
1374
  contextSize: 65536,
1325
1375
  maxOutput: 32768,
1326
1376
  streaming: true,
@@ -1333,20 +1383,20 @@ export const googleModels = [
1333
1383
  test: "skip",
1334
1384
  providerId: "quartz",
1335
1385
  modelName: "gemini-3-pro-image-preview",
1336
- discount: 0.2,
1337
- inputPrice: 2 / 1e6,
1338
- outputPrice: 12 / 1e6,
1339
- cachedInputPrice: 0.2 / 1e6,
1340
- imageInputPrice: 2 / 1e6,
1386
+ discount: "0.2",
1387
+ inputPrice: "2e-6",
1388
+ outputPrice: "12e-6",
1389
+ cachedInputPrice: "0.2e-6",
1390
+ imageInputPrice: "2e-6",
1341
1391
  imageInputTokensByResolution: { default: 560 },
1342
- imageOutputPrice: 120 / 1e6,
1392
+ imageOutputPrice: "120e-6",
1343
1393
  imageOutputTokensByResolution: {
1344
1394
  "1K": 1120,
1345
1395
  "2K": 1120,
1346
1396
  "4K": 2000,
1347
1397
  default: 1120,
1348
1398
  },
1349
- requestPrice: 0,
1399
+ requestPrice: "0",
1350
1400
  contextSize: 65536,
1351
1401
  maxOutput: 32768,
1352
1402
  streaming: true,
@@ -1367,15 +1417,16 @@ export const googleModels = [
1367
1417
  {
1368
1418
  providerId: "google-ai-studio",
1369
1419
  modelName: "gemini-2.5-flash-preview-04-17-thinking",
1370
- inputPrice: 0.15 / 1e6,
1371
- outputPrice: 0.6 / 1e6,
1372
- requestPrice: 0,
1420
+ inputPrice: "0.15e-6",
1421
+ outputPrice: "0.6e-6",
1422
+ requestPrice: "0",
1373
1423
  contextSize: 1000000,
1374
1424
  maxOutput: undefined,
1375
1425
  reasoning: true,
1376
1426
  reasoningMaxTokens: true,
1377
1427
  streaming: true,
1378
1428
  vision: true,
1429
+ audio: true,
1379
1430
  tools: true,
1380
1431
  jsonOutput: true,
1381
1432
  jsonOutputSchema: true,
@@ -1384,15 +1435,16 @@ export const googleModels = [
1384
1435
  {
1385
1436
  providerId: "google-vertex",
1386
1437
  modelName: "gemini-2.5-flash-preview-04-17-thinking",
1387
- inputPrice: 0.15 / 1e6,
1388
- outputPrice: 0.6 / 1e6,
1389
- requestPrice: 0,
1438
+ inputPrice: "0.15e-6",
1439
+ outputPrice: "0.6e-6",
1440
+ requestPrice: "0",
1390
1441
  contextSize: 1000000,
1391
1442
  maxOutput: undefined,
1392
1443
  reasoning: true,
1393
1444
  reasoningMaxTokens: true,
1394
1445
  streaming: true,
1395
1446
  vision: true,
1447
+ audio: true,
1396
1448
  tools: true,
1397
1449
  jsonOutput: true,
1398
1450
  jsonOutputSchema: true,
@@ -1410,15 +1462,16 @@ export const googleModels = [
1410
1462
  {
1411
1463
  providerId: "google-ai-studio",
1412
1464
  modelName: "gemini-1.5-pro",
1413
- inputPrice: 2.5 / 1e6,
1414
- outputPrice: 10.0 / 1e6,
1415
- requestPrice: 0,
1465
+ inputPrice: "2.5e-6",
1466
+ outputPrice: "10.0e-6",
1467
+ requestPrice: "0",
1416
1468
  contextSize: 1000000,
1417
1469
  maxOutput: undefined,
1418
1470
  reasoning: true,
1419
1471
  reasoningMaxTokens: true,
1420
1472
  streaming: true,
1421
1473
  vision: true,
1474
+ audio: true,
1422
1475
  tools: true,
1423
1476
  jsonOutput: true,
1424
1477
  jsonOutputSchema: true,
@@ -1427,15 +1480,16 @@ export const googleModels = [
1427
1480
  {
1428
1481
  providerId: "google-vertex",
1429
1482
  modelName: "gemini-1.5-pro",
1430
- inputPrice: 2.5 / 1e6,
1431
- outputPrice: 10.0 / 1e6,
1432
- requestPrice: 0,
1483
+ inputPrice: "2.5e-6",
1484
+ outputPrice: "10.0e-6",
1485
+ requestPrice: "0",
1433
1486
  contextSize: 1000000,
1434
1487
  maxOutput: undefined,
1435
1488
  reasoning: true,
1436
1489
  reasoningMaxTokens: true,
1437
1490
  streaming: true,
1438
1491
  vision: true,
1492
+ audio: true,
1439
1493
  tools: true,
1440
1494
  jsonOutput: true,
1441
1495
  jsonOutputSchema: true,
@@ -1453,15 +1507,16 @@ export const googleModels = [
1453
1507
  {
1454
1508
  providerId: "google-ai-studio",
1455
1509
  modelName: "gemini-1.5-flash",
1456
- inputPrice: 0.0375 / 1e6,
1457
- outputPrice: 0.15 / 1e6,
1458
- requestPrice: 0,
1510
+ inputPrice: "0.0375e-6",
1511
+ outputPrice: "0.15e-6",
1512
+ requestPrice: "0",
1459
1513
  contextSize: 1000000,
1460
1514
  maxOutput: undefined,
1461
1515
  reasoning: true,
1462
1516
  reasoningMaxTokens: true,
1463
1517
  streaming: true,
1464
1518
  vision: true,
1519
+ audio: true,
1465
1520
  tools: true,
1466
1521
  jsonOutput: true,
1467
1522
  jsonOutputSchema: true,
@@ -1470,15 +1525,16 @@ export const googleModels = [
1470
1525
  {
1471
1526
  providerId: "google-vertex",
1472
1527
  modelName: "gemini-1.5-flash",
1473
- inputPrice: 0.0375 / 1e6,
1474
- outputPrice: 0.15 / 1e6,
1475
- requestPrice: 0,
1528
+ inputPrice: "0.0375e-6",
1529
+ outputPrice: "0.15e-6",
1530
+ requestPrice: "0",
1476
1531
  contextSize: 1000000,
1477
1532
  maxOutput: undefined,
1478
1533
  reasoning: true,
1479
1534
  reasoningMaxTokens: true,
1480
1535
  streaming: true,
1481
1536
  vision: true,
1537
+ audio: true,
1482
1538
  tools: true,
1483
1539
  jsonOutput: true,
1484
1540
  jsonOutputSchema: true,
@@ -1496,15 +1552,16 @@ export const googleModels = [
1496
1552
  {
1497
1553
  providerId: "google-ai-studio",
1498
1554
  modelName: "gemini-1.5-flash-8b",
1499
- inputPrice: 0.0375 / 1e6,
1500
- outputPrice: 0.15 / 1e6,
1501
- requestPrice: 0,
1555
+ inputPrice: "0.0375e-6",
1556
+ outputPrice: "0.15e-6",
1557
+ requestPrice: "0",
1502
1558
  contextSize: 1000000,
1503
1559
  maxOutput: undefined,
1504
1560
  reasoning: true,
1505
1561
  reasoningMaxTokens: true,
1506
1562
  streaming: true,
1507
1563
  vision: false,
1564
+ audio: true,
1508
1565
  tools: true,
1509
1566
  jsonOutput: true,
1510
1567
  jsonOutputSchema: true,
@@ -1513,15 +1570,16 @@ export const googleModels = [
1513
1570
  {
1514
1571
  providerId: "google-vertex",
1515
1572
  modelName: "gemini-1.5-flash-8b",
1516
- inputPrice: 0.0375 / 1e6,
1517
- outputPrice: 0.15 / 1e6,
1518
- requestPrice: 0,
1573
+ inputPrice: "0.0375e-6",
1574
+ outputPrice: "0.15e-6",
1575
+ requestPrice: "0",
1519
1576
  contextSize: 1000000,
1520
1577
  maxOutput: undefined,
1521
1578
  reasoning: true,
1522
1579
  reasoningMaxTokens: true,
1523
1580
  streaming: true,
1524
1581
  vision: false,
1582
+ audio: true,
1525
1583
  tools: true,
1526
1584
  jsonOutput: true,
1527
1585
  jsonOutputSchema: true,
@@ -1539,13 +1597,14 @@ export const googleModels = [
1539
1597
  {
1540
1598
  providerId: "google-ai-studio",
1541
1599
  modelName: "gemini-2.0-flash-lite",
1542
- inputPrice: 0.075 / 1e6,
1543
- outputPrice: 0.3 / 1e6,
1544
- requestPrice: 0,
1600
+ inputPrice: "0.075e-6",
1601
+ outputPrice: "0.3e-6",
1602
+ requestPrice: "0",
1545
1603
  contextSize: 1048576,
1546
1604
  maxOutput: 8192,
1547
1605
  streaming: true,
1548
1606
  vision: false,
1607
+ audio: true,
1549
1608
  tools: true,
1550
1609
  jsonOutput: true,
1551
1610
  jsonOutputSchema: true,
@@ -1555,13 +1614,14 @@ export const googleModels = [
1555
1614
  {
1556
1615
  providerId: "google-vertex",
1557
1616
  modelName: "gemini-2.0-flash-lite",
1558
- inputPrice: 0.075 / 1e6,
1559
- outputPrice: 0.3 / 1e6,
1560
- requestPrice: 0,
1617
+ inputPrice: "0.075e-6",
1618
+ outputPrice: "0.3e-6",
1619
+ requestPrice: "0",
1561
1620
  contextSize: 1048576,
1562
1621
  maxOutput: 8192,
1563
1622
  streaming: true,
1564
1623
  vision: false,
1624
+ audio: true,
1565
1625
  tools: true,
1566
1626
  jsonOutput: true,
1567
1627
  jsonOutputSchema: true,
@@ -1580,14 +1640,17 @@ export const googleModels = [
1580
1640
  {
1581
1641
  providerId: "google-ai-studio",
1582
1642
  modelName: "gemini-2.0-flash",
1583
- inputPrice: 0.1 / 1e6,
1584
- outputPrice: 0.4 / 1e6,
1585
- cachedInputPrice: 0.025 / 1e6,
1586
- requestPrice: 0,
1643
+ inputPrice: "0.1e-6",
1644
+ outputPrice: "0.4e-6",
1645
+ cachedInputPrice: "0.025e-6",
1646
+ inputAudioPrice: "0.7e-6",
1647
+ cachedInputAudioPrice: "0.175e-6",
1648
+ requestPrice: "0",
1587
1649
  contextSize: 1048576,
1588
1650
  maxOutput: 8192,
1589
1651
  streaming: true,
1590
1652
  vision: false,
1653
+ audio: true,
1591
1654
  tools: true,
1592
1655
  jsonOutput: true,
1593
1656
  jsonOutputSchema: true,
@@ -1598,14 +1661,17 @@ export const googleModels = [
1598
1661
  providerId: "google-vertex",
1599
1662
  test: "skip",
1600
1663
  modelName: "gemini-2.0-flash",
1601
- inputPrice: 0.1 / 1e6,
1602
- outputPrice: 0.4 / 1e6,
1603
- cachedInputPrice: 0.025 / 1e6,
1604
- requestPrice: 0,
1664
+ inputPrice: "0.1e-6",
1665
+ outputPrice: "0.4e-6",
1666
+ cachedInputPrice: "0.025e-6",
1667
+ inputAudioPrice: "1.0e-6",
1668
+ cachedInputAudioPrice: "0.175e-6",
1669
+ requestPrice: "0",
1605
1670
  contextSize: 1048576,
1606
1671
  maxOutput: 8192,
1607
1672
  streaming: true,
1608
1673
  vision: false,
1674
+ audio: true,
1609
1675
  tools: true,
1610
1676
  jsonOutput: true,
1611
1677
  jsonOutputSchema: true,
@@ -1624,9 +1690,9 @@ export const googleModels = [
1624
1690
  {
1625
1691
  providerId: "google-ai-studio",
1626
1692
  modelName: "gemma-3n-e2b-it",
1627
- inputPrice: 0.075 / 1e6,
1628
- outputPrice: 0.3 / 1e6,
1629
- requestPrice: 0,
1693
+ inputPrice: "0.075e-6",
1694
+ outputPrice: "0.3e-6",
1695
+ requestPrice: "0",
1630
1696
  contextSize: 1000000,
1631
1697
  maxOutput: undefined,
1632
1698
  streaming: true,
@@ -1647,9 +1713,9 @@ export const googleModels = [
1647
1713
  {
1648
1714
  providerId: "google-ai-studio",
1649
1715
  modelName: "gemma-3n-e4b-it",
1650
- inputPrice: 0.075 / 1e6,
1651
- outputPrice: 0.3 / 1e6,
1652
- requestPrice: 0,
1716
+ inputPrice: "0.075e-6",
1717
+ outputPrice: "0.3e-6",
1718
+ requestPrice: "0",
1653
1719
  contextSize: 1000000,
1654
1720
  maxOutput: undefined,
1655
1721
  streaming: true,
@@ -1670,9 +1736,9 @@ export const googleModels = [
1670
1736
  {
1671
1737
  providerId: "google-ai-studio",
1672
1738
  modelName: "gemma-3-1b-it",
1673
- inputPrice: 0.075 / 1e6,
1674
- outputPrice: 0.3 / 1e6,
1675
- requestPrice: 0,
1739
+ inputPrice: "0.075e-6",
1740
+ outputPrice: "0.3e-6",
1741
+ requestPrice: "0",
1676
1742
  contextSize: 1000000,
1677
1743
  maxOutput: undefined,
1678
1744
  streaming: true,
@@ -1693,9 +1759,9 @@ export const googleModels = [
1693
1759
  {
1694
1760
  providerId: "google-ai-studio",
1695
1761
  modelName: "gemma-3-4b-it",
1696
- inputPrice: 0.075 / 1e6,
1697
- outputPrice: 0.3 / 1e6,
1698
- requestPrice: 0,
1762
+ inputPrice: "0.075e-6",
1763
+ outputPrice: "0.3e-6",
1764
+ requestPrice: "0",
1699
1765
  contextSize: 1000000,
1700
1766
  maxOutput: undefined,
1701
1767
  streaming: true,
@@ -1716,9 +1782,9 @@ export const googleModels = [
1716
1782
  {
1717
1783
  providerId: "google-ai-studio",
1718
1784
  modelName: "gemma-3-12b-it",
1719
- inputPrice: 0.075 / 1e6,
1720
- outputPrice: 0.3 / 1e6,
1721
- requestPrice: 0,
1785
+ inputPrice: "0.075e-6",
1786
+ outputPrice: "0.3e-6",
1787
+ requestPrice: "0",
1722
1788
  contextSize: 1000000,
1723
1789
  maxOutput: undefined,
1724
1790
  streaming: true,
@@ -1739,9 +1805,9 @@ export const googleModels = [
1739
1805
  {
1740
1806
  providerId: "groq",
1741
1807
  modelName: "gemma2-9b-it",
1742
- inputPrice: 0.2 / 1e6,
1743
- outputPrice: 0.2 / 1e6,
1744
- requestPrice: 0,
1808
+ inputPrice: "0.2e-6",
1809
+ outputPrice: "0.2e-6",
1810
+ requestPrice: "0",
1745
1811
  contextSize: 8129,
1746
1812
  maxOutput: undefined,
1747
1813
  streaming: true,
@@ -1763,9 +1829,9 @@ export const googleModels = [
1763
1829
  {
1764
1830
  providerId: "nebius",
1765
1831
  modelName: "google/gemma-3-27b-it",
1766
- inputPrice: 0.27 / 1e6,
1767
- outputPrice: 0.27 / 1e6,
1768
- requestPrice: 0,
1832
+ inputPrice: "0.27e-6",
1833
+ outputPrice: "0.27e-6",
1834
+ requestPrice: "0",
1769
1835
  contextSize: 128000,
1770
1836
  maxOutput: undefined,
1771
1837
  streaming: true,