@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,10 +9,10 @@ export const openaiModels = [
9
9
  {
10
10
  providerId: "openai",
11
11
  modelName: "gpt-4o-mini",
12
- inputPrice: 0.15 / 1e6,
13
- outputPrice: 0.6 / 1e6,
14
- cachedInputPrice: 0.075 / 1e6,
15
- requestPrice: 0,
12
+ inputPrice: "0.15e-6",
13
+ outputPrice: "0.6e-6",
14
+ cachedInputPrice: "0.075e-6",
15
+ requestPrice: "0",
16
16
  contextSize: 128000,
17
17
  maxOutput: 16384,
18
18
  streaming: true,
@@ -24,9 +24,9 @@ export const openaiModels = [
24
24
  {
25
25
  providerId: "azure",
26
26
  modelName: "gpt-4o-mini",
27
- inputPrice: 0.15 / 1e6,
28
- outputPrice: 0.6 / 1e6,
29
- cachedInputPrice: 0.075 / 1e6,
27
+ inputPrice: "0.15e-6",
28
+ outputPrice: "0.6e-6",
29
+ cachedInputPrice: "0.075e-6",
30
30
  contextSize: 128000,
31
31
  maxOutput: 16384,
32
32
  streaming: true,
@@ -48,11 +48,11 @@ export const openaiModels = [
48
48
  {
49
49
  providerId: "openai",
50
50
  modelName: "gpt-4o-search-preview",
51
- inputPrice: 2.5 / 1e6,
52
- outputPrice: 10.0 / 1e6,
53
- requestPrice: 0,
51
+ inputPrice: "2.5e-6",
52
+ outputPrice: "10.0e-6",
53
+ requestPrice: "0",
54
54
  webSearch: true,
55
- webSearchPrice: 0.025,
55
+ webSearchPrice: "0.025",
56
56
  contextSize: 128000,
57
57
  maxOutput: 16384,
58
58
  streaming: true,
@@ -73,11 +73,11 @@ export const openaiModels = [
73
73
  {
74
74
  providerId: "openai",
75
75
  modelName: "gpt-4o-mini-search-preview",
76
- inputPrice: 0.15 / 1e6,
77
- outputPrice: 0.6 / 1e6,
78
- requestPrice: 0,
76
+ inputPrice: "0.15e-6",
77
+ outputPrice: "0.6e-6",
78
+ requestPrice: "0",
79
79
  webSearch: true,
80
- webSearchPrice: 0.025,
80
+ webSearchPrice: "0.025",
81
81
  contextSize: 128000,
82
82
  maxOutput: 16384,
83
83
  streaming: true,
@@ -99,9 +99,9 @@ export const openaiModels = [
99
99
  test: "skip",
100
100
  providerId: "openai",
101
101
  modelName: "gpt-4",
102
- inputPrice: 30.0 / 1e6,
103
- outputPrice: 60.0 / 1e6,
104
- requestPrice: 0,
102
+ inputPrice: "30.0e-6",
103
+ outputPrice: "60.0e-6",
104
+ requestPrice: "0",
105
105
  contextSize: 8192,
106
106
  maxOutput: 8192,
107
107
  streaming: true,
@@ -123,8 +123,8 @@ export const openaiModels = [
123
123
  test: "skip",
124
124
  providerId: "azure",
125
125
  modelName: "gpt-4",
126
- inputPrice: 30.0 / 1e6,
127
- outputPrice: 60.0 / 1e6,
126
+ inputPrice: "30.0e-6",
127
+ outputPrice: "60.0e-6",
128
128
  contextSize: 8192,
129
129
  maxOutput: 8192,
130
130
  streaming: true,
@@ -144,11 +144,11 @@ export const openaiModels = [
144
144
  {
145
145
  providerId: "openai",
146
146
  modelName: "gpt-4o",
147
- inputPrice: 2.5 / 1e6,
148
- outputPrice: 10.0 / 1e6,
149
- cachedInputPrice: 1.25 / 1e6,
150
- requestPrice: 0,
151
- imageInputPrice: 0.00553,
147
+ inputPrice: "2.5e-6",
148
+ outputPrice: "10.0e-6",
149
+ cachedInputPrice: "1.25e-6",
150
+ requestPrice: "0",
151
+ imageInputPrice: "0.00553",
152
152
  contextSize: 128000,
153
153
  maxOutput: 16384,
154
154
  streaming: true,
@@ -162,10 +162,10 @@ export const openaiModels = [
162
162
  test: "skip",
163
163
  providerId: "azure",
164
164
  modelName: "gpt-4o",
165
- inputPrice: 2.5 / 1e6,
166
- outputPrice: 10.0 / 1e6,
167
- cachedInputPrice: 1.25 / 1e6,
168
- imageInputPrice: 0.00553,
165
+ inputPrice: "2.5e-6",
166
+ outputPrice: "10.0e-6",
167
+ cachedInputPrice: "1.25e-6",
168
+ imageInputPrice: "0.00553",
169
169
  contextSize: 128000,
170
170
  maxOutput: 16384,
171
171
  streaming: true,
@@ -185,9 +185,9 @@ export const openaiModels = [
185
185
  {
186
186
  providerId: "openai",
187
187
  modelName: "gpt-3.5-turbo",
188
- inputPrice: 0.5 / 1e6,
189
- outputPrice: 1.5 / 1e6,
190
- requestPrice: 0,
188
+ inputPrice: "0.5e-6",
189
+ outputPrice: "1.5e-6",
190
+ requestPrice: "0",
191
191
  contextSize: 16385,
192
192
  maxOutput: undefined,
193
193
  streaming: true,
@@ -200,8 +200,8 @@ export const openaiModels = [
200
200
  test: "skip",
201
201
  providerId: "azure",
202
202
  modelName: "gpt-35-turbo",
203
- inputPrice: 0.5 / 1e6,
204
- outputPrice: 1.5 / 1e6,
203
+ inputPrice: "0.5e-6",
204
+ outputPrice: "1.5e-6",
205
205
  contextSize: 16385,
206
206
  maxOutput: 4096,
207
207
  streaming: true,
@@ -222,9 +222,9 @@ export const openaiModels = [
222
222
  test: "skip",
223
223
  providerId: "openai",
224
224
  modelName: "gpt-4-turbo",
225
- inputPrice: 10.0 / 1e6,
226
- outputPrice: 30.0 / 1e6,
227
- requestPrice: 0,
225
+ inputPrice: "10.0e-6",
226
+ outputPrice: "30.0e-6",
227
+ requestPrice: "0",
228
228
  contextSize: 128000,
229
229
  maxOutput: undefined,
230
230
  streaming: true,
@@ -237,8 +237,8 @@ export const openaiModels = [
237
237
  test: "skip",
238
238
  providerId: "azure",
239
239
  modelName: "gpt-4-turbo",
240
- inputPrice: 10.0 / 1e6,
241
- outputPrice: 30.0 / 1e6,
240
+ inputPrice: "10.0e-6",
241
+ outputPrice: "30.0e-6",
242
242
  contextSize: 128000,
243
243
  maxOutput: 4096,
244
244
  streaming: true,
@@ -258,10 +258,10 @@ export const openaiModels = [
258
258
  {
259
259
  providerId: "openai",
260
260
  modelName: "gpt-4.1",
261
- inputPrice: 2.0 / 1e6,
262
- outputPrice: 8.0 / 1e6,
263
- cachedInputPrice: 0.5 / 1e6,
264
- requestPrice: 0,
261
+ inputPrice: "2.0e-6",
262
+ outputPrice: "8.0e-6",
263
+ cachedInputPrice: "0.5e-6",
264
+ requestPrice: "0",
265
265
  contextSize: 1000000,
266
266
  maxOutput: undefined,
267
267
  streaming: true,
@@ -275,10 +275,10 @@ export const openaiModels = [
275
275
  test: "skip",
276
276
  providerId: "azure",
277
277
  modelName: "gpt-4.1",
278
- inputPrice: 2.0 / 1e6,
279
- outputPrice: 8.0 / 1e6,
280
- cachedInputPrice: 0.5 / 1e6,
281
- requestPrice: 0,
278
+ inputPrice: "2.0e-6",
279
+ outputPrice: "8.0e-6",
280
+ cachedInputPrice: "0.5e-6",
281
+ requestPrice: "0",
282
282
  contextSize: 1000000,
283
283
  maxOutput: undefined,
284
284
  streaming: true,
@@ -301,10 +301,10 @@ export const openaiModels = [
301
301
  test: "skip",
302
302
  providerId: "openai",
303
303
  modelName: "o1",
304
- inputPrice: 15.0 / 1e6,
305
- outputPrice: 60.0 / 1e6,
306
- cachedInputPrice: 7.5 / 1e6,
307
- requestPrice: 0,
304
+ inputPrice: "15.0e-6",
305
+ outputPrice: "60.0e-6",
306
+ cachedInputPrice: "7.5e-6",
307
+ requestPrice: "0",
308
308
  contextSize: 200000,
309
309
  maxOutput: undefined,
310
310
  streaming: true,
@@ -318,10 +318,10 @@ export const openaiModels = [
318
318
  test: "skip",
319
319
  providerId: "azure",
320
320
  modelName: "o1",
321
- inputPrice: 15.0 / 1e6,
322
- outputPrice: 60.0 / 1e6,
323
- cachedInputPrice: 7.5 / 1e6,
324
- requestPrice: 0,
321
+ inputPrice: "15.0e-6",
322
+ outputPrice: "60.0e-6",
323
+ cachedInputPrice: "7.5e-6",
324
+ requestPrice: "0",
325
325
  contextSize: 200000,
326
326
  maxOutput: undefined,
327
327
  streaming: true,
@@ -344,10 +344,10 @@ export const openaiModels = [
344
344
  stability: "unstable",
345
345
  providerId: "openai",
346
346
  modelName: "o1-mini",
347
- inputPrice: 1.1 / 1e6,
348
- outputPrice: 4.4 / 1e6,
349
- cachedInputPrice: 0.55 / 1e6,
350
- requestPrice: 0,
347
+ inputPrice: "1.1e-6",
348
+ outputPrice: "4.4e-6",
349
+ cachedInputPrice: "0.55e-6",
350
+ requestPrice: "0",
351
351
  deactivatedAt: new Date("2025-10-27"),
352
352
  contextSize: 128000,
353
353
  maxOutput: undefined,
@@ -362,10 +362,10 @@ export const openaiModels = [
362
362
  test: "skip",
363
363
  providerId: "azure",
364
364
  modelName: "o1-mini",
365
- inputPrice: 1.1 / 1e6,
366
- outputPrice: 4.4 / 1e6,
367
- cachedInputPrice: 0.55 / 1e6,
368
- requestPrice: 0,
365
+ inputPrice: "1.1e-6",
366
+ outputPrice: "4.4e-6",
367
+ cachedInputPrice: "0.55e-6",
368
+ requestPrice: "0",
369
369
  deactivatedAt: new Date("2025-10-27"),
370
370
  contextSize: 128000,
371
371
  maxOutput: undefined,
@@ -389,10 +389,10 @@ export const openaiModels = [
389
389
  {
390
390
  providerId: "openai",
391
391
  modelName: "gpt-4.1-mini",
392
- inputPrice: 0.4 / 1e6,
393
- outputPrice: 1.6 / 1e6,
394
- cachedInputPrice: 0.1 / 1e6,
395
- requestPrice: 0,
392
+ inputPrice: "0.4e-6",
393
+ outputPrice: "1.6e-6",
394
+ cachedInputPrice: "0.1e-6",
395
+ requestPrice: "0",
396
396
  contextSize: 1000000,
397
397
  maxOutput: undefined,
398
398
  streaming: true,
@@ -406,10 +406,10 @@ export const openaiModels = [
406
406
  test: "skip",
407
407
  providerId: "azure",
408
408
  modelName: "gpt-4.1-mini",
409
- inputPrice: 0.4 / 1e6,
410
- outputPrice: 1.6 / 1e6,
411
- cachedInputPrice: 0.1 / 1e6,
412
- requestPrice: 0,
409
+ inputPrice: "0.4e-6",
410
+ outputPrice: "1.6e-6",
411
+ cachedInputPrice: "0.1e-6",
412
+ requestPrice: "0",
413
413
  contextSize: 1000000,
414
414
  maxOutput: undefined,
415
415
  streaming: true,
@@ -431,10 +431,10 @@ export const openaiModels = [
431
431
  {
432
432
  providerId: "openai",
433
433
  modelName: "gpt-4.1-nano",
434
- inputPrice: 0.1 / 1e6,
435
- outputPrice: 0.4 / 1e6,
436
- cachedInputPrice: 0.025 / 1e6,
437
- requestPrice: 0,
434
+ inputPrice: "0.1e-6",
435
+ outputPrice: "0.4e-6",
436
+ cachedInputPrice: "0.025e-6",
437
+ requestPrice: "0",
438
438
  contextSize: 1000000,
439
439
  maxOutput: undefined,
440
440
  streaming: true,
@@ -448,10 +448,10 @@ export const openaiModels = [
448
448
  test: "skip",
449
449
  providerId: "azure",
450
450
  modelName: "gpt-4.1-nano",
451
- inputPrice: 0.1 / 1e6,
452
- outputPrice: 0.4 / 1e6,
453
- cachedInputPrice: 0.025 / 1e6,
454
- requestPrice: 0,
451
+ inputPrice: "0.1e-6",
452
+ outputPrice: "0.4e-6",
453
+ cachedInputPrice: "0.025e-6",
454
+ requestPrice: "0",
455
455
  contextSize: 1000000,
456
456
  maxOutput: undefined,
457
457
  streaming: true,
@@ -473,10 +473,10 @@ export const openaiModels = [
473
473
  {
474
474
  providerId: "openai",
475
475
  modelName: "o3",
476
- inputPrice: 2 / 1e6,
477
- outputPrice: 8 / 1e6,
478
- cachedInputPrice: 0.5 / 1e6,
479
- requestPrice: 0,
476
+ inputPrice: "2e-6",
477
+ outputPrice: "8e-6",
478
+ cachedInputPrice: "0.5e-6",
479
+ requestPrice: "0",
480
480
  contextSize: 200000,
481
481
  maxOutput: undefined,
482
482
  streaming: false,
@@ -490,10 +490,10 @@ export const openaiModels = [
490
490
  test: "skip",
491
491
  providerId: "azure",
492
492
  modelName: "o3",
493
- inputPrice: 2 / 1e6,
494
- outputPrice: 8 / 1e6,
495
- cachedInputPrice: 0.5 / 1e6,
496
- requestPrice: 0,
493
+ inputPrice: "2e-6",
494
+ outputPrice: "8e-6",
495
+ cachedInputPrice: "0.5e-6",
496
+ requestPrice: "0",
497
497
  contextSize: 200000,
498
498
  maxOutput: undefined,
499
499
  streaming: false,
@@ -514,10 +514,10 @@ export const openaiModels = [
514
514
  {
515
515
  providerId: "openai",
516
516
  modelName: "o3-mini",
517
- inputPrice: 1.1 / 1e6,
518
- outputPrice: 4.4 / 1e6,
519
- cachedInputPrice: 0.55 / 1e6,
520
- requestPrice: 0,
517
+ inputPrice: "1.1e-6",
518
+ outputPrice: "4.4e-6",
519
+ cachedInputPrice: "0.55e-6",
520
+ requestPrice: "0",
521
521
  contextSize: 200000,
522
522
  maxOutput: undefined,
523
523
  streaming: true,
@@ -531,10 +531,10 @@ export const openaiModels = [
531
531
  test: "skip",
532
532
  providerId: "azure",
533
533
  modelName: "o3-mini",
534
- inputPrice: 1.1 / 1e6,
535
- outputPrice: 4.4 / 1e6,
536
- cachedInputPrice: 0.55 / 1e6,
537
- requestPrice: 0,
534
+ inputPrice: "1.1e-6",
535
+ outputPrice: "4.4e-6",
536
+ cachedInputPrice: "0.55e-6",
537
+ requestPrice: "0",
538
538
  contextSize: 200000,
539
539
  maxOutput: undefined,
540
540
  streaming: true,
@@ -555,10 +555,10 @@ export const openaiModels = [
555
555
  {
556
556
  providerId: "openai",
557
557
  modelName: "o4-mini",
558
- inputPrice: 1.1 / 1e6,
559
- outputPrice: 4.4 / 1e6,
560
- cachedInputPrice: 0.275 / 1e6,
561
- requestPrice: 0,
558
+ inputPrice: "1.1e-6",
559
+ outputPrice: "4.4e-6",
560
+ cachedInputPrice: "0.275e-6",
561
+ requestPrice: "0",
562
562
  contextSize: 200000,
563
563
  maxOutput: undefined,
564
564
  streaming: true,
@@ -573,10 +573,10 @@ export const openaiModels = [
573
573
  test: "skip",
574
574
  providerId: "azure",
575
575
  modelName: "o4-mini",
576
- inputPrice: 1.1 / 1e6,
577
- outputPrice: 4.4 / 1e6,
578
- cachedInputPrice: 0.275 / 1e6,
579
- requestPrice: 0,
576
+ inputPrice: "1.1e-6",
577
+ outputPrice: "4.4e-6",
578
+ cachedInputPrice: "0.275e-6",
579
+ requestPrice: "0",
580
580
  contextSize: 200000,
581
581
  maxOutput: undefined,
582
582
  streaming: true,
@@ -598,9 +598,9 @@ export const openaiModels = [
598
598
  {
599
599
  providerId: "groq",
600
600
  modelName: "openai/gpt-oss-120b",
601
- inputPrice: 0.15 / 1e6,
602
- outputPrice: 0.75 / 1e6,
603
- requestPrice: 0,
601
+ inputPrice: "0.15e-6",
602
+ outputPrice: "0.75e-6",
603
+ requestPrice: "0",
604
604
  contextSize: 131072,
605
605
  maxOutput: 32766,
606
606
  streaming: true,
@@ -613,9 +613,9 @@ export const openaiModels = [
613
613
  providerId: "cerebras",
614
614
  stability: "unstable",
615
615
  modelName: "gpt-oss-120b",
616
- inputPrice: 0.35 / 1e6,
617
- outputPrice: 0.75 / 1e6,
618
- requestPrice: 0,
616
+ inputPrice: "0.35e-6",
617
+ outputPrice: "0.75e-6",
618
+ requestPrice: "0",
619
619
  contextSize: 131072,
620
620
  maxOutput: 32768,
621
621
  streaming: true,
@@ -636,9 +636,9 @@ export const openaiModels = [
636
636
  test: "skip",
637
637
  providerId: "nanogpt",
638
638
  modelName: "openai/gpt-oss-120b",
639
- inputPrice: 0.05 / 1e6,
640
- outputPrice: 0.25 / 1e6,
641
- requestPrice: 0,
639
+ inputPrice: "0.05e-6",
640
+ outputPrice: "0.25e-6",
641
+ requestPrice: "0",
642
642
  contextSize: 131072,
643
643
  maxOutput: 32766,
644
644
  streaming: true,
@@ -650,10 +650,10 @@ export const openaiModels = [
650
650
  {
651
651
  providerId: "bytedance",
652
652
  modelName: "gpt-oss-120b-250805",
653
- inputPrice: 0.1 / 1e6,
654
- cachedInputPrice: 0.02 / 1e6,
655
- outputPrice: 0.5 / 1e6,
656
- requestPrice: 0,
653
+ inputPrice: "0.1e-6",
654
+ cachedInputPrice: "0.02e-6",
655
+ outputPrice: "0.5e-6",
656
+ requestPrice: "0",
657
657
  contextSize: 128000,
658
658
  maxOutput: 32000,
659
659
  streaming: true,
@@ -665,9 +665,9 @@ export const openaiModels = [
665
665
  {
666
666
  providerId: "nebius",
667
667
  modelName: "openai/gpt-oss-120b",
668
- inputPrice: 0.15 / 1e6,
669
- outputPrice: 0.6 / 1e6,
670
- requestPrice: 0,
668
+ inputPrice: "0.15e-6",
669
+ outputPrice: "0.6e-6",
670
+ requestPrice: "0",
671
671
  contextSize: 131072,
672
672
  maxOutput: 32768,
673
673
  streaming: true,
@@ -679,9 +679,9 @@ export const openaiModels = [
679
679
  {
680
680
  providerId: "together-ai",
681
681
  modelName: "openai/gpt-oss-120b",
682
- inputPrice: 0.15 / 1e6,
683
- outputPrice: 0.6 / 1e6,
684
- requestPrice: 0,
682
+ inputPrice: "0.15e-6",
683
+ outputPrice: "0.6e-6",
684
+ requestPrice: "0",
685
685
  contextSize: 131072,
686
686
  maxOutput: 32768,
687
687
  streaming: true,
@@ -693,9 +693,9 @@ export const openaiModels = [
693
693
  {
694
694
  providerId: "azure",
695
695
  modelName: "gpt-oss-120b",
696
- inputPrice: 0.15 / 1e6,
697
- outputPrice: 0.6 / 1e6,
698
- requestPrice: 0,
696
+ inputPrice: "0.15e-6",
697
+ outputPrice: "0.6e-6",
698
+ requestPrice: "0",
699
699
  contextSize: 131072,
700
700
  maxOutput: 32768,
701
701
  streaming: true,
@@ -716,9 +716,9 @@ export const openaiModels = [
716
716
  {
717
717
  providerId: "groq",
718
718
  modelName: "openai/gpt-oss-20b",
719
- inputPrice: 0.1 / 1e6,
720
- outputPrice: 0.5 / 1e6,
721
- requestPrice: 0,
719
+ inputPrice: "0.1e-6",
720
+ outputPrice: "0.5e-6",
721
+ requestPrice: "0",
722
722
  contextSize: 131072,
723
723
  maxOutput: 32766,
724
724
  streaming: true,
@@ -731,9 +731,9 @@ export const openaiModels = [
731
731
  test: "skip",
732
732
  providerId: "nanogpt",
733
733
  modelName: "openai/gpt-oss-20b",
734
- inputPrice: 0.04 / 1e6,
735
- outputPrice: 0.15 / 1e6,
736
- requestPrice: 0,
734
+ inputPrice: "0.04e-6",
735
+ outputPrice: "0.15e-6",
736
+ requestPrice: "0",
737
737
  contextSize: 131072,
738
738
  maxOutput: 32766,
739
739
  streaming: true,
@@ -745,9 +745,9 @@ export const openaiModels = [
745
745
  {
746
746
  providerId: "together-ai",
747
747
  modelName: "openai/gpt-oss-20b",
748
- inputPrice: 0.05 / 1e6,
749
- outputPrice: 0.2 / 1e6,
750
- requestPrice: 0,
748
+ inputPrice: "0.05e-6",
749
+ outputPrice: "0.2e-6",
750
+ requestPrice: "0",
751
751
  contextSize: 131072,
752
752
  maxOutput: 32768,
753
753
  streaming: true,
@@ -768,10 +768,10 @@ export const openaiModels = [
768
768
  {
769
769
  providerId: "openai",
770
770
  modelName: "gpt-5",
771
- inputPrice: 1.25 / 1e6,
772
- outputPrice: 10.0 / 1e6,
773
- cachedInputPrice: 0.125 / 1e6,
774
- requestPrice: 0,
771
+ inputPrice: "1.25e-6",
772
+ outputPrice: "10.0e-6",
773
+ cachedInputPrice: "0.125e-6",
774
+ requestPrice: "0",
775
775
  contextSize: 400000,
776
776
  maxOutput: 128000,
777
777
  reasoning: true,
@@ -779,7 +779,7 @@ export const openaiModels = [
779
779
  vision: true,
780
780
  tools: true,
781
781
  webSearch: true,
782
- webSearchPrice: 0.01,
782
+ webSearchPrice: "0.01",
783
783
  supportsResponsesApi: true,
784
784
  jsonOutputSchema: true,
785
785
  supportedParameters: [
@@ -797,10 +797,10 @@ export const openaiModels = [
797
797
  test: "skip",
798
798
  providerId: "azure",
799
799
  modelName: "gpt-5",
800
- inputPrice: 1.25 / 1e6,
801
- outputPrice: 10.0 / 1e6,
802
- cachedInputPrice: 0.125 / 1e6,
803
- requestPrice: 0,
800
+ inputPrice: "1.25e-6",
801
+ outputPrice: "10.0e-6",
802
+ cachedInputPrice: "0.125e-6",
803
+ requestPrice: "0",
804
804
  contextSize: 400000,
805
805
  maxOutput: 128000,
806
806
  reasoning: true,
@@ -832,10 +832,10 @@ export const openaiModels = [
832
832
  {
833
833
  providerId: "openai",
834
834
  modelName: "gpt-5-mini",
835
- inputPrice: 0.25 / 1e6,
836
- outputPrice: 2 / 1e6,
837
- cachedInputPrice: 0.025 / 1e6,
838
- requestPrice: 0,
835
+ inputPrice: "0.25e-6",
836
+ outputPrice: "2e-6",
837
+ cachedInputPrice: "0.025e-6",
838
+ requestPrice: "0",
839
839
  contextSize: 400000,
840
840
  maxOutput: 128000,
841
841
  reasoning: true,
@@ -843,7 +843,7 @@ export const openaiModels = [
843
843
  vision: true,
844
844
  tools: true,
845
845
  webSearch: true,
846
- webSearchPrice: 0.01,
846
+ webSearchPrice: "0.01",
847
847
  supportsResponsesApi: true,
848
848
  jsonOutputSchema: true,
849
849
  supportedParameters: [
@@ -861,10 +861,10 @@ export const openaiModels = [
861
861
  test: "skip",
862
862
  providerId: "azure",
863
863
  modelName: "gpt-5-mini",
864
- inputPrice: 0.25 / 1e6,
865
- outputPrice: 2 / 1e6,
866
- cachedInputPrice: 0.025 / 1e6,
867
- requestPrice: 0,
864
+ inputPrice: "0.25e-6",
865
+ outputPrice: "2e-6",
866
+ cachedInputPrice: "0.025e-6",
867
+ requestPrice: "0",
868
868
  contextSize: 400000,
869
869
  maxOutput: 128000,
870
870
  reasoning: true,
@@ -896,10 +896,10 @@ export const openaiModels = [
896
896
  {
897
897
  providerId: "openai",
898
898
  modelName: "gpt-5-nano",
899
- inputPrice: 0.05 / 1e6,
900
- outputPrice: 0.4 / 1e6,
901
- cachedInputPrice: 0.005 / 1e6,
902
- requestPrice: 0,
899
+ inputPrice: "0.05e-6",
900
+ outputPrice: "0.4e-6",
901
+ cachedInputPrice: "0.005e-6",
902
+ requestPrice: "0",
903
903
  contextSize: 400000,
904
904
  maxOutput: 128000,
905
905
  reasoning: true,
@@ -907,7 +907,7 @@ export const openaiModels = [
907
907
  vision: false,
908
908
  tools: true,
909
909
  webSearch: true,
910
- webSearchPrice: 0.01,
910
+ webSearchPrice: "0.01",
911
911
  supportsResponsesApi: true,
912
912
  jsonOutputSchema: true,
913
913
  supportedParameters: [
@@ -925,10 +925,10 @@ export const openaiModels = [
925
925
  test: "skip",
926
926
  providerId: "azure",
927
927
  modelName: "gpt-5-nano",
928
- inputPrice: 0.05 / 1e6,
929
- outputPrice: 0.4 / 1e6,
930
- cachedInputPrice: 0.005 / 1e6,
931
- requestPrice: 0,
928
+ inputPrice: "0.05e-6",
929
+ outputPrice: "0.4e-6",
930
+ cachedInputPrice: "0.005e-6",
931
+ requestPrice: "0",
932
932
  contextSize: 400000,
933
933
  maxOutput: 128000,
934
934
  reasoning: true,
@@ -960,10 +960,10 @@ export const openaiModels = [
960
960
  {
961
961
  providerId: "openai",
962
962
  modelName: "gpt-5-chat-latest",
963
- inputPrice: 1.25 / 1e6,
964
- outputPrice: 10.0 / 1e6,
965
- cachedInputPrice: 0.125 / 1e6,
966
- requestPrice: 0,
963
+ inputPrice: "1.25e-6",
964
+ outputPrice: "10.0e-6",
965
+ cachedInputPrice: "0.125e-6",
966
+ requestPrice: "0",
967
967
  contextSize: 400000,
968
968
  maxOutput: 128000,
969
969
  streaming: true,
@@ -991,17 +991,17 @@ export const openaiModels = [
991
991
  {
992
992
  providerId: "openai",
993
993
  modelName: "gpt-5.1",
994
- inputPrice: 1.25 / 1e6,
995
- outputPrice: 10.0 / 1e6,
996
- cachedInputPrice: 0.125 / 1e6,
997
- requestPrice: 0,
994
+ inputPrice: "1.25e-6",
995
+ outputPrice: "10.0e-6",
996
+ cachedInputPrice: "0.125e-6",
997
+ requestPrice: "0",
998
998
  contextSize: 400000,
999
999
  maxOutput: 128000,
1000
1000
  streaming: true,
1001
1001
  vision: true,
1002
1002
  tools: true,
1003
1003
  webSearch: true,
1004
- webSearchPrice: 0.01,
1004
+ webSearchPrice: "0.01",
1005
1005
  reasoning: true,
1006
1006
  reasoningOutput: "omit",
1007
1007
  supportsResponsesApi: true,
@@ -1019,11 +1019,11 @@ export const openaiModels = [
1019
1019
  test: "skip",
1020
1020
  providerId: "azure",
1021
1021
  modelName: "gpt-5.1",
1022
- inputPrice: 1.25 / 1e6,
1023
- outputPrice: 10.0 / 1e6,
1024
- cachedInputPrice: 0.125 / 1e6,
1025
- discount: 0.2,
1026
- requestPrice: 0,
1022
+ inputPrice: "1.25e-6",
1023
+ outputPrice: "10.0e-6",
1024
+ cachedInputPrice: "0.125e-6",
1025
+ discount: "0.2",
1026
+ requestPrice: "0",
1027
1027
  contextSize: 400000,
1028
1028
  maxOutput: 128000,
1029
1029
  streaming: true,
@@ -1054,9 +1054,9 @@ export const openaiModels = [
1054
1054
  test: "skip",
1055
1055
  providerId: "openai",
1056
1056
  modelName: "gpt-5-pro",
1057
- inputPrice: 15 / 1e6,
1058
- outputPrice: 120.0 / 1e6,
1059
- requestPrice: 0,
1057
+ inputPrice: "15e-6",
1058
+ outputPrice: "120.0e-6",
1059
+ requestPrice: "0",
1060
1060
  contextSize: 400000,
1061
1061
  maxOutput: 272000,
1062
1062
  streaming: true,
@@ -1065,7 +1065,7 @@ export const openaiModels = [
1065
1065
  vision: true,
1066
1066
  tools: true,
1067
1067
  webSearch: true,
1068
- webSearchPrice: 0.01,
1068
+ webSearchPrice: "0.01",
1069
1069
  supportsResponsesApi: true,
1070
1070
  jsonOutputSchema: true,
1071
1071
  jsonOutput: true,
@@ -1082,9 +1082,9 @@ export const openaiModels = [
1082
1082
  {
1083
1083
  providerId: "openai",
1084
1084
  modelName: "gpt-5.1-codex",
1085
- inputPrice: 1.25 / 1e6,
1086
- outputPrice: 10 / 1e6,
1087
- requestPrice: 0,
1085
+ inputPrice: "1.25e-6",
1086
+ outputPrice: "10e-6",
1087
+ requestPrice: "0",
1088
1088
  contextSize: 400000,
1089
1089
  maxOutput: 272000,
1090
1090
  streaming: true,
@@ -1093,7 +1093,7 @@ export const openaiModels = [
1093
1093
  vision: true,
1094
1094
  tools: true,
1095
1095
  webSearch: true,
1096
- webSearchPrice: 0.01,
1096
+ webSearchPrice: "0.01",
1097
1097
  supportsResponsesApi: true,
1098
1098
  jsonOutputSchema: false,
1099
1099
  jsonOutput: true,
@@ -1102,9 +1102,9 @@ export const openaiModels = [
1102
1102
  test: "skip",
1103
1103
  providerId: "azure",
1104
1104
  modelName: "gpt-5.1-codex",
1105
- inputPrice: 1.25 / 1e6,
1106
- outputPrice: 10 / 1e6,
1107
- requestPrice: 0,
1105
+ inputPrice: "1.25e-6",
1106
+ outputPrice: "10e-6",
1107
+ requestPrice: "0",
1108
1108
  contextSize: 400000,
1109
1109
  maxOutput: 272000,
1110
1110
  streaming: true,
@@ -1127,10 +1127,10 @@ export const openaiModels = [
1127
1127
  {
1128
1128
  providerId: "openai",
1129
1129
  modelName: "gpt-5.1-codex-mini",
1130
- inputPrice: 0.25 / 1e6,
1131
- outputPrice: 2 / 1e6,
1132
- cachedInputPrice: 0.025 / 1e6,
1133
- requestPrice: 0,
1130
+ inputPrice: "0.25e-6",
1131
+ outputPrice: "2e-6",
1132
+ cachedInputPrice: "0.025e-6",
1133
+ requestPrice: "0",
1134
1134
  contextSize: 400000,
1135
1135
  maxOutput: 128000,
1136
1136
  streaming: true,
@@ -1139,7 +1139,7 @@ export const openaiModels = [
1139
1139
  vision: true,
1140
1140
  tools: true,
1141
1141
  webSearch: true,
1142
- webSearchPrice: 0.01,
1142
+ webSearchPrice: "0.01",
1143
1143
  supportsResponsesApi: true,
1144
1144
  jsonOutputSchema: false,
1145
1145
  jsonOutput: true,
@@ -1148,10 +1148,10 @@ export const openaiModels = [
1148
1148
  test: "skip",
1149
1149
  providerId: "azure",
1150
1150
  modelName: "gpt-5.1-codex-mini",
1151
- inputPrice: 0.25 / 1e6,
1152
- outputPrice: 2 / 1e6,
1153
- cachedInputPrice: 0.025 / 1e6,
1154
- requestPrice: 0,
1151
+ inputPrice: "0.25e-6",
1152
+ outputPrice: "2e-6",
1153
+ cachedInputPrice: "0.025e-6",
1154
+ requestPrice: "0",
1155
1155
  contextSize: 400000,
1156
1156
  maxOutput: 128000,
1157
1157
  streaming: true,
@@ -1174,17 +1174,17 @@ export const openaiModels = [
1174
1174
  {
1175
1175
  providerId: "openai",
1176
1176
  modelName: "gpt-5.2",
1177
- inputPrice: 1.75 / 1e6,
1178
- outputPrice: 14.0 / 1e6,
1179
- cachedInputPrice: 0.175 / 1e6,
1180
- requestPrice: 0,
1177
+ inputPrice: "1.75e-6",
1178
+ outputPrice: "14.0e-6",
1179
+ cachedInputPrice: "0.175e-6",
1180
+ requestPrice: "0",
1181
1181
  contextSize: 400000,
1182
1182
  maxOutput: 128000,
1183
1183
  streaming: true,
1184
1184
  vision: true,
1185
1185
  tools: true,
1186
1186
  webSearch: true,
1187
- webSearchPrice: 0.01,
1187
+ webSearchPrice: "0.01",
1188
1188
  reasoning: true,
1189
1189
  reasoningOutput: "omit",
1190
1190
  supportsResponsesApi: true,
@@ -1202,11 +1202,11 @@ export const openaiModels = [
1202
1202
  test: "skip",
1203
1203
  providerId: "azure",
1204
1204
  modelName: "gpt-5.2",
1205
- inputPrice: 1.75 / 1e6,
1206
- outputPrice: 14.0 / 1e6,
1207
- cachedInputPrice: 0.175 / 1e6,
1208
- discount: 0.2,
1209
- requestPrice: 0,
1205
+ inputPrice: "1.75e-6",
1206
+ outputPrice: "14.0e-6",
1207
+ cachedInputPrice: "0.175e-6",
1208
+ discount: "0.2",
1209
+ requestPrice: "0",
1210
1210
  contextSize: 400000,
1211
1211
  maxOutput: 128000,
1212
1212
  streaming: true,
@@ -1237,9 +1237,9 @@ export const openaiModels = [
1237
1237
  {
1238
1238
  providerId: "openai",
1239
1239
  modelName: "gpt-5.2-pro",
1240
- inputPrice: 21.0 / 1e6,
1241
- outputPrice: 168.0 / 1e6,
1242
- requestPrice: 0,
1240
+ inputPrice: "21.0e-6",
1241
+ outputPrice: "168.0e-6",
1242
+ requestPrice: "0",
1243
1243
  contextSize: 400000,
1244
1244
  maxOutput: 272000,
1245
1245
  streaming: true,
@@ -1248,7 +1248,7 @@ export const openaiModels = [
1248
1248
  vision: true,
1249
1249
  tools: true,
1250
1250
  webSearch: true,
1251
- webSearchPrice: 0.01,
1251
+ webSearchPrice: "0.01",
1252
1252
  supportsResponsesApi: true,
1253
1253
  jsonOutputSchema: false,
1254
1254
  jsonOutput: true,
@@ -1257,9 +1257,9 @@ export const openaiModels = [
1257
1257
  test: "skip",
1258
1258
  providerId: "azure",
1259
1259
  modelName: "gpt-5.2-pro",
1260
- inputPrice: 21.0 / 1e6,
1261
- outputPrice: 168.0 / 1e6,
1262
- requestPrice: 0,
1260
+ inputPrice: "21.0e-6",
1261
+ outputPrice: "168.0e-6",
1262
+ requestPrice: "0",
1263
1263
  contextSize: 400000,
1264
1264
  maxOutput: 272000,
1265
1265
  streaming: true,
@@ -1282,10 +1282,12 @@ export const openaiModels = [
1282
1282
  {
1283
1283
  providerId: "openai",
1284
1284
  modelName: "gpt-5.2-chat-latest",
1285
- inputPrice: 1.75 / 1e6,
1286
- outputPrice: 14.0 / 1e6,
1287
- cachedInputPrice: 0.175 / 1e6,
1288
- requestPrice: 0,
1285
+ deprecatedAt: new Date("2026-05-13"),
1286
+ deactivatedAt: new Date("2026-08-10"),
1287
+ inputPrice: "1.75e-6",
1288
+ outputPrice: "14.0e-6",
1289
+ cachedInputPrice: "0.175e-6",
1290
+ requestPrice: "0",
1289
1291
  contextSize: 128000,
1290
1292
  maxOutput: 16400,
1291
1293
  streaming: true,
@@ -1294,7 +1296,7 @@ export const openaiModels = [
1294
1296
  vision: true,
1295
1297
  tools: true,
1296
1298
  webSearch: true,
1297
- webSearchPrice: 0.01,
1299
+ webSearchPrice: "0.01",
1298
1300
  supportsResponsesApi: true,
1299
1301
  jsonOutputSchema: false,
1300
1302
  jsonOutput: false,
@@ -1303,10 +1305,12 @@ export const openaiModels = [
1303
1305
  test: "skip",
1304
1306
  providerId: "azure",
1305
1307
  modelName: "gpt-5.2-chat-latest",
1306
- inputPrice: 1.75 / 1e6,
1307
- outputPrice: 14.0 / 1e6,
1308
- cachedInputPrice: 0.175 / 1e6,
1309
- requestPrice: 0,
1308
+ deprecatedAt: new Date("2026-05-13"),
1309
+ deactivatedAt: new Date("2026-08-10"),
1310
+ inputPrice: "1.75e-6",
1311
+ outputPrice: "14.0e-6",
1312
+ cachedInputPrice: "0.175e-6",
1313
+ requestPrice: "0",
1310
1314
  contextSize: 128000,
1311
1315
  maxOutput: 16400,
1312
1316
  streaming: true,
@@ -1329,17 +1333,17 @@ export const openaiModels = [
1329
1333
  {
1330
1334
  providerId: "openai",
1331
1335
  modelName: "gpt-5.4",
1332
- inputPrice: 2.5 / 1e6,
1333
- outputPrice: 15.0 / 1e6,
1334
- cachedInputPrice: 0.25 / 1e6,
1335
- requestPrice: 0,
1336
+ inputPrice: "2.5e-6",
1337
+ outputPrice: "15.0e-6",
1338
+ cachedInputPrice: "0.25e-6",
1339
+ requestPrice: "0",
1336
1340
  contextSize: 1050000,
1337
1341
  maxOutput: 128000,
1338
1342
  streaming: true,
1339
1343
  vision: true,
1340
1344
  tools: true,
1341
1345
  webSearch: true,
1342
- webSearchPrice: 0.01,
1346
+ webSearchPrice: "0.01",
1343
1347
  reasoning: true,
1344
1348
  reasoningOutput: "omit",
1345
1349
  supportsResponsesApi: true,
@@ -1357,18 +1361,18 @@ export const openaiModels = [
1357
1361
  test: "skip",
1358
1362
  providerId: "azure",
1359
1363
  modelName: "gpt-5.4",
1360
- inputPrice: 2.5 / 1e6,
1361
- outputPrice: 15.0 / 1e6,
1362
- cachedInputPrice: 0.25 / 1e6,
1363
- discount: 0.2,
1364
- requestPrice: 0,
1364
+ inputPrice: "2.5e-6",
1365
+ outputPrice: "15.0e-6",
1366
+ cachedInputPrice: "0.25e-6",
1367
+ discount: "0.2",
1368
+ requestPrice: "0",
1365
1369
  contextSize: 1050000,
1366
1370
  maxOutput: 128000,
1367
1371
  streaming: true,
1368
1372
  vision: true,
1369
1373
  tools: true,
1370
1374
  webSearch: true,
1371
- webSearchPrice: 0.01,
1375
+ webSearchPrice: "0.01",
1372
1376
  reasoning: true,
1373
1377
  reasoningOutput: "omit",
1374
1378
  supportsResponsesApi: true,
@@ -1395,10 +1399,10 @@ export const openaiModels = [
1395
1399
  providerId: "openai",
1396
1400
  test: "skip",
1397
1401
  modelName: "gpt-5.4-pro",
1398
- inputPrice: 30.0 / 1e6,
1399
- outputPrice: 180.0 / 1e6,
1400
- discount: 0.3,
1401
- requestPrice: 0,
1402
+ inputPrice: "30.0e-6",
1403
+ outputPrice: "180.0e-6",
1404
+ discount: "0.3",
1405
+ requestPrice: "0",
1402
1406
  contextSize: 1050000,
1403
1407
  maxOutput: 128000,
1404
1408
  streaming: true,
@@ -1407,7 +1411,7 @@ export const openaiModels = [
1407
1411
  vision: true,
1408
1412
  tools: true,
1409
1413
  webSearch: true,
1410
- webSearchPrice: 0.01,
1414
+ webSearchPrice: "0.01",
1411
1415
  supportsResponsesApi: true,
1412
1416
  jsonOutputSchema: false,
1413
1417
  jsonOutput: true,
@@ -1416,9 +1420,9 @@ export const openaiModels = [
1416
1420
  providerId: "azure",
1417
1421
  test: "skip",
1418
1422
  modelName: "gpt-5.4-pro",
1419
- inputPrice: 30.0 / 1e6,
1420
- outputPrice: 180.0 / 1e6,
1421
- requestPrice: 0,
1423
+ inputPrice: "30.0e-6",
1424
+ outputPrice: "180.0e-6",
1425
+ requestPrice: "0",
1422
1426
  contextSize: 1050000,
1423
1427
  maxOutput: 128000,
1424
1428
  streaming: true,
@@ -1427,7 +1431,7 @@ export const openaiModels = [
1427
1431
  vision: true,
1428
1432
  tools: true,
1429
1433
  webSearch: true,
1430
- webSearchPrice: 0.01,
1434
+ webSearchPrice: "0.01",
1431
1435
  supportsResponsesApi: true,
1432
1436
  jsonOutputSchema: false,
1433
1437
  jsonOutput: true,
@@ -1444,17 +1448,17 @@ export const openaiModels = [
1444
1448
  {
1445
1449
  providerId: "openai",
1446
1450
  modelName: "gpt-5.4-mini",
1447
- inputPrice: 0.75 / 1e6,
1448
- outputPrice: 4.5 / 1e6,
1449
- cachedInputPrice: 0.075 / 1e6,
1450
- requestPrice: 0,
1451
+ inputPrice: "0.75e-6",
1452
+ outputPrice: "4.5e-6",
1453
+ cachedInputPrice: "0.075e-6",
1454
+ requestPrice: "0",
1451
1455
  contextSize: 400000,
1452
1456
  maxOutput: 128000,
1453
1457
  streaming: true,
1454
1458
  vision: true,
1455
1459
  tools: true,
1456
1460
  webSearch: true,
1457
- webSearchPrice: 0.01,
1461
+ webSearchPrice: "0.01",
1458
1462
  reasoning: true,
1459
1463
  reasoningOutput: "omit",
1460
1464
  supportsResponsesApi: true,
@@ -1465,18 +1469,18 @@ export const openaiModels = [
1465
1469
  test: "skip",
1466
1470
  providerId: "azure",
1467
1471
  modelName: "gpt-5.4-mini",
1468
- inputPrice: 0.75 / 1e6,
1469
- outputPrice: 4.5 / 1e6,
1470
- cachedInputPrice: 0.075 / 1e6,
1471
- discount: 0.2,
1472
- requestPrice: 0,
1472
+ inputPrice: "0.75e-6",
1473
+ outputPrice: "4.5e-6",
1474
+ cachedInputPrice: "0.075e-6",
1475
+ discount: "0.2",
1476
+ requestPrice: "0",
1473
1477
  contextSize: 400000,
1474
1478
  maxOutput: 128000,
1475
1479
  streaming: true,
1476
1480
  vision: true,
1477
1481
  tools: true,
1478
1482
  webSearch: true,
1479
- webSearchPrice: 0.01,
1483
+ webSearchPrice: "0.01",
1480
1484
  reasoning: true,
1481
1485
  reasoningOutput: "omit",
1482
1486
  supportsResponsesApi: true,
@@ -1495,17 +1499,17 @@ export const openaiModels = [
1495
1499
  {
1496
1500
  providerId: "openai",
1497
1501
  modelName: "gpt-5.4-nano",
1498
- inputPrice: 0.2 / 1e6,
1499
- outputPrice: 1.25 / 1e6,
1500
- cachedInputPrice: 0.02 / 1e6,
1501
- requestPrice: 0,
1502
+ inputPrice: "0.2e-6",
1503
+ outputPrice: "1.25e-6",
1504
+ cachedInputPrice: "0.02e-6",
1505
+ requestPrice: "0",
1502
1506
  contextSize: 400000,
1503
1507
  maxOutput: 128000,
1504
1508
  streaming: true,
1505
1509
  vision: true,
1506
1510
  tools: true,
1507
1511
  webSearch: true,
1508
- webSearchPrice: 0.01,
1512
+ webSearchPrice: "0.01",
1509
1513
  reasoning: true,
1510
1514
  reasoningOutput: "omit",
1511
1515
  supportsResponsesApi: true,
@@ -1516,18 +1520,18 @@ export const openaiModels = [
1516
1520
  test: "skip",
1517
1521
  providerId: "azure",
1518
1522
  modelName: "gpt-5.4-nano",
1519
- inputPrice: 0.2 / 1e6,
1520
- outputPrice: 1.25 / 1e6,
1521
- cachedInputPrice: 0.02 / 1e6,
1522
- discount: 0.2,
1523
- requestPrice: 0,
1523
+ inputPrice: "0.2e-6",
1524
+ outputPrice: "1.25e-6",
1525
+ cachedInputPrice: "0.02e-6",
1526
+ discount: "0.2",
1527
+ requestPrice: "0",
1524
1528
  contextSize: 400000,
1525
1529
  maxOutput: 128000,
1526
1530
  streaming: true,
1527
1531
  vision: true,
1528
1532
  tools: true,
1529
1533
  webSearch: true,
1530
- webSearchPrice: 0.01,
1534
+ webSearchPrice: "0.01",
1531
1535
  reasoning: true,
1532
1536
  reasoningOutput: "omit",
1533
1537
  supportsResponsesApi: true,
@@ -1546,17 +1550,17 @@ export const openaiModels = [
1546
1550
  {
1547
1551
  providerId: "openai",
1548
1552
  modelName: "gpt-5.5",
1549
- inputPrice: 5.0 / 1e6,
1550
- outputPrice: 30.0 / 1e6,
1551
- cachedInputPrice: 0.5 / 1e6,
1552
- requestPrice: 0,
1553
+ inputPrice: "5.0e-6",
1554
+ outputPrice: "30.0e-6",
1555
+ cachedInputPrice: "0.5e-6",
1556
+ requestPrice: "0",
1553
1557
  contextSize: 1050000,
1554
1558
  maxOutput: 128000,
1555
1559
  streaming: true,
1556
1560
  vision: true,
1557
1561
  tools: true,
1558
1562
  webSearch: true,
1559
- webSearchPrice: 0.01,
1563
+ webSearchPrice: "0.01",
1560
1564
  reasoning: true,
1561
1565
  reasoningOutput: "omit",
1562
1566
  supportsResponsesApi: true,
@@ -1574,18 +1578,18 @@ export const openaiModels = [
1574
1578
  test: "skip",
1575
1579
  providerId: "azure",
1576
1580
  modelName: "gpt-5.5",
1577
- inputPrice: 5.0 / 1e6,
1578
- outputPrice: 30.0 / 1e6,
1579
- cachedInputPrice: 0.5 / 1e6,
1580
- discount: 0.2,
1581
- requestPrice: 0,
1581
+ inputPrice: "5.0e-6",
1582
+ outputPrice: "30.0e-6",
1583
+ cachedInputPrice: "0.5e-6",
1584
+ discount: "0.2",
1585
+ requestPrice: "0",
1582
1586
  contextSize: 1050000,
1583
1587
  maxOutput: 128000,
1584
1588
  streaming: true,
1585
1589
  vision: true,
1586
1590
  tools: true,
1587
1591
  webSearch: true,
1588
- webSearchPrice: 0.01,
1592
+ webSearchPrice: "0.01",
1589
1593
  reasoning: true,
1590
1594
  reasoningOutput: "omit",
1591
1595
  supportsResponsesApi: true,
@@ -1612,9 +1616,9 @@ export const openaiModels = [
1612
1616
  providerId: "openai",
1613
1617
  test: "skip",
1614
1618
  modelName: "gpt-5.5-pro",
1615
- inputPrice: 30.0 / 1e6,
1616
- outputPrice: 180.0 / 1e6,
1617
- requestPrice: 0,
1619
+ inputPrice: "30.0e-6",
1620
+ outputPrice: "180.0e-6",
1621
+ requestPrice: "0",
1618
1622
  contextSize: 1050000,
1619
1623
  maxOutput: 128000,
1620
1624
  streaming: true,
@@ -1623,7 +1627,7 @@ export const openaiModels = [
1623
1627
  vision: true,
1624
1628
  tools: true,
1625
1629
  webSearch: true,
1626
- webSearchPrice: 0.01,
1630
+ webSearchPrice: "0.01",
1627
1631
  supportsResponsesApi: true,
1628
1632
  jsonOutputSchema: false,
1629
1633
  jsonOutput: true,
@@ -1640,10 +1644,10 @@ export const openaiModels = [
1640
1644
  {
1641
1645
  providerId: "openai",
1642
1646
  modelName: "gpt-5.2-codex",
1643
- inputPrice: 1.75 / 1e6,
1644
- outputPrice: 14.0 / 1e6,
1645
- cachedInputPrice: 0.175 / 1e6,
1646
- requestPrice: 0,
1647
+ inputPrice: "1.75e-6",
1648
+ outputPrice: "14.0e-6",
1649
+ cachedInputPrice: "0.175e-6",
1650
+ requestPrice: "0",
1647
1651
  contextSize: 400000,
1648
1652
  maxOutput: 128000,
1649
1653
  streaming: true,
@@ -1652,7 +1656,7 @@ export const openaiModels = [
1652
1656
  vision: true,
1653
1657
  tools: true,
1654
1658
  webSearch: true,
1655
- webSearchPrice: 0.01,
1659
+ webSearchPrice: "0.01",
1656
1660
  supportsResponsesApi: true,
1657
1661
  jsonOutputSchema: false,
1658
1662
  jsonOutput: true,
@@ -1661,10 +1665,10 @@ export const openaiModels = [
1661
1665
  test: "skip",
1662
1666
  providerId: "azure",
1663
1667
  modelName: "gpt-5.2-codex",
1664
- inputPrice: 1.75 / 1e6,
1665
- outputPrice: 14.0 / 1e6,
1666
- cachedInputPrice: 0.175 / 1e6,
1667
- requestPrice: 0,
1668
+ inputPrice: "1.75e-6",
1669
+ outputPrice: "14.0e-6",
1670
+ cachedInputPrice: "0.175e-6",
1671
+ requestPrice: "0",
1668
1672
  contextSize: 400000,
1669
1673
  maxOutput: 128000,
1670
1674
  streaming: true,
@@ -1687,10 +1691,10 @@ export const openaiModels = [
1687
1691
  {
1688
1692
  providerId: "openai",
1689
1693
  modelName: "gpt-5.3-codex",
1690
- inputPrice: 1.75 / 1e6,
1691
- outputPrice: 14.0 / 1e6,
1692
- cachedInputPrice: 0.175 / 1e6,
1693
- requestPrice: 0,
1694
+ inputPrice: "1.75e-6",
1695
+ outputPrice: "14.0e-6",
1696
+ cachedInputPrice: "0.175e-6",
1697
+ requestPrice: "0",
1694
1698
  contextSize: 400000,
1695
1699
  maxOutput: 128000,
1696
1700
  streaming: true,
@@ -1699,7 +1703,7 @@ export const openaiModels = [
1699
1703
  vision: true,
1700
1704
  tools: true,
1701
1705
  webSearch: true,
1702
- webSearchPrice: 0.01,
1706
+ webSearchPrice: "0.01",
1703
1707
  supportsResponsesApi: true,
1704
1708
  jsonOutputSchema: false,
1705
1709
  jsonOutput: true,
@@ -1708,10 +1712,10 @@ export const openaiModels = [
1708
1712
  test: "skip",
1709
1713
  providerId: "azure",
1710
1714
  modelName: "gpt-5.3-codex",
1711
- inputPrice: 1.75 / 1e6,
1712
- outputPrice: 14.0 / 1e6,
1713
- cachedInputPrice: 0.175 / 1e6,
1714
- requestPrice: 0,
1715
+ inputPrice: "1.75e-6",
1716
+ outputPrice: "14.0e-6",
1717
+ cachedInputPrice: "0.175e-6",
1718
+ requestPrice: "0",
1715
1719
  contextSize: 400000,
1716
1720
  maxOutput: 128000,
1717
1721
  streaming: true,
@@ -1734,10 +1738,12 @@ export const openaiModels = [
1734
1738
  {
1735
1739
  providerId: "openai",
1736
1740
  modelName: "gpt-5.3-chat-latest",
1737
- inputPrice: 1.75 / 1e6,
1738
- outputPrice: 14.0 / 1e6,
1739
- cachedInputPrice: 0.175 / 1e6,
1740
- requestPrice: 0,
1741
+ deprecatedAt: new Date("2026-05-13"),
1742
+ deactivatedAt: new Date("2026-08-10"),
1743
+ inputPrice: "1.75e-6",
1744
+ outputPrice: "14.0e-6",
1745
+ cachedInputPrice: "0.175e-6",
1746
+ requestPrice: "0",
1741
1747
  contextSize: 128000,
1742
1748
  maxOutput: 16384,
1743
1749
  streaming: true,
@@ -1746,7 +1752,7 @@ export const openaiModels = [
1746
1752
  vision: true,
1747
1753
  tools: true,
1748
1754
  webSearch: true,
1749
- webSearchPrice: 0.01,
1755
+ webSearchPrice: "0.01",
1750
1756
  supportsResponsesApi: true,
1751
1757
  jsonOutputSchema: false,
1752
1758
  jsonOutput: false,
@@ -1755,10 +1761,12 @@ export const openaiModels = [
1755
1761
  test: "skip",
1756
1762
  providerId: "azure",
1757
1763
  modelName: "gpt-5.3-chat-latest",
1758
- inputPrice: 1.75 / 1e6,
1759
- outputPrice: 14.0 / 1e6,
1760
- cachedInputPrice: 0.175 / 1e6,
1761
- requestPrice: 0,
1764
+ deprecatedAt: new Date("2026-05-13"),
1765
+ deactivatedAt: new Date("2026-08-10"),
1766
+ inputPrice: "1.75e-6",
1767
+ outputPrice: "14.0e-6",
1768
+ cachedInputPrice: "0.175e-6",
1769
+ requestPrice: "0",
1762
1770
  contextSize: 128000,
1763
1771
  maxOutput: 16384,
1764
1772
  streaming: true,
@@ -1789,7 +1797,7 @@ export const openaiModels = [
1789
1797
  outputPrice: undefined,
1790
1798
  requestPrice: undefined,
1791
1799
  perSecondPrice: {
1792
- "720p": 0.1,
1800
+ "720p": "0.1",
1793
1801
  },
1794
1802
  supportedVideoSizes: ["1280x720", "720x1280"],
1795
1803
  supportedVideoDurationsSeconds: [4, 8, 12],
@@ -1811,7 +1819,7 @@ export const openaiModels = [
1811
1819
  outputPrice: undefined,
1812
1820
  requestPrice: undefined,
1813
1821
  perSecondPrice: {
1814
- "720p": 0.08,
1822
+ "720p": "0.08",
1815
1823
  },
1816
1824
  supportedVideoSizes: ["1280x720", "720x1280"],
1817
1825
  supportedVideoDurationsSeconds: [10],
@@ -1845,9 +1853,9 @@ export const openaiModels = [
1845
1853
  outputPrice: undefined,
1846
1854
  requestPrice: undefined,
1847
1855
  perSecondPrice: {
1848
- "720p": 0.3,
1849
- hd: 0.5,
1850
- "1080p": 0.7,
1856
+ "720p": "0.3",
1857
+ hd: "0.5",
1858
+ "1080p": "0.7",
1851
1859
  },
1852
1860
  supportedVideoSizes: [
1853
1861
  "1280x720",
@@ -1876,8 +1884,8 @@ export const openaiModels = [
1876
1884
  outputPrice: undefined,
1877
1885
  requestPrice: undefined,
1878
1886
  perSecondPrice: {
1879
- "720p": 0.24,
1880
- hd: 0.4,
1887
+ "720p": "0.24",
1888
+ hd: "0.4",
1881
1889
  },
1882
1890
  supportedVideoSizes: ["1280x720", "720x1280", "1792x1024", "1024x1792"],
1883
1891
  supportedVideoDurationsSeconds: [10],
@@ -1905,13 +1913,13 @@ export const openaiModels = [
1905
1913
  test: "skip",
1906
1914
  providerId: "openai",
1907
1915
  modelName: "gpt-image-2",
1908
- inputPrice: 5 / 1e6,
1909
- outputPrice: 0,
1910
- cachedInputPrice: 1.25 / 1e6,
1911
- imageInputPrice: 8 / 1e6,
1912
- cachedImageInputPrice: 2 / 1e6,
1913
- imageOutputPrice: 30 / 1e6,
1914
- requestPrice: 0,
1916
+ inputPrice: "5e-6",
1917
+ outputPrice: "0",
1918
+ cachedInputPrice: "1.25e-6",
1919
+ imageInputPrice: "8e-6",
1920
+ cachedImageInputPrice: "2e-6",
1921
+ imageOutputPrice: "30e-6",
1922
+ requestPrice: "0",
1915
1923
  contextSize: 272000,
1916
1924
  maxOutput: 128000,
1917
1925
  streaming: false,
@@ -1924,14 +1932,14 @@ export const openaiModels = [
1924
1932
  test: "skip",
1925
1933
  providerId: "azure",
1926
1934
  modelName: "gpt-image-2",
1927
- inputPrice: 5 / 1e6,
1928
- outputPrice: 0,
1929
- cachedInputPrice: 1.25 / 1e6,
1930
- imageInputPrice: 8 / 1e6,
1931
- cachedImageInputPrice: 2 / 1e6,
1932
- imageOutputPrice: 30 / 1e6,
1933
- discount: 0.2,
1934
- requestPrice: 0,
1935
+ inputPrice: "5e-6",
1936
+ outputPrice: "0",
1937
+ cachedInputPrice: "1.25e-6",
1938
+ imageInputPrice: "8e-6",
1939
+ cachedImageInputPrice: "2e-6",
1940
+ imageOutputPrice: "30e-6",
1941
+ discount: "0.2",
1942
+ requestPrice: "0",
1935
1943
  contextSize: 272000,
1936
1944
  maxOutput: 128000,
1937
1945
  streaming: false,
@@ -1942,5 +1950,71 @@ export const openaiModels = [
1942
1950
  },
1943
1951
  ],
1944
1952
  },
1953
+ {
1954
+ id: "text-embedding-3-small",
1955
+ name: "Text Embedding 3 Small",
1956
+ description: "Small, efficient embedding model. Default output dimension 1536; supports the `dimensions` parameter to shorten output.",
1957
+ family: "openai",
1958
+ output: ["embedding"],
1959
+ releasedAt: new Date("2024-01-25"),
1960
+ providers: [
1961
+ {
1962
+ providerId: "openai",
1963
+ modelName: "text-embedding-3-small",
1964
+ inputPrice: "0.02e-6",
1965
+ outputPrice: "0",
1966
+ requestPrice: "0",
1967
+ contextSize: 8192,
1968
+ streaming: false,
1969
+ tools: false,
1970
+ jsonOutput: false,
1971
+ embeddings: true,
1972
+ },
1973
+ ],
1974
+ },
1975
+ {
1976
+ id: "text-embedding-3-large",
1977
+ name: "Text Embedding 3 Large",
1978
+ description: "Highest-quality OpenAI embedding model. Default output dimension 3072; supports the `dimensions` parameter to shorten output (OpenAI examples: 256, 1024).",
1979
+ family: "openai",
1980
+ output: ["embedding"],
1981
+ releasedAt: new Date("2024-01-25"),
1982
+ providers: [
1983
+ {
1984
+ providerId: "openai",
1985
+ modelName: "text-embedding-3-large",
1986
+ inputPrice: "0.13e-6",
1987
+ outputPrice: "0",
1988
+ requestPrice: "0",
1989
+ contextSize: 8192,
1990
+ streaming: false,
1991
+ tools: false,
1992
+ jsonOutput: false,
1993
+ embeddings: true,
1994
+ },
1995
+ ],
1996
+ },
1997
+ {
1998
+ id: "text-embedding-ada-002",
1999
+ name: "Text Embedding Ada 002",
2000
+ description: "Legacy OpenAI embedding model with a fixed 1536-dimensional output. Does not support the `dimensions` parameter.",
2001
+ family: "openai",
2002
+ output: ["embedding"],
2003
+ releasedAt: new Date("2022-12-15"),
2004
+ providers: [
2005
+ {
2006
+ providerId: "openai",
2007
+ modelName: "text-embedding-ada-002",
2008
+ inputPrice: "0.1e-6",
2009
+ outputPrice: "0",
2010
+ requestPrice: "0",
2011
+ contextSize: 8192,
2012
+ streaming: false,
2013
+ tools: false,
2014
+ jsonOutput: false,
2015
+ embeddings: true,
2016
+ },
2017
+ ],
2018
+ },
1945
2019
  ];
1946
2020
  //# sourceMappingURL=openai.js.map