@agentproto/model-catalog 0.6.0 → 0.7.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.
@@ -1,5 +1,5 @@
1
1
  import { CatalogProviderSchema } from '../chunk-DW45X6XT.mjs';
2
- import { resolvePricing, resolveAlias, OPENROUTER_ROUTES, DEFAULT_PRICING } from '../chunk-EXT2CSSJ.mjs';
2
+ import { resolvePricing, resolveAlias, OPENROUTER_ROUTES, DEFAULT_PRICING } from '../chunk-6VDWPE62.mjs';
3
3
  import '../chunk-QHELXPSL.mjs';
4
4
 
5
5
  /**
@@ -124,6 +124,13 @@ var REQUESTY_ROUTES = {
124
124
  vendor: "anthropic",
125
125
  provider: "requesty"
126
126
  },
127
+ "anthropic/claude-opus-5": {
128
+ inputPer1M: 5,
129
+ outputPer1M: 25,
130
+ cacheReadMultiplier: 0.1,
131
+ vendor: "anthropic",
132
+ provider: "requesty"
133
+ },
127
134
  "anthropic/claude-sonnet-4-5": {
128
135
  inputPer1M: 3,
129
136
  outputPer1M: 15,
@@ -929,6 +936,48 @@ var REQUESTY_ROUTES = {
929
936
  vendor: "bedrock",
930
937
  provider: "requesty"
931
938
  },
939
+ "bedrock/claude-opus-5": {
940
+ inputPer1M: 5,
941
+ outputPer1M: 25,
942
+ cacheReadMultiplier: 0.1,
943
+ vendor: "bedrock",
944
+ provider: "requesty"
945
+ },
946
+ "bedrock/claude-opus-5@ap-northeast-1": {
947
+ inputPer1M: 5.5,
948
+ outputPer1M: 27.5,
949
+ cacheReadMultiplier: 0.1,
950
+ vendor: "bedrock",
951
+ provider: "requesty"
952
+ },
953
+ "bedrock/claude-opus-5@eu-central-1": {
954
+ inputPer1M: 5.5,
955
+ outputPer1M: 27.5,
956
+ cacheReadMultiplier: 0.1,
957
+ vendor: "bedrock",
958
+ provider: "requesty"
959
+ },
960
+ "bedrock/claude-opus-5@eu-north-1": {
961
+ inputPer1M: 5.5,
962
+ outputPer1M: 27.5,
963
+ cacheReadMultiplier: 0.1,
964
+ vendor: "bedrock",
965
+ provider: "requesty"
966
+ },
967
+ "bedrock/claude-opus-5@eu-west-1": {
968
+ inputPer1M: 5.5,
969
+ outputPer1M: 27.5,
970
+ cacheReadMultiplier: 0.1,
971
+ vendor: "bedrock",
972
+ provider: "requesty"
973
+ },
974
+ "bedrock/claude-opus-5@eu-west-3": {
975
+ inputPer1M: 5.5,
976
+ outputPer1M: 27.5,
977
+ cacheReadMultiplier: 0.1,
978
+ vendor: "bedrock",
979
+ provider: "requesty"
980
+ },
932
981
  "bedrock/claude-sonnet-4": {
933
982
  inputPer1M: 3,
934
983
  outputPer1M: 15,
@@ -1111,6 +1160,62 @@ var REQUESTY_ROUTES = {
1111
1160
  vendor: "bedrock",
1112
1161
  provider: "requesty"
1113
1162
  },
1163
+ "bedrock/claude-sonnet-5@ap-southeast-2": {
1164
+ inputPer1M: 2.2,
1165
+ outputPer1M: 11,
1166
+ cacheReadMultiplier: 0.1,
1167
+ vendor: "bedrock",
1168
+ provider: "requesty"
1169
+ },
1170
+ "bedrock/claude-sonnet-5@eu-central-1": {
1171
+ inputPer1M: 2.2,
1172
+ outputPer1M: 11,
1173
+ cacheReadMultiplier: 0.1,
1174
+ vendor: "bedrock",
1175
+ provider: "requesty"
1176
+ },
1177
+ "bedrock/claude-sonnet-5@eu-north-1": {
1178
+ inputPer1M: 2.2,
1179
+ outputPer1M: 11,
1180
+ cacheReadMultiplier: 0.1,
1181
+ vendor: "bedrock",
1182
+ provider: "requesty"
1183
+ },
1184
+ "bedrock/claude-sonnet-5@eu-west-1": {
1185
+ inputPer1M: 2.2,
1186
+ outputPer1M: 11,
1187
+ cacheReadMultiplier: 0.1,
1188
+ vendor: "bedrock",
1189
+ provider: "requesty"
1190
+ },
1191
+ "bedrock/claude-sonnet-5@eu-west-2": {
1192
+ inputPer1M: 2.2,
1193
+ outputPer1M: 11,
1194
+ cacheReadMultiplier: 0.1,
1195
+ vendor: "bedrock",
1196
+ provider: "requesty"
1197
+ },
1198
+ "bedrock/claude-sonnet-5@us-east-1": {
1199
+ inputPer1M: 2.2,
1200
+ outputPer1M: 11,
1201
+ cacheReadMultiplier: 0.1,
1202
+ vendor: "bedrock",
1203
+ provider: "requesty"
1204
+ },
1205
+ "bedrock/claude-sonnet-5@us-east-2": {
1206
+ inputPer1M: 2.2,
1207
+ outputPer1M: 11,
1208
+ cacheReadMultiplier: 0.1,
1209
+ vendor: "bedrock",
1210
+ provider: "requesty"
1211
+ },
1212
+ "bedrock/claude-sonnet-5@us-west-2": {
1213
+ inputPer1M: 2.2,
1214
+ outputPer1M: 11,
1215
+ cacheReadMultiplier: 0.1,
1216
+ vendor: "bedrock",
1217
+ provider: "requesty"
1218
+ },
1114
1219
  "bedrock/gpt-5.4@us-east-1": {
1115
1220
  inputPer1M: 2.75,
1116
1221
  outputPer1M: 16.5,
@@ -1838,7 +1943,7 @@ var REQUESTY_ROUTES = {
1838
1943
  vendor: "google",
1839
1944
  provider: "requesty"
1840
1945
  },
1841
- "google/gemini-3.1-flash-image-preview": {
1946
+ "google/gemini-3.1-flash-image": {
1842
1947
  inputPer1M: 0.5,
1843
1948
  outputPer1M: 2,
1844
1949
  cacheReadMultiplier: 0,
@@ -2319,6 +2424,20 @@ var REQUESTY_ROUTES = {
2319
2424
  vendor: "novita",
2320
2425
  provider: "requesty"
2321
2426
  },
2427
+ "novita/stepfun/step-3.7-flash": {
2428
+ inputPer1M: 0.2,
2429
+ outputPer1M: 1.15,
2430
+ cacheReadMultiplier: 0.2,
2431
+ vendor: "novita",
2432
+ provider: "requesty"
2433
+ },
2434
+ "novita/tencent/hy3": {
2435
+ inputPer1M: 0.14,
2436
+ outputPer1M: 0.58,
2437
+ cacheReadMultiplier: 0.25,
2438
+ vendor: "novita",
2439
+ provider: "requesty"
2440
+ },
2322
2441
  "novita/zai-org/glm-4.6": {
2323
2442
  inputPer1M: 0.6,
2324
2443
  outputPer1M: 2.2,
@@ -2573,13 +2692,6 @@ var REQUESTY_ROUTES = {
2573
2692
  vendor: "openai",
2574
2693
  provider: "requesty"
2575
2694
  },
2576
- "openai/gpt-5-chat": {
2577
- inputPer1M: 1.25,
2578
- outputPer1M: 10,
2579
- cacheReadMultiplier: 0.1,
2580
- vendor: "openai",
2581
- provider: "requesty"
2582
- },
2583
2695
  "openai/gpt-5-mini": {
2584
2696
  inputPer1M: 0.25,
2585
2697
  outputPer1M: 2,
@@ -2882,6 +2994,13 @@ var REQUESTY_ROUTES = {
2882
2994
  vendor: "sakana",
2883
2995
  provider: "requesty"
2884
2996
  },
2997
+ "sference/deepseek-v4-flash": {
2998
+ inputPer1M: 0.14,
2999
+ outputPer1M: 0.28,
3000
+ cacheReadMultiplier: 0.5,
3001
+ vendor: "sference",
3002
+ provider: "requesty"
3003
+ },
2885
3004
  "sference/glm-5.2": {
2886
3005
  inputPer1M: 1.2,
2887
3006
  outputPer1M: 4.2,
@@ -3091,6 +3210,27 @@ var REQUESTY_ROUTES = {
3091
3210
  vendor: "vertex",
3092
3211
  provider: "requesty"
3093
3212
  },
3213
+ "vertex/claude-opus-5": {
3214
+ inputPer1M: 5,
3215
+ outputPer1M: 25,
3216
+ cacheReadMultiplier: 0.1,
3217
+ vendor: "vertex",
3218
+ provider: "requesty"
3219
+ },
3220
+ "vertex/claude-opus-5@eu": {
3221
+ inputPer1M: 5.5,
3222
+ outputPer1M: 27.5,
3223
+ cacheReadMultiplier: 0.1,
3224
+ vendor: "vertex",
3225
+ provider: "requesty"
3226
+ },
3227
+ "vertex/claude-opus-5@us": {
3228
+ inputPer1M: 5.5,
3229
+ outputPer1M: 27.5,
3230
+ cacheReadMultiplier: 0.1,
3231
+ vendor: "vertex",
3232
+ provider: "requesty"
3233
+ },
3094
3234
  "vertex/claude-sonnet-4": {
3095
3235
  inputPer1M: 3,
3096
3236
  outputPer1M: 15,
@@ -3525,7 +3665,7 @@ var REQUESTY_ROUTES = {
3525
3665
  vendor: "vertex",
3526
3666
  provider: "requesty"
3527
3667
  },
3528
- "vertex/gemini-3-pro-image-preview": {
3668
+ "vertex/gemini-3-pro-image": {
3529
3669
  inputPer1M: 2,
3530
3670
  outputPer1M: 12,
3531
3671
  cacheReadMultiplier: 0.1,
@@ -3539,7 +3679,7 @@ var REQUESTY_ROUTES = {
3539
3679
  vendor: "vertex",
3540
3680
  provider: "requesty"
3541
3681
  },
3542
- "vertex/gemini-3.1-flash-image-preview": {
3682
+ "vertex/gemini-3.1-flash-image": {
3543
3683
  inputPer1M: 0.5,
3544
3684
  outputPer1M: 2,
3545
3685
  cacheReadMultiplier: 0,
@@ -3588,6 +3728,20 @@ var REQUESTY_ROUTES = {
3588
3728
  vendor: "vertex",
3589
3729
  provider: "requesty"
3590
3730
  },
3731
+ "vertex/gemini-3.5-flash-lite": {
3732
+ inputPer1M: 0.3,
3733
+ outputPer1M: 2.5,
3734
+ cacheReadMultiplier: 0.1,
3735
+ vendor: "vertex",
3736
+ provider: "requesty"
3737
+ },
3738
+ "vertex/gemini-3.5-flash-lite@eu": {
3739
+ inputPer1M: 0.3,
3740
+ outputPer1M: 2.5,
3741
+ cacheReadMultiplier: 0.1,
3742
+ vendor: "vertex",
3743
+ provider: "requesty"
3744
+ },
3591
3745
  "vertex/gemini-3.5-flash@eu": {
3592
3746
  inputPer1M: 1.5,
3593
3747
  outputPer1M: 9,
@@ -3602,6 +3756,13 @@ var REQUESTY_ROUTES = {
3602
3756
  vendor: "vertex",
3603
3757
  provider: "requesty"
3604
3758
  },
3759
+ "vertex/gemini-3.6-flash": {
3760
+ inputPer1M: 1.5,
3761
+ outputPer1M: 7,
3762
+ cacheReadMultiplier: 0.1,
3763
+ vendor: "vertex",
3764
+ provider: "requesty"
3765
+ },
3605
3766
  "vertex/kimi-k2": {
3606
3767
  inputPer1M: 0.6,
3607
3768
  outputPer1M: 2.5,
@@ -3821,7 +3982,7 @@ var HUGGINGFACE_ROUTES = {
3821
3982
  {
3822
3983
  provider: "cohere",
3823
3984
  status: "live",
3824
- supportsTools: false,
3985
+ supportsTools: true,
3825
3986
  supportsStructuredOutput: false
3826
3987
  }
3827
3988
  ]
@@ -3843,7 +4004,7 @@ var HUGGINGFACE_ROUTES = {
3843
4004
  {
3844
4005
  provider: "cohere",
3845
4006
  status: "live",
3846
- supportsTools: true,
4007
+ supportsTools: false,
3847
4008
  supportsStructuredOutput: false
3848
4009
  }
3849
4010
  ]
@@ -3989,7 +4150,7 @@ var HUGGINGFACE_ROUTES = {
3989
4150
  contextLength: 196608,
3990
4151
  inputPer1M: 0.25,
3991
4152
  outputPer1M: 1,
3992
- supportsTools: false,
4153
+ supportsTools: true,
3993
4154
  supportsStructuredOutput: false
3994
4155
  },
3995
4156
  {
@@ -4129,7 +4290,7 @@ var HUGGINGFACE_ROUTES = {
4129
4290
  inputPer1M: 0.06,
4130
4291
  outputPer1M: 0.2,
4131
4292
  supportsTools: false,
4132
- supportsStructuredOutput: true
4293
+ supportsStructuredOutput: false
4133
4294
  }
4134
4295
  ]
4135
4296
  },
@@ -4331,7 +4492,7 @@ var HUGGINGFACE_ROUTES = {
4331
4492
  inputPer1M: 0.08,
4332
4493
  outputPer1M: 0.25,
4333
4494
  supportsTools: true,
4334
- supportsStructuredOutput: false
4495
+ supportsStructuredOutput: true
4335
4496
  }
4336
4497
  ]
4337
4498
  },
@@ -4659,7 +4820,7 @@ var HUGGINGFACE_ROUTES = {
4659
4820
  inputPer1M: 0.17,
4660
4821
  outputPer1M: 0.25,
4661
4822
  supportsTools: true,
4662
- supportsStructuredOutput: true
4823
+ supportsStructuredOutput: false
4663
4824
  }
4664
4825
  ]
4665
4826
  },
@@ -4752,6 +4913,20 @@ var HUGGINGFACE_ROUTES = {
4752
4913
  }
4753
4914
  ]
4754
4915
  },
4916
+ "XiaomiMiMo/MiMo-V2.5": {
4917
+ wireId: "XiaomiMiMo/MiMo-V2.5",
4918
+ providers: [
4919
+ {
4920
+ provider: "deepinfra",
4921
+ status: "live",
4922
+ contextLength: 262144,
4923
+ inputPer1M: 0.4,
4924
+ outputPer1M: 2,
4925
+ supportsTools: true,
4926
+ supportsStructuredOutput: true
4927
+ }
4928
+ ]
4929
+ },
4755
4930
  "XiaomiMiMo/MiMo-V2.5-Pro": {
4756
4931
  wireId: "XiaomiMiMo/MiMo-V2.5-Pro",
4757
4932
  providers: [
@@ -4762,7 +4937,7 @@ var HUGGINGFACE_ROUTES = {
4762
4937
  inputPer1M: 1,
4763
4938
  outputPer1M: 3,
4764
4939
  supportsTools: true,
4765
- supportsStructuredOutput: false
4940
+ supportsStructuredOutput: true
4766
4941
  }
4767
4942
  ]
4768
4943
  },
@@ -4779,7 +4954,7 @@ var HUGGINGFACE_ROUTES = {
4779
4954
  inputPer1M: 0.2,
4780
4955
  outputPer1M: 0.4,
4781
4956
  supportsTools: false,
4782
- supportsStructuredOutput: true
4957
+ supportsStructuredOutput: false
4783
4958
  }
4784
4959
  ]
4785
4960
  },
@@ -4841,34 +5016,6 @@ var HUGGINGFACE_ROUTES = {
4841
5016
  }
4842
5017
  ]
4843
5018
  },
4844
- "deepcogito/cogito-671b-v2.1": {
4845
- wireId: "deepcogito/cogito-671b-v2.1",
4846
- providers: [
4847
- {
4848
- provider: "together",
4849
- status: "live",
4850
- contextLength: 163840,
4851
- inputPer1M: 1.25,
4852
- outputPer1M: 1.25,
4853
- supportsTools: false,
4854
- supportsStructuredOutput: false
4855
- }
4856
- ]
4857
- },
4858
- "deepcogito/cogito-671b-v2.1-FP8": {
4859
- wireId: "deepcogito/cogito-671b-v2.1-FP8",
4860
- providers: [
4861
- {
4862
- provider: "together",
4863
- status: "live",
4864
- contextLength: 163840,
4865
- inputPer1M: 1.25,
4866
- outputPer1M: 1.25,
4867
- supportsTools: false,
4868
- supportsStructuredOutput: false
4869
- }
4870
- ]
4871
- },
4872
5019
  "deepreinforce-ai/Ornith-1.0-35B": {
4873
5020
  wireId: "deepreinforce-ai/Ornith-1.0-35B",
4874
5021
  providers: [
@@ -5124,7 +5271,7 @@ var HUGGINGFACE_ROUTES = {
5124
5271
  inputPer1M: 0.26,
5125
5272
  outputPer1M: 0.38,
5126
5273
  supportsTools: true,
5127
- supportsStructuredOutput: true
5274
+ supportsStructuredOutput: false
5128
5275
  },
5129
5276
  {
5130
5277
  provider: "featherless-ai",
@@ -5228,7 +5375,7 @@ var HUGGINGFACE_ROUTES = {
5228
5375
  inputPer1M: 1.74,
5229
5376
  outputPer1M: 3.48,
5230
5377
  supportsTools: true,
5231
- supportsStructuredOutput: true
5378
+ supportsStructuredOutput: false
5232
5379
  }
5233
5380
  ]
5234
5381
  },
@@ -5339,7 +5486,7 @@ var HUGGINGFACE_ROUTES = {
5339
5486
  inputPer1M: 0.285,
5340
5487
  outputPer1M: 0.57,
5341
5488
  supportsTools: true,
5342
- supportsStructuredOutput: true
5489
+ supportsStructuredOutput: false
5343
5490
  }
5344
5491
  ]
5345
5492
  },
@@ -5358,8 +5505,8 @@ var HUGGINGFACE_ROUTES = {
5358
5505
  contextLength: 262144,
5359
5506
  inputPer1M: 0.13,
5360
5507
  outputPer1M: 0.38,
5361
- supportsTools: true,
5362
- supportsStructuredOutput: true
5508
+ supportsTools: false,
5509
+ supportsStructuredOutput: false
5363
5510
  },
5364
5511
  {
5365
5512
  provider: "featherless-ai",
@@ -5372,7 +5519,7 @@ var HUGGINGFACE_ROUTES = {
5372
5519
  inputPer1M: 0.14,
5373
5520
  outputPer1M: 0.4,
5374
5521
  supportsTools: true,
5375
- supportsStructuredOutput: false
5522
+ supportsStructuredOutput: true
5376
5523
  },
5377
5524
  {
5378
5525
  provider: "together",
@@ -5380,7 +5527,7 @@ var HUGGINGFACE_ROUTES = {
5380
5527
  contextLength: 262144,
5381
5528
  inputPer1M: 0.39,
5382
5529
  outputPer1M: 0.97,
5383
- supportsTools: false,
5530
+ supportsTools: true,
5384
5531
  supportsStructuredOutput: true
5385
5532
  }
5386
5533
  ]
@@ -5408,13 +5555,9 @@ var HUGGINGFACE_ROUTES = {
5408
5555
  contextLength: 131072,
5409
5556
  inputPer1M: 0.02,
5410
5557
  outputPer1M: 0.05,
5411
- supportsTools: true,
5558
+ supportsTools: false,
5412
5559
  supportsStructuredOutput: false
5413
5560
  },
5414
- {
5415
- provider: "featherless-ai",
5416
- status: "live"
5417
- },
5418
5561
  {
5419
5562
  provider: "novita",
5420
5563
  status: "live",
@@ -5431,7 +5574,7 @@ var HUGGINGFACE_ROUTES = {
5431
5574
  inputPer1M: 0.06,
5432
5575
  outputPer1M: 0.06,
5433
5576
  supportsTools: false,
5434
- supportsStructuredOutput: false
5577
+ supportsStructuredOutput: true
5435
5578
  }
5436
5579
  ]
5437
5580
  },
@@ -5640,7 +5783,7 @@ var HUGGINGFACE_ROUTES = {
5640
5783
  inputPer1M: 0.75,
5641
5784
  outputPer1M: 3.5,
5642
5785
  supportsTools: true,
5643
- supportsStructuredOutput: false
5786
+ supportsStructuredOutput: true
5644
5787
  },
5645
5788
  {
5646
5789
  provider: "featherless-ai",
@@ -5684,8 +5827,8 @@ var HUGGINGFACE_ROUTES = {
5684
5827
  contextLength: 262144,
5685
5828
  inputPer1M: 0.74,
5686
5829
  outputPer1M: 3.5,
5687
- supportsTools: true,
5688
- supportsStructuredOutput: true
5830
+ supportsTools: false,
5831
+ supportsStructuredOutput: false
5689
5832
  },
5690
5833
  {
5691
5834
  provider: "featherless-ai",
@@ -5743,7 +5886,7 @@ var HUGGINGFACE_ROUTES = {
5743
5886
  contextLength: 262144,
5744
5887
  inputPer1M: 0.6,
5745
5888
  outputPer1M: 2.4,
5746
- supportsTools: true,
5889
+ supportsTools: false,
5747
5890
  supportsStructuredOutput: false
5748
5891
  },
5749
5892
  {
@@ -5912,8 +6055,8 @@ var HUGGINGFACE_ROUTES = {
5912
6055
  contextLength: 131072,
5913
6056
  inputPer1M: 0.05,
5914
6057
  outputPer1M: 0.2,
5915
- supportsTools: true,
5916
- supportsStructuredOutput: true
6058
+ supportsTools: false,
6059
+ supportsStructuredOutput: false
5917
6060
  }
5918
6061
  ]
5919
6062
  },
@@ -6032,7 +6175,7 @@ var HUGGINGFACE_ROUTES = {
6032
6175
  status: "live",
6033
6176
  inputPer1M: 0.82,
6034
6177
  outputPer1M: 2.92,
6035
- supportsTools: true,
6178
+ supportsTools: false,
6036
6179
  supportsStructuredOutput: true
6037
6180
  }
6038
6181
  ]
@@ -6046,13 +6189,62 @@ var HUGGINGFACE_ROUTES = {
6046
6189
  inputPer1M: 0.1,
6047
6190
  outputPer1M: 0.2,
6048
6191
  supportsTools: false,
6192
+ supportsStructuredOutput: true
6193
+ }
6194
+ ]
6195
+ },
6196
+ "swiss-ai/Apertus-v1.5-70B": {
6197
+ wireId: "swiss-ai/Apertus-v1.5-70B",
6198
+ providers: [
6199
+ {
6200
+ provider: "publicai",
6201
+ status: "live",
6202
+ inputPer1M: 0.82,
6203
+ outputPer1M: 2.92,
6204
+ supportsTools: true,
6049
6205
  supportsStructuredOutput: false
6050
6206
  }
6051
6207
  ]
6052
6208
  },
6209
+ "swiss-ai/Apertus-v1.5-8B": {
6210
+ wireId: "swiss-ai/Apertus-v1.5-8B",
6211
+ providers: [
6212
+ {
6213
+ provider: "publicai",
6214
+ status: "live",
6215
+ inputPer1M: 0.1,
6216
+ outputPer1M: 0.2,
6217
+ supportsTools: true,
6218
+ supportsStructuredOutput: true
6219
+ }
6220
+ ]
6221
+ },
6222
+ "tencent/Hy3": {
6223
+ wireId: "tencent/Hy3",
6224
+ providers: [
6225
+ {
6226
+ provider: "deepinfra",
6227
+ status: "live",
6228
+ contextLength: 262144,
6229
+ inputPer1M: 0.14,
6230
+ outputPer1M: 0.58,
6231
+ supportsTools: true,
6232
+ supportsStructuredOutput: true
6233
+ }
6234
+ ]
6235
+ },
6053
6236
  "thinkingmachines/Inkling": {
6054
6237
  wireId: "thinkingmachines/Inkling",
6055
6238
  providers: [
6239
+ {
6240
+ provider: "deepinfra",
6241
+ status: "live",
6242
+ contextLength: 524288,
6243
+ inputPer1M: 1,
6244
+ outputPer1M: 4.05,
6245
+ supportsTools: true,
6246
+ supportsStructuredOutput: false
6247
+ },
6056
6248
  {
6057
6249
  provider: "together",
6058
6250
  status: "live",
@@ -6109,6 +6301,17 @@ var HUGGINGFACE_ROUTES = {
6109
6301
  }
6110
6302
  ]
6111
6303
  },
6304
+ "zai-org/GLM-4.5": {
6305
+ wireId: "zai-org/GLM-4.5",
6306
+ providers: [
6307
+ {
6308
+ provider: "zai-org",
6309
+ status: "live",
6310
+ supportsTools: true,
6311
+ supportsStructuredOutput: false
6312
+ }
6313
+ ]
6314
+ },
6112
6315
  "zai-org/GLM-4.5-Air": {
6113
6316
  wireId: "zai-org/GLM-4.5-Air",
6114
6317
  providers: [
@@ -6118,7 +6321,7 @@ var HUGGINGFACE_ROUTES = {
6118
6321
  contextLength: 131072,
6119
6322
  inputPer1M: 0.13,
6120
6323
  outputPer1M: 0.85,
6121
- supportsTools: true,
6324
+ supportsTools: false,
6122
6325
  supportsStructuredOutput: false
6123
6326
  },
6124
6327
  {
@@ -6182,13 +6385,13 @@ var HUGGINGFACE_ROUTES = {
6182
6385
  contextLength: 204800,
6183
6386
  inputPer1M: 0.55,
6184
6387
  outputPer1M: 2.2,
6185
- supportsTools: false,
6388
+ supportsTools: true,
6186
6389
  supportsStructuredOutput: false
6187
6390
  },
6188
6391
  {
6189
6392
  provider: "zai-org",
6190
6393
  status: "live",
6191
- supportsTools: false,
6394
+ supportsTools: true,
6192
6395
  supportsStructuredOutput: false
6193
6396
  }
6194
6397
  ]
@@ -6276,6 +6479,12 @@ var HUGGINGFACE_ROUTES = {
6276
6479
  outputPer1M: 2.2,
6277
6480
  supportsTools: true,
6278
6481
  supportsStructuredOutput: false
6482
+ },
6483
+ {
6484
+ provider: "zai-org",
6485
+ status: "live",
6486
+ supportsTools: true,
6487
+ supportsStructuredOutput: false
6279
6488
  }
6280
6489
  ]
6281
6490
  },
@@ -6318,7 +6527,7 @@ var HUGGINGFACE_ROUTES = {
6318
6527
  {
6319
6528
  provider: "zai-org",
6320
6529
  status: "live",
6321
- supportsTools: true,
6530
+ supportsTools: false,
6322
6531
  supportsStructuredOutput: false
6323
6532
  }
6324
6533
  ]
@@ -6384,7 +6593,7 @@ var HUGGINGFACE_ROUTES = {
6384
6593
  {
6385
6594
  provider: "zai-org",
6386
6595
  status: "live",
6387
- supportsTools: false,
6596
+ supportsTools: true,
6388
6597
  supportsStructuredOutput: false
6389
6598
  }
6390
6599
  ]
@@ -6404,7 +6613,7 @@ var HUGGINGFACE_ROUTES = {
6404
6613
  {
6405
6614
  provider: "zai-org",
6406
6615
  status: "live",
6407
- supportsTools: false,
6616
+ supportsTools: true,
6408
6617
  supportsStructuredOutput: false
6409
6618
  }
6410
6619
  ]
@@ -6441,7 +6650,7 @@ var HUGGINGFACE_ROUTES = {
6441
6650
  inputPer1M: 1.4,
6442
6651
  outputPer1M: 4.4,
6443
6652
  supportsTools: true,
6444
- supportsStructuredOutput: true
6653
+ supportsStructuredOutput: false
6445
6654
  },
6446
6655
  {
6447
6656
  provider: "scaleway",
@@ -6474,7 +6683,7 @@ var HUGGINGFACE_ROUTES = {
6474
6683
  {
6475
6684
  provider: "zai-org",
6476
6685
  status: "live",
6477
- supportsTools: true,
6686
+ supportsTools: false,
6478
6687
  supportsStructuredOutput: false
6479
6688
  }
6480
6689
  ]
@@ -6602,6 +6811,24 @@ function formatModelRef(ref) {
6602
6811
  if (ref.route !== ref.vendor) out += `@${ref.route}`;
6603
6812
  return out;
6604
6813
  }
6814
+ function stripRouteSuffix(raw) {
6815
+ const ref = tryParseModelRef(raw);
6816
+ if (ref) {
6817
+ return formatModelRef({ ...ref, route: ref.vendor });
6818
+ }
6819
+ const atIdx = raw.lastIndexOf("@");
6820
+ return atIdx === -1 ? raw : raw.slice(0, atIdx);
6821
+ }
6822
+ function stripAnthropicNativeVendor(raw) {
6823
+ return stripFixedNativeVendor(raw, "anthropic");
6824
+ }
6825
+ function stripFixedNativeVendor(raw, vendor) {
6826
+ const ref = tryParseModelRef(raw);
6827
+ if (ref && ref.vendor === vendor && ref.route === ref.vendor) {
6828
+ return ref.product;
6829
+ }
6830
+ return stripRouteSuffix(raw);
6831
+ }
6605
6832
  function isModelRefString(raw) {
6606
6833
  try {
6607
6834
  parseModelRef(raw);
@@ -6753,6 +6980,6 @@ function diagnoseModelRef(input) {
6753
6980
  };
6754
6981
  }
6755
6982
 
6756
- export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, tryParseModelRef };
6983
+ export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef };
6757
6984
  //# sourceMappingURL=index.mjs.map
6758
6985
  //# sourceMappingURL=index.mjs.map