@agentproto/model-catalog 0.9.2 → 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.
Files changed (47) hide show
  1. package/dist/access/index.d.ts +5 -5
  2. package/dist/access/index.mjs +4 -4
  3. package/dist/audio/index.d.ts +1 -1
  4. package/dist/{audio-DR0g_ZH_.d.ts → audio-Do2j3wDC.d.ts} +2 -0
  5. package/dist/{base-B8IIoaqg.d.ts → base-BaiI72Da.d.ts} +4 -0
  6. package/dist/{catalog-Cg0AJJZ7.d.ts → catalog-BAb74hY-.d.ts} +1 -1
  7. package/dist/{chunk-ZTTWZ7PL.mjs → chunk-5ZNG5RQB.mjs} +15 -3
  8. package/dist/chunk-5ZNG5RQB.mjs.map +1 -0
  9. package/dist/{chunk-AJLMLBEZ.mjs → chunk-67NNWX36.mjs} +3 -3
  10. package/dist/{chunk-AJLMLBEZ.mjs.map → chunk-67NNWX36.mjs.map} +1 -1
  11. package/dist/{chunk-XC355MAQ.mjs → chunk-C6HNSPGW.mjs} +4 -4
  12. package/dist/{chunk-XC355MAQ.mjs.map → chunk-C6HNSPGW.mjs.map} +1 -1
  13. package/dist/{chunk-W4VANZM3.mjs → chunk-L6TCCCP6.mjs} +4 -4
  14. package/dist/{chunk-W4VANZM3.mjs.map → chunk-L6TCCCP6.mjs.map} +1 -1
  15. package/dist/{chunk-QDQWHWDU.mjs → chunk-M3I2OMBX.mjs} +3 -3
  16. package/dist/{chunk-QDQWHWDU.mjs.map → chunk-M3I2OMBX.mjs.map} +1 -1
  17. package/dist/{chunk-AVCHKXUD.mjs → chunk-MATRJ7K6.mjs} +218 -127
  18. package/dist/chunk-MATRJ7K6.mjs.map +1 -0
  19. package/dist/{chunk-OH37WKVA.mjs → chunk-MOSKXFIN.mjs} +1399 -156
  20. package/dist/chunk-MOSKXFIN.mjs.map +1 -0
  21. package/dist/{chunk-4ROXWVQD.mjs → chunk-MRFY23PA.mjs} +5 -5
  22. package/dist/{chunk-4ROXWVQD.mjs.map → chunk-MRFY23PA.mjs.map} +1 -1
  23. package/dist/{chunk-3Y5TQDGE.mjs → chunk-TTIJME5T.mjs} +3 -3
  24. package/dist/{chunk-3Y5TQDGE.mjs.map → chunk-TTIJME5T.mjs.map} +1 -1
  25. package/dist/{chunk-QNJRWRWC.mjs → chunk-WG4F6IRS.mjs} +22 -2
  26. package/dist/chunk-WG4F6IRS.mjs.map +1 -0
  27. package/dist/cost/index.mjs +7 -7
  28. package/dist/curation/index.d.ts +4 -4
  29. package/dist/curation/index.mjs +7 -7
  30. package/dist/{evaluate-D3gXrAg-.d.ts → evaluate-B83jX17h.d.ts} +2 -2
  31. package/dist/{index-DC8jecem.d.ts → index-BWvtVzEG.d.ts} +3 -3
  32. package/dist/{index-BZfxAdXA.d.ts → index-vC37SFpk.d.ts} +18 -13
  33. package/dist/index.d.ts +7 -7
  34. package/dist/index.mjs +12 -12
  35. package/dist/llm/index.d.ts +44 -3
  36. package/dist/llm/index.mjs +2 -2
  37. package/dist/overlay/index.d.ts +3 -3
  38. package/dist/picker/index.d.ts +6 -6
  39. package/dist/route-identity/index.d.ts +5 -2
  40. package/dist/route-identity/index.mjs +3 -3
  41. package/dist/schema/index.d.ts +16 -2
  42. package/dist/schema/index.mjs +2 -2
  43. package/package.json +5 -5
  44. package/dist/chunk-AVCHKXUD.mjs.map +0 -1
  45. package/dist/chunk-OH37WKVA.mjs.map +0 -1
  46. package/dist/chunk-QNJRWRWC.mjs.map +0 -1
  47. package/dist/chunk-ZTTWZ7PL.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { CatalogProviderSchema } from './chunk-QNJRWRWC.mjs';
2
- import { resolvePricing, resolveAlias, OPENROUTER_ROUTES, DEFAULT_PRICING } from './chunk-OH37WKVA.mjs';
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: false
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: true
5610
+ supportsStructuredOutput: false
5567
5611
  },
5568
5612
  {
5569
5613
  provider: "novita",
@@ -5712,7 +5756,7 @@ var HUGGINGFACE_ROUTES = {
5712
5756
  inputPer1M: 0.12,
5713
5757
  outputPer1M: 0.24,
5714
5758
  supportsTools: true,
5715
- supportsStructuredOutput: false
5759
+ supportsStructuredOutput: true
5716
5760
  },
5717
5761
  {
5718
5762
  provider: "featherless-ai",
@@ -5752,7 +5796,7 @@ var HUGGINGFACE_ROUTES = {
5752
5796
  inputPer1M: 0.2,
5753
5797
  outputPer1M: 0.6,
5754
5798
  supportsTools: true,
5755
- supportsStructuredOutput: false
5799
+ supportsStructuredOutput: true
5756
5800
  }
5757
5801
  ]
5758
5802
  },
@@ -5775,7 +5819,7 @@ var HUGGINGFACE_ROUTES = {
5775
5819
  inputPer1M: 0.09,
5776
5820
  outputPer1M: 0.58,
5777
5821
  supportsTools: true,
5778
- supportsStructuredOutput: true
5822
+ supportsStructuredOutput: false
5779
5823
  },
5780
5824
  {
5781
5825
  provider: "nscale",
@@ -5847,7 +5891,7 @@ var HUGGINGFACE_ROUTES = {
5847
5891
  inputPer1M: 0.08,
5848
5892
  outputPer1M: 0.28,
5849
5893
  supportsTools: true,
5850
- supportsStructuredOutput: false
5894
+ supportsStructuredOutput: true
5851
5895
  },
5852
5896
  {
5853
5897
  provider: "featherless-ai",
@@ -6042,15 +6086,6 @@ var HUGGINGFACE_ROUTES = {
6042
6086
  "Qwen/Qwen3-VL-30B-A3B-Instruct": {
6043
6087
  wireId: "Qwen/Qwen3-VL-30B-A3B-Instruct",
6044
6088
  providers: [
6045
- {
6046
- provider: "deepinfra",
6047
- status: "live",
6048
- contextLength: 262144,
6049
- inputPer1M: 0.15,
6050
- outputPer1M: 0.6,
6051
- supportsTools: true,
6052
- supportsStructuredOutput: true
6053
- },
6054
6089
  {
6055
6090
  provider: "featherless-ai",
6056
6091
  status: "live"
@@ -6076,7 +6111,7 @@ var HUGGINGFACE_ROUTES = {
6076
6111
  inputPer1M: 0.29,
6077
6112
  outputPer1M: 2.4,
6078
6113
  supportsTools: true,
6079
- supportsStructuredOutput: false
6114
+ supportsStructuredOutput: true
6080
6115
  },
6081
6116
  {
6082
6117
  provider: "novita",
@@ -6161,7 +6196,7 @@ var HUGGINGFACE_ROUTES = {
6161
6196
  contextLength: 262144,
6162
6197
  inputPer1M: 0.6,
6163
6198
  outputPer1M: 3.6,
6164
- supportsTools: true,
6199
+ supportsTools: false,
6165
6200
  supportsStructuredOutput: false
6166
6201
  },
6167
6202
  {
@@ -6171,7 +6206,7 @@ var HUGGINGFACE_ROUTES = {
6171
6206
  inputPer1M: 0.71,
6172
6207
  outputPer1M: 4.25,
6173
6208
  supportsTools: true,
6174
- supportsStructuredOutput: false
6209
+ supportsStructuredOutput: true
6175
6210
  },
6176
6211
  {
6177
6212
  provider: "scaleway",
@@ -6318,8 +6353,8 @@ var HUGGINGFACE_ROUTES = {
6318
6353
  provider: "deepinfra",
6319
6354
  status: "live",
6320
6355
  contextLength: 262144,
6321
- inputPer1M: 0.4,
6322
- outputPer1M: 3,
6356
+ inputPer1M: 0.2,
6357
+ outputPer1M: 2.5,
6323
6358
  supportsTools: true,
6324
6359
  supportsStructuredOutput: true
6325
6360
  },
@@ -6327,6 +6362,15 @@ var HUGGINGFACE_ROUTES = {
6327
6362
  provider: "featherless-ai",
6328
6363
  status: "live"
6329
6364
  },
6365
+ {
6366
+ provider: "novita",
6367
+ status: "live",
6368
+ contextLength: 1e6,
6369
+ inputPer1M: 0.42,
6370
+ outputPer1M: 3,
6371
+ supportsTools: true,
6372
+ supportsStructuredOutput: true
6373
+ },
6330
6374
  {
6331
6375
  provider: "ovhcloud",
6332
6376
  status: "live",
@@ -6381,8 +6425,8 @@ var HUGGINGFACE_ROUTES = {
6381
6425
  provider: "deepinfra",
6382
6426
  status: "live",
6383
6427
  contextLength: 262144,
6384
- inputPer1M: 0.4,
6385
- outputPer1M: 2,
6428
+ inputPer1M: 0.14,
6429
+ outputPer1M: 0.28,
6386
6430
  supportsTools: true,
6387
6431
  supportsStructuredOutput: true
6388
6432
  },
@@ -6458,6 +6502,20 @@ var HUGGINGFACE_ROUTES = {
6458
6502
  }
6459
6503
  ]
6460
6504
  },
6505
+ "alpindale/WizardLM-2-8x22B": {
6506
+ wireId: "alpindale/WizardLM-2-8x22B",
6507
+ providers: [
6508
+ {
6509
+ provider: "novita",
6510
+ status: "live",
6511
+ contextLength: 65535,
6512
+ inputPer1M: 0.62,
6513
+ outputPer1M: 0.62,
6514
+ supportsTools: false,
6515
+ supportsStructuredOutput: false
6516
+ }
6517
+ ]
6518
+ },
6461
6519
  "baidu/ERNIE-4.5-VL-424B-A47B-Base-PT": {
6462
6520
  wireId: "baidu/ERNIE-4.5-VL-424B-A47B-Base-PT",
6463
6521
  providers: [
@@ -6481,7 +6539,7 @@ var HUGGINGFACE_ROUTES = {
6481
6539
  contextLength: 64e3,
6482
6540
  inputPer1M: 0.7,
6483
6541
  outputPer1M: 2.5,
6484
- supportsTools: true,
6542
+ supportsTools: false,
6485
6543
  supportsStructuredOutput: true
6486
6544
  }
6487
6545
  ]
@@ -6495,7 +6553,7 @@ var HUGGINGFACE_ROUTES = {
6495
6553
  contextLength: 163840,
6496
6554
  inputPer1M: 0.5,
6497
6555
  outputPer1M: 2.15,
6498
- supportsTools: true,
6556
+ supportsTools: false,
6499
6557
  supportsStructuredOutput: false
6500
6558
  },
6501
6559
  {
@@ -6508,8 +6566,8 @@ var HUGGINGFACE_ROUTES = {
6508
6566
  contextLength: 163840,
6509
6567
  inputPer1M: 0.7,
6510
6568
  outputPer1M: 2.5,
6511
- supportsTools: true,
6512
- supportsStructuredOutput: false
6569
+ supportsTools: false,
6570
+ supportsStructuredOutput: true
6513
6571
  }
6514
6572
  ]
6515
6573
  },
@@ -6677,7 +6735,7 @@ var HUGGINGFACE_ROUTES = {
6677
6735
  inputPer1M: 0.26,
6678
6736
  outputPer1M: 0.38,
6679
6737
  supportsTools: true,
6680
- supportsStructuredOutput: true
6738
+ supportsStructuredOutput: false
6681
6739
  },
6682
6740
  {
6683
6741
  provider: "featherless-ai",
@@ -6720,6 +6778,10 @@ var HUGGINGFACE_ROUTES = {
6720
6778
  supportsTools: true,
6721
6779
  supportsStructuredOutput: true
6722
6780
  },
6781
+ {
6782
+ provider: "featherless-ai",
6783
+ status: "live"
6784
+ },
6723
6785
  {
6724
6786
  provider: "novita",
6725
6787
  status: "live",
@@ -6747,7 +6809,7 @@ var HUGGINGFACE_ROUTES = {
6747
6809
  provider: "deepinfra",
6748
6810
  status: "live",
6749
6811
  contextLength: 1048576,
6750
- inputPer1M: 0.08,
6812
+ inputPer1M: 0.06,
6751
6813
  outputPer1M: 0.18,
6752
6814
  supportsTools: true,
6753
6815
  supportsStructuredOutput: true
@@ -6768,6 +6830,12 @@ var HUGGINGFACE_ROUTES = {
6768
6830
  supportsTools: true,
6769
6831
  supportsStructuredOutput: false
6770
6832
  },
6833
+ {
6834
+ provider: "scaleway",
6835
+ status: "live",
6836
+ supportsTools: true,
6837
+ supportsStructuredOutput: false
6838
+ },
6771
6839
  {
6772
6840
  provider: "together",
6773
6841
  status: "live",
@@ -6889,6 +6957,45 @@ var HUGGINGFACE_ROUTES = {
6889
6957
  }
6890
6958
  ]
6891
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
+ },
6892
6999
  "google/gemma-3-12b-it": {
6893
7000
  wireId: "google/gemma-3-12b-it",
6894
7001
  providers: [
@@ -6966,7 +7073,7 @@ var HUGGINGFACE_ROUTES = {
6966
7073
  inputPer1M: 0.13,
6967
7074
  outputPer1M: 0.4,
6968
7075
  supportsTools: true,
6969
- supportsStructuredOutput: false
7076
+ supportsStructuredOutput: true
6970
7077
  },
6971
7078
  {
6972
7079
  provider: "scaleway",
@@ -6981,15 +7088,6 @@ var HUGGINGFACE_ROUTES = {
6981
7088
  "google/gemma-4-31B-it": {
6982
7089
  wireId: "google/gemma-4-31B-it",
6983
7090
  providers: [
6984
- {
6985
- provider: "cerebras",
6986
- status: "live",
6987
- contextLength: 131072,
6988
- inputPer1M: 0.99,
6989
- outputPer1M: 1.49,
6990
- supportsTools: true,
6991
- supportsStructuredOutput: true
6992
- },
6993
7091
  {
6994
7092
  provider: "deepinfra",
6995
7093
  status: "live",
@@ -7011,29 +7109,6 @@ var HUGGINGFACE_ROUTES = {
7011
7109
  outputPer1M: 0.4,
7012
7110
  supportsTools: true,
7013
7111
  supportsStructuredOutput: true
7014
- },
7015
- {
7016
- provider: "together",
7017
- status: "live",
7018
- contextLength: 262144,
7019
- inputPer1M: 0.39,
7020
- outputPer1M: 0.97,
7021
- supportsTools: true,
7022
- supportsStructuredOutput: true
7023
- }
7024
- ]
7025
- },
7026
- "ibm-granite/granite-4.2-30b": {
7027
- wireId: "ibm-granite/granite-4.2-30b",
7028
- providers: [
7029
- {
7030
- provider: "deepinfra",
7031
- status: "live",
7032
- contextLength: 131072,
7033
- inputPer1M: 0.16,
7034
- outputPer1M: 0.65,
7035
- supportsTools: true,
7036
- supportsStructuredOutput: false
7037
7112
  }
7038
7113
  ]
7039
7114
  },
@@ -7099,6 +7174,38 @@ var HUGGINGFACE_ROUTES = {
7099
7174
  outputPer1M: 0.18,
7100
7175
  supportsTools: true,
7101
7176
  supportsStructuredOutput: true
7177
+ },
7178
+ {
7179
+ provider: "novita",
7180
+ status: "live",
7181
+ contextLength: 262144,
7182
+ inputPer1M: 0,
7183
+ outputPer1M: 0,
7184
+ supportsTools: true,
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
7200
+ },
7201
+ {
7202
+ provider: "novita",
7203
+ status: "live",
7204
+ contextLength: 262144,
7205
+ inputPer1M: 0,
7206
+ outputPer1M: 0,
7207
+ supportsTools: true,
7208
+ supportsStructuredOutput: false
7102
7209
  }
7103
7210
  ]
7104
7211
  },
@@ -7224,7 +7331,7 @@ var HUGGINGFACE_ROUTES = {
7224
7331
  inputPer1M: 0.09,
7225
7332
  outputPer1M: 0.29,
7226
7333
  supportsTools: true,
7227
- supportsStructuredOutput: false
7334
+ supportsStructuredOutput: true
7228
7335
  }
7229
7336
  ]
7230
7337
  },
@@ -7268,7 +7375,7 @@ var HUGGINGFACE_ROUTES = {
7268
7375
  inputPer1M: 0.35,
7269
7376
  outputPer1M: 1.5,
7270
7377
  supportsTools: true,
7271
- supportsStructuredOutput: true
7378
+ supportsStructuredOutput: false
7272
7379
  }
7273
7380
  ]
7274
7381
  },
@@ -7345,7 +7452,7 @@ var HUGGINGFACE_ROUTES = {
7345
7452
  inputPer1M: 0.6,
7346
7453
  outputPer1M: 3,
7347
7454
  supportsTools: true,
7348
- supportsStructuredOutput: true
7455
+ supportsStructuredOutput: false
7349
7456
  }
7350
7457
  ]
7351
7458
  },
@@ -7654,7 +7761,7 @@ var HUGGINGFACE_ROUTES = {
7654
7761
  inputPer1M: 0.04,
7655
7762
  outputPer1M: 0.15,
7656
7763
  supportsTools: false,
7657
- supportsStructuredOutput: true
7764
+ supportsStructuredOutput: false
7658
7765
  },
7659
7766
  {
7660
7767
  provider: "nscale",
@@ -7673,15 +7780,6 @@ var HUGGINGFACE_ROUTES = {
7673
7780
  outputPer1M: 0.18,
7674
7781
  supportsTools: true,
7675
7782
  supportsStructuredOutput: true
7676
- },
7677
- {
7678
- provider: "together",
7679
- status: "live",
7680
- contextLength: 131072,
7681
- inputPer1M: 0.05,
7682
- outputPer1M: 0.2,
7683
- supportsTools: true,
7684
- supportsStructuredOutput: true
7685
7783
  }
7686
7784
  ]
7687
7785
  },
@@ -7734,7 +7832,7 @@ var HUGGINGFACE_ROUTES = {
7734
7832
  inputPer1M: 0.4,
7735
7833
  outputPer1M: 0.4,
7736
7834
  supportsTools: true,
7737
- supportsStructuredOutput: false
7835
+ supportsStructuredOutput: true
7738
7836
  }
7739
7837
  ]
7740
7838
  },
@@ -7774,28 +7872,15 @@ var HUGGINGFACE_ROUTES = {
7774
7872
  }
7775
7873
  ]
7776
7874
  },
7777
- "swiss-ai/Apertus-70B-Instruct-2509": {
7778
- wireId: "swiss-ai/Apertus-70B-Instruct-2509",
7779
- providers: [
7780
- {
7781
- provider: "publicai",
7782
- status: "live",
7783
- inputPer1M: 0.82,
7784
- outputPer1M: 2.92,
7785
- supportsTools: true,
7786
- supportsStructuredOutput: true
7787
- }
7788
- ]
7789
- },
7790
7875
  "swiss-ai/Apertus-8B-Instruct-2509": {
7791
7876
  wireId: "swiss-ai/Apertus-8B-Instruct-2509",
7792
7877
  providers: [
7793
7878
  {
7794
7879
  provider: "publicai",
7795
7880
  status: "live",
7796
- inputPer1M: 0.82,
7797
- outputPer1M: 2.92,
7798
- supportsTools: true,
7881
+ inputPer1M: 0.1,
7882
+ outputPer1M: 0.2,
7883
+ supportsTools: false,
7799
7884
  supportsStructuredOutput: true
7800
7885
  }
7801
7886
  ]
@@ -7808,8 +7893,8 @@ var HUGGINGFACE_ROUTES = {
7808
7893
  status: "live",
7809
7894
  inputPer1M: 0.82,
7810
7895
  outputPer1M: 2.92,
7811
- supportsTools: true,
7812
- supportsStructuredOutput: false
7896
+ supportsTools: false,
7897
+ supportsStructuredOutput: true
7813
7898
  }
7814
7899
  ]
7815
7900
  },
@@ -7819,9 +7904,9 @@ var HUGGINGFACE_ROUTES = {
7819
7904
  {
7820
7905
  provider: "publicai",
7821
7906
  status: "live",
7822
- inputPer1M: 0.82,
7823
- outputPer1M: 2.92,
7824
- supportsTools: true,
7907
+ inputPer1M: 0.1,
7908
+ outputPer1M: 0.2,
7909
+ supportsTools: false,
7825
7910
  supportsStructuredOutput: true
7826
7911
  }
7827
7912
  ]
@@ -7850,7 +7935,7 @@ var HUGGINGFACE_ROUTES = {
7850
7935
  inputPer1M: 1,
7851
7936
  outputPer1M: 4.05,
7852
7937
  supportsTools: true,
7853
- supportsStructuredOutput: true
7938
+ supportsStructuredOutput: false
7854
7939
  },
7855
7940
  {
7856
7941
  provider: "deepinfra",
@@ -7899,15 +7984,6 @@ var HUGGINGFACE_ROUTES = {
7899
7984
  outputPer1M: 1.2,
7900
7985
  supportsTools: true,
7901
7986
  supportsStructuredOutput: true
7902
- },
7903
- {
7904
- provider: "together",
7905
- status: "live",
7906
- contextLength: 524288,
7907
- inputPer1M: 0.5,
7908
- outputPer1M: 1.2,
7909
- supportsTools: true,
7910
- supportsStructuredOutput: false
7911
7987
  }
7912
7988
  ]
7913
7989
  },
@@ -8038,17 +8114,6 @@ var HUGGINGFACE_ROUTES = {
8038
8114
  }
8039
8115
  ]
8040
8116
  },
8041
- "zai-org/GLM-4.6-FP8": {
8042
- wireId: "zai-org/GLM-4.6-FP8",
8043
- providers: [
8044
- {
8045
- provider: "zai-org",
8046
- status: "live",
8047
- supportsTools: true,
8048
- supportsStructuredOutput: false
8049
- }
8050
- ]
8051
- },
8052
8117
  "zai-org/GLM-4.6V": {
8053
8118
  wireId: "zai-org/GLM-4.6V",
8054
8119
  providers: [
@@ -8154,15 +8219,18 @@ var HUGGINGFACE_ROUTES = {
8154
8219
  inputPer1M: 0.06,
8155
8220
  outputPer1M: 0.4,
8156
8221
  supportsTools: true,
8157
- supportsStructuredOutput: false
8222
+ supportsStructuredOutput: true
8158
8223
  },
8159
8224
  {
8160
8225
  provider: "featherless-ai",
8161
8226
  status: "live"
8162
8227
  },
8163
8228
  {
8164
- provider: "zai-org",
8229
+ provider: "novita",
8165
8230
  status: "live",
8231
+ contextLength: 2e5,
8232
+ inputPer1M: 0.07,
8233
+ outputPer1M: 0.4,
8166
8234
  supportsTools: true,
8167
8235
  supportsStructuredOutput: false
8168
8236
  }
@@ -8277,7 +8345,7 @@ var HUGGINGFACE_ROUTES = {
8277
8345
  inputPer1M: 1.4,
8278
8346
  outputPer1M: 4.4,
8279
8347
  supportsTools: true,
8280
- supportsStructuredOutput: true
8348
+ supportsStructuredOutput: false
8281
8349
  },
8282
8350
  {
8283
8351
  provider: "scaleway",
@@ -8350,7 +8418,7 @@ var HUGGINGFACE_ROUTES = {
8350
8418
  inputPer1M: 1.4,
8351
8419
  outputPer1M: 4.4,
8352
8420
  supportsTools: true,
8353
- supportsStructuredOutput: false
8421
+ supportsStructuredOutput: true
8354
8422
  },
8355
8423
  {
8356
8424
  provider: "together",
@@ -8412,8 +8480,8 @@ var HUGGINGFACE_ROUTES = {
8412
8480
  provider: "novita",
8413
8481
  status: "live",
8414
8482
  contextLength: 1048576,
8415
- inputPer1M: 0.075,
8416
- outputPer1M: 0.25,
8483
+ inputPer1M: 0.15,
8484
+ outputPer1M: 0.5,
8417
8485
  supportsTools: true,
8418
8486
  supportsStructuredOutput: false
8419
8487
  },
@@ -8610,6 +8678,20 @@ function resolveLlmModelRoute(input) {
8610
8678
  const { ref: modelRef, legacy } = ref;
8611
8679
  const directPricing = resolvePricing(modelRef.product);
8612
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
+ }
8613
8695
  if (modelRef.route === modelRef.vendor) {
8614
8696
  if (!directPricing) return void 0;
8615
8697
  return buildLlmRoute(modelRef, canonicalProductId, directPricing, {
@@ -8689,6 +8771,15 @@ function routerRouteKeys(router) {
8689
8771
  return Object.keys(REQUESTY_ROUTES);
8690
8772
  case "huggingface":
8691
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);
8692
8783
  default:
8693
8784
  return [];
8694
8785
  }
@@ -8763,5 +8854,5 @@ function diagnoseModelRef(input) {
8763
8854
  }
8764
8855
 
8765
8856
  export { InvalidModelRefError, OPENROUTER_VARIANTS, clearCustomRoutes, diagnoseModelRef, formatModelRef, isModelRefString, listRouterLlmRoutes, parseModelRef, registerCustomRoute, resolveCustomRoute, resolveLlmModelRoute, stripAnthropicNativeVendor, stripFixedNativeVendor, stripRouteSuffix, tryParseModelRef };
8766
- //# sourceMappingURL=chunk-AVCHKXUD.mjs.map
8767
- //# sourceMappingURL=chunk-AVCHKXUD.mjs.map
8857
+ //# sourceMappingURL=chunk-MATRJ7K6.mjs.map
8858
+ //# sourceMappingURL=chunk-MATRJ7K6.mjs.map