@agentproto/model-catalog 0.9.4 → 0.10.1
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.
- package/dist/access/index.d.ts +5 -5
- package/dist/access/index.mjs +4 -4
- package/dist/audio/index.d.ts +1 -1
- package/dist/{audio-DR0g_ZH_.d.ts → audio-Do2j3wDC.d.ts} +2 -0
- package/dist/{base-B8IIoaqg.d.ts → base-BaiI72Da.d.ts} +4 -0
- package/dist/{catalog-Cg0AJJZ7.d.ts → catalog-BAb74hY-.d.ts} +1 -1
- package/dist/{chunk-H467PHUU.mjs → chunk-B67THXMQ.mjs} +3 -3
- package/dist/{chunk-H467PHUU.mjs.map → chunk-B67THXMQ.mjs.map} +1 -1
- package/dist/{chunk-5XUA72EH.mjs → chunk-E3IERKDC.mjs} +3 -3
- package/dist/{chunk-5XUA72EH.mjs.map → chunk-E3IERKDC.mjs.map} +1 -1
- package/dist/{chunk-JHBSGPWH.mjs → chunk-E5CVTRPJ.mjs} +5 -5
- package/dist/{chunk-JHBSGPWH.mjs.map → chunk-E5CVTRPJ.mjs.map} +1 -1
- package/dist/{chunk-GW52XH4V.mjs → chunk-G6CA3BXI.mjs} +204 -197
- package/dist/chunk-G6CA3BXI.mjs.map +1 -0
- package/dist/{chunk-6VUL4I7V.mjs → chunk-I5E7F6KY.mjs} +1454 -192
- package/dist/chunk-I5E7F6KY.mjs.map +1 -0
- package/dist/{chunk-V2BMFFUF.mjs → chunk-O6SQMVPM.mjs} +4 -4
- package/dist/{chunk-V2BMFFUF.mjs.map → chunk-O6SQMVPM.mjs.map} +1 -1
- package/dist/{chunk-ZTTWZ7PL.mjs → chunk-TC6S3SY3.mjs} +15 -3
- package/dist/chunk-TC6S3SY3.mjs.map +1 -0
- package/dist/{chunk-3Y5TQDGE.mjs → chunk-TTIJME5T.mjs} +3 -3
- package/dist/{chunk-3Y5TQDGE.mjs.map → chunk-TTIJME5T.mjs.map} +1 -1
- package/dist/{chunk-UREM2UZK.mjs → chunk-UZDL26T7.mjs} +4 -4
- package/dist/{chunk-UREM2UZK.mjs.map → chunk-UZDL26T7.mjs.map} +1 -1
- package/dist/{chunk-QNJRWRWC.mjs → chunk-WG4F6IRS.mjs} +22 -2
- package/dist/chunk-WG4F6IRS.mjs.map +1 -0
- package/dist/cost/index.mjs +7 -7
- package/dist/curation/index.d.ts +4 -4
- package/dist/curation/index.mjs +7 -7
- package/dist/{evaluate-D3gXrAg-.d.ts → evaluate-B83jX17h.d.ts} +2 -2
- package/dist/{index-DC8jecem.d.ts → index-BWvtVzEG.d.ts} +3 -3
- package/dist/{index-BZfxAdXA.d.ts → index-vC37SFpk.d.ts} +18 -13
- package/dist/index.d.ts +7 -7
- package/dist/index.mjs +12 -12
- package/dist/llm/index.d.ts +44 -3
- package/dist/llm/index.mjs +2 -2
- package/dist/overlay/index.d.ts +3 -3
- package/dist/picker/index.d.ts +6 -6
- package/dist/route-identity/index.d.ts +5 -2
- package/dist/route-identity/index.mjs +3 -3
- package/dist/schema/index.d.ts +16 -2
- package/dist/schema/index.mjs +2 -2
- package/package.json +3 -3
- package/dist/chunk-6VUL4I7V.mjs.map +0 -1
- package/dist/chunk-GW52XH4V.mjs.map +0 -1
- package/dist/chunk-QNJRWRWC.mjs.map +0 -1
- package/dist/chunk-ZTTWZ7PL.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CatalogProviderSchema } from './chunk-
|
|
2
|
-
import { resolvePricing, resolveAlias, OPENROUTER_ROUTES, DEFAULT_PRICING } from './chunk-
|
|
1
|
+
import { CatalogProviderSchema } from './chunk-WG4F6IRS.mjs';
|
|
2
|
+
import { resolvePricing, resolveAlias, OPENCODE_GO_ROUTES, OPENCODE_ZEN_ROUTES, OPENROUTER_ROUTES, DEFAULT_PRICING } from './chunk-I5E7F6KY.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @agentproto/model-catalog v0.1.0
|
|
@@ -5401,6 +5401,17 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5401
5401
|
}
|
|
5402
5402
|
]
|
|
5403
5403
|
},
|
|
5404
|
+
"CohereLabs/command-a-vision-07-2025": {
|
|
5405
|
+
wireId: "CohereLabs/command-a-vision-07-2025",
|
|
5406
|
+
providers: [
|
|
5407
|
+
{
|
|
5408
|
+
provider: "cohere",
|
|
5409
|
+
status: "live",
|
|
5410
|
+
supportsTools: false,
|
|
5411
|
+
supportsStructuredOutput: true
|
|
5412
|
+
}
|
|
5413
|
+
]
|
|
5414
|
+
},
|
|
5404
5415
|
"CohereLabs/tiny-aya-earth": {
|
|
5405
5416
|
wireId: "CohereLabs/tiny-aya-earth",
|
|
5406
5417
|
providers: [
|
|
@@ -5523,7 +5534,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5523
5534
|
inputPer1M: 0.25,
|
|
5524
5535
|
outputPer1M: 1,
|
|
5525
5536
|
supportsTools: true,
|
|
5526
|
-
supportsStructuredOutput:
|
|
5537
|
+
supportsStructuredOutput: true
|
|
5527
5538
|
},
|
|
5528
5539
|
{
|
|
5529
5540
|
provider: "featherless-ai",
|
|
@@ -5630,24 +5641,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5630
5641
|
}
|
|
5631
5642
|
]
|
|
5632
5643
|
},
|
|
5633
|
-
"Qwen/Qwen2.5-7B-Instruct": {
|
|
5634
|
-
wireId: "Qwen/Qwen2.5-7B-Instruct",
|
|
5635
|
-
providers: [
|
|
5636
|
-
{
|
|
5637
|
-
provider: "featherless-ai",
|
|
5638
|
-
status: "live"
|
|
5639
|
-
},
|
|
5640
|
-
{
|
|
5641
|
-
provider: "together",
|
|
5642
|
-
status: "live",
|
|
5643
|
-
contextLength: 32768,
|
|
5644
|
-
inputPer1M: 0.3,
|
|
5645
|
-
outputPer1M: 0.3,
|
|
5646
|
-
supportsTools: true,
|
|
5647
|
-
supportsStructuredOutput: false
|
|
5648
|
-
}
|
|
5649
|
-
]
|
|
5650
|
-
},
|
|
5651
5644
|
"Qwen/Qwen2.5-Coder-32B-Instruct": {
|
|
5652
5645
|
wireId: "Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
5653
5646
|
providers: [
|
|
@@ -5730,7 +5723,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5730
5723
|
inputPer1M: 0.12,
|
|
5731
5724
|
outputPer1M: 0.24,
|
|
5732
5725
|
supportsTools: true,
|
|
5733
|
-
supportsStructuredOutput:
|
|
5726
|
+
supportsStructuredOutput: true
|
|
5734
5727
|
},
|
|
5735
5728
|
{
|
|
5736
5729
|
provider: "featherless-ai",
|
|
@@ -5777,6 +5770,15 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5777
5770
|
"Qwen/Qwen3-235B-A22B-Instruct-2507": {
|
|
5778
5771
|
wireId: "Qwen/Qwen3-235B-A22B-Instruct-2507",
|
|
5779
5772
|
providers: [
|
|
5773
|
+
{
|
|
5774
|
+
provider: "deepinfra",
|
|
5775
|
+
status: "live",
|
|
5776
|
+
contextLength: 262144,
|
|
5777
|
+
inputPer1M: 0.09,
|
|
5778
|
+
outputPer1M: 0.55,
|
|
5779
|
+
supportsTools: true,
|
|
5780
|
+
supportsStructuredOutput: true
|
|
5781
|
+
},
|
|
5780
5782
|
{
|
|
5781
5783
|
provider: "novita",
|
|
5782
5784
|
status: "live",
|
|
@@ -5784,7 +5786,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5784
5786
|
inputPer1M: 0.09,
|
|
5785
5787
|
outputPer1M: 0.58,
|
|
5786
5788
|
supportsTools: true,
|
|
5787
|
-
supportsStructuredOutput:
|
|
5789
|
+
supportsStructuredOutput: true
|
|
5788
5790
|
},
|
|
5789
5791
|
{
|
|
5790
5792
|
provider: "nscale",
|
|
@@ -5856,7 +5858,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5856
5858
|
inputPer1M: 0.08,
|
|
5857
5859
|
outputPer1M: 0.28,
|
|
5858
5860
|
supportsTools: true,
|
|
5859
|
-
supportsStructuredOutput:
|
|
5861
|
+
supportsStructuredOutput: true
|
|
5860
5862
|
},
|
|
5861
5863
|
{
|
|
5862
5864
|
provider: "featherless-ai",
|
|
@@ -5873,24 +5875,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5873
5875
|
}
|
|
5874
5876
|
]
|
|
5875
5877
|
},
|
|
5876
|
-
"Qwen/Qwen3-4B-Instruct-2507": {
|
|
5877
|
-
wireId: "Qwen/Qwen3-4B-Instruct-2507",
|
|
5878
|
-
providers: [
|
|
5879
|
-
{
|
|
5880
|
-
provider: "featherless-ai",
|
|
5881
|
-
status: "live"
|
|
5882
|
-
},
|
|
5883
|
-
{
|
|
5884
|
-
provider: "nscale",
|
|
5885
|
-
status: "live",
|
|
5886
|
-
contextLength: 262144,
|
|
5887
|
-
inputPer1M: 0.01,
|
|
5888
|
-
outputPer1M: 0.03,
|
|
5889
|
-
supportsTools: true,
|
|
5890
|
-
supportsStructuredOutput: true
|
|
5891
|
-
}
|
|
5892
|
-
]
|
|
5893
|
-
},
|
|
5894
5878
|
"Qwen/Qwen3-4B-Thinking-2507": {
|
|
5895
5879
|
wireId: "Qwen/Qwen3-4B-Thinking-2507",
|
|
5896
5880
|
providers: [
|
|
@@ -6085,7 +6069,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6085
6069
|
inputPer1M: 0.29,
|
|
6086
6070
|
outputPer1M: 2.4,
|
|
6087
6071
|
supportsTools: true,
|
|
6088
|
-
supportsStructuredOutput:
|
|
6072
|
+
supportsStructuredOutput: true
|
|
6089
6073
|
},
|
|
6090
6074
|
{
|
|
6091
6075
|
provider: "novita",
|
|
@@ -6176,7 +6160,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6176
6160
|
inputPer1M: 0.71,
|
|
6177
6161
|
outputPer1M: 4.25,
|
|
6178
6162
|
supportsTools: true,
|
|
6179
|
-
supportsStructuredOutput:
|
|
6163
|
+
supportsStructuredOutput: false
|
|
6180
6164
|
},
|
|
6181
6165
|
{
|
|
6182
6166
|
provider: "scaleway",
|
|
@@ -6320,17 +6304,22 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6320
6304
|
wireId: "Qwen/Qwen3.8-27B",
|
|
6321
6305
|
providers: [
|
|
6322
6306
|
{
|
|
6323
|
-
provider: "
|
|
6307
|
+
provider: "cerebras",
|
|
6324
6308
|
status: "live",
|
|
6325
|
-
contextLength:
|
|
6326
|
-
inputPer1M: 0.
|
|
6327
|
-
outputPer1M:
|
|
6309
|
+
contextLength: 65536,
|
|
6310
|
+
inputPer1M: 0.99,
|
|
6311
|
+
outputPer1M: 1.49,
|
|
6328
6312
|
supportsTools: true,
|
|
6329
6313
|
supportsStructuredOutput: true
|
|
6330
6314
|
},
|
|
6331
6315
|
{
|
|
6332
|
-
provider: "
|
|
6333
|
-
status: "live"
|
|
6316
|
+
provider: "deepinfra",
|
|
6317
|
+
status: "live",
|
|
6318
|
+
contextLength: 262144,
|
|
6319
|
+
inputPer1M: 0.2,
|
|
6320
|
+
outputPer1M: 2.5,
|
|
6321
|
+
supportsTools: true,
|
|
6322
|
+
supportsStructuredOutput: true
|
|
6334
6323
|
},
|
|
6335
6324
|
{
|
|
6336
6325
|
provider: "novita",
|
|
@@ -6345,8 +6334,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6345
6334
|
provider: "ovhcloud",
|
|
6346
6335
|
status: "live",
|
|
6347
6336
|
contextLength: 262144,
|
|
6348
|
-
inputPer1M: 0,
|
|
6349
|
-
outputPer1M:
|
|
6337
|
+
inputPer1M: 0.47,
|
|
6338
|
+
outputPer1M: 3.19,
|
|
6350
6339
|
supportsTools: true,
|
|
6351
6340
|
supportsStructuredOutput: true
|
|
6352
6341
|
}
|
|
@@ -6395,8 +6384,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6395
6384
|
provider: "deepinfra",
|
|
6396
6385
|
status: "live",
|
|
6397
6386
|
contextLength: 262144,
|
|
6398
|
-
inputPer1M: 0.
|
|
6399
|
-
outputPer1M:
|
|
6387
|
+
inputPer1M: 0.14,
|
|
6388
|
+
outputPer1M: 0.28,
|
|
6400
6389
|
supportsTools: true,
|
|
6401
6390
|
supportsStructuredOutput: true
|
|
6402
6391
|
},
|
|
@@ -6451,7 +6440,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6451
6440
|
inputPer1M: 0.2,
|
|
6452
6441
|
outputPer1M: 0.4,
|
|
6453
6442
|
supportsTools: false,
|
|
6454
|
-
supportsStructuredOutput:
|
|
6443
|
+
supportsStructuredOutput: true
|
|
6455
6444
|
}
|
|
6456
6445
|
]
|
|
6457
6446
|
},
|
|
@@ -6509,7 +6498,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6509
6498
|
contextLength: 64e3,
|
|
6510
6499
|
inputPer1M: 0.7,
|
|
6511
6500
|
outputPer1M: 2.5,
|
|
6512
|
-
supportsTools:
|
|
6501
|
+
supportsTools: false,
|
|
6513
6502
|
supportsStructuredOutput: true
|
|
6514
6503
|
}
|
|
6515
6504
|
]
|
|
@@ -6523,7 +6512,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6523
6512
|
contextLength: 163840,
|
|
6524
6513
|
inputPer1M: 0.5,
|
|
6525
6514
|
outputPer1M: 2.15,
|
|
6526
|
-
supportsTools:
|
|
6515
|
+
supportsTools: false,
|
|
6527
6516
|
supportsStructuredOutput: false
|
|
6528
6517
|
},
|
|
6529
6518
|
{
|
|
@@ -6536,8 +6525,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6536
6525
|
contextLength: 163840,
|
|
6537
6526
|
inputPer1M: 0.7,
|
|
6538
6527
|
outputPer1M: 2.5,
|
|
6539
|
-
supportsTools:
|
|
6540
|
-
supportsStructuredOutput:
|
|
6528
|
+
supportsTools: false,
|
|
6529
|
+
supportsStructuredOutput: true
|
|
6541
6530
|
}
|
|
6542
6531
|
]
|
|
6543
6532
|
},
|
|
@@ -6598,6 +6587,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6598
6587
|
"deepseek-ai/DeepSeek-R1-Distill-Qwen-7B": {
|
|
6599
6588
|
wireId: "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
|
|
6600
6589
|
providers: [
|
|
6590
|
+
{
|
|
6591
|
+
provider: "featherless-ai",
|
|
6592
|
+
status: "live"
|
|
6593
|
+
},
|
|
6601
6594
|
{
|
|
6602
6595
|
provider: "nscale",
|
|
6603
6596
|
status: "live",
|
|
@@ -6605,7 +6598,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6605
6598
|
inputPer1M: 0.15,
|
|
6606
6599
|
outputPer1M: 0.15,
|
|
6607
6600
|
supportsTools: false,
|
|
6608
|
-
supportsStructuredOutput:
|
|
6601
|
+
supportsStructuredOutput: false
|
|
6609
6602
|
}
|
|
6610
6603
|
]
|
|
6611
6604
|
},
|
|
@@ -6705,7 +6698,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6705
6698
|
inputPer1M: 0.26,
|
|
6706
6699
|
outputPer1M: 0.38,
|
|
6707
6700
|
supportsTools: true,
|
|
6708
|
-
supportsStructuredOutput:
|
|
6701
|
+
supportsStructuredOutput: false
|
|
6709
6702
|
},
|
|
6710
6703
|
{
|
|
6711
6704
|
provider: "featherless-ai",
|
|
@@ -6748,6 +6741,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6748
6741
|
supportsTools: true,
|
|
6749
6742
|
supportsStructuredOutput: true
|
|
6750
6743
|
},
|
|
6744
|
+
{
|
|
6745
|
+
provider: "featherless-ai",
|
|
6746
|
+
status: "live"
|
|
6747
|
+
},
|
|
6751
6748
|
{
|
|
6752
6749
|
provider: "novita",
|
|
6753
6750
|
status: "live",
|
|
@@ -6780,6 +6777,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6780
6777
|
supportsTools: true,
|
|
6781
6778
|
supportsStructuredOutput: true
|
|
6782
6779
|
},
|
|
6780
|
+
{
|
|
6781
|
+
provider: "featherless-ai",
|
|
6782
|
+
status: "live"
|
|
6783
|
+
},
|
|
6783
6784
|
{
|
|
6784
6785
|
provider: "fireworks-ai",
|
|
6785
6786
|
status: "live",
|
|
@@ -6800,7 +6801,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6800
6801
|
provider: "scaleway",
|
|
6801
6802
|
status: "live",
|
|
6802
6803
|
supportsTools: true,
|
|
6803
|
-
supportsStructuredOutput:
|
|
6804
|
+
supportsStructuredOutput: true
|
|
6804
6805
|
},
|
|
6805
6806
|
{
|
|
6806
6807
|
provider: "together",
|
|
@@ -6864,6 +6865,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6864
6865
|
supportsTools: true,
|
|
6865
6866
|
supportsStructuredOutput: true
|
|
6866
6867
|
},
|
|
6868
|
+
{
|
|
6869
|
+
provider: "featherless-ai",
|
|
6870
|
+
status: "live"
|
|
6871
|
+
},
|
|
6867
6872
|
{
|
|
6868
6873
|
provider: "novita",
|
|
6869
6874
|
status: "live",
|
|
@@ -6923,6 +6928,49 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6923
6928
|
}
|
|
6924
6929
|
]
|
|
6925
6930
|
},
|
|
6931
|
+
"deepseek-ai/DeepSeek-V4.1-Flash": {
|
|
6932
|
+
wireId: "deepseek-ai/DeepSeek-V4.1-Flash",
|
|
6933
|
+
providers: [
|
|
6934
|
+
{
|
|
6935
|
+
provider: "baseten",
|
|
6936
|
+
status: "live",
|
|
6937
|
+
contextLength: 1048576,
|
|
6938
|
+
inputPer1M: 0.3,
|
|
6939
|
+
outputPer1M: 1.2,
|
|
6940
|
+
supportsTools: true,
|
|
6941
|
+
supportsStructuredOutput: true
|
|
6942
|
+
},
|
|
6943
|
+
{
|
|
6944
|
+
provider: "deepinfra",
|
|
6945
|
+
status: "live",
|
|
6946
|
+
contextLength: 1048576,
|
|
6947
|
+
inputPer1M: 0.2,
|
|
6948
|
+
outputPer1M: 0.6,
|
|
6949
|
+
supportsTools: true,
|
|
6950
|
+
supportsStructuredOutput: true
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
provider: "featherless-ai",
|
|
6954
|
+
status: "live"
|
|
6955
|
+
},
|
|
6956
|
+
{
|
|
6957
|
+
provider: "fireworks-ai",
|
|
6958
|
+
status: "live",
|
|
6959
|
+
contextLength: 1048576,
|
|
6960
|
+
supportsTools: true,
|
|
6961
|
+
supportsStructuredOutput: true
|
|
6962
|
+
},
|
|
6963
|
+
{
|
|
6964
|
+
provider: "novita",
|
|
6965
|
+
status: "live",
|
|
6966
|
+
contextLength: 1048576,
|
|
6967
|
+
inputPer1M: 0.3,
|
|
6968
|
+
outputPer1M: 1.2,
|
|
6969
|
+
supportsTools: true,
|
|
6970
|
+
supportsStructuredOutput: false
|
|
6971
|
+
}
|
|
6972
|
+
]
|
|
6973
|
+
},
|
|
6926
6974
|
"google/gemma-3-12b-it": {
|
|
6927
6975
|
wireId: "google/gemma-3-12b-it",
|
|
6928
6976
|
providers: [
|
|
@@ -7000,7 +7048,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7000
7048
|
inputPer1M: 0.13,
|
|
7001
7049
|
outputPer1M: 0.4,
|
|
7002
7050
|
supportsTools: true,
|
|
7003
|
-
supportsStructuredOutput:
|
|
7051
|
+
supportsStructuredOutput: true
|
|
7004
7052
|
},
|
|
7005
7053
|
{
|
|
7006
7054
|
provider: "scaleway",
|
|
@@ -7015,15 +7063,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7015
7063
|
"google/gemma-4-31B-it": {
|
|
7016
7064
|
wireId: "google/gemma-4-31B-it",
|
|
7017
7065
|
providers: [
|
|
7018
|
-
{
|
|
7019
|
-
provider: "cerebras",
|
|
7020
|
-
status: "live",
|
|
7021
|
-
contextLength: 131072,
|
|
7022
|
-
inputPer1M: 0.99,
|
|
7023
|
-
outputPer1M: 1.49,
|
|
7024
|
-
supportsTools: true,
|
|
7025
|
-
supportsStructuredOutput: true
|
|
7026
|
-
},
|
|
7027
7066
|
{
|
|
7028
7067
|
provider: "deepinfra",
|
|
7029
7068
|
status: "live",
|
|
@@ -7045,29 +7084,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7045
7084
|
outputPer1M: 0.4,
|
|
7046
7085
|
supportsTools: true,
|
|
7047
7086
|
supportsStructuredOutput: true
|
|
7048
|
-
},
|
|
7049
|
-
{
|
|
7050
|
-
provider: "together",
|
|
7051
|
-
status: "live",
|
|
7052
|
-
contextLength: 262144,
|
|
7053
|
-
inputPer1M: 0.39,
|
|
7054
|
-
outputPer1M: 0.97,
|
|
7055
|
-
supportsTools: true,
|
|
7056
|
-
supportsStructuredOutput: true
|
|
7057
|
-
}
|
|
7058
|
-
]
|
|
7059
|
-
},
|
|
7060
|
-
"ibm-granite/granite-4.2-30b": {
|
|
7061
|
-
wireId: "ibm-granite/granite-4.2-30b",
|
|
7062
|
-
providers: [
|
|
7063
|
-
{
|
|
7064
|
-
provider: "deepinfra",
|
|
7065
|
-
status: "live",
|
|
7066
|
-
contextLength: 131072,
|
|
7067
|
-
inputPer1M: 0.16,
|
|
7068
|
-
outputPer1M: 0.65,
|
|
7069
|
-
supportsTools: true,
|
|
7070
|
-
supportsStructuredOutput: false
|
|
7071
7087
|
}
|
|
7072
7088
|
]
|
|
7073
7089
|
},
|
|
@@ -7080,7 +7096,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7080
7096
|
contextLength: 131072,
|
|
7081
7097
|
inputPer1M: 0.03,
|
|
7082
7098
|
outputPer1M: 0.12,
|
|
7083
|
-
supportsTools:
|
|
7099
|
+
supportsTools: true,
|
|
7084
7100
|
supportsStructuredOutput: false
|
|
7085
7101
|
}
|
|
7086
7102
|
]
|
|
@@ -7132,7 +7148,30 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7132
7148
|
inputPer1M: 0.06,
|
|
7133
7149
|
outputPer1M: 0.18,
|
|
7134
7150
|
supportsTools: true,
|
|
7151
|
+
supportsStructuredOutput: true
|
|
7152
|
+
},
|
|
7153
|
+
{
|
|
7154
|
+
provider: "novita",
|
|
7155
|
+
status: "live",
|
|
7156
|
+
contextLength: 262144,
|
|
7157
|
+
inputPer1M: 0,
|
|
7158
|
+
outputPer1M: 0,
|
|
7159
|
+
supportsTools: true,
|
|
7135
7160
|
supportsStructuredOutput: false
|
|
7161
|
+
}
|
|
7162
|
+
]
|
|
7163
|
+
},
|
|
7164
|
+
"inclusionAI/Ling-3.0-flash-VL": {
|
|
7165
|
+
wireId: "inclusionAI/Ling-3.0-flash-VL",
|
|
7166
|
+
providers: [
|
|
7167
|
+
{
|
|
7168
|
+
provider: "deepinfra",
|
|
7169
|
+
status: "live",
|
|
7170
|
+
contextLength: 131072,
|
|
7171
|
+
inputPer1M: 0.06,
|
|
7172
|
+
outputPer1M: 0.18,
|
|
7173
|
+
supportsTools: true,
|
|
7174
|
+
supportsStructuredOutput: true
|
|
7136
7175
|
},
|
|
7137
7176
|
{
|
|
7138
7177
|
provider: "novita",
|
|
@@ -7297,6 +7336,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7297
7336
|
supportsTools: true,
|
|
7298
7337
|
supportsStructuredOutput: true
|
|
7299
7338
|
},
|
|
7339
|
+
{
|
|
7340
|
+
provider: "featherless-ai",
|
|
7341
|
+
status: "live"
|
|
7342
|
+
},
|
|
7300
7343
|
{
|
|
7301
7344
|
provider: "fireworks-ai",
|
|
7302
7345
|
status: "live",
|
|
@@ -7388,7 +7431,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7388
7431
|
inputPer1M: 0.6,
|
|
7389
7432
|
outputPer1M: 3,
|
|
7390
7433
|
supportsTools: true,
|
|
7391
|
-
supportsStructuredOutput:
|
|
7434
|
+
supportsStructuredOutput: false
|
|
7392
7435
|
}
|
|
7393
7436
|
]
|
|
7394
7437
|
},
|
|
@@ -7563,7 +7606,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7563
7606
|
status: "live",
|
|
7564
7607
|
contextLength: 262144,
|
|
7565
7608
|
supportsTools: true,
|
|
7566
|
-
supportsStructuredOutput:
|
|
7609
|
+
supportsStructuredOutput: false
|
|
7567
7610
|
}
|
|
7568
7611
|
]
|
|
7569
7612
|
},
|
|
@@ -7715,16 +7758,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7715
7758
|
inputPer1M: 0.05,
|
|
7716
7759
|
outputPer1M: 0.18,
|
|
7717
7760
|
supportsTools: true,
|
|
7718
|
-
supportsStructuredOutput:
|
|
7719
|
-
},
|
|
7720
|
-
{
|
|
7721
|
-
provider: "together",
|
|
7722
|
-
status: "live",
|
|
7723
|
-
contextLength: 131072,
|
|
7724
|
-
inputPer1M: 0.05,
|
|
7725
|
-
outputPer1M: 0.2,
|
|
7726
|
-
supportsTools: true,
|
|
7727
|
-
supportsStructuredOutput: true
|
|
7761
|
+
supportsStructuredOutput: false
|
|
7728
7762
|
}
|
|
7729
7763
|
]
|
|
7730
7764
|
},
|
|
@@ -7817,28 +7851,15 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7817
7851
|
}
|
|
7818
7852
|
]
|
|
7819
7853
|
},
|
|
7820
|
-
"swiss-ai/Apertus-70B-Instruct-2509": {
|
|
7821
|
-
wireId: "swiss-ai/Apertus-70B-Instruct-2509",
|
|
7822
|
-
providers: [
|
|
7823
|
-
{
|
|
7824
|
-
provider: "publicai",
|
|
7825
|
-
status: "live",
|
|
7826
|
-
inputPer1M: 0.82,
|
|
7827
|
-
outputPer1M: 2.92,
|
|
7828
|
-
supportsTools: true,
|
|
7829
|
-
supportsStructuredOutput: true
|
|
7830
|
-
}
|
|
7831
|
-
]
|
|
7832
|
-
},
|
|
7833
7854
|
"swiss-ai/Apertus-8B-Instruct-2509": {
|
|
7834
7855
|
wireId: "swiss-ai/Apertus-8B-Instruct-2509",
|
|
7835
7856
|
providers: [
|
|
7836
7857
|
{
|
|
7837
7858
|
provider: "publicai",
|
|
7838
7859
|
status: "live",
|
|
7839
|
-
inputPer1M: 0.
|
|
7840
|
-
outputPer1M: 2
|
|
7841
|
-
supportsTools:
|
|
7860
|
+
inputPer1M: 0.1,
|
|
7861
|
+
outputPer1M: 0.2,
|
|
7862
|
+
supportsTools: false,
|
|
7842
7863
|
supportsStructuredOutput: true
|
|
7843
7864
|
}
|
|
7844
7865
|
]
|
|
@@ -7846,6 +7867,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7846
7867
|
"swiss-ai/Apertus-v1.5-70B": {
|
|
7847
7868
|
wireId: "swiss-ai/Apertus-v1.5-70B",
|
|
7848
7869
|
providers: [
|
|
7870
|
+
{
|
|
7871
|
+
provider: "featherless-ai",
|
|
7872
|
+
status: "live"
|
|
7873
|
+
},
|
|
7849
7874
|
{
|
|
7850
7875
|
provider: "publicai",
|
|
7851
7876
|
status: "live",
|
|
@@ -7856,28 +7881,33 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7856
7881
|
}
|
|
7857
7882
|
]
|
|
7858
7883
|
},
|
|
7859
|
-
"
|
|
7860
|
-
wireId: "
|
|
7884
|
+
"tencent/Hy3": {
|
|
7885
|
+
wireId: "tencent/Hy3",
|
|
7861
7886
|
providers: [
|
|
7862
7887
|
{
|
|
7863
|
-
provider: "
|
|
7888
|
+
provider: "deepinfra",
|
|
7864
7889
|
status: "live",
|
|
7865
|
-
|
|
7866
|
-
|
|
7890
|
+
contextLength: 262144,
|
|
7891
|
+
inputPer1M: 0.13,
|
|
7892
|
+
outputPer1M: 0.53,
|
|
7867
7893
|
supportsTools: true,
|
|
7868
7894
|
supportsStructuredOutput: true
|
|
7895
|
+
},
|
|
7896
|
+
{
|
|
7897
|
+
provider: "featherless-ai",
|
|
7898
|
+
status: "live"
|
|
7869
7899
|
}
|
|
7870
7900
|
]
|
|
7871
7901
|
},
|
|
7872
|
-
"tencent/
|
|
7873
|
-
wireId: "tencent/
|
|
7902
|
+
"tencent/Hy4-preview": {
|
|
7903
|
+
wireId: "tencent/Hy4-preview",
|
|
7874
7904
|
providers: [
|
|
7875
7905
|
{
|
|
7876
|
-
provider: "
|
|
7906
|
+
provider: "novita",
|
|
7877
7907
|
status: "live",
|
|
7878
|
-
contextLength:
|
|
7879
|
-
inputPer1M: 0.
|
|
7880
|
-
outputPer1M:
|
|
7908
|
+
contextLength: 1e6,
|
|
7909
|
+
inputPer1M: 0.834,
|
|
7910
|
+
outputPer1M: 2.501,
|
|
7881
7911
|
supportsTools: true,
|
|
7882
7912
|
supportsStructuredOutput: true
|
|
7883
7913
|
}
|
|
@@ -7942,15 +7972,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7942
7972
|
outputPer1M: 1.2,
|
|
7943
7973
|
supportsTools: true,
|
|
7944
7974
|
supportsStructuredOutput: true
|
|
7945
|
-
},
|
|
7946
|
-
{
|
|
7947
|
-
provider: "together",
|
|
7948
|
-
status: "live",
|
|
7949
|
-
contextLength: 524288,
|
|
7950
|
-
inputPer1M: 0.5,
|
|
7951
|
-
outputPer1M: 1.2,
|
|
7952
|
-
supportsTools: true,
|
|
7953
|
-
supportsStructuredOutput: false
|
|
7954
7975
|
}
|
|
7955
7976
|
]
|
|
7956
7977
|
},
|
|
@@ -7986,17 +8007,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7986
8007
|
}
|
|
7987
8008
|
]
|
|
7988
8009
|
},
|
|
7989
|
-
"zai-org/GLM-4.5": {
|
|
7990
|
-
wireId: "zai-org/GLM-4.5",
|
|
7991
|
-
providers: [
|
|
7992
|
-
{
|
|
7993
|
-
provider: "zai-org",
|
|
7994
|
-
status: "live",
|
|
7995
|
-
supportsTools: true,
|
|
7996
|
-
supportsStructuredOutput: false
|
|
7997
|
-
}
|
|
7998
|
-
]
|
|
7999
|
-
},
|
|
8000
8010
|
"zai-org/GLM-4.5-Air": {
|
|
8001
8011
|
wireId: "zai-org/GLM-4.5-Air",
|
|
8002
8012
|
providers: [
|
|
@@ -8081,17 +8091,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8081
8091
|
}
|
|
8082
8092
|
]
|
|
8083
8093
|
},
|
|
8084
|
-
"zai-org/GLM-4.6-FP8": {
|
|
8085
|
-
wireId: "zai-org/GLM-4.6-FP8",
|
|
8086
|
-
providers: [
|
|
8087
|
-
{
|
|
8088
|
-
provider: "zai-org",
|
|
8089
|
-
status: "live",
|
|
8090
|
-
supportsTools: true,
|
|
8091
|
-
supportsStructuredOutput: false
|
|
8092
|
-
}
|
|
8093
|
-
]
|
|
8094
|
-
},
|
|
8095
8094
|
"zai-org/GLM-4.6V": {
|
|
8096
8095
|
wireId: "zai-org/GLM-4.6V",
|
|
8097
8096
|
providers: [
|
|
@@ -8153,7 +8152,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8153
8152
|
inputPer1M: 0.4,
|
|
8154
8153
|
outputPer1M: 1.75,
|
|
8155
8154
|
supportsTools: true,
|
|
8156
|
-
supportsStructuredOutput:
|
|
8155
|
+
supportsStructuredOutput: true
|
|
8157
8156
|
},
|
|
8158
8157
|
{
|
|
8159
8158
|
provider: "featherless-ai",
|
|
@@ -8167,12 +8166,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8167
8166
|
outputPer1M: 2.2,
|
|
8168
8167
|
supportsTools: true,
|
|
8169
8168
|
supportsStructuredOutput: false
|
|
8170
|
-
},
|
|
8171
|
-
{
|
|
8172
|
-
provider: "zai-org",
|
|
8173
|
-
status: "live",
|
|
8174
|
-
supportsTools: true,
|
|
8175
|
-
supportsStructuredOutput: false
|
|
8176
8169
|
}
|
|
8177
8170
|
]
|
|
8178
8171
|
},
|
|
@@ -8197,7 +8190,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8197
8190
|
inputPer1M: 0.06,
|
|
8198
8191
|
outputPer1M: 0.4,
|
|
8199
8192
|
supportsTools: true,
|
|
8200
|
-
supportsStructuredOutput:
|
|
8193
|
+
supportsStructuredOutput: true
|
|
8201
8194
|
},
|
|
8202
8195
|
{
|
|
8203
8196
|
provider: "featherless-ai",
|
|
@@ -8263,28 +8256,11 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8263
8256
|
inputPer1M: 1.05,
|
|
8264
8257
|
outputPer1M: 3.5,
|
|
8265
8258
|
supportsTools: true,
|
|
8266
|
-
supportsStructuredOutput:
|
|
8259
|
+
supportsStructuredOutput: false
|
|
8267
8260
|
},
|
|
8268
8261
|
{
|
|
8269
8262
|
provider: "featherless-ai",
|
|
8270
8263
|
status: "live"
|
|
8271
|
-
},
|
|
8272
|
-
{
|
|
8273
|
-
provider: "zai-org",
|
|
8274
|
-
status: "live",
|
|
8275
|
-
supportsTools: true,
|
|
8276
|
-
supportsStructuredOutput: false
|
|
8277
|
-
}
|
|
8278
|
-
]
|
|
8279
|
-
},
|
|
8280
|
-
"zai-org/GLM-5.1-FP8": {
|
|
8281
|
-
wireId: "zai-org/GLM-5.1-FP8",
|
|
8282
|
-
providers: [
|
|
8283
|
-
{
|
|
8284
|
-
provider: "zai-org",
|
|
8285
|
-
status: "live",
|
|
8286
|
-
supportsTools: true,
|
|
8287
|
-
supportsStructuredOutput: false
|
|
8288
8264
|
}
|
|
8289
8265
|
]
|
|
8290
8266
|
},
|
|
@@ -8329,7 +8305,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8329
8305
|
inputPer1M: 1.4,
|
|
8330
8306
|
outputPer1M: 4.4,
|
|
8331
8307
|
supportsTools: true,
|
|
8332
|
-
supportsStructuredOutput:
|
|
8308
|
+
supportsStructuredOutput: true
|
|
8333
8309
|
},
|
|
8334
8310
|
{
|
|
8335
8311
|
provider: "scaleway",
|
|
@@ -8388,6 +8364,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8388
8364
|
supportsTools: true,
|
|
8389
8365
|
supportsStructuredOutput: true
|
|
8390
8366
|
},
|
|
8367
|
+
{
|
|
8368
|
+
provider: "featherless-ai",
|
|
8369
|
+
status: "live"
|
|
8370
|
+
},
|
|
8391
8371
|
{
|
|
8392
8372
|
provider: "fireworks-ai",
|
|
8393
8373
|
status: "live",
|
|
@@ -8453,6 +8433,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8453
8433
|
supportsTools: true,
|
|
8454
8434
|
supportsStructuredOutput: true
|
|
8455
8435
|
},
|
|
8436
|
+
{
|
|
8437
|
+
provider: "featherless-ai",
|
|
8438
|
+
status: "live"
|
|
8439
|
+
},
|
|
8456
8440
|
{
|
|
8457
8441
|
provider: "fireworks-ai",
|
|
8458
8442
|
status: "live",
|
|
@@ -8464,8 +8448,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8464
8448
|
provider: "novita",
|
|
8465
8449
|
status: "live",
|
|
8466
8450
|
contextLength: 1048576,
|
|
8467
|
-
inputPer1M: 0.
|
|
8468
|
-
outputPer1M: 0.
|
|
8451
|
+
inputPer1M: 0.15,
|
|
8452
|
+
outputPer1M: 0.5,
|
|
8469
8453
|
supportsTools: true,
|
|
8470
8454
|
supportsStructuredOutput: false
|
|
8471
8455
|
},
|
|
@@ -8662,6 +8646,20 @@ function resolveLlmModelRoute(input) {
|
|
|
8662
8646
|
const { ref: modelRef, legacy } = ref;
|
|
8663
8647
|
const directPricing = resolvePricing(modelRef.product);
|
|
8664
8648
|
const canonicalProductId = resolveAlias(modelRef.product);
|
|
8649
|
+
const opencodeRoutes = modelRef.route === "opencode-go" ? OPENCODE_GO_ROUTES : modelRef.route === "opencode" ? OPENCODE_ZEN_ROUTES : void 0;
|
|
8650
|
+
if (opencodeRoutes) {
|
|
8651
|
+
const pricing2 = opencodeRoutes[`${modelRef.vendor}/${modelRef.product}`];
|
|
8652
|
+
if (!pricing2) return void 0;
|
|
8653
|
+
return buildLlmRoute(modelRef, canonicalProductId, pricing2, {
|
|
8654
|
+
flavor: modelRef.route,
|
|
8655
|
+
// models.dev's own `api` for the provider (see the committed snapshots).
|
|
8656
|
+
// One base serves all three of the endpoint's wire surfaces —
|
|
8657
|
+
// `/chat/completions`, `/messages`, `/responses` — which per model is
|
|
8658
|
+
// discriminated by the generated `*_ANTHROPIC_MODELS` list and the
|
|
8659
|
+
// source's `provider.npm`.
|
|
8660
|
+
baseUrl: modelRef.route === "opencode-go" ? "https://opencode.ai/zen/go/v1" : "https://opencode.ai/zen/v1"
|
|
8661
|
+
});
|
|
8662
|
+
}
|
|
8665
8663
|
if (modelRef.route === modelRef.vendor) {
|
|
8666
8664
|
if (!directPricing) return void 0;
|
|
8667
8665
|
return buildLlmRoute(modelRef, canonicalProductId, directPricing, {
|
|
@@ -8741,6 +8739,15 @@ function routerRouteKeys(router) {
|
|
|
8741
8739
|
return Object.keys(REQUESTY_ROUTES);
|
|
8742
8740
|
case "huggingface":
|
|
8743
8741
|
return Object.keys(HUGGINGFACE_ROUTES);
|
|
8742
|
+
// `<provider>/<bare-id>` keys (see the OpenCode branch in
|
|
8743
|
+
// `resolveLlmModelRoute`), so `listRouterLlmRoutes` re-appends a `@route`
|
|
8744
|
+
// that `formatModelRef` then drops again — route === vendor for these, so
|
|
8745
|
+
// the enumerated id is the bare `opencode-go/glm-5.3` form a caller
|
|
8746
|
+
// actually spawns, not a `…@opencode-go` annotation.
|
|
8747
|
+
case "opencode-go":
|
|
8748
|
+
return Object.keys(OPENCODE_GO_ROUTES);
|
|
8749
|
+
case "opencode":
|
|
8750
|
+
return Object.keys(OPENCODE_ZEN_ROUTES);
|
|
8744
8751
|
default:
|
|
8745
8752
|
return [];
|
|
8746
8753
|
}
|
|
@@ -8815,5 +8822,5 @@ function diagnoseModelRef(input) {
|
|
|
8815
8822
|
}
|
|
8816
8823
|
|
|
8817
8824
|
export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef };
|
|
8818
|
-
//# sourceMappingURL=chunk-
|
|
8819
|
-
//# sourceMappingURL=chunk-
|
|
8825
|
+
//# sourceMappingURL=chunk-G6CA3BXI.mjs.map
|
|
8826
|
+
//# sourceMappingURL=chunk-G6CA3BXI.mjs.map
|