@llmgateway/models 1.97.1 → 1.99.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 (60) hide show
  1. package/README.md +1 -1
  2. package/dist/models/alibaba.d.ts +72 -72
  3. package/dist/models/alibaba.js +72 -72
  4. package/dist/models/alibaba.js.map +1 -1
  5. package/dist/models/anthropic.d.ts +73 -44
  6. package/dist/models/anthropic.js +76 -44
  7. package/dist/models/anthropic.js.map +1 -1
  8. package/dist/models/bytedance.d.ts +9 -9
  9. package/dist/models/bytedance.js +9 -9
  10. package/dist/models/bytedance.js.map +1 -1
  11. package/dist/models/deepseek.d.ts +18 -18
  12. package/dist/models/deepseek.js +18 -18
  13. package/dist/models/deepseek.js.map +1 -1
  14. package/dist/models/google.d.ts +97 -74
  15. package/dist/models/google.js +97 -74
  16. package/dist/models/google.js.map +1 -1
  17. package/dist/models/llmgateway.d.ts +2 -2
  18. package/dist/models/llmgateway.js +2 -2
  19. package/dist/models/llmgateway.js.map +1 -1
  20. package/dist/models/meta.d.ts +22 -22
  21. package/dist/models/meta.js +22 -22
  22. package/dist/models/meta.js.map +1 -1
  23. package/dist/models/minimax.d.ts +15 -15
  24. package/dist/models/minimax.js +15 -15
  25. package/dist/models/minimax.js.map +1 -1
  26. package/dist/models/mistral.d.ts +10 -10
  27. package/dist/models/mistral.js +10 -10
  28. package/dist/models/mistral.js.map +1 -1
  29. package/dist/models/moonshot.d.ts +19 -19
  30. package/dist/models/moonshot.js +19 -19
  31. package/dist/models/moonshot.js.map +1 -1
  32. package/dist/models/nousresearch.d.ts +2 -2
  33. package/dist/models/nousresearch.js +2 -2
  34. package/dist/models/nousresearch.js.map +1 -1
  35. package/dist/models/openai.d.ts +84 -84
  36. package/dist/models/openai.js +84 -84
  37. package/dist/models/openai.js.map +1 -1
  38. package/dist/models/perplexity.d.ts +3 -3
  39. package/dist/models/perplexity.js +3 -3
  40. package/dist/models/perplexity.js.map +1 -1
  41. package/dist/models/xai.d.ts +24 -24
  42. package/dist/models/xai.js +24 -24
  43. package/dist/models/xai.js.map +1 -1
  44. package/dist/models/xiaomi.d.ts +5 -5
  45. package/dist/models/xiaomi.js +5 -5
  46. package/dist/models/xiaomi.js.map +1 -1
  47. package/dist/models/zai.d.ts +41 -41
  48. package/dist/models/zai.js +41 -41
  49. package/dist/models/zai.js.map +1 -1
  50. package/dist/models.d.ts +499 -446
  51. package/dist/models.js.map +1 -1
  52. package/dist/region-helpers.d.ts +0 -1
  53. package/dist/region-helpers.js +0 -7
  54. package/dist/region-helpers.js.map +1 -1
  55. package/dist/type-guards.js +2 -2
  56. package/dist/type-guards.js.map +1 -1
  57. package/dist/types.d.ts +12 -3
  58. package/dist/types.js +3 -0
  59. package/dist/types.js.map +1 -1
  60. package/package.json +1 -1
@@ -8,7 +8,7 @@ export const openaiModels = [
8
8
  providers: [
9
9
  {
10
10
  providerId: "openai",
11
- modelName: "gpt-4o-mini",
11
+ externalId: "gpt-4o-mini",
12
12
  inputPrice: "0.15e-6",
13
13
  outputPrice: "0.6e-6",
14
14
  cachedInputPrice: "0.075e-6",
@@ -23,7 +23,7 @@ export const openaiModels = [
23
23
  },
24
24
  {
25
25
  providerId: "azure",
26
- modelName: "gpt-4o-mini",
26
+ externalId: "gpt-4o-mini",
27
27
  inputPrice: "0.15e-6",
28
28
  outputPrice: "0.6e-6",
29
29
  cachedInputPrice: "0.075e-6",
@@ -47,7 +47,7 @@ export const openaiModels = [
47
47
  providers: [
48
48
  {
49
49
  providerId: "openai",
50
- modelName: "gpt-4o-search-preview",
50
+ externalId: "gpt-4o-search-preview",
51
51
  inputPrice: "2.5e-6",
52
52
  outputPrice: "10.0e-6",
53
53
  requestPrice: "0",
@@ -72,7 +72,7 @@ export const openaiModels = [
72
72
  providers: [
73
73
  {
74
74
  providerId: "openai",
75
- modelName: "gpt-4o-mini-search-preview",
75
+ externalId: "gpt-4o-mini-search-preview",
76
76
  inputPrice: "0.15e-6",
77
77
  outputPrice: "0.6e-6",
78
78
  requestPrice: "0",
@@ -98,7 +98,7 @@ export const openaiModels = [
98
98
  {
99
99
  test: "skip",
100
100
  providerId: "openai",
101
- modelName: "gpt-4",
101
+ externalId: "gpt-4",
102
102
  inputPrice: "30.0e-6",
103
103
  outputPrice: "60.0e-6",
104
104
  requestPrice: "0",
@@ -122,7 +122,7 @@ export const openaiModels = [
122
122
  {
123
123
  test: "skip",
124
124
  providerId: "azure",
125
- modelName: "gpt-4",
125
+ externalId: "gpt-4",
126
126
  inputPrice: "30.0e-6",
127
127
  outputPrice: "60.0e-6",
128
128
  contextSize: 8192,
@@ -143,7 +143,7 @@ export const openaiModels = [
143
143
  providers: [
144
144
  {
145
145
  providerId: "openai",
146
- modelName: "gpt-4o",
146
+ externalId: "gpt-4o",
147
147
  inputPrice: "2.5e-6",
148
148
  outputPrice: "10.0e-6",
149
149
  cachedInputPrice: "1.25e-6",
@@ -161,7 +161,7 @@ export const openaiModels = [
161
161
  {
162
162
  test: "skip",
163
163
  providerId: "azure",
164
- modelName: "gpt-4o",
164
+ externalId: "gpt-4o",
165
165
  inputPrice: "2.5e-6",
166
166
  outputPrice: "10.0e-6",
167
167
  cachedInputPrice: "1.25e-6",
@@ -184,7 +184,7 @@ export const openaiModels = [
184
184
  providers: [
185
185
  {
186
186
  providerId: "openai",
187
- modelName: "gpt-3.5-turbo",
187
+ externalId: "gpt-3.5-turbo",
188
188
  inputPrice: "0.5e-6",
189
189
  outputPrice: "1.5e-6",
190
190
  requestPrice: "0",
@@ -199,7 +199,7 @@ export const openaiModels = [
199
199
  {
200
200
  test: "skip",
201
201
  providerId: "azure",
202
- modelName: "gpt-35-turbo",
202
+ externalId: "gpt-35-turbo",
203
203
  inputPrice: "0.5e-6",
204
204
  outputPrice: "1.5e-6",
205
205
  contextSize: 16385,
@@ -221,7 +221,7 @@ export const openaiModels = [
221
221
  {
222
222
  test: "skip",
223
223
  providerId: "openai",
224
- modelName: "gpt-4-turbo",
224
+ externalId: "gpt-4-turbo",
225
225
  inputPrice: "10.0e-6",
226
226
  outputPrice: "30.0e-6",
227
227
  requestPrice: "0",
@@ -236,7 +236,7 @@ export const openaiModels = [
236
236
  {
237
237
  test: "skip",
238
238
  providerId: "azure",
239
- modelName: "gpt-4-turbo",
239
+ externalId: "gpt-4-turbo",
240
240
  inputPrice: "10.0e-6",
241
241
  outputPrice: "30.0e-6",
242
242
  contextSize: 128000,
@@ -257,7 +257,7 @@ export const openaiModels = [
257
257
  providers: [
258
258
  {
259
259
  providerId: "openai",
260
- modelName: "gpt-4.1",
260
+ externalId: "gpt-4.1",
261
261
  inputPrice: "2.0e-6",
262
262
  outputPrice: "8.0e-6",
263
263
  cachedInputPrice: "0.5e-6",
@@ -274,7 +274,7 @@ export const openaiModels = [
274
274
  {
275
275
  test: "skip",
276
276
  providerId: "azure",
277
- modelName: "gpt-4.1",
277
+ externalId: "gpt-4.1",
278
278
  inputPrice: "2.0e-6",
279
279
  outputPrice: "8.0e-6",
280
280
  cachedInputPrice: "0.5e-6",
@@ -300,7 +300,7 @@ export const openaiModels = [
300
300
  {
301
301
  test: "skip",
302
302
  providerId: "openai",
303
- modelName: "o1",
303
+ externalId: "o1",
304
304
  inputPrice: "15.0e-6",
305
305
  outputPrice: "60.0e-6",
306
306
  cachedInputPrice: "7.5e-6",
@@ -317,7 +317,7 @@ export const openaiModels = [
317
317
  {
318
318
  test: "skip",
319
319
  providerId: "azure",
320
- modelName: "o1",
320
+ externalId: "o1",
321
321
  inputPrice: "15.0e-6",
322
322
  outputPrice: "60.0e-6",
323
323
  cachedInputPrice: "7.5e-6",
@@ -343,7 +343,7 @@ export const openaiModels = [
343
343
  {
344
344
  stability: "unstable",
345
345
  providerId: "openai",
346
- modelName: "o1-mini",
346
+ externalId: "o1-mini",
347
347
  inputPrice: "1.1e-6",
348
348
  outputPrice: "4.4e-6",
349
349
  cachedInputPrice: "0.55e-6",
@@ -361,7 +361,7 @@ export const openaiModels = [
361
361
  {
362
362
  test: "skip",
363
363
  providerId: "azure",
364
- modelName: "o1-mini",
364
+ externalId: "o1-mini",
365
365
  inputPrice: "1.1e-6",
366
366
  outputPrice: "4.4e-6",
367
367
  cachedInputPrice: "0.55e-6",
@@ -388,7 +388,7 @@ export const openaiModels = [
388
388
  providers: [
389
389
  {
390
390
  providerId: "openai",
391
- modelName: "gpt-4.1-mini",
391
+ externalId: "gpt-4.1-mini",
392
392
  inputPrice: "0.4e-6",
393
393
  outputPrice: "1.6e-6",
394
394
  cachedInputPrice: "0.1e-6",
@@ -405,7 +405,7 @@ export const openaiModels = [
405
405
  {
406
406
  test: "skip",
407
407
  providerId: "azure",
408
- modelName: "gpt-4.1-mini",
408
+ externalId: "gpt-4.1-mini",
409
409
  inputPrice: "0.4e-6",
410
410
  outputPrice: "1.6e-6",
411
411
  cachedInputPrice: "0.1e-6",
@@ -430,7 +430,7 @@ export const openaiModels = [
430
430
  providers: [
431
431
  {
432
432
  providerId: "openai",
433
- modelName: "gpt-4.1-nano",
433
+ externalId: "gpt-4.1-nano",
434
434
  inputPrice: "0.1e-6",
435
435
  outputPrice: "0.4e-6",
436
436
  cachedInputPrice: "0.025e-6",
@@ -447,7 +447,7 @@ export const openaiModels = [
447
447
  {
448
448
  test: "skip",
449
449
  providerId: "azure",
450
- modelName: "gpt-4.1-nano",
450
+ externalId: "gpt-4.1-nano",
451
451
  inputPrice: "0.1e-6",
452
452
  outputPrice: "0.4e-6",
453
453
  cachedInputPrice: "0.025e-6",
@@ -472,7 +472,7 @@ export const openaiModels = [
472
472
  providers: [
473
473
  {
474
474
  providerId: "openai",
475
- modelName: "o3",
475
+ externalId: "o3",
476
476
  inputPrice: "2e-6",
477
477
  outputPrice: "8e-6",
478
478
  cachedInputPrice: "0.5e-6",
@@ -489,7 +489,7 @@ export const openaiModels = [
489
489
  {
490
490
  test: "skip",
491
491
  providerId: "azure",
492
- modelName: "o3",
492
+ externalId: "o3",
493
493
  inputPrice: "2e-6",
494
494
  outputPrice: "8e-6",
495
495
  cachedInputPrice: "0.5e-6",
@@ -513,7 +513,7 @@ export const openaiModels = [
513
513
  providers: [
514
514
  {
515
515
  providerId: "openai",
516
- modelName: "o3-mini",
516
+ externalId: "o3-mini",
517
517
  inputPrice: "1.1e-6",
518
518
  outputPrice: "4.4e-6",
519
519
  cachedInputPrice: "0.55e-6",
@@ -530,7 +530,7 @@ export const openaiModels = [
530
530
  {
531
531
  test: "skip",
532
532
  providerId: "azure",
533
- modelName: "o3-mini",
533
+ externalId: "o3-mini",
534
534
  inputPrice: "1.1e-6",
535
535
  outputPrice: "4.4e-6",
536
536
  cachedInputPrice: "0.55e-6",
@@ -554,7 +554,7 @@ export const openaiModels = [
554
554
  providers: [
555
555
  {
556
556
  providerId: "openai",
557
- modelName: "o4-mini",
557
+ externalId: "o4-mini",
558
558
  inputPrice: "1.1e-6",
559
559
  outputPrice: "4.4e-6",
560
560
  cachedInputPrice: "0.275e-6",
@@ -572,7 +572,7 @@ export const openaiModels = [
572
572
  {
573
573
  test: "skip",
574
574
  providerId: "azure",
575
- modelName: "o4-mini",
575
+ externalId: "o4-mini",
576
576
  inputPrice: "1.1e-6",
577
577
  outputPrice: "4.4e-6",
578
578
  cachedInputPrice: "0.275e-6",
@@ -597,7 +597,7 @@ export const openaiModels = [
597
597
  providers: [
598
598
  {
599
599
  providerId: "groq",
600
- modelName: "openai/gpt-oss-120b",
600
+ externalId: "openai/gpt-oss-120b",
601
601
  inputPrice: "0.15e-6",
602
602
  outputPrice: "0.75e-6",
603
603
  requestPrice: "0",
@@ -612,7 +612,7 @@ export const openaiModels = [
612
612
  {
613
613
  providerId: "cerebras",
614
614
  stability: "unstable",
615
- modelName: "gpt-oss-120b",
615
+ externalId: "gpt-oss-120b",
616
616
  inputPrice: "0.35e-6",
617
617
  outputPrice: "0.75e-6",
618
618
  requestPrice: "0",
@@ -635,7 +635,7 @@ export const openaiModels = [
635
635
  {
636
636
  test: "skip",
637
637
  providerId: "nanogpt",
638
- modelName: "openai/gpt-oss-120b",
638
+ externalId: "openai/gpt-oss-120b",
639
639
  inputPrice: "0.05e-6",
640
640
  outputPrice: "0.25e-6",
641
641
  requestPrice: "0",
@@ -649,7 +649,7 @@ export const openaiModels = [
649
649
  },
650
650
  {
651
651
  providerId: "bytedance",
652
- modelName: "gpt-oss-120b-250805",
652
+ externalId: "gpt-oss-120b-250805",
653
653
  inputPrice: "0.1e-6",
654
654
  cachedInputPrice: "0.02e-6",
655
655
  outputPrice: "0.5e-6",
@@ -664,7 +664,7 @@ export const openaiModels = [
664
664
  },
665
665
  {
666
666
  providerId: "nebius",
667
- modelName: "openai/gpt-oss-120b",
667
+ externalId: "openai/gpt-oss-120b",
668
668
  inputPrice: "0.15e-6",
669
669
  outputPrice: "0.6e-6",
670
670
  requestPrice: "0",
@@ -678,7 +678,7 @@ export const openaiModels = [
678
678
  },
679
679
  {
680
680
  providerId: "together-ai",
681
- modelName: "openai/gpt-oss-120b",
681
+ externalId: "openai/gpt-oss-120b",
682
682
  inputPrice: "0.15e-6",
683
683
  outputPrice: "0.6e-6",
684
684
  requestPrice: "0",
@@ -692,7 +692,7 @@ export const openaiModels = [
692
692
  },
693
693
  {
694
694
  providerId: "azure",
695
- modelName: "gpt-oss-120b",
695
+ externalId: "gpt-oss-120b",
696
696
  inputPrice: "0.15e-6",
697
697
  outputPrice: "0.6e-6",
698
698
  requestPrice: "0",
@@ -715,7 +715,7 @@ export const openaiModels = [
715
715
  providers: [
716
716
  {
717
717
  providerId: "groq",
718
- modelName: "openai/gpt-oss-20b",
718
+ externalId: "openai/gpt-oss-20b",
719
719
  inputPrice: "0.1e-6",
720
720
  outputPrice: "0.5e-6",
721
721
  requestPrice: "0",
@@ -730,7 +730,7 @@ export const openaiModels = [
730
730
  {
731
731
  test: "skip",
732
732
  providerId: "nanogpt",
733
- modelName: "openai/gpt-oss-20b",
733
+ externalId: "openai/gpt-oss-20b",
734
734
  inputPrice: "0.04e-6",
735
735
  outputPrice: "0.15e-6",
736
736
  requestPrice: "0",
@@ -744,7 +744,7 @@ export const openaiModels = [
744
744
  },
745
745
  {
746
746
  providerId: "together-ai",
747
- modelName: "openai/gpt-oss-20b",
747
+ externalId: "openai/gpt-oss-20b",
748
748
  inputPrice: "0.05e-6",
749
749
  outputPrice: "0.2e-6",
750
750
  requestPrice: "0",
@@ -767,7 +767,7 @@ export const openaiModels = [
767
767
  providers: [
768
768
  {
769
769
  providerId: "openai",
770
- modelName: "gpt-5",
770
+ externalId: "gpt-5",
771
771
  inputPrice: "1.25e-6",
772
772
  outputPrice: "10.0e-6",
773
773
  cachedInputPrice: "0.125e-6",
@@ -796,7 +796,7 @@ export const openaiModels = [
796
796
  {
797
797
  test: "skip",
798
798
  providerId: "azure",
799
- modelName: "gpt-5",
799
+ externalId: "gpt-5",
800
800
  inputPrice: "1.25e-6",
801
801
  outputPrice: "10.0e-6",
802
802
  discount: "0.2",
@@ -832,7 +832,7 @@ export const openaiModels = [
832
832
  providers: [
833
833
  {
834
834
  providerId: "openai",
835
- modelName: "gpt-5-mini",
835
+ externalId: "gpt-5-mini",
836
836
  inputPrice: "0.25e-6",
837
837
  outputPrice: "2e-6",
838
838
  cachedInputPrice: "0.025e-6",
@@ -861,7 +861,7 @@ export const openaiModels = [
861
861
  {
862
862
  test: "skip",
863
863
  providerId: "azure",
864
- modelName: "gpt-5-mini",
864
+ externalId: "gpt-5-mini",
865
865
  inputPrice: "0.25e-6",
866
866
  outputPrice: "2e-6",
867
867
  cachedInputPrice: "0.025e-6",
@@ -897,7 +897,7 @@ export const openaiModels = [
897
897
  providers: [
898
898
  {
899
899
  providerId: "openai",
900
- modelName: "gpt-5-nano",
900
+ externalId: "gpt-5-nano",
901
901
  inputPrice: "0.05e-6",
902
902
  outputPrice: "0.4e-6",
903
903
  cachedInputPrice: "0.005e-6",
@@ -926,7 +926,7 @@ export const openaiModels = [
926
926
  {
927
927
  test: "skip",
928
928
  providerId: "azure",
929
- modelName: "gpt-5-nano",
929
+ externalId: "gpt-5-nano",
930
930
  discount: "0.2",
931
931
  inputPrice: "0.05e-6",
932
932
  outputPrice: "0.4e-6",
@@ -962,7 +962,7 @@ export const openaiModels = [
962
962
  providers: [
963
963
  {
964
964
  providerId: "openai",
965
- modelName: "gpt-5-chat-latest",
965
+ externalId: "gpt-5-chat-latest",
966
966
  inputPrice: "1.25e-6",
967
967
  outputPrice: "10.0e-6",
968
968
  cachedInputPrice: "0.125e-6",
@@ -993,7 +993,7 @@ export const openaiModels = [
993
993
  providers: [
994
994
  {
995
995
  providerId: "openai",
996
- modelName: "gpt-5.1",
996
+ externalId: "gpt-5.1",
997
997
  inputPrice: "1.25e-6",
998
998
  outputPrice: "10.0e-6",
999
999
  cachedInputPrice: "0.125e-6",
@@ -1021,7 +1021,7 @@ export const openaiModels = [
1021
1021
  {
1022
1022
  test: "skip",
1023
1023
  providerId: "azure",
1024
- modelName: "gpt-5.1",
1024
+ externalId: "gpt-5.1",
1025
1025
  inputPrice: "1.25e-6",
1026
1026
  outputPrice: "10.0e-6",
1027
1027
  cachedInputPrice: "0.125e-6",
@@ -1056,7 +1056,7 @@ export const openaiModels = [
1056
1056
  {
1057
1057
  test: "skip",
1058
1058
  providerId: "openai",
1059
- modelName: "gpt-5-pro",
1059
+ externalId: "gpt-5-pro",
1060
1060
  inputPrice: "15e-6",
1061
1061
  outputPrice: "120.0e-6",
1062
1062
  requestPrice: "0",
@@ -1084,7 +1084,7 @@ export const openaiModels = [
1084
1084
  providers: [
1085
1085
  {
1086
1086
  providerId: "openai",
1087
- modelName: "gpt-5.1-codex",
1087
+ externalId: "gpt-5.1-codex",
1088
1088
  inputPrice: "1.25e-6",
1089
1089
  outputPrice: "10e-6",
1090
1090
  requestPrice: "0",
@@ -1104,7 +1104,7 @@ export const openaiModels = [
1104
1104
  {
1105
1105
  test: "skip",
1106
1106
  providerId: "azure",
1107
- modelName: "gpt-5.1-codex",
1107
+ externalId: "gpt-5.1-codex",
1108
1108
  inputPrice: "1.25e-6",
1109
1109
  outputPrice: "10e-6",
1110
1110
  requestPrice: "0",
@@ -1129,7 +1129,7 @@ export const openaiModels = [
1129
1129
  providers: [
1130
1130
  {
1131
1131
  providerId: "openai",
1132
- modelName: "gpt-5.1-codex-mini",
1132
+ externalId: "gpt-5.1-codex-mini",
1133
1133
  inputPrice: "0.25e-6",
1134
1134
  outputPrice: "2e-6",
1135
1135
  cachedInputPrice: "0.025e-6",
@@ -1150,7 +1150,7 @@ export const openaiModels = [
1150
1150
  {
1151
1151
  test: "skip",
1152
1152
  providerId: "azure",
1153
- modelName: "gpt-5.1-codex-mini",
1153
+ externalId: "gpt-5.1-codex-mini",
1154
1154
  inputPrice: "0.25e-6",
1155
1155
  outputPrice: "2e-6",
1156
1156
  cachedInputPrice: "0.025e-6",
@@ -1176,7 +1176,7 @@ export const openaiModels = [
1176
1176
  providers: [
1177
1177
  {
1178
1178
  providerId: "openai",
1179
- modelName: "gpt-5.2",
1179
+ externalId: "gpt-5.2",
1180
1180
  inputPrice: "1.75e-6",
1181
1181
  outputPrice: "14.0e-6",
1182
1182
  cachedInputPrice: "0.175e-6",
@@ -1204,7 +1204,7 @@ export const openaiModels = [
1204
1204
  {
1205
1205
  test: "skip",
1206
1206
  providerId: "azure",
1207
- modelName: "gpt-5.2",
1207
+ externalId: "gpt-5.2",
1208
1208
  inputPrice: "1.75e-6",
1209
1209
  outputPrice: "14.0e-6",
1210
1210
  cachedInputPrice: "0.175e-6",
@@ -1239,7 +1239,7 @@ export const openaiModels = [
1239
1239
  providers: [
1240
1240
  {
1241
1241
  providerId: "openai",
1242
- modelName: "gpt-5.2-pro",
1242
+ externalId: "gpt-5.2-pro",
1243
1243
  inputPrice: "21.0e-6",
1244
1244
  outputPrice: "168.0e-6",
1245
1245
  requestPrice: "0",
@@ -1259,7 +1259,7 @@ export const openaiModels = [
1259
1259
  {
1260
1260
  test: "skip",
1261
1261
  providerId: "azure",
1262
- modelName: "gpt-5.2-pro",
1262
+ externalId: "gpt-5.2-pro",
1263
1263
  inputPrice: "21.0e-6",
1264
1264
  outputPrice: "168.0e-6",
1265
1265
  requestPrice: "0",
@@ -1284,7 +1284,7 @@ export const openaiModels = [
1284
1284
  providers: [
1285
1285
  {
1286
1286
  providerId: "openai",
1287
- modelName: "gpt-5.2-chat-latest",
1287
+ externalId: "gpt-5.2-chat-latest",
1288
1288
  deprecatedAt: new Date("2026-05-13"),
1289
1289
  deactivatedAt: new Date("2026-08-10"),
1290
1290
  inputPrice: "1.75e-6",
@@ -1307,7 +1307,7 @@ export const openaiModels = [
1307
1307
  {
1308
1308
  test: "skip",
1309
1309
  providerId: "azure",
1310
- modelName: "gpt-5.2-chat-latest",
1310
+ externalId: "gpt-5.2-chat-latest",
1311
1311
  deprecatedAt: new Date("2026-05-13"),
1312
1312
  deactivatedAt: new Date("2026-08-10"),
1313
1313
  inputPrice: "1.75e-6",
@@ -1335,7 +1335,7 @@ export const openaiModels = [
1335
1335
  providers: [
1336
1336
  {
1337
1337
  providerId: "openai",
1338
- modelName: "gpt-5.4",
1338
+ externalId: "gpt-5.4",
1339
1339
  inputPrice: "2.5e-6",
1340
1340
  outputPrice: "15.0e-6",
1341
1341
  cachedInputPrice: "0.25e-6",
@@ -1363,7 +1363,7 @@ export const openaiModels = [
1363
1363
  {
1364
1364
  test: "skip",
1365
1365
  providerId: "azure",
1366
- modelName: "gpt-5.4",
1366
+ externalId: "gpt-5.4",
1367
1367
  inputPrice: "2.5e-6",
1368
1368
  outputPrice: "15.0e-6",
1369
1369
  cachedInputPrice: "0.25e-6",
@@ -1401,7 +1401,7 @@ export const openaiModels = [
1401
1401
  {
1402
1402
  providerId: "openai",
1403
1403
  test: "skip",
1404
- modelName: "gpt-5.4-pro",
1404
+ externalId: "gpt-5.4-pro",
1405
1405
  inputPrice: "30.0e-6",
1406
1406
  outputPrice: "180.0e-6",
1407
1407
  discount: "0.3",
@@ -1422,7 +1422,7 @@ export const openaiModels = [
1422
1422
  {
1423
1423
  providerId: "azure",
1424
1424
  test: "skip",
1425
- modelName: "gpt-5.4-pro",
1425
+ externalId: "gpt-5.4-pro",
1426
1426
  inputPrice: "30.0e-6",
1427
1427
  outputPrice: "180.0e-6",
1428
1428
  requestPrice: "0",
@@ -1450,7 +1450,7 @@ export const openaiModels = [
1450
1450
  providers: [
1451
1451
  {
1452
1452
  providerId: "openai",
1453
- modelName: "gpt-5.4-mini",
1453
+ externalId: "gpt-5.4-mini",
1454
1454
  inputPrice: "0.75e-6",
1455
1455
  outputPrice: "4.5e-6",
1456
1456
  cachedInputPrice: "0.075e-6",
@@ -1471,7 +1471,7 @@ export const openaiModels = [
1471
1471
  {
1472
1472
  test: "skip",
1473
1473
  providerId: "azure",
1474
- modelName: "gpt-5.4-mini",
1474
+ externalId: "gpt-5.4-mini",
1475
1475
  inputPrice: "0.75e-6",
1476
1476
  outputPrice: "4.5e-6",
1477
1477
  cachedInputPrice: "0.075e-6",
@@ -1501,7 +1501,7 @@ export const openaiModels = [
1501
1501
  providers: [
1502
1502
  {
1503
1503
  providerId: "openai",
1504
- modelName: "gpt-5.4-nano",
1504
+ externalId: "gpt-5.4-nano",
1505
1505
  inputPrice: "0.2e-6",
1506
1506
  outputPrice: "1.25e-6",
1507
1507
  cachedInputPrice: "0.02e-6",
@@ -1522,7 +1522,7 @@ export const openaiModels = [
1522
1522
  {
1523
1523
  test: "skip",
1524
1524
  providerId: "azure",
1525
- modelName: "gpt-5.4-nano",
1525
+ externalId: "gpt-5.4-nano",
1526
1526
  inputPrice: "0.2e-6",
1527
1527
  outputPrice: "1.25e-6",
1528
1528
  cachedInputPrice: "0.02e-6",
@@ -1552,7 +1552,7 @@ export const openaiModels = [
1552
1552
  providers: [
1553
1553
  {
1554
1554
  providerId: "openai",
1555
- modelName: "gpt-5.5",
1555
+ externalId: "gpt-5.5",
1556
1556
  inputPrice: "5.0e-6",
1557
1557
  outputPrice: "30.0e-6",
1558
1558
  cachedInputPrice: "0.5e-6",
@@ -1580,7 +1580,7 @@ export const openaiModels = [
1580
1580
  {
1581
1581
  test: "skip",
1582
1582
  providerId: "azure",
1583
- modelName: "gpt-5.5",
1583
+ externalId: "gpt-5.5",
1584
1584
  inputPrice: "5.0e-6",
1585
1585
  outputPrice: "30.0e-6",
1586
1586
  cachedInputPrice: "0.5e-6",
@@ -1618,7 +1618,7 @@ export const openaiModels = [
1618
1618
  {
1619
1619
  providerId: "openai",
1620
1620
  test: "skip",
1621
- modelName: "gpt-5.5-pro",
1621
+ externalId: "gpt-5.5-pro",
1622
1622
  inputPrice: "30.0e-6",
1623
1623
  outputPrice: "180.0e-6",
1624
1624
  requestPrice: "0",
@@ -1646,7 +1646,7 @@ export const openaiModels = [
1646
1646
  providers: [
1647
1647
  {
1648
1648
  providerId: "openai",
1649
- modelName: "gpt-5.2-codex",
1649
+ externalId: "gpt-5.2-codex",
1650
1650
  inputPrice: "1.75e-6",
1651
1651
  outputPrice: "14.0e-6",
1652
1652
  cachedInputPrice: "0.175e-6",
@@ -1667,7 +1667,7 @@ export const openaiModels = [
1667
1667
  {
1668
1668
  test: "skip",
1669
1669
  providerId: "azure",
1670
- modelName: "gpt-5.2-codex",
1670
+ externalId: "gpt-5.2-codex",
1671
1671
  inputPrice: "1.75e-6",
1672
1672
  outputPrice: "14.0e-6",
1673
1673
  cachedInputPrice: "0.175e-6",
@@ -1693,7 +1693,7 @@ export const openaiModels = [
1693
1693
  providers: [
1694
1694
  {
1695
1695
  providerId: "openai",
1696
- modelName: "gpt-5.3-codex",
1696
+ externalId: "gpt-5.3-codex",
1697
1697
  inputPrice: "1.75e-6",
1698
1698
  outputPrice: "14.0e-6",
1699
1699
  cachedInputPrice: "0.175e-6",
@@ -1714,7 +1714,7 @@ export const openaiModels = [
1714
1714
  {
1715
1715
  test: "skip",
1716
1716
  providerId: "azure",
1717
- modelName: "gpt-5.3-codex",
1717
+ externalId: "gpt-5.3-codex",
1718
1718
  inputPrice: "1.75e-6",
1719
1719
  outputPrice: "14.0e-6",
1720
1720
  cachedInputPrice: "0.175e-6",
@@ -1740,7 +1740,7 @@ export const openaiModels = [
1740
1740
  providers: [
1741
1741
  {
1742
1742
  providerId: "openai",
1743
- modelName: "gpt-5.3-chat-latest",
1743
+ externalId: "gpt-5.3-chat-latest",
1744
1744
  deprecatedAt: new Date("2026-05-13"),
1745
1745
  deactivatedAt: new Date("2026-08-10"),
1746
1746
  inputPrice: "1.75e-6",
@@ -1763,7 +1763,7 @@ export const openaiModels = [
1763
1763
  {
1764
1764
  test: "skip",
1765
1765
  providerId: "azure",
1766
- modelName: "gpt-5.3-chat-latest",
1766
+ externalId: "gpt-5.3-chat-latest",
1767
1767
  deprecatedAt: new Date("2026-05-13"),
1768
1768
  deactivatedAt: new Date("2026-08-10"),
1769
1769
  inputPrice: "1.75e-6",
@@ -1794,7 +1794,7 @@ export const openaiModels = [
1794
1794
  providers: [
1795
1795
  {
1796
1796
  providerId: "openai",
1797
- modelName: "sora-2",
1797
+ externalId: "sora-2",
1798
1798
  deactivatedAt: new Date("2026-03-24"),
1799
1799
  inputPrice: undefined,
1800
1800
  outputPrice: undefined,
@@ -1816,7 +1816,7 @@ export const openaiModels = [
1816
1816
  },
1817
1817
  {
1818
1818
  providerId: "avalanche",
1819
- modelName: "sora-2",
1819
+ externalId: "sora-2",
1820
1820
  deactivatedAt: new Date("2026-03-24"),
1821
1821
  inputPrice: undefined,
1822
1822
  outputPrice: undefined,
@@ -1850,7 +1850,7 @@ export const openaiModels = [
1850
1850
  providers: [
1851
1851
  {
1852
1852
  providerId: "openai",
1853
- modelName: "sora-2-pro",
1853
+ externalId: "sora-2-pro",
1854
1854
  deactivatedAt: new Date("2026-03-24"),
1855
1855
  inputPrice: undefined,
1856
1856
  outputPrice: undefined,
@@ -1881,7 +1881,7 @@ export const openaiModels = [
1881
1881
  },
1882
1882
  {
1883
1883
  providerId: "avalanche",
1884
- modelName: "sora-2-pro",
1884
+ externalId: "sora-2-pro",
1885
1885
  deactivatedAt: new Date("2026-03-24"),
1886
1886
  inputPrice: undefined,
1887
1887
  outputPrice: undefined,
@@ -1915,7 +1915,7 @@ export const openaiModels = [
1915
1915
  {
1916
1916
  test: "skip",
1917
1917
  providerId: "openai",
1918
- modelName: "gpt-image-2",
1918
+ externalId: "gpt-image-2",
1919
1919
  inputPrice: "5e-6",
1920
1920
  outputPrice: "0",
1921
1921
  cachedInputPrice: "1.25e-6",
@@ -1934,7 +1934,7 @@ export const openaiModels = [
1934
1934
  {
1935
1935
  test: "skip",
1936
1936
  providerId: "azure",
1937
- modelName: "gpt-image-2",
1937
+ externalId: "gpt-image-2",
1938
1938
  inputPrice: "5e-6",
1939
1939
  outputPrice: "0",
1940
1940
  cachedInputPrice: "1.25e-6",
@@ -1963,7 +1963,7 @@ export const openaiModels = [
1963
1963
  providers: [
1964
1964
  {
1965
1965
  providerId: "openai",
1966
- modelName: "text-embedding-3-small",
1966
+ externalId: "text-embedding-3-small",
1967
1967
  inputPrice: "0.02e-6",
1968
1968
  outputPrice: "0",
1969
1969
  requestPrice: "0",
@@ -1985,7 +1985,7 @@ export const openaiModels = [
1985
1985
  providers: [
1986
1986
  {
1987
1987
  providerId: "openai",
1988
- modelName: "text-embedding-3-large",
1988
+ externalId: "text-embedding-3-large",
1989
1989
  inputPrice: "0.13e-6",
1990
1990
  outputPrice: "0",
1991
1991
  requestPrice: "0",
@@ -2007,7 +2007,7 @@ export const openaiModels = [
2007
2007
  providers: [
2008
2008
  {
2009
2009
  providerId: "openai",
2010
- modelName: "text-embedding-ada-002",
2010
+ externalId: "text-embedding-ada-002",
2011
2011
  inputPrice: "0.1e-6",
2012
2012
  outputPrice: "0",
2013
2013
  requestPrice: "0",