@agentproto/model-catalog 0.9.4 → 0.10.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.
- 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-ZTTWZ7PL.mjs → chunk-5ZNG5RQB.mjs} +15 -3
- package/dist/chunk-5ZNG5RQB.mjs.map +1 -0
- package/dist/{chunk-H467PHUU.mjs → chunk-67NNWX36.mjs} +3 -3
- package/dist/{chunk-H467PHUU.mjs.map → chunk-67NNWX36.mjs.map} +1 -1
- package/dist/{chunk-V2BMFFUF.mjs → chunk-C6HNSPGW.mjs} +4 -4
- package/dist/{chunk-V2BMFFUF.mjs.map → chunk-C6HNSPGW.mjs.map} +1 -1
- package/dist/{chunk-UREM2UZK.mjs → chunk-L6TCCCP6.mjs} +4 -4
- package/dist/{chunk-UREM2UZK.mjs.map → chunk-L6TCCCP6.mjs.map} +1 -1
- package/dist/{chunk-5XUA72EH.mjs → chunk-M3I2OMBX.mjs} +3 -3
- package/dist/{chunk-5XUA72EH.mjs.map → chunk-M3I2OMBX.mjs.map} +1 -1
- package/dist/{chunk-GW52XH4V.mjs → chunk-MATRJ7K6.mjs} +185 -146
- package/dist/chunk-MATRJ7K6.mjs.map +1 -0
- package/dist/{chunk-6VUL4I7V.mjs → chunk-MOSKXFIN.mjs} +1358 -123
- package/dist/chunk-MOSKXFIN.mjs.map +1 -0
- package/dist/{chunk-JHBSGPWH.mjs → chunk-MRFY23PA.mjs} +5 -5
- package/dist/{chunk-JHBSGPWH.mjs.map → chunk-MRFY23PA.mjs.map} +1 -1
- 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-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-MOSKXFIN.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @agentproto/model-catalog v0.1.0
|
|
@@ -5379,6 +5379,39 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5379
5379
|
}
|
|
5380
5380
|
]
|
|
5381
5381
|
},
|
|
5382
|
+
"CohereLabs/command-a-plus-05-2026-bf16": {
|
|
5383
|
+
wireId: "CohereLabs/command-a-plus-05-2026-bf16",
|
|
5384
|
+
providers: [
|
|
5385
|
+
{
|
|
5386
|
+
provider: "cohere",
|
|
5387
|
+
status: "live",
|
|
5388
|
+
supportsTools: true,
|
|
5389
|
+
supportsStructuredOutput: true
|
|
5390
|
+
}
|
|
5391
|
+
]
|
|
5392
|
+
},
|
|
5393
|
+
"CohereLabs/command-a-plus-05-2026-fp8": {
|
|
5394
|
+
wireId: "CohereLabs/command-a-plus-05-2026-fp8",
|
|
5395
|
+
providers: [
|
|
5396
|
+
{
|
|
5397
|
+
provider: "cohere",
|
|
5398
|
+
status: "live",
|
|
5399
|
+
supportsTools: true,
|
|
5400
|
+
supportsStructuredOutput: true
|
|
5401
|
+
}
|
|
5402
|
+
]
|
|
5403
|
+
},
|
|
5404
|
+
"CohereLabs/command-a-plus-05-2026-w4a4": {
|
|
5405
|
+
wireId: "CohereLabs/command-a-plus-05-2026-w4a4",
|
|
5406
|
+
providers: [
|
|
5407
|
+
{
|
|
5408
|
+
provider: "cohere",
|
|
5409
|
+
status: "live",
|
|
5410
|
+
supportsTools: true,
|
|
5411
|
+
supportsStructuredOutput: true
|
|
5412
|
+
}
|
|
5413
|
+
]
|
|
5414
|
+
},
|
|
5382
5415
|
"CohereLabs/command-a-reasoning-08-2025": {
|
|
5383
5416
|
wireId: "CohereLabs/command-a-reasoning-08-2025",
|
|
5384
5417
|
providers: [
|
|
@@ -5401,6 +5434,17 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5401
5434
|
}
|
|
5402
5435
|
]
|
|
5403
5436
|
},
|
|
5437
|
+
"CohereLabs/command-a-vision-07-2025": {
|
|
5438
|
+
wireId: "CohereLabs/command-a-vision-07-2025",
|
|
5439
|
+
providers: [
|
|
5440
|
+
{
|
|
5441
|
+
provider: "cohere",
|
|
5442
|
+
status: "live",
|
|
5443
|
+
supportsTools: false,
|
|
5444
|
+
supportsStructuredOutput: true
|
|
5445
|
+
}
|
|
5446
|
+
]
|
|
5447
|
+
},
|
|
5404
5448
|
"CohereLabs/tiny-aya-earth": {
|
|
5405
5449
|
wireId: "CohereLabs/tiny-aya-earth",
|
|
5406
5450
|
providers: [
|
|
@@ -5523,7 +5567,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5523
5567
|
inputPer1M: 0.25,
|
|
5524
5568
|
outputPer1M: 1,
|
|
5525
5569
|
supportsTools: true,
|
|
5526
|
-
supportsStructuredOutput:
|
|
5570
|
+
supportsStructuredOutput: true
|
|
5527
5571
|
},
|
|
5528
5572
|
{
|
|
5529
5573
|
provider: "featherless-ai",
|
|
@@ -5563,7 +5607,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5563
5607
|
inputPer1M: 0.3,
|
|
5564
5608
|
outputPer1M: 1.2,
|
|
5565
5609
|
supportsTools: true,
|
|
5566
|
-
supportsStructuredOutput:
|
|
5610
|
+
supportsStructuredOutput: false
|
|
5567
5611
|
},
|
|
5568
5612
|
{
|
|
5569
5613
|
provider: "novita",
|
|
@@ -5630,24 +5674,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5630
5674
|
}
|
|
5631
5675
|
]
|
|
5632
5676
|
},
|
|
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
5677
|
"Qwen/Qwen2.5-Coder-32B-Instruct": {
|
|
5652
5678
|
wireId: "Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
5653
5679
|
providers: [
|
|
@@ -5730,7 +5756,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5730
5756
|
inputPer1M: 0.12,
|
|
5731
5757
|
outputPer1M: 0.24,
|
|
5732
5758
|
supportsTools: true,
|
|
5733
|
-
supportsStructuredOutput:
|
|
5759
|
+
supportsStructuredOutput: true
|
|
5734
5760
|
},
|
|
5735
5761
|
{
|
|
5736
5762
|
provider: "featherless-ai",
|
|
@@ -5743,7 +5769,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5743
5769
|
inputPer1M: 0.07,
|
|
5744
5770
|
outputPer1M: 0.2,
|
|
5745
5771
|
supportsTools: true,
|
|
5746
|
-
supportsStructuredOutput:
|
|
5772
|
+
supportsStructuredOutput: false
|
|
5747
5773
|
}
|
|
5748
5774
|
]
|
|
5749
5775
|
},
|
|
@@ -5777,6 +5803,15 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5777
5803
|
"Qwen/Qwen3-235B-A22B-Instruct-2507": {
|
|
5778
5804
|
wireId: "Qwen/Qwen3-235B-A22B-Instruct-2507",
|
|
5779
5805
|
providers: [
|
|
5806
|
+
{
|
|
5807
|
+
provider: "deepinfra",
|
|
5808
|
+
status: "live",
|
|
5809
|
+
contextLength: 262144,
|
|
5810
|
+
inputPer1M: 0.09,
|
|
5811
|
+
outputPer1M: 0.55,
|
|
5812
|
+
supportsTools: true,
|
|
5813
|
+
supportsStructuredOutput: true
|
|
5814
|
+
},
|
|
5780
5815
|
{
|
|
5781
5816
|
provider: "novita",
|
|
5782
5817
|
status: "live",
|
|
@@ -5856,7 +5891,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
5856
5891
|
inputPer1M: 0.08,
|
|
5857
5892
|
outputPer1M: 0.28,
|
|
5858
5893
|
supportsTools: true,
|
|
5859
|
-
supportsStructuredOutput:
|
|
5894
|
+
supportsStructuredOutput: true
|
|
5860
5895
|
},
|
|
5861
5896
|
{
|
|
5862
5897
|
provider: "featherless-ai",
|
|
@@ -6051,15 +6086,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6051
6086
|
"Qwen/Qwen3-VL-30B-A3B-Instruct": {
|
|
6052
6087
|
wireId: "Qwen/Qwen3-VL-30B-A3B-Instruct",
|
|
6053
6088
|
providers: [
|
|
6054
|
-
{
|
|
6055
|
-
provider: "deepinfra",
|
|
6056
|
-
status: "live",
|
|
6057
|
-
contextLength: 262144,
|
|
6058
|
-
inputPer1M: 0.15,
|
|
6059
|
-
outputPer1M: 0.6,
|
|
6060
|
-
supportsTools: true,
|
|
6061
|
-
supportsStructuredOutput: true
|
|
6062
|
-
},
|
|
6063
6089
|
{
|
|
6064
6090
|
provider: "featherless-ai",
|
|
6065
6091
|
status: "live"
|
|
@@ -6085,7 +6111,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6085
6111
|
inputPer1M: 0.29,
|
|
6086
6112
|
outputPer1M: 2.4,
|
|
6087
6113
|
supportsTools: true,
|
|
6088
|
-
supportsStructuredOutput:
|
|
6114
|
+
supportsStructuredOutput: true
|
|
6089
6115
|
},
|
|
6090
6116
|
{
|
|
6091
6117
|
provider: "novita",
|
|
@@ -6110,6 +6136,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6110
6136
|
supportsTools: true,
|
|
6111
6137
|
supportsStructuredOutput: true
|
|
6112
6138
|
},
|
|
6139
|
+
{
|
|
6140
|
+
provider: "featherless-ai",
|
|
6141
|
+
status: "live"
|
|
6142
|
+
},
|
|
6113
6143
|
{
|
|
6114
6144
|
provider: "novita",
|
|
6115
6145
|
status: "live",
|
|
@@ -6166,7 +6196,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6166
6196
|
contextLength: 262144,
|
|
6167
6197
|
inputPer1M: 0.6,
|
|
6168
6198
|
outputPer1M: 3.6,
|
|
6169
|
-
supportsTools:
|
|
6199
|
+
supportsTools: false,
|
|
6170
6200
|
supportsStructuredOutput: false
|
|
6171
6201
|
},
|
|
6172
6202
|
{
|
|
@@ -6323,8 +6353,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6323
6353
|
provider: "deepinfra",
|
|
6324
6354
|
status: "live",
|
|
6325
6355
|
contextLength: 262144,
|
|
6326
|
-
inputPer1M: 0.
|
|
6327
|
-
outputPer1M:
|
|
6356
|
+
inputPer1M: 0.2,
|
|
6357
|
+
outputPer1M: 2.5,
|
|
6328
6358
|
supportsTools: true,
|
|
6329
6359
|
supportsStructuredOutput: true
|
|
6330
6360
|
},
|
|
@@ -6339,7 +6369,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6339
6369
|
inputPer1M: 0.42,
|
|
6340
6370
|
outputPer1M: 3,
|
|
6341
6371
|
supportsTools: true,
|
|
6342
|
-
supportsStructuredOutput:
|
|
6372
|
+
supportsStructuredOutput: true
|
|
6343
6373
|
},
|
|
6344
6374
|
{
|
|
6345
6375
|
provider: "ovhcloud",
|
|
@@ -6395,8 +6425,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6395
6425
|
provider: "deepinfra",
|
|
6396
6426
|
status: "live",
|
|
6397
6427
|
contextLength: 262144,
|
|
6398
|
-
inputPer1M: 0.
|
|
6399
|
-
outputPer1M:
|
|
6428
|
+
inputPer1M: 0.14,
|
|
6429
|
+
outputPer1M: 0.28,
|
|
6400
6430
|
supportsTools: true,
|
|
6401
6431
|
supportsStructuredOutput: true
|
|
6402
6432
|
},
|
|
@@ -6451,7 +6481,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6451
6481
|
inputPer1M: 0.2,
|
|
6452
6482
|
outputPer1M: 0.4,
|
|
6453
6483
|
supportsTools: false,
|
|
6454
|
-
supportsStructuredOutput:
|
|
6484
|
+
supportsStructuredOutput: true
|
|
6455
6485
|
}
|
|
6456
6486
|
]
|
|
6457
6487
|
},
|
|
@@ -6509,7 +6539,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6509
6539
|
contextLength: 64e3,
|
|
6510
6540
|
inputPer1M: 0.7,
|
|
6511
6541
|
outputPer1M: 2.5,
|
|
6512
|
-
supportsTools:
|
|
6542
|
+
supportsTools: false,
|
|
6513
6543
|
supportsStructuredOutput: true
|
|
6514
6544
|
}
|
|
6515
6545
|
]
|
|
@@ -6523,7 +6553,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6523
6553
|
contextLength: 163840,
|
|
6524
6554
|
inputPer1M: 0.5,
|
|
6525
6555
|
outputPer1M: 2.15,
|
|
6526
|
-
supportsTools:
|
|
6556
|
+
supportsTools: false,
|
|
6527
6557
|
supportsStructuredOutput: false
|
|
6528
6558
|
},
|
|
6529
6559
|
{
|
|
@@ -6536,8 +6566,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6536
6566
|
contextLength: 163840,
|
|
6537
6567
|
inputPer1M: 0.7,
|
|
6538
6568
|
outputPer1M: 2.5,
|
|
6539
|
-
supportsTools:
|
|
6540
|
-
supportsStructuredOutput:
|
|
6569
|
+
supportsTools: false,
|
|
6570
|
+
supportsStructuredOutput: true
|
|
6541
6571
|
}
|
|
6542
6572
|
]
|
|
6543
6573
|
},
|
|
@@ -6605,7 +6635,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6605
6635
|
inputPer1M: 0.15,
|
|
6606
6636
|
outputPer1M: 0.15,
|
|
6607
6637
|
supportsTools: false,
|
|
6608
|
-
supportsStructuredOutput:
|
|
6638
|
+
supportsStructuredOutput: false
|
|
6609
6639
|
}
|
|
6610
6640
|
]
|
|
6611
6641
|
},
|
|
@@ -6705,7 +6735,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6705
6735
|
inputPer1M: 0.26,
|
|
6706
6736
|
outputPer1M: 0.38,
|
|
6707
6737
|
supportsTools: true,
|
|
6708
|
-
supportsStructuredOutput:
|
|
6738
|
+
supportsStructuredOutput: false
|
|
6709
6739
|
},
|
|
6710
6740
|
{
|
|
6711
6741
|
provider: "featherless-ai",
|
|
@@ -6748,6 +6778,10 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6748
6778
|
supportsTools: true,
|
|
6749
6779
|
supportsStructuredOutput: true
|
|
6750
6780
|
},
|
|
6781
|
+
{
|
|
6782
|
+
provider: "featherless-ai",
|
|
6783
|
+
status: "live"
|
|
6784
|
+
},
|
|
6751
6785
|
{
|
|
6752
6786
|
provider: "novita",
|
|
6753
6787
|
status: "live",
|
|
@@ -6923,6 +6957,45 @@ var HUGGINGFACE_ROUTES = {
|
|
|
6923
6957
|
}
|
|
6924
6958
|
]
|
|
6925
6959
|
},
|
|
6960
|
+
"deepseek-ai/DeepSeek-V4.1-Flash": {
|
|
6961
|
+
wireId: "deepseek-ai/DeepSeek-V4.1-Flash",
|
|
6962
|
+
providers: [
|
|
6963
|
+
{
|
|
6964
|
+
provider: "baseten",
|
|
6965
|
+
status: "live",
|
|
6966
|
+
contextLength: 1048576,
|
|
6967
|
+
inputPer1M: 0.3,
|
|
6968
|
+
outputPer1M: 1.2,
|
|
6969
|
+
supportsTools: true,
|
|
6970
|
+
supportsStructuredOutput: true
|
|
6971
|
+
},
|
|
6972
|
+
{
|
|
6973
|
+
provider: "deepinfra",
|
|
6974
|
+
status: "live",
|
|
6975
|
+
contextLength: 1048576,
|
|
6976
|
+
inputPer1M: 0.2,
|
|
6977
|
+
outputPer1M: 0.6,
|
|
6978
|
+
supportsTools: true,
|
|
6979
|
+
supportsStructuredOutput: true
|
|
6980
|
+
},
|
|
6981
|
+
{
|
|
6982
|
+
provider: "fireworks-ai",
|
|
6983
|
+
status: "live",
|
|
6984
|
+
contextLength: 1048576,
|
|
6985
|
+
supportsTools: true,
|
|
6986
|
+
supportsStructuredOutput: true
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
provider: "novita",
|
|
6990
|
+
status: "live",
|
|
6991
|
+
contextLength: 1048576,
|
|
6992
|
+
inputPer1M: 0.3,
|
|
6993
|
+
outputPer1M: 1.2,
|
|
6994
|
+
supportsTools: true,
|
|
6995
|
+
supportsStructuredOutput: false
|
|
6996
|
+
}
|
|
6997
|
+
]
|
|
6998
|
+
},
|
|
6926
6999
|
"google/gemma-3-12b-it": {
|
|
6927
7000
|
wireId: "google/gemma-3-12b-it",
|
|
6928
7001
|
providers: [
|
|
@@ -7000,7 +7073,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7000
7073
|
inputPer1M: 0.13,
|
|
7001
7074
|
outputPer1M: 0.4,
|
|
7002
7075
|
supportsTools: true,
|
|
7003
|
-
supportsStructuredOutput:
|
|
7076
|
+
supportsStructuredOutput: true
|
|
7004
7077
|
},
|
|
7005
7078
|
{
|
|
7006
7079
|
provider: "scaleway",
|
|
@@ -7015,15 +7088,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7015
7088
|
"google/gemma-4-31B-it": {
|
|
7016
7089
|
wireId: "google/gemma-4-31B-it",
|
|
7017
7090
|
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
7091
|
{
|
|
7028
7092
|
provider: "deepinfra",
|
|
7029
7093
|
status: "live",
|
|
@@ -7045,29 +7109,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7045
7109
|
outputPer1M: 0.4,
|
|
7046
7110
|
supportsTools: true,
|
|
7047
7111
|
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
7112
|
}
|
|
7072
7113
|
]
|
|
7073
7114
|
},
|
|
@@ -7080,7 +7121,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7080
7121
|
contextLength: 131072,
|
|
7081
7122
|
inputPer1M: 0.03,
|
|
7082
7123
|
outputPer1M: 0.12,
|
|
7083
|
-
supportsTools:
|
|
7124
|
+
supportsTools: true,
|
|
7084
7125
|
supportsStructuredOutput: false
|
|
7085
7126
|
}
|
|
7086
7127
|
]
|
|
@@ -7132,7 +7173,30 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7132
7173
|
inputPer1M: 0.06,
|
|
7133
7174
|
outputPer1M: 0.18,
|
|
7134
7175
|
supportsTools: true,
|
|
7176
|
+
supportsStructuredOutput: true
|
|
7177
|
+
},
|
|
7178
|
+
{
|
|
7179
|
+
provider: "novita",
|
|
7180
|
+
status: "live",
|
|
7181
|
+
contextLength: 262144,
|
|
7182
|
+
inputPer1M: 0,
|
|
7183
|
+
outputPer1M: 0,
|
|
7184
|
+
supportsTools: true,
|
|
7135
7185
|
supportsStructuredOutput: false
|
|
7186
|
+
}
|
|
7187
|
+
]
|
|
7188
|
+
},
|
|
7189
|
+
"inclusionAI/Ling-3.0-flash-VL": {
|
|
7190
|
+
wireId: "inclusionAI/Ling-3.0-flash-VL",
|
|
7191
|
+
providers: [
|
|
7192
|
+
{
|
|
7193
|
+
provider: "deepinfra",
|
|
7194
|
+
status: "live",
|
|
7195
|
+
contextLength: 131072,
|
|
7196
|
+
inputPer1M: 0.06,
|
|
7197
|
+
outputPer1M: 0.18,
|
|
7198
|
+
supportsTools: true,
|
|
7199
|
+
supportsStructuredOutput: true
|
|
7136
7200
|
},
|
|
7137
7201
|
{
|
|
7138
7202
|
provider: "novita",
|
|
@@ -7311,7 +7375,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7311
7375
|
inputPer1M: 0.35,
|
|
7312
7376
|
outputPer1M: 1.5,
|
|
7313
7377
|
supportsTools: true,
|
|
7314
|
-
supportsStructuredOutput:
|
|
7378
|
+
supportsStructuredOutput: false
|
|
7315
7379
|
}
|
|
7316
7380
|
]
|
|
7317
7381
|
},
|
|
@@ -7388,7 +7452,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7388
7452
|
inputPer1M: 0.6,
|
|
7389
7453
|
outputPer1M: 3,
|
|
7390
7454
|
supportsTools: true,
|
|
7391
|
-
supportsStructuredOutput:
|
|
7455
|
+
supportsStructuredOutput: false
|
|
7392
7456
|
}
|
|
7393
7457
|
]
|
|
7394
7458
|
},
|
|
@@ -7697,7 +7761,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7697
7761
|
inputPer1M: 0.04,
|
|
7698
7762
|
outputPer1M: 0.15,
|
|
7699
7763
|
supportsTools: false,
|
|
7700
|
-
supportsStructuredOutput:
|
|
7764
|
+
supportsStructuredOutput: false
|
|
7701
7765
|
},
|
|
7702
7766
|
{
|
|
7703
7767
|
provider: "nscale",
|
|
@@ -7716,15 +7780,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7716
7780
|
outputPer1M: 0.18,
|
|
7717
7781
|
supportsTools: true,
|
|
7718
7782
|
supportsStructuredOutput: true
|
|
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
|
|
7728
7783
|
}
|
|
7729
7784
|
]
|
|
7730
7785
|
},
|
|
@@ -7817,28 +7872,15 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7817
7872
|
}
|
|
7818
7873
|
]
|
|
7819
7874
|
},
|
|
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
7875
|
"swiss-ai/Apertus-8B-Instruct-2509": {
|
|
7834
7876
|
wireId: "swiss-ai/Apertus-8B-Instruct-2509",
|
|
7835
7877
|
providers: [
|
|
7836
7878
|
{
|
|
7837
7879
|
provider: "publicai",
|
|
7838
7880
|
status: "live",
|
|
7839
|
-
inputPer1M: 0.
|
|
7840
|
-
outputPer1M: 2
|
|
7841
|
-
supportsTools:
|
|
7881
|
+
inputPer1M: 0.1,
|
|
7882
|
+
outputPer1M: 0.2,
|
|
7883
|
+
supportsTools: false,
|
|
7842
7884
|
supportsStructuredOutput: true
|
|
7843
7885
|
}
|
|
7844
7886
|
]
|
|
@@ -7851,7 +7893,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7851
7893
|
status: "live",
|
|
7852
7894
|
inputPer1M: 0.82,
|
|
7853
7895
|
outputPer1M: 2.92,
|
|
7854
|
-
supportsTools:
|
|
7896
|
+
supportsTools: false,
|
|
7855
7897
|
supportsStructuredOutput: true
|
|
7856
7898
|
}
|
|
7857
7899
|
]
|
|
@@ -7862,9 +7904,9 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7862
7904
|
{
|
|
7863
7905
|
provider: "publicai",
|
|
7864
7906
|
status: "live",
|
|
7865
|
-
inputPer1M: 0.
|
|
7866
|
-
outputPer1M: 2
|
|
7867
|
-
supportsTools:
|
|
7907
|
+
inputPer1M: 0.1,
|
|
7908
|
+
outputPer1M: 0.2,
|
|
7909
|
+
supportsTools: false,
|
|
7868
7910
|
supportsStructuredOutput: true
|
|
7869
7911
|
}
|
|
7870
7912
|
]
|
|
@@ -7893,7 +7935,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7893
7935
|
inputPer1M: 1,
|
|
7894
7936
|
outputPer1M: 4.05,
|
|
7895
7937
|
supportsTools: true,
|
|
7896
|
-
supportsStructuredOutput:
|
|
7938
|
+
supportsStructuredOutput: false
|
|
7897
7939
|
},
|
|
7898
7940
|
{
|
|
7899
7941
|
provider: "deepinfra",
|
|
@@ -7942,15 +7984,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
7942
7984
|
outputPer1M: 1.2,
|
|
7943
7985
|
supportsTools: true,
|
|
7944
7986
|
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
7987
|
}
|
|
7955
7988
|
]
|
|
7956
7989
|
},
|
|
@@ -8081,17 +8114,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8081
8114
|
}
|
|
8082
8115
|
]
|
|
8083
8116
|
},
|
|
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
8117
|
"zai-org/GLM-4.6V": {
|
|
8096
8118
|
wireId: "zai-org/GLM-4.6V",
|
|
8097
8119
|
providers: [
|
|
@@ -8197,7 +8219,7 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8197
8219
|
inputPer1M: 0.06,
|
|
8198
8220
|
outputPer1M: 0.4,
|
|
8199
8221
|
supportsTools: true,
|
|
8200
|
-
supportsStructuredOutput:
|
|
8222
|
+
supportsStructuredOutput: true
|
|
8201
8223
|
},
|
|
8202
8224
|
{
|
|
8203
8225
|
provider: "featherless-ai",
|
|
@@ -8211,12 +8233,6 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8211
8233
|
outputPer1M: 0.4,
|
|
8212
8234
|
supportsTools: true,
|
|
8213
8235
|
supportsStructuredOutput: false
|
|
8214
|
-
},
|
|
8215
|
-
{
|
|
8216
|
-
provider: "zai-org",
|
|
8217
|
-
status: "live",
|
|
8218
|
-
supportsTools: true,
|
|
8219
|
-
supportsStructuredOutput: false
|
|
8220
8236
|
}
|
|
8221
8237
|
]
|
|
8222
8238
|
},
|
|
@@ -8464,8 +8480,8 @@ var HUGGINGFACE_ROUTES = {
|
|
|
8464
8480
|
provider: "novita",
|
|
8465
8481
|
status: "live",
|
|
8466
8482
|
contextLength: 1048576,
|
|
8467
|
-
inputPer1M: 0.
|
|
8468
|
-
outputPer1M: 0.
|
|
8483
|
+
inputPer1M: 0.15,
|
|
8484
|
+
outputPer1M: 0.5,
|
|
8469
8485
|
supportsTools: true,
|
|
8470
8486
|
supportsStructuredOutput: false
|
|
8471
8487
|
},
|
|
@@ -8662,6 +8678,20 @@ function resolveLlmModelRoute(input) {
|
|
|
8662
8678
|
const { ref: modelRef, legacy } = ref;
|
|
8663
8679
|
const directPricing = resolvePricing(modelRef.product);
|
|
8664
8680
|
const canonicalProductId = resolveAlias(modelRef.product);
|
|
8681
|
+
const opencodeRoutes = modelRef.route === "opencode-go" ? OPENCODE_GO_ROUTES : modelRef.route === "opencode" ? OPENCODE_ZEN_ROUTES : void 0;
|
|
8682
|
+
if (opencodeRoutes) {
|
|
8683
|
+
const pricing2 = opencodeRoutes[`${modelRef.vendor}/${modelRef.product}`];
|
|
8684
|
+
if (!pricing2) return void 0;
|
|
8685
|
+
return buildLlmRoute(modelRef, canonicalProductId, pricing2, {
|
|
8686
|
+
flavor: modelRef.route,
|
|
8687
|
+
// models.dev's own `api` for the provider (see the committed snapshots).
|
|
8688
|
+
// One base serves all three of the endpoint's wire surfaces —
|
|
8689
|
+
// `/chat/completions`, `/messages`, `/responses` — which per model is
|
|
8690
|
+
// discriminated by the generated `*_ANTHROPIC_MODELS` list and the
|
|
8691
|
+
// source's `provider.npm`.
|
|
8692
|
+
baseUrl: modelRef.route === "opencode-go" ? "https://opencode.ai/zen/go/v1" : "https://opencode.ai/zen/v1"
|
|
8693
|
+
});
|
|
8694
|
+
}
|
|
8665
8695
|
if (modelRef.route === modelRef.vendor) {
|
|
8666
8696
|
if (!directPricing) return void 0;
|
|
8667
8697
|
return buildLlmRoute(modelRef, canonicalProductId, directPricing, {
|
|
@@ -8741,6 +8771,15 @@ function routerRouteKeys(router) {
|
|
|
8741
8771
|
return Object.keys(REQUESTY_ROUTES);
|
|
8742
8772
|
case "huggingface":
|
|
8743
8773
|
return Object.keys(HUGGINGFACE_ROUTES);
|
|
8774
|
+
// `<provider>/<bare-id>` keys (see the OpenCode branch in
|
|
8775
|
+
// `resolveLlmModelRoute`), so `listRouterLlmRoutes` re-appends a `@route`
|
|
8776
|
+
// that `formatModelRef` then drops again — route === vendor for these, so
|
|
8777
|
+
// the enumerated id is the bare `opencode-go/glm-5.3` form a caller
|
|
8778
|
+
// actually spawns, not a `…@opencode-go` annotation.
|
|
8779
|
+
case "opencode-go":
|
|
8780
|
+
return Object.keys(OPENCODE_GO_ROUTES);
|
|
8781
|
+
case "opencode":
|
|
8782
|
+
return Object.keys(OPENCODE_ZEN_ROUTES);
|
|
8744
8783
|
default:
|
|
8745
8784
|
return [];
|
|
8746
8785
|
}
|
|
@@ -8815,5 +8854,5 @@ function diagnoseModelRef(input) {
|
|
|
8815
8854
|
}
|
|
8816
8855
|
|
|
8817
8856
|
export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef };
|
|
8818
|
-
//# sourceMappingURL=chunk-
|
|
8819
|
-
//# sourceMappingURL=chunk-
|
|
8857
|
+
//# sourceMappingURL=chunk-MATRJ7K6.mjs.map
|
|
8858
|
+
//# sourceMappingURL=chunk-MATRJ7K6.mjs.map
|