@llmgateway/models 1.80.0 → 1.83.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 (52) 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 +360 -356
  14. package/dist/models/google.js +360 -356
  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 +392 -327
  32. package/dist/models/openai.js +401 -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 +2269 -2174
  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 +4 -4
  52. package/package.json +1 -1
@@ -9,26 +9,26 @@ 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,
@@ -38,33 +38,33 @@ export const googleModels = [
38
38
  audio: true,
39
39
  tools: true,
40
40
  webSearch: true,
41
- webSearchPrice: 0.035,
41
+ webSearchPrice: "0.035",
42
42
  jsonOutput: true,
43
43
  jsonOutputSchema: true,
44
44
  },
45
45
  {
46
46
  providerId: "google-vertex",
47
47
  modelName: "gemini-2.5-pro",
48
- inputPrice: 1.25 / 1e6,
49
- outputPrice: 10.0 / 1e6,
50
- cachedInputPrice: 0.125 / 1e6,
48
+ inputPrice: "1.25e-6",
49
+ outputPrice: "10.0e-6",
50
+ cachedInputPrice: "0.125e-6",
51
51
  pricingTiers: [
52
52
  {
53
53
  name: "Up to 200K",
54
54
  upToTokens: 200000,
55
- inputPrice: 1.25 / 1e6,
56
- outputPrice: 10.0 / 1e6,
57
- cachedInputPrice: 0.125 / 1e6,
55
+ inputPrice: "1.25e-6",
56
+ outputPrice: "10.0e-6",
57
+ cachedInputPrice: "0.125e-6",
58
58
  },
59
59
  {
60
60
  name: "Over 200K",
61
61
  upToTokens: Infinity,
62
- inputPrice: 2.5 / 1e6,
63
- outputPrice: 15.0 / 1e6,
64
- cachedInputPrice: 0.25 / 1e6,
62
+ inputPrice: "2.5e-6",
63
+ outputPrice: "15.0e-6",
64
+ cachedInputPrice: "0.25e-6",
65
65
  },
66
66
  ],
67
- requestPrice: 0,
67
+ requestPrice: "0",
68
68
  contextSize: 1048576,
69
69
  maxOutput: 65536,
70
70
  reasoning: true,
@@ -74,7 +74,7 @@ export const googleModels = [
74
74
  audio: true,
75
75
  tools: true,
76
76
  webSearch: true,
77
- webSearchPrice: 0.035,
77
+ webSearchPrice: "0.035",
78
78
  jsonOutput: true,
79
79
  jsonOutputSchema: true,
80
80
  },
@@ -91,23 +91,23 @@ export const googleModels = [
91
91
  test: "skip",
92
92
  providerId: "google-ai-studio",
93
93
  modelName: "gemini-2.5-pro-preview-05-06",
94
- inputPrice: 1.25 / 1e6,
95
- outputPrice: 10.0 / 1e6,
94
+ inputPrice: "1.25e-6",
95
+ outputPrice: "10.0e-6",
96
96
  pricingTiers: [
97
97
  {
98
98
  name: "Up to 200K",
99
99
  upToTokens: 200000,
100
- inputPrice: 1.25 / 1e6,
101
- outputPrice: 10.0 / 1e6,
100
+ inputPrice: "1.25e-6",
101
+ outputPrice: "10.0e-6",
102
102
  },
103
103
  {
104
104
  name: "Over 200K",
105
105
  upToTokens: Infinity,
106
- inputPrice: 2.5 / 1e6,
107
- outputPrice: 15.0 / 1e6,
106
+ inputPrice: "2.5e-6",
107
+ outputPrice: "15.0e-6",
108
108
  },
109
109
  ],
110
- requestPrice: 0,
110
+ requestPrice: "0",
111
111
  contextSize: 1000000,
112
112
  maxOutput: undefined,
113
113
  reasoning: true,
@@ -124,23 +124,23 @@ export const googleModels = [
124
124
  test: "skip",
125
125
  providerId: "google-vertex",
126
126
  modelName: "gemini-2.5-pro-preview-05-06",
127
- inputPrice: 1.25 / 1e6,
128
- outputPrice: 10.0 / 1e6,
127
+ inputPrice: "1.25e-6",
128
+ outputPrice: "10.0e-6",
129
129
  pricingTiers: [
130
130
  {
131
131
  name: "Up to 200K",
132
132
  upToTokens: 200000,
133
- inputPrice: 1.25 / 1e6,
134
- outputPrice: 10.0 / 1e6,
133
+ inputPrice: "1.25e-6",
134
+ outputPrice: "10.0e-6",
135
135
  },
136
136
  {
137
137
  name: "Over 200K",
138
138
  upToTokens: Infinity,
139
- inputPrice: 2.5 / 1e6,
140
- outputPrice: 15.0 / 1e6,
139
+ inputPrice: "2.5e-6",
140
+ outputPrice: "15.0e-6",
141
141
  },
142
142
  ],
143
- requestPrice: 0,
143
+ requestPrice: "0",
144
144
  contextSize: 1000000,
145
145
  maxOutput: undefined,
146
146
  reasoning: true,
@@ -166,23 +166,23 @@ export const googleModels = [
166
166
  test: "skip",
167
167
  providerId: "google-ai-studio",
168
168
  modelName: "gemini-2.5-pro-preview-06-05",
169
- inputPrice: 1.25 / 1e6,
170
- outputPrice: 10.0 / 1e6,
169
+ inputPrice: "1.25e-6",
170
+ outputPrice: "10.0e-6",
171
171
  pricingTiers: [
172
172
  {
173
173
  name: "Up to 200K",
174
174
  upToTokens: 200000,
175
- inputPrice: 1.25 / 1e6,
176
- outputPrice: 10.0 / 1e6,
175
+ inputPrice: "1.25e-6",
176
+ outputPrice: "10.0e-6",
177
177
  },
178
178
  {
179
179
  name: "Over 200K",
180
180
  upToTokens: Infinity,
181
- inputPrice: 2.5 / 1e6,
182
- outputPrice: 15.0 / 1e6,
181
+ inputPrice: "2.5e-6",
182
+ outputPrice: "15.0e-6",
183
183
  },
184
184
  ],
185
- requestPrice: 0,
185
+ requestPrice: "0",
186
186
  contextSize: 1000000,
187
187
  maxOutput: undefined,
188
188
  reasoning: true,
@@ -199,23 +199,23 @@ export const googleModels = [
199
199
  test: "skip",
200
200
  providerId: "google-vertex",
201
201
  modelName: "gemini-2.5-pro-preview-06-05",
202
- inputPrice: 1.25 / 1e6,
203
- outputPrice: 10.0 / 1e6,
202
+ inputPrice: "1.25e-6",
203
+ outputPrice: "10.0e-6",
204
204
  pricingTiers: [
205
205
  {
206
206
  name: "Up to 200K",
207
207
  upToTokens: 200000,
208
- inputPrice: 1.25 / 1e6,
209
- outputPrice: 10.0 / 1e6,
208
+ inputPrice: "1.25e-6",
209
+ outputPrice: "10.0e-6",
210
210
  },
211
211
  {
212
212
  name: "Over 200K",
213
213
  upToTokens: Infinity,
214
- inputPrice: 2.5 / 1e6,
215
- outputPrice: 15.0 / 1e6,
214
+ inputPrice: "2.5e-6",
215
+ outputPrice: "15.0e-6",
216
216
  },
217
217
  ],
218
- requestPrice: 0,
218
+ requestPrice: "0",
219
219
  contextSize: 1000000,
220
220
  maxOutput: undefined,
221
221
  reasoning: true,
@@ -240,9 +240,9 @@ export const googleModels = [
240
240
  {
241
241
  providerId: "google-ai-studio",
242
242
  modelName: "gemini-2.5-flash-preview-04-17",
243
- inputPrice: 0.15 / 1e6,
244
- outputPrice: 0.6 / 1e6,
245
- requestPrice: 0,
243
+ inputPrice: "0.15e-6",
244
+ outputPrice: "0.6e-6",
245
+ requestPrice: "0",
246
246
  contextSize: 1000000,
247
247
  maxOutput: undefined,
248
248
  reasoning: true,
@@ -258,9 +258,9 @@ export const googleModels = [
258
258
  {
259
259
  providerId: "google-vertex",
260
260
  modelName: "gemini-2.5-flash-preview-04-17",
261
- inputPrice: 0.15 / 1e6,
262
- outputPrice: 0.6 / 1e6,
263
- requestPrice: 0,
261
+ inputPrice: "0.15e-6",
262
+ outputPrice: "0.6e-6",
263
+ requestPrice: "0",
264
264
  contextSize: 1000000,
265
265
  maxOutput: undefined,
266
266
  reasoning: true,
@@ -285,9 +285,9 @@ export const googleModels = [
285
285
  {
286
286
  providerId: "google-ai-studio",
287
287
  modelName: "gemini-2.5-flash-preview-05-20",
288
- inputPrice: 0.15 / 1e6,
289
- outputPrice: 0.6 / 1e6,
290
- requestPrice: 0,
288
+ inputPrice: "0.15e-6",
289
+ outputPrice: "0.6e-6",
290
+ requestPrice: "0",
291
291
  contextSize: 1000000,
292
292
  maxOutput: undefined,
293
293
  reasoning: true,
@@ -303,9 +303,9 @@ export const googleModels = [
303
303
  {
304
304
  providerId: "google-vertex",
305
305
  modelName: "gemini-2.5-flash-preview-05-20",
306
- inputPrice: 0.15 / 1e6,
307
- outputPrice: 0.6 / 1e6,
308
- requestPrice: 0,
306
+ inputPrice: "0.15e-6",
307
+ outputPrice: "0.6e-6",
308
+ requestPrice: "0",
309
309
  contextSize: 1000000,
310
310
  maxOutput: undefined,
311
311
  reasoning: true,
@@ -331,10 +331,10 @@ export const googleModels = [
331
331
  providerId: "google-ai-studio",
332
332
  modelName: "gemini-2.5-flash-preview-09-2025",
333
333
  deactivatedAt: new Date("2026-01-17"),
334
- inputPrice: 0.3 / 1e6,
335
- outputPrice: 2.5 / 1e6,
336
- cachedInputPrice: 0.03 / 1e6,
337
- requestPrice: 0,
334
+ inputPrice: "0.3e-6",
335
+ outputPrice: "2.5e-6",
336
+ cachedInputPrice: "0.03e-6",
337
+ requestPrice: "0",
338
338
  contextSize: 1048576,
339
339
  maxOutput: 65536,
340
340
  reasoning: true,
@@ -350,10 +350,10 @@ export const googleModels = [
350
350
  providerId: "google-vertex",
351
351
  deactivatedAt: new Date("2026-01-27"),
352
352
  modelName: "gemini-2.5-flash-preview-09-2025",
353
- inputPrice: 0.3 / 1e6,
354
- outputPrice: 2.5 / 1e6,
355
- cachedInputPrice: 0.03 / 1e6,
356
- requestPrice: 0,
353
+ inputPrice: "0.3e-6",
354
+ outputPrice: "2.5e-6",
355
+ cachedInputPrice: "0.03e-6",
356
+ requestPrice: "0",
357
357
  contextSize: 1048576,
358
358
  maxOutput: 65536,
359
359
  reasoning: true,
@@ -377,12 +377,12 @@ export const googleModels = [
377
377
  {
378
378
  providerId: "google-ai-studio",
379
379
  modelName: "gemini-2.5-flash",
380
- inputPrice: 0.3 / 1e6,
381
- outputPrice: 2.5 / 1e6,
382
- cachedInputPrice: 0.03 / 1e6,
383
- inputAudioPrice: 1.0 / 1e6,
384
- cachedInputAudioPrice: 0.1 / 1e6,
385
- 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",
386
386
  contextSize: 1048576,
387
387
  maxOutput: 65535,
388
388
  reasoning: true,
@@ -392,19 +392,19 @@ export const googleModels = [
392
392
  audio: true,
393
393
  tools: true,
394
394
  webSearch: true,
395
- webSearchPrice: 0.035,
395
+ webSearchPrice: "0.035",
396
396
  jsonOutput: true,
397
397
  jsonOutputSchema: true,
398
398
  },
399
399
  {
400
400
  providerId: "google-vertex",
401
401
  modelName: "gemini-2.5-flash",
402
- inputPrice: 0.3 / 1e6,
403
- outputPrice: 2.5 / 1e6,
404
- cachedInputPrice: 0.03 / 1e6,
405
- inputAudioPrice: 1.0 / 1e6,
406
- cachedInputAudioPrice: 0.1 / 1e6,
407
- 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",
408
408
  contextSize: 1048576,
409
409
  maxOutput: 65535,
410
410
  reasoning: true,
@@ -414,7 +414,7 @@ export const googleModels = [
414
414
  audio: true,
415
415
  tools: true,
416
416
  webSearch: true,
417
- webSearchPrice: 0.035,
417
+ webSearchPrice: "0.035",
418
418
  jsonOutput: true,
419
419
  jsonOutputSchema: true,
420
420
  },
@@ -430,12 +430,12 @@ export const googleModels = [
430
430
  {
431
431
  providerId: "google-ai-studio",
432
432
  modelName: "gemini-2.5-flash-lite",
433
- inputPrice: 0.1 / 1e6,
434
- outputPrice: 0.4 / 1e6,
435
- cachedInputPrice: 0.01 / 1e6,
436
- inputAudioPrice: 0.3 / 1e6,
437
- cachedInputAudioPrice: 0.03 / 1e6,
438
- 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",
439
439
  contextSize: 1048576,
440
440
  maxOutput: 65535,
441
441
  streaming: true,
@@ -448,12 +448,12 @@ export const googleModels = [
448
448
  {
449
449
  providerId: "google-vertex",
450
450
  modelName: "gemini-2.5-flash-lite",
451
- inputPrice: 0.1 / 1e6,
452
- outputPrice: 0.4 / 1e6,
453
- cachedInputPrice: 0.01 / 1e6,
454
- inputAudioPrice: 0.3 / 1e6,
455
- cachedInputAudioPrice: 0.03 / 1e6,
456
- 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",
457
457
  contextSize: 1048576,
458
458
  maxOutput: 65535,
459
459
  streaming: true,
@@ -476,10 +476,10 @@ export const googleModels = [
476
476
  providerId: "google-ai-studio",
477
477
  deactivatedAt: new Date("2026-03-31"),
478
478
  modelName: "gemini-2.5-flash-lite-preview-09-2025",
479
- inputPrice: 0.1 / 1e6,
480
- outputPrice: 0.4 / 1e6,
481
- cachedInputPrice: 0.01 / 1e6,
482
- requestPrice: 0,
479
+ inputPrice: "0.1e-6",
480
+ outputPrice: "0.4e-6",
481
+ cachedInputPrice: "0.01e-6",
482
+ requestPrice: "0",
483
483
  contextSize: 1048576,
484
484
  maxOutput: 65535,
485
485
  streaming: true,
@@ -492,10 +492,10 @@ export const googleModels = [
492
492
  {
493
493
  providerId: "google-vertex",
494
494
  modelName: "gemini-2.5-flash-lite-preview-09-2025",
495
- inputPrice: 0.1 / 1e6,
496
- outputPrice: 0.4 / 1e6,
497
- cachedInputPrice: 0.01 / 1e6,
498
- requestPrice: 0,
495
+ inputPrice: "0.1e-6",
496
+ outputPrice: "0.4e-6",
497
+ cachedInputPrice: "0.01e-6",
498
+ requestPrice: "0",
499
499
  contextSize: 1048576,
500
500
  maxOutput: 65535,
501
501
  streaming: true,
@@ -518,26 +518,26 @@ export const googleModels = [
518
518
  test: "skip",
519
519
  providerId: "google-ai-studio",
520
520
  modelName: "gemini-pro-latest",
521
- inputPrice: 2 / 1e6,
522
- outputPrice: 12 / 1e6,
523
- cachedInputPrice: 0.2 / 1e6,
521
+ inputPrice: "2e-6",
522
+ outputPrice: "12e-6",
523
+ cachedInputPrice: "0.2e-6",
524
524
  pricingTiers: [
525
525
  {
526
526
  name: "Up to 200K",
527
527
  upToTokens: 200000,
528
- inputPrice: 2 / 1e6,
529
- outputPrice: 12 / 1e6,
530
- cachedInputPrice: 0.2 / 1e6,
528
+ inputPrice: "2e-6",
529
+ outputPrice: "12e-6",
530
+ cachedInputPrice: "0.2e-6",
531
531
  },
532
532
  {
533
533
  name: "Over 200K",
534
534
  upToTokens: Infinity,
535
- inputPrice: 4 / 1e6,
536
- outputPrice: 18 / 1e6,
537
- cachedInputPrice: 0.4 / 1e6,
535
+ inputPrice: "4e-6",
536
+ outputPrice: "18e-6",
537
+ cachedInputPrice: "0.4e-6",
538
538
  },
539
539
  ],
540
- requestPrice: 0,
540
+ requestPrice: "0",
541
541
  contextSize: 1048576,
542
542
  maxOutput: 65536,
543
543
  reasoning: true,
@@ -547,7 +547,7 @@ export const googleModels = [
547
547
  audio: true,
548
548
  tools: true,
549
549
  webSearch: true,
550
- webSearchPrice: 0.014,
550
+ webSearchPrice: "0.014",
551
551
  jsonOutput: true,
552
552
  jsonOutputSchema: true,
553
553
  },
@@ -564,26 +564,26 @@ export const googleModels = [
564
564
  test: "skip",
565
565
  providerId: "google-ai-studio",
566
566
  modelName: "gemini-3-pro-preview",
567
- inputPrice: 2 / 1e6,
568
- outputPrice: 12 / 1e6,
569
- cachedInputPrice: 0.2 / 1e6,
567
+ inputPrice: "2e-6",
568
+ outputPrice: "12e-6",
569
+ cachedInputPrice: "0.2e-6",
570
570
  pricingTiers: [
571
571
  {
572
572
  name: "Up to 200K",
573
573
  upToTokens: 200000,
574
- inputPrice: 2 / 1e6,
575
- outputPrice: 12 / 1e6,
576
- cachedInputPrice: 0.2 / 1e6,
574
+ inputPrice: "2e-6",
575
+ outputPrice: "12e-6",
576
+ cachedInputPrice: "0.2e-6",
577
577
  },
578
578
  {
579
579
  name: "Over 200K",
580
580
  upToTokens: Infinity,
581
- inputPrice: 4 / 1e6,
582
- outputPrice: 18 / 1e6,
583
- cachedInputPrice: 0.4 / 1e6,
581
+ inputPrice: "4e-6",
582
+ outputPrice: "18e-6",
583
+ cachedInputPrice: "0.4e-6",
584
584
  },
585
585
  ],
586
- requestPrice: 0,
586
+ requestPrice: "0",
587
587
  contextSize: 1048576,
588
588
  maxOutput: 65536,
589
589
  reasoning: true,
@@ -593,7 +593,7 @@ export const googleModels = [
593
593
  audio: true,
594
594
  tools: true,
595
595
  webSearch: true,
596
- webSearchPrice: 0.014,
596
+ webSearchPrice: "0.014",
597
597
  jsonOutput: true,
598
598
  jsonOutputSchema: true,
599
599
  deprecatedAt: new Date("2026-02-27"),
@@ -603,26 +603,26 @@ export const googleModels = [
603
603
  test: "skip",
604
604
  providerId: "google-vertex",
605
605
  modelName: "gemini-3-pro-preview",
606
- inputPrice: 2 / 1e6,
607
- outputPrice: 12 / 1e6,
608
- cachedInputPrice: 0.2 / 1e6,
606
+ inputPrice: "2e-6",
607
+ outputPrice: "12e-6",
608
+ cachedInputPrice: "0.2e-6",
609
609
  pricingTiers: [
610
610
  {
611
611
  name: "Up to 200K",
612
612
  upToTokens: 200000,
613
- inputPrice: 2 / 1e6,
614
- outputPrice: 12 / 1e6,
615
- cachedInputPrice: 0.2 / 1e6,
613
+ inputPrice: "2e-6",
614
+ outputPrice: "12e-6",
615
+ cachedInputPrice: "0.2e-6",
616
616
  },
617
617
  {
618
618
  name: "Over 200K",
619
619
  upToTokens: Infinity,
620
- inputPrice: 4 / 1e6,
621
- outputPrice: 18 / 1e6,
622
- cachedInputPrice: 0.4 / 1e6,
620
+ inputPrice: "4e-6",
621
+ outputPrice: "18e-6",
622
+ cachedInputPrice: "0.4e-6",
623
623
  },
624
624
  ],
625
- requestPrice: 0,
625
+ requestPrice: "0",
626
626
  contextSize: 1048576,
627
627
  maxOutput: 65536,
628
628
  reasoning: true,
@@ -632,7 +632,7 @@ export const googleModels = [
632
632
  audio: true,
633
633
  tools: true,
634
634
  webSearch: true,
635
- webSearchPrice: 0.014,
635
+ webSearchPrice: "0.014",
636
636
  jsonOutput: true,
637
637
  jsonOutputSchema: true,
638
638
  deprecatedAt: new Date("2026-02-27"),
@@ -651,26 +651,26 @@ export const googleModels = [
651
651
  test: "skip",
652
652
  providerId: "google-ai-studio",
653
653
  modelName: "gemini-3.1-pro-preview",
654
- inputPrice: 2 / 1e6,
655
- outputPrice: 12 / 1e6,
656
- cachedInputPrice: 0.2 / 1e6,
654
+ inputPrice: "2e-6",
655
+ outputPrice: "12e-6",
656
+ cachedInputPrice: "0.2e-6",
657
657
  pricingTiers: [
658
658
  {
659
659
  name: "Up to 200K",
660
660
  upToTokens: 200000,
661
- inputPrice: 2 / 1e6,
662
- outputPrice: 12 / 1e6,
663
- cachedInputPrice: 0.2 / 1e6,
661
+ inputPrice: "2e-6",
662
+ outputPrice: "12e-6",
663
+ cachedInputPrice: "0.2e-6",
664
664
  },
665
665
  {
666
666
  name: "Over 200K",
667
667
  upToTokens: Infinity,
668
- inputPrice: 4 / 1e6,
669
- outputPrice: 18 / 1e6,
670
- cachedInputPrice: 0.4 / 1e6,
668
+ inputPrice: "4e-6",
669
+ outputPrice: "18e-6",
670
+ cachedInputPrice: "0.4e-6",
671
671
  },
672
672
  ],
673
- requestPrice: 0,
673
+ requestPrice: "0",
674
674
  contextSize: 1048576,
675
675
  maxOutput: 65536,
676
676
  reasoning: true,
@@ -680,7 +680,7 @@ export const googleModels = [
680
680
  audio: true,
681
681
  tools: true,
682
682
  webSearch: true,
683
- webSearchPrice: 0.014,
683
+ webSearchPrice: "0.014",
684
684
  jsonOutput: true,
685
685
  jsonOutputSchema: true,
686
686
  },
@@ -688,26 +688,26 @@ export const googleModels = [
688
688
  test: "skip",
689
689
  providerId: "google-vertex",
690
690
  modelName: "gemini-3.1-pro-preview",
691
- inputPrice: 2 / 1e6,
692
- outputPrice: 12 / 1e6,
693
- cachedInputPrice: 0.2 / 1e6,
691
+ inputPrice: "2e-6",
692
+ outputPrice: "12e-6",
693
+ cachedInputPrice: "0.2e-6",
694
694
  pricingTiers: [
695
695
  {
696
696
  name: "Up to 200K",
697
697
  upToTokens: 200000,
698
- inputPrice: 2 / 1e6,
699
- outputPrice: 12 / 1e6,
700
- cachedInputPrice: 0.2 / 1e6,
698
+ inputPrice: "2e-6",
699
+ outputPrice: "12e-6",
700
+ cachedInputPrice: "0.2e-6",
701
701
  },
702
702
  {
703
703
  name: "Over 200K",
704
704
  upToTokens: Infinity,
705
- inputPrice: 4 / 1e6,
706
- outputPrice: 18 / 1e6,
707
- cachedInputPrice: 0.4 / 1e6,
705
+ inputPrice: "4e-6",
706
+ outputPrice: "18e-6",
707
+ cachedInputPrice: "0.4e-6",
708
708
  },
709
709
  ],
710
- requestPrice: 0,
710
+ requestPrice: "0",
711
711
  contextSize: 1048576,
712
712
  maxOutput: 65536,
713
713
  reasoning: true,
@@ -717,7 +717,7 @@ export const googleModels = [
717
717
  audio: true,
718
718
  tools: true,
719
719
  webSearch: true,
720
- webSearchPrice: 0.014,
720
+ webSearchPrice: "0.014",
721
721
  jsonOutput: true,
722
722
  jsonOutputSchema: true,
723
723
  },
@@ -725,27 +725,27 @@ export const googleModels = [
725
725
  test: "skip",
726
726
  providerId: "quartz",
727
727
  modelName: "gemini-3.1-pro-preview",
728
- discount: 0.2,
729
- inputPrice: 2 / 1e6,
730
- outputPrice: 12 / 1e6,
731
- cachedInputPrice: 0.2 / 1e6,
728
+ discount: "0.2",
729
+ inputPrice: "2e-6",
730
+ outputPrice: "12e-6",
731
+ cachedInputPrice: "0.2e-6",
732
732
  pricingTiers: [
733
733
  {
734
734
  name: "Up to 200K",
735
735
  upToTokens: 200000,
736
- inputPrice: 2 / 1e6,
737
- outputPrice: 12 / 1e6,
738
- cachedInputPrice: 0.2 / 1e6,
736
+ inputPrice: "2e-6",
737
+ outputPrice: "12e-6",
738
+ cachedInputPrice: "0.2e-6",
739
739
  },
740
740
  {
741
741
  name: "Over 200K",
742
742
  upToTokens: Infinity,
743
- inputPrice: 4 / 1e6,
744
- outputPrice: 18 / 1e6,
745
- cachedInputPrice: 0.4 / 1e6,
743
+ inputPrice: "4e-6",
744
+ outputPrice: "18e-6",
745
+ cachedInputPrice: "0.4e-6",
746
746
  },
747
747
  ],
748
- requestPrice: 0,
748
+ requestPrice: "0",
749
749
  contextSize: 1048576,
750
750
  maxOutput: 65536,
751
751
  reasoning: true,
@@ -755,7 +755,7 @@ export const googleModels = [
755
755
  audio: true,
756
756
  tools: true,
757
757
  webSearch: true,
758
- webSearchPrice: 0.014,
758
+ webSearchPrice: "0.014",
759
759
  jsonOutput: true,
760
760
  jsonOutputSchema: true,
761
761
  },
@@ -772,10 +772,12 @@ export const googleModels = [
772
772
  test: "skip",
773
773
  providerId: "google-ai-studio",
774
774
  modelName: "gemini-3.1-flash-lite-preview",
775
- inputPrice: 0.25 / 1e6,
776
- outputPrice: 1.5 / 1e6,
777
- cachedInputPrice: 0.025 / 1e6,
778
- 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",
779
781
  contextSize: 1048576,
780
782
  maxOutput: 65536,
781
783
  streaming: true,
@@ -791,10 +793,12 @@ export const googleModels = [
791
793
  test: "skip",
792
794
  providerId: "google-vertex",
793
795
  modelName: "gemini-3.1-flash-lite-preview",
794
- inputPrice: 0.25 / 1e6,
795
- outputPrice: 1.5 / 1e6,
796
- cachedInputPrice: 0.025 / 1e6,
797
- 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",
798
802
  contextSize: 1048576,
799
803
  maxOutput: 65536,
800
804
  streaming: true,
@@ -818,14 +822,14 @@ export const googleModels = [
818
822
  {
819
823
  providerId: "google-ai-studio",
820
824
  modelName: "gemini-3.1-flash-lite",
821
- inputPrice: 0.25 / 1e6,
822
- outputPrice: 1.5 / 1e6,
823
- cachedInputPrice: 0.025 / 1e6,
824
- cacheWriteInputPrice: 0.08333 / 1e6,
825
- inputAudioPrice: 0.5 / 1e6,
826
- cachedInputAudioPrice: 0.05 / 1e6,
827
- requestPrice: 0,
828
- 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",
829
833
  contextSize: 1048576,
830
834
  maxOutput: 65536,
831
835
  streaming: true,
@@ -841,14 +845,14 @@ export const googleModels = [
841
845
  {
842
846
  providerId: "google-vertex",
843
847
  modelName: "gemini-3.1-flash-lite",
844
- inputPrice: 0.25 / 1e6,
845
- outputPrice: 1.5 / 1e6,
846
- cachedInputPrice: 0.025 / 1e6,
847
- cacheWriteInputPrice: 0.08333 / 1e6,
848
- inputAudioPrice: 0.5 / 1e6,
849
- cachedInputAudioPrice: 0.05 / 1e6,
850
- requestPrice: 0,
851
- 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",
852
856
  contextSize: 1048576,
853
857
  maxOutput: 65536,
854
858
  streaming: true,
@@ -880,10 +884,10 @@ export const googleModels = [
880
884
  outputPrice: undefined,
881
885
  requestPrice: undefined,
882
886
  perSecondPrice: {
883
- default_audio: 0.4,
884
- default_video: 0.2,
885
- "4k_audio": 0.6,
886
- "4k_video": 0.4,
887
+ default_audio: "0.4",
888
+ default_video: "0.2",
889
+ "4k_audio": "0.6",
890
+ "4k_video": "0.4",
887
891
  },
888
892
  supportedVideoSizes: [
889
893
  "1280x720",
@@ -910,12 +914,12 @@ export const googleModels = [
910
914
  inputPrice: undefined,
911
915
  outputPrice: undefined,
912
916
  requestPrice: undefined,
913
- discount: 0.2,
917
+ discount: "0.2",
914
918
  perSecondPrice: {
915
- default_audio: 0.4,
916
- default_video: 0.2,
917
- "4k_audio": 0.6,
918
- "4k_video": 0.4,
919
+ default_audio: "0.4",
920
+ default_video: "0.2",
921
+ "4k_audio": "0.6",
922
+ "4k_video": "0.4",
919
923
  },
920
924
  supportedVideoSizes: [
921
925
  "1920x1080",
@@ -953,10 +957,10 @@ export const googleModels = [
953
957
  outputPrice: undefined,
954
958
  requestPrice: undefined,
955
959
  perSecondPrice: {
956
- default_audio: 0.15,
957
- default_video: 0.1,
958
- "4k_audio": 0.35,
959
- "4k_video": 0.3,
960
+ default_audio: "0.15",
961
+ default_video: "0.1",
962
+ "4k_audio": "0.35",
963
+ "4k_video": "0.3",
960
964
  },
961
965
  supportedVideoSizes: [
962
966
  "1280x720",
@@ -984,8 +988,8 @@ export const googleModels = [
984
988
  outputPrice: undefined,
985
989
  requestPrice: undefined,
986
990
  perSecondPrice: {
987
- default: 0.15,
988
- "4k": 0.35,
991
+ default: "0.15",
992
+ "4k": "0.35",
989
993
  },
990
994
  supportedVideoSizes: [
991
995
  "1920x1080",
@@ -1018,11 +1022,11 @@ export const googleModels = [
1018
1022
  test: "skip",
1019
1023
  providerId: "google-ai-studio",
1020
1024
  modelName: "gemini-3.1-flash-image-preview",
1021
- inputPrice: 0.25 / 1e6,
1022
- outputPrice: 1.5 / 1e6,
1023
- imageInputPrice: 0.25 / 1e6,
1025
+ inputPrice: "0.25e-6",
1026
+ outputPrice: "1.5e-6",
1027
+ imageInputPrice: "0.25e-6",
1024
1028
  imageInputTokensByResolution: { default: 560 },
1025
- imageOutputPrice: 60 / 1e6,
1029
+ imageOutputPrice: "60e-6",
1026
1030
  imageOutputTokensByResolution: {
1027
1031
  "0.5K": 747,
1028
1032
  "1K": 1120,
@@ -1030,7 +1034,7 @@ export const googleModels = [
1030
1034
  "4K": 2520,
1031
1035
  default: 1120,
1032
1036
  },
1033
- requestPrice: 0,
1037
+ requestPrice: "0",
1034
1038
  contextSize: 65536,
1035
1039
  maxOutput: 65536,
1036
1040
  streaming: true,
@@ -1043,12 +1047,12 @@ export const googleModels = [
1043
1047
  test: "skip",
1044
1048
  providerId: "glacier",
1045
1049
  modelName: "gemini-3.1-flash-image-preview",
1046
- discount: 0.2,
1047
- inputPrice: 0.25 / 1e6,
1048
- outputPrice: 1.5 / 1e6,
1049
- imageInputPrice: 0.25 / 1e6,
1050
+ discount: "0.2",
1051
+ inputPrice: "0.25e-6",
1052
+ outputPrice: "1.5e-6",
1053
+ imageInputPrice: "0.25e-6",
1050
1054
  imageInputTokensByResolution: { default: 560 },
1051
- imageOutputPrice: 60 / 1e6,
1055
+ imageOutputPrice: "60e-6",
1052
1056
  imageOutputTokensByResolution: {
1053
1057
  "0.5K": 747,
1054
1058
  "1K": 1120,
@@ -1056,7 +1060,7 @@ export const googleModels = [
1056
1060
  "4K": 2520,
1057
1061
  default: 1120,
1058
1062
  },
1059
- requestPrice: 0,
1063
+ requestPrice: "0",
1060
1064
  contextSize: 65536,
1061
1065
  maxOutput: 65536,
1062
1066
  streaming: true,
@@ -1069,11 +1073,11 @@ export const googleModels = [
1069
1073
  test: "skip",
1070
1074
  providerId: "google-vertex",
1071
1075
  modelName: "gemini-3.1-flash-image-preview",
1072
- inputPrice: 0.25 / 1e6,
1073
- outputPrice: 1.5 / 1e6,
1074
- imageInputPrice: 0.25 / 1e6,
1076
+ inputPrice: "0.25e-6",
1077
+ outputPrice: "1.5e-6",
1078
+ imageInputPrice: "0.25e-6",
1075
1079
  imageInputTokensByResolution: { default: 560 },
1076
- imageOutputPrice: 60 / 1e6,
1080
+ imageOutputPrice: "60e-6",
1077
1081
  imageOutputTokensByResolution: {
1078
1082
  "0.5K": 747,
1079
1083
  "1K": 1120,
@@ -1081,7 +1085,7 @@ export const googleModels = [
1081
1085
  "4K": 2520,
1082
1086
  default: 1120,
1083
1087
  },
1084
- requestPrice: 0,
1088
+ requestPrice: "0",
1085
1089
  contextSize: 65536,
1086
1090
  maxOutput: 65536,
1087
1091
  streaming: true,
@@ -1094,12 +1098,12 @@ export const googleModels = [
1094
1098
  test: "skip",
1095
1099
  providerId: "quartz",
1096
1100
  modelName: "gemini-3.1-flash-image-preview",
1097
- discount: 0.2,
1098
- inputPrice: 0.25 / 1e6,
1099
- outputPrice: 1.5 / 1e6,
1100
- imageInputPrice: 0.25 / 1e6,
1101
+ discount: "0.2",
1102
+ inputPrice: "0.25e-6",
1103
+ outputPrice: "1.5e-6",
1104
+ imageInputPrice: "0.25e-6",
1101
1105
  imageInputTokensByResolution: { default: 560 },
1102
- imageOutputPrice: 60 / 1e6,
1106
+ imageOutputPrice: "60e-6",
1103
1107
  imageOutputTokensByResolution: {
1104
1108
  "0.5K": 747,
1105
1109
  "1K": 1120,
@@ -1107,7 +1111,7 @@ export const googleModels = [
1107
1111
  "4K": 2520,
1108
1112
  default: 1120,
1109
1113
  },
1110
- requestPrice: 0,
1114
+ requestPrice: "0",
1111
1115
  contextSize: 65536,
1112
1116
  maxOutput: 65536,
1113
1117
  streaming: true,
@@ -1128,12 +1132,12 @@ export const googleModels = [
1128
1132
  {
1129
1133
  providerId: "google-ai-studio",
1130
1134
  modelName: "gemini-3-flash-preview",
1131
- inputPrice: 0.5 / 1e6,
1132
- outputPrice: 3 / 1e6,
1133
- cachedInputPrice: 0.05 / 1e6,
1134
- inputAudioPrice: 1.0 / 1e6,
1135
- cachedInputAudioPrice: 0.1 / 1e6,
1136
- 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",
1137
1141
  contextSize: 1048576,
1138
1142
  maxOutput: 65535,
1139
1143
  reasoning: true,
@@ -1143,19 +1147,19 @@ export const googleModels = [
1143
1147
  audio: true,
1144
1148
  tools: true,
1145
1149
  webSearch: true,
1146
- webSearchPrice: 0.014,
1150
+ webSearchPrice: "0.014",
1147
1151
  jsonOutput: true,
1148
1152
  jsonOutputSchema: true,
1149
1153
  },
1150
1154
  {
1151
1155
  providerId: "google-vertex",
1152
1156
  modelName: "gemini-3-flash-preview",
1153
- inputPrice: 0.5 / 1e6,
1154
- outputPrice: 3 / 1e6,
1155
- cachedInputPrice: 0.05 / 1e6,
1156
- inputAudioPrice: 1.0 / 1e6,
1157
- cachedInputAudioPrice: 0.1 / 1e6,
1158
- 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",
1159
1163
  contextSize: 1048576,
1160
1164
  maxOutput: 65535,
1161
1165
  reasoning: true,
@@ -1165,7 +1169,7 @@ export const googleModels = [
1165
1169
  audio: true,
1166
1170
  tools: true,
1167
1171
  webSearch: true,
1168
- webSearchPrice: 0.014,
1172
+ webSearchPrice: "0.014",
1169
1173
  jsonOutput: true,
1170
1174
  jsonOutputSchema: true,
1171
1175
  },
@@ -1184,16 +1188,16 @@ export const googleModels = [
1184
1188
  test: "skip",
1185
1189
  providerId: "google-ai-studio",
1186
1190
  modelName: "gemini-2.5-flash-image-preview",
1187
- inputPrice: 0.3 / 1e6,
1188
- outputPrice: 2.5 / 1e6,
1189
- imageOutputPrice: 30 / 1e6,
1191
+ inputPrice: "0.3e-6",
1192
+ outputPrice: "2.5e-6",
1193
+ imageOutputPrice: "30e-6",
1190
1194
  imageOutputTokensByResolution: {
1191
1195
  "1K": 1120,
1192
1196
  "2K": 1120,
1193
1197
  "4K": 2000,
1194
1198
  default: 1120,
1195
1199
  },
1196
- requestPrice: 0,
1200
+ requestPrice: "0",
1197
1201
  contextSize: 32768,
1198
1202
  maxOutput: 32768,
1199
1203
  streaming: true,
@@ -1208,16 +1212,16 @@ export const googleModels = [
1208
1212
  test: "skip",
1209
1213
  providerId: "google-vertex",
1210
1214
  modelName: "gemini-2.5-flash-image-preview",
1211
- inputPrice: 0.3 / 1e6,
1212
- outputPrice: 2.5 / 1e6,
1213
- imageOutputPrice: 30 / 1e6,
1215
+ inputPrice: "0.3e-6",
1216
+ outputPrice: "2.5e-6",
1217
+ imageOutputPrice: "30e-6",
1214
1218
  imageOutputTokensByResolution: {
1215
1219
  "1K": 1120,
1216
1220
  "2K": 1120,
1217
1221
  "4K": 2000,
1218
1222
  default: 1120,
1219
1223
  },
1220
- requestPrice: 0,
1224
+ requestPrice: "0",
1221
1225
  contextSize: 32768,
1222
1226
  maxOutput: 32768,
1223
1227
  streaming: true,
@@ -1243,10 +1247,10 @@ export const googleModels = [
1243
1247
  test: "skip",
1244
1248
  providerId: "google-ai-studio",
1245
1249
  modelName: "gemini-2.5-flash-image",
1246
- inputPrice: 0.3 / 1e6,
1247
- outputPrice: 30 / 1e6,
1248
- cachedInputPrice: 0.03 / 1e6,
1249
- requestPrice: 0,
1250
+ inputPrice: "0.3e-6",
1251
+ outputPrice: "30e-6",
1252
+ cachedInputPrice: "0.03e-6",
1253
+ requestPrice: "0",
1250
1254
  contextSize: 32768,
1251
1255
  maxOutput: 32768,
1252
1256
  streaming: true,
@@ -1259,10 +1263,10 @@ export const googleModels = [
1259
1263
  test: "skip",
1260
1264
  providerId: "google-vertex",
1261
1265
  modelName: "gemini-2.5-flash-image",
1262
- inputPrice: 0.3 / 1e6,
1263
- outputPrice: 30 / 1e6,
1264
- cachedInputPrice: 0.03 / 1e6,
1265
- requestPrice: 0,
1266
+ inputPrice: "0.3e-6",
1267
+ outputPrice: "30e-6",
1268
+ cachedInputPrice: "0.03e-6",
1269
+ requestPrice: "0",
1266
1270
  contextSize: 32768,
1267
1271
  maxOutput: 32768,
1268
1272
  streaming: true,
@@ -1275,11 +1279,11 @@ export const googleModels = [
1275
1279
  test: "skip",
1276
1280
  providerId: "glacier",
1277
1281
  modelName: "gemini-2.5-flash-image",
1278
- inputPrice: 0.3 / 1e6,
1279
- outputPrice: 30 / 1e6,
1280
- cachedInputPrice: 0.03 / 1e6,
1281
- requestPrice: 0,
1282
- discount: 0.2,
1282
+ inputPrice: "0.3e-6",
1283
+ outputPrice: "30e-6",
1284
+ cachedInputPrice: "0.03e-6",
1285
+ requestPrice: "0",
1286
+ discount: "0.2",
1283
1287
  contextSize: 32768,
1284
1288
  maxOutput: 32768,
1285
1289
  streaming: true,
@@ -1303,19 +1307,19 @@ export const googleModels = [
1303
1307
  test: "skip",
1304
1308
  providerId: "google-ai-studio",
1305
1309
  modelName: "gemini-3-pro-image-preview",
1306
- inputPrice: 2 / 1e6,
1307
- outputPrice: 12 / 1e6,
1308
- cachedInputPrice: 0.2 / 1e6,
1309
- imageInputPrice: 2 / 1e6,
1310
+ inputPrice: "2e-6",
1311
+ outputPrice: "12e-6",
1312
+ cachedInputPrice: "0.2e-6",
1313
+ imageInputPrice: "2e-6",
1310
1314
  imageInputTokensByResolution: { default: 560 },
1311
- imageOutputPrice: 120 / 1e6,
1315
+ imageOutputPrice: "120e-6",
1312
1316
  imageOutputTokensByResolution: {
1313
1317
  "1K": 1120,
1314
1318
  "2K": 1120,
1315
1319
  "4K": 2000,
1316
1320
  default: 1120,
1317
1321
  },
1318
- requestPrice: 0,
1322
+ requestPrice: "0",
1319
1323
  contextSize: 65536,
1320
1324
  maxOutput: 32768,
1321
1325
  streaming: true,
@@ -1328,20 +1332,20 @@ export const googleModels = [
1328
1332
  test: "skip",
1329
1333
  providerId: "glacier",
1330
1334
  modelName: "gemini-3-pro-image-preview",
1331
- discount: 0.2,
1332
- inputPrice: 2 / 1e6,
1333
- outputPrice: 12 / 1e6,
1334
- cachedInputPrice: 0.2 / 1e6,
1335
- imageInputPrice: 2 / 1e6,
1335
+ discount: "0.2",
1336
+ inputPrice: "2e-6",
1337
+ outputPrice: "12e-6",
1338
+ cachedInputPrice: "0.2e-6",
1339
+ imageInputPrice: "2e-6",
1336
1340
  imageInputTokensByResolution: { default: 560 },
1337
- imageOutputPrice: 120 / 1e6,
1341
+ imageOutputPrice: "120e-6",
1338
1342
  imageOutputTokensByResolution: {
1339
1343
  "1K": 1120,
1340
1344
  "2K": 1120,
1341
1345
  "4K": 2000,
1342
1346
  default: 1120,
1343
1347
  },
1344
- requestPrice: 0,
1348
+ requestPrice: "0",
1345
1349
  contextSize: 65536,
1346
1350
  maxOutput: 32768,
1347
1351
  streaming: true,
@@ -1354,19 +1358,19 @@ export const googleModels = [
1354
1358
  test: "skip",
1355
1359
  providerId: "google-vertex",
1356
1360
  modelName: "gemini-3-pro-image-preview",
1357
- inputPrice: 2 / 1e6,
1358
- outputPrice: 12 / 1e6,
1359
- cachedInputPrice: 0.2 / 1e6,
1360
- imageInputPrice: 2 / 1e6,
1361
+ inputPrice: "2e-6",
1362
+ outputPrice: "12e-6",
1363
+ cachedInputPrice: "0.2e-6",
1364
+ imageInputPrice: "2e-6",
1361
1365
  imageInputTokensByResolution: { default: 560 },
1362
- imageOutputPrice: 120 / 1e6,
1366
+ imageOutputPrice: "120e-6",
1363
1367
  imageOutputTokensByResolution: {
1364
1368
  "1K": 1120,
1365
1369
  "2K": 1120,
1366
1370
  "4K": 2000,
1367
1371
  default: 1120,
1368
1372
  },
1369
- requestPrice: 0,
1373
+ requestPrice: "0",
1370
1374
  contextSize: 65536,
1371
1375
  maxOutput: 32768,
1372
1376
  streaming: true,
@@ -1379,20 +1383,20 @@ export const googleModels = [
1379
1383
  test: "skip",
1380
1384
  providerId: "quartz",
1381
1385
  modelName: "gemini-3-pro-image-preview",
1382
- discount: 0.2,
1383
- inputPrice: 2 / 1e6,
1384
- outputPrice: 12 / 1e6,
1385
- cachedInputPrice: 0.2 / 1e6,
1386
- imageInputPrice: 2 / 1e6,
1386
+ discount: "0.2",
1387
+ inputPrice: "2e-6",
1388
+ outputPrice: "12e-6",
1389
+ cachedInputPrice: "0.2e-6",
1390
+ imageInputPrice: "2e-6",
1387
1391
  imageInputTokensByResolution: { default: 560 },
1388
- imageOutputPrice: 120 / 1e6,
1392
+ imageOutputPrice: "120e-6",
1389
1393
  imageOutputTokensByResolution: {
1390
1394
  "1K": 1120,
1391
1395
  "2K": 1120,
1392
1396
  "4K": 2000,
1393
1397
  default: 1120,
1394
1398
  },
1395
- requestPrice: 0,
1399
+ requestPrice: "0",
1396
1400
  contextSize: 65536,
1397
1401
  maxOutput: 32768,
1398
1402
  streaming: true,
@@ -1413,9 +1417,9 @@ export const googleModels = [
1413
1417
  {
1414
1418
  providerId: "google-ai-studio",
1415
1419
  modelName: "gemini-2.5-flash-preview-04-17-thinking",
1416
- inputPrice: 0.15 / 1e6,
1417
- outputPrice: 0.6 / 1e6,
1418
- requestPrice: 0,
1420
+ inputPrice: "0.15e-6",
1421
+ outputPrice: "0.6e-6",
1422
+ requestPrice: "0",
1419
1423
  contextSize: 1000000,
1420
1424
  maxOutput: undefined,
1421
1425
  reasoning: true,
@@ -1431,9 +1435,9 @@ export const googleModels = [
1431
1435
  {
1432
1436
  providerId: "google-vertex",
1433
1437
  modelName: "gemini-2.5-flash-preview-04-17-thinking",
1434
- inputPrice: 0.15 / 1e6,
1435
- outputPrice: 0.6 / 1e6,
1436
- requestPrice: 0,
1438
+ inputPrice: "0.15e-6",
1439
+ outputPrice: "0.6e-6",
1440
+ requestPrice: "0",
1437
1441
  contextSize: 1000000,
1438
1442
  maxOutput: undefined,
1439
1443
  reasoning: true,
@@ -1458,9 +1462,9 @@ export const googleModels = [
1458
1462
  {
1459
1463
  providerId: "google-ai-studio",
1460
1464
  modelName: "gemini-1.5-pro",
1461
- inputPrice: 2.5 / 1e6,
1462
- outputPrice: 10.0 / 1e6,
1463
- requestPrice: 0,
1465
+ inputPrice: "2.5e-6",
1466
+ outputPrice: "10.0e-6",
1467
+ requestPrice: "0",
1464
1468
  contextSize: 1000000,
1465
1469
  maxOutput: undefined,
1466
1470
  reasoning: true,
@@ -1476,9 +1480,9 @@ export const googleModels = [
1476
1480
  {
1477
1481
  providerId: "google-vertex",
1478
1482
  modelName: "gemini-1.5-pro",
1479
- inputPrice: 2.5 / 1e6,
1480
- outputPrice: 10.0 / 1e6,
1481
- requestPrice: 0,
1483
+ inputPrice: "2.5e-6",
1484
+ outputPrice: "10.0e-6",
1485
+ requestPrice: "0",
1482
1486
  contextSize: 1000000,
1483
1487
  maxOutput: undefined,
1484
1488
  reasoning: true,
@@ -1503,9 +1507,9 @@ export const googleModels = [
1503
1507
  {
1504
1508
  providerId: "google-ai-studio",
1505
1509
  modelName: "gemini-1.5-flash",
1506
- inputPrice: 0.0375 / 1e6,
1507
- outputPrice: 0.15 / 1e6,
1508
- requestPrice: 0,
1510
+ inputPrice: "0.0375e-6",
1511
+ outputPrice: "0.15e-6",
1512
+ requestPrice: "0",
1509
1513
  contextSize: 1000000,
1510
1514
  maxOutput: undefined,
1511
1515
  reasoning: true,
@@ -1521,9 +1525,9 @@ export const googleModels = [
1521
1525
  {
1522
1526
  providerId: "google-vertex",
1523
1527
  modelName: "gemini-1.5-flash",
1524
- inputPrice: 0.0375 / 1e6,
1525
- outputPrice: 0.15 / 1e6,
1526
- requestPrice: 0,
1528
+ inputPrice: "0.0375e-6",
1529
+ outputPrice: "0.15e-6",
1530
+ requestPrice: "0",
1527
1531
  contextSize: 1000000,
1528
1532
  maxOutput: undefined,
1529
1533
  reasoning: true,
@@ -1548,9 +1552,9 @@ export const googleModels = [
1548
1552
  {
1549
1553
  providerId: "google-ai-studio",
1550
1554
  modelName: "gemini-1.5-flash-8b",
1551
- inputPrice: 0.0375 / 1e6,
1552
- outputPrice: 0.15 / 1e6,
1553
- requestPrice: 0,
1555
+ inputPrice: "0.0375e-6",
1556
+ outputPrice: "0.15e-6",
1557
+ requestPrice: "0",
1554
1558
  contextSize: 1000000,
1555
1559
  maxOutput: undefined,
1556
1560
  reasoning: true,
@@ -1566,9 +1570,9 @@ export const googleModels = [
1566
1570
  {
1567
1571
  providerId: "google-vertex",
1568
1572
  modelName: "gemini-1.5-flash-8b",
1569
- inputPrice: 0.0375 / 1e6,
1570
- outputPrice: 0.15 / 1e6,
1571
- requestPrice: 0,
1573
+ inputPrice: "0.0375e-6",
1574
+ outputPrice: "0.15e-6",
1575
+ requestPrice: "0",
1572
1576
  contextSize: 1000000,
1573
1577
  maxOutput: undefined,
1574
1578
  reasoning: true,
@@ -1593,9 +1597,9 @@ export const googleModels = [
1593
1597
  {
1594
1598
  providerId: "google-ai-studio",
1595
1599
  modelName: "gemini-2.0-flash-lite",
1596
- inputPrice: 0.075 / 1e6,
1597
- outputPrice: 0.3 / 1e6,
1598
- requestPrice: 0,
1600
+ inputPrice: "0.075e-6",
1601
+ outputPrice: "0.3e-6",
1602
+ requestPrice: "0",
1599
1603
  contextSize: 1048576,
1600
1604
  maxOutput: 8192,
1601
1605
  streaming: true,
@@ -1610,9 +1614,9 @@ export const googleModels = [
1610
1614
  {
1611
1615
  providerId: "google-vertex",
1612
1616
  modelName: "gemini-2.0-flash-lite",
1613
- inputPrice: 0.075 / 1e6,
1614
- outputPrice: 0.3 / 1e6,
1615
- requestPrice: 0,
1617
+ inputPrice: "0.075e-6",
1618
+ outputPrice: "0.3e-6",
1619
+ requestPrice: "0",
1616
1620
  contextSize: 1048576,
1617
1621
  maxOutput: 8192,
1618
1622
  streaming: true,
@@ -1636,12 +1640,12 @@ export const googleModels = [
1636
1640
  {
1637
1641
  providerId: "google-ai-studio",
1638
1642
  modelName: "gemini-2.0-flash",
1639
- inputPrice: 0.1 / 1e6,
1640
- outputPrice: 0.4 / 1e6,
1641
- cachedInputPrice: 0.025 / 1e6,
1642
- inputAudioPrice: 0.7 / 1e6,
1643
- cachedInputAudioPrice: 0.175 / 1e6,
1644
- 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",
1645
1649
  contextSize: 1048576,
1646
1650
  maxOutput: 8192,
1647
1651
  streaming: true,
@@ -1657,12 +1661,12 @@ export const googleModels = [
1657
1661
  providerId: "google-vertex",
1658
1662
  test: "skip",
1659
1663
  modelName: "gemini-2.0-flash",
1660
- inputPrice: 0.1 / 1e6,
1661
- outputPrice: 0.4 / 1e6,
1662
- cachedInputPrice: 0.025 / 1e6,
1663
- inputAudioPrice: 1.0 / 1e6,
1664
- cachedInputAudioPrice: 0.175 / 1e6,
1665
- 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",
1666
1670
  contextSize: 1048576,
1667
1671
  maxOutput: 8192,
1668
1672
  streaming: true,
@@ -1686,9 +1690,9 @@ export const googleModels = [
1686
1690
  {
1687
1691
  providerId: "google-ai-studio",
1688
1692
  modelName: "gemma-3n-e2b-it",
1689
- inputPrice: 0.075 / 1e6,
1690
- outputPrice: 0.3 / 1e6,
1691
- requestPrice: 0,
1693
+ inputPrice: "0.075e-6",
1694
+ outputPrice: "0.3e-6",
1695
+ requestPrice: "0",
1692
1696
  contextSize: 1000000,
1693
1697
  maxOutput: undefined,
1694
1698
  streaming: true,
@@ -1709,9 +1713,9 @@ export const googleModels = [
1709
1713
  {
1710
1714
  providerId: "google-ai-studio",
1711
1715
  modelName: "gemma-3n-e4b-it",
1712
- inputPrice: 0.075 / 1e6,
1713
- outputPrice: 0.3 / 1e6,
1714
- requestPrice: 0,
1716
+ inputPrice: "0.075e-6",
1717
+ outputPrice: "0.3e-6",
1718
+ requestPrice: "0",
1715
1719
  contextSize: 1000000,
1716
1720
  maxOutput: undefined,
1717
1721
  streaming: true,
@@ -1732,9 +1736,9 @@ export const googleModels = [
1732
1736
  {
1733
1737
  providerId: "google-ai-studio",
1734
1738
  modelName: "gemma-3-1b-it",
1735
- inputPrice: 0.075 / 1e6,
1736
- outputPrice: 0.3 / 1e6,
1737
- requestPrice: 0,
1739
+ inputPrice: "0.075e-6",
1740
+ outputPrice: "0.3e-6",
1741
+ requestPrice: "0",
1738
1742
  contextSize: 1000000,
1739
1743
  maxOutput: undefined,
1740
1744
  streaming: true,
@@ -1755,9 +1759,9 @@ export const googleModels = [
1755
1759
  {
1756
1760
  providerId: "google-ai-studio",
1757
1761
  modelName: "gemma-3-4b-it",
1758
- inputPrice: 0.075 / 1e6,
1759
- outputPrice: 0.3 / 1e6,
1760
- requestPrice: 0,
1762
+ inputPrice: "0.075e-6",
1763
+ outputPrice: "0.3e-6",
1764
+ requestPrice: "0",
1761
1765
  contextSize: 1000000,
1762
1766
  maxOutput: undefined,
1763
1767
  streaming: true,
@@ -1778,9 +1782,9 @@ export const googleModels = [
1778
1782
  {
1779
1783
  providerId: "google-ai-studio",
1780
1784
  modelName: "gemma-3-12b-it",
1781
- inputPrice: 0.075 / 1e6,
1782
- outputPrice: 0.3 / 1e6,
1783
- requestPrice: 0,
1785
+ inputPrice: "0.075e-6",
1786
+ outputPrice: "0.3e-6",
1787
+ requestPrice: "0",
1784
1788
  contextSize: 1000000,
1785
1789
  maxOutput: undefined,
1786
1790
  streaming: true,
@@ -1801,9 +1805,9 @@ export const googleModels = [
1801
1805
  {
1802
1806
  providerId: "groq",
1803
1807
  modelName: "gemma2-9b-it",
1804
- inputPrice: 0.2 / 1e6,
1805
- outputPrice: 0.2 / 1e6,
1806
- requestPrice: 0,
1808
+ inputPrice: "0.2e-6",
1809
+ outputPrice: "0.2e-6",
1810
+ requestPrice: "0",
1807
1811
  contextSize: 8129,
1808
1812
  maxOutput: undefined,
1809
1813
  streaming: true,
@@ -1825,9 +1829,9 @@ export const googleModels = [
1825
1829
  {
1826
1830
  providerId: "nebius",
1827
1831
  modelName: "google/gemma-3-27b-it",
1828
- inputPrice: 0.27 / 1e6,
1829
- outputPrice: 0.27 / 1e6,
1830
- requestPrice: 0,
1832
+ inputPrice: "0.27e-6",
1833
+ outputPrice: "0.27e-6",
1834
+ requestPrice: "0",
1831
1835
  contextSize: 128000,
1832
1836
  maxOutput: undefined,
1833
1837
  streaming: true,