@agentproto/model-catalog 0.11.4 → 0.12.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.
Files changed (43) hide show
  1. package/README.md +7 -0
  2. package/dist/access/index.d.ts +3 -3
  3. package/dist/access/index.mjs +4 -4
  4. package/dist/{catalog-BAKSkM-q.d.ts → catalog-bHxCjKZP.d.ts} +404 -231
  5. package/dist/{chunk-TTIJME5T.mjs → chunk-7U7XGVHP.mjs} +12 -2
  6. package/dist/chunk-7U7XGVHP.mjs.map +1 -0
  7. package/dist/{chunk-PD7TZ6PJ.mjs → chunk-ARZ2NGZS.mjs} +4 -4
  8. package/dist/{chunk-PD7TZ6PJ.mjs.map → chunk-ARZ2NGZS.mjs.map} +1 -1
  9. package/dist/{chunk-WDIFBFY5.mjs → chunk-BOCXDO4T.mjs} +240 -155
  10. package/dist/chunk-BOCXDO4T.mjs.map +1 -0
  11. package/dist/{chunk-3YADNIR3.mjs → chunk-DDP4LWNM.mjs} +4 -4
  12. package/dist/{chunk-3YADNIR3.mjs.map → chunk-DDP4LWNM.mjs.map} +1 -1
  13. package/dist/{chunk-3MQVOHXC.mjs → chunk-HKPGUJ6C.mjs} +3 -3
  14. package/dist/{chunk-3MQVOHXC.mjs.map → chunk-HKPGUJ6C.mjs.map} +1 -1
  15. package/dist/{chunk-BTPINTV6.mjs → chunk-HOTSTCXF.mjs} +3 -3
  16. package/dist/{chunk-BTPINTV6.mjs.map → chunk-HOTSTCXF.mjs.map} +1 -1
  17. package/dist/{chunk-N23C5AL6.mjs → chunk-K5FVQ66Z.mjs} +34 -61
  18. package/dist/chunk-K5FVQ66Z.mjs.map +1 -0
  19. package/dist/{chunk-JTWZ2BXT.mjs → chunk-YGKXLIZQ.mjs} +5 -5
  20. package/dist/{chunk-JTWZ2BXT.mjs.map → chunk-YGKXLIZQ.mjs.map} +1 -1
  21. package/dist/{chunk-DR2AOQDW.mjs → chunk-ZFELFXSM.mjs} +3 -3
  22. package/dist/{chunk-DR2AOQDW.mjs.map → chunk-ZFELFXSM.mjs.map} +1 -1
  23. package/dist/cost/index.mjs +6 -6
  24. package/dist/curation/index.d.ts +2 -2
  25. package/dist/curation/index.mjs +6 -6
  26. package/dist/{evaluate-BCFSdYJh.d.ts → evaluate-ChQi1sh7.d.ts} +1 -1
  27. package/dist/{index-BG_DyoXP.d.ts → index-D75ALRM7.d.ts} +1 -1
  28. package/dist/{index-BLuu7OZP.d.ts → index-DigHyBLg.d.ts} +2 -2
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.mjs +11 -11
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/llm/index.d.ts +1 -1
  33. package/dist/llm/index.mjs +2 -2
  34. package/dist/overlay/index.d.ts +1 -1
  35. package/dist/picker/index.d.ts +4 -4
  36. package/dist/route-identity/index.d.ts +1 -1
  37. package/dist/route-identity/index.mjs +2 -2
  38. package/dist/schema/index.d.ts +21 -0
  39. package/dist/schema/index.mjs +1 -1
  40. package/package.json +1 -1
  41. package/dist/chunk-N23C5AL6.mjs.map +0 -1
  42. package/dist/chunk-TTIJME5T.mjs.map +0 -1
  43. package/dist/chunk-WDIFBFY5.mjs.map +0 -1
@@ -152,6 +152,24 @@ var OPENROUTER_ROUTES = {
152
152
  vendor: "anthropic",
153
153
  provider: "openrouter"
154
154
  },
155
+ "anthropic/claude-haiku-5.5": {
156
+ inputPer1M: 0.1,
157
+ outputPer1M: 0.5,
158
+ cacheReadMultiplier: 0.1,
159
+ cacheWriteMultiplier: 1.25,
160
+ addedAt: "2026-10-07",
161
+ vendor: "anthropic",
162
+ provider: "openrouter"
163
+ },
164
+ "anthropic/claude-haiku-5.5:batch": {
165
+ inputPer1M: 0.05,
166
+ outputPer1M: 0.25,
167
+ cacheReadMultiplier: 0.1,
168
+ cacheWriteMultiplier: 1.25,
169
+ addedAt: "2026-10-07",
170
+ vendor: "anthropic",
171
+ provider: "openrouter"
172
+ },
155
173
  "anthropic/claude-opus-4.1": {
156
174
  inputPer1M: 15,
157
175
  outputPer1M: 75,
@@ -335,7 +353,7 @@ var OPENROUTER_ROUTES = {
335
353
  "anthropic/claude-sonnet-5.5": {
336
354
  inputPer1M: 2,
337
355
  outputPer1M: 10,
338
- cacheReadMultiplier: 0.1,
356
+ cacheReadMultiplier: 0.05,
339
357
  cacheWriteMultiplier: 1.25,
340
358
  addedAt: "2026-09-28",
341
359
  vendor: "anthropic",
@@ -344,7 +362,7 @@ var OPENROUTER_ROUTES = {
344
362
  "anthropic/claude-sonnet-5.5:batch": {
345
363
  inputPer1M: 1,
346
364
  outputPer1M: 5,
347
- cacheReadMultiplier: 0.1,
365
+ cacheReadMultiplier: 0.05,
348
366
  cacheWriteMultiplier: 1.25,
349
367
  addedAt: "2026-09-28",
350
368
  vendor: "anthropic",
@@ -513,9 +531,9 @@ var OPENROUTER_ROUTES = {
513
531
  provider: "openrouter"
514
532
  },
515
533
  "deepseek/deepseek-v3.2": {
516
- inputPer1M: 0.28,
534
+ inputPer1M: 0.259,
517
535
  outputPer1M: 0.42,
518
- cacheReadMultiplier: 0.1,
536
+ cacheReadMultiplier: 0.521236,
519
537
  addedAt: "2025-12-01",
520
538
  vendor: "deepseek",
521
539
  provider: "openrouter"
@@ -528,7 +546,7 @@ var OPENROUTER_ROUTES = {
528
546
  provider: "openrouter"
529
547
  },
530
548
  "deepseek/deepseek-v4-flash": {
531
- inputPer1M: 11e-4,
549
+ inputPer1M: 0.03,
532
550
  outputPer1M: 1.28,
533
551
  cacheReadMultiplier: 1,
534
552
  addedAt: "2026-04-24",
@@ -536,7 +554,7 @@ var OPENROUTER_ROUTES = {
536
554
  provider: "openrouter"
537
555
  },
538
556
  "deepseek/deepseek-v4-flash-0731": {
539
- inputPer1M: 0.0103,
557
+ inputPer1M: 46e-4,
540
558
  outputPer1M: 1.28,
541
559
  cacheReadMultiplier: 1,
542
560
  addedAt: "2026-07-31",
@@ -552,8 +570,8 @@ var OPENROUTER_ROUTES = {
552
570
  provider: "openrouter"
553
571
  },
554
572
  "deepseek/deepseek-v4-pro": {
555
- inputPer1M: 0.2088,
556
- outputPer1M: 0.4176,
573
+ inputPer1M: 0.95526,
574
+ outputPer1M: 1.91052,
557
575
  cacheReadMultiplier: 0.083333,
558
576
  addedAt: "2026-04-24",
559
577
  vendor: "deepseek",
@@ -568,9 +586,9 @@ var OPENROUTER_ROUTES = {
568
586
  provider: "openrouter"
569
587
  },
570
588
  "deepseek/deepseek-v4.1-flash": {
571
- inputPer1M: 0.0495,
572
- outputPer1M: 1.32,
573
- cacheReadMultiplier: 0.333333,
589
+ inputPer1M: 0.3,
590
+ outputPer1M: 1.2,
591
+ cacheReadMultiplier: 0.02,
574
592
  addedAt: "2026-09-10",
575
593
  vendor: "deepseek",
576
594
  provider: "openrouter"
@@ -854,6 +872,13 @@ var OPENROUTER_ROUTES = {
854
872
  vendor: "google",
855
873
  provider: "openrouter"
856
874
  },
875
+ "google/gemini-nano-banana-2.1": {
876
+ inputPer1M: 1.5,
877
+ outputPer1M: 7.5,
878
+ addedAt: "2026-10-06",
879
+ vendor: "google",
880
+ provider: "openrouter"
881
+ },
857
882
  "google/gemma-2-27b-it": {
858
883
  inputPer1M: 0.65,
859
884
  outputPer1M: 0.65,
@@ -977,14 +1002,6 @@ var OPENROUTER_ROUTES = {
977
1002
  vendor: "inference-net",
978
1003
  provider: "openrouter"
979
1004
  },
980
- "kwaipilot/kat-coder-pro-v2.5": {
981
- inputPer1M: 0.74,
982
- outputPer1M: 2.96,
983
- cacheReadMultiplier: 0.202703,
984
- addedAt: "2026-07-10",
985
- vendor: "kwaipilot",
986
- provider: "openrouter"
987
- },
988
1005
  "mancer/weaver": {
989
1006
  inputPer1M: 0.4,
990
1007
  outputPer1M: 0.75,
@@ -1030,9 +1047,8 @@ var OPENROUTER_ROUTES = {
1030
1047
  provider: "openrouter"
1031
1048
  },
1032
1049
  "meta-llama/llama-3.3-70b-instruct": {
1033
- inputPer1M: 0.22,
1034
- outputPer1M: 0.5,
1035
- cacheReadMultiplier: 0.5,
1050
+ inputPer1M: 0.1,
1051
+ outputPer1M: 0.32,
1036
1052
  addedAt: "2024-12-06",
1037
1053
  vendor: "meta-llama",
1038
1054
  provider: "openrouter"
@@ -1040,6 +1056,7 @@ var OPENROUTER_ROUTES = {
1040
1056
  "meta-llama/llama-4-maverick": {
1041
1057
  inputPer1M: 0.1875,
1042
1058
  outputPer1M: 0.6525,
1059
+ cacheReadMultiplier: 0.266667,
1043
1060
  addedAt: "2025-04-05",
1044
1061
  vendor: "meta-llama",
1045
1062
  provider: "openrouter"
@@ -1059,9 +1076,9 @@ var OPENROUTER_ROUTES = {
1059
1076
  provider: "openrouter"
1060
1077
  },
1061
1078
  "meta/muse-glimmer-30b": {
1062
- inputPer1M: 0.35,
1063
- outputPer1M: 1.5,
1064
- cacheReadMultiplier: 0.114286,
1079
+ inputPer1M: 0.3,
1080
+ outputPer1M: 1.2,
1081
+ cacheReadMultiplier: 0.133333,
1065
1082
  addedAt: "2026-08-09",
1066
1083
  vendor: "meta",
1067
1084
  provider: "openrouter"
@@ -1269,6 +1286,14 @@ var OPENROUTER_ROUTES = {
1269
1286
  vendor: "mistralai",
1270
1287
  provider: "openrouter"
1271
1288
  },
1289
+ "mistralai/mistral-large-4-0": {
1290
+ inputPer1M: 0.68,
1291
+ outputPer1M: 2.09,
1292
+ cacheReadMultiplier: 0.102941,
1293
+ addedAt: "2026-10-06",
1294
+ vendor: "mistralai",
1295
+ provider: "openrouter"
1296
+ },
1272
1297
  "mistralai/mistral-medium-3": {
1273
1298
  inputPer1M: 0.4,
1274
1299
  outputPer1M: 2,
@@ -1405,9 +1430,9 @@ var OPENROUTER_ROUTES = {
1405
1430
  provider: "openrouter"
1406
1431
  },
1407
1432
  "moonshotai/kimi-k2.6": {
1408
- inputPer1M: 0.95,
1409
- outputPer1M: 4,
1410
- cacheReadMultiplier: 0.168421,
1433
+ inputPer1M: 0.465,
1434
+ outputPer1M: 2.45,
1435
+ cacheReadMultiplier: 0.209677,
1411
1436
  addedAt: "2026-04-20",
1412
1437
  vendor: "moonshotai",
1413
1438
  provider: "openrouter"
@@ -1421,9 +1446,9 @@ var OPENROUTER_ROUTES = {
1421
1446
  provider: "openrouter"
1422
1447
  },
1423
1448
  "moonshotai/kimi-k3": {
1424
- inputPer1M: 0.83,
1425
- outputPer1M: 14,
1426
- cacheReadMultiplier: 0.325301,
1449
+ inputPer1M: 0.62,
1450
+ outputPer1M: 12.3,
1451
+ cacheReadMultiplier: 0.693548,
1427
1452
  addedAt: "2026-07-16",
1428
1453
  vendor: "moonshotai",
1429
1454
  provider: "openrouter"
@@ -1488,16 +1513,15 @@ var OPENROUTER_ROUTES = {
1488
1513
  provider: "openrouter"
1489
1514
  },
1490
1515
  "nvidia/nemotron-3-nano-30b-a3b": {
1491
- inputPer1M: 0.05,
1492
- outputPer1M: 0.2,
1493
- cacheReadMultiplier: 0.6,
1516
+ inputPer1M: 0.06,
1517
+ outputPer1M: 0.24,
1494
1518
  addedAt: "2025-12-14",
1495
1519
  vendor: "nvidia",
1496
1520
  provider: "openrouter"
1497
1521
  },
1498
1522
  "nvidia/nemotron-3-super-120b-a12b": {
1499
- inputPer1M: 0.08,
1500
- outputPer1M: 0.45,
1523
+ inputPer1M: 0.085,
1524
+ outputPer1M: 0.4,
1501
1525
  addedAt: "2026-03-11",
1502
1526
  vendor: "nvidia",
1503
1527
  provider: "openrouter"
@@ -1518,8 +1542,8 @@ var OPENROUTER_ROUTES = {
1518
1542
  provider: "openrouter"
1519
1543
  },
1520
1544
  "nvidia/nemotron-3.5-lightning": {
1521
- inputPer1M: 0.06,
1522
- outputPer1M: 0.16,
1545
+ inputPer1M: 0.049,
1546
+ outputPer1M: 0.14,
1523
1547
  cacheReadMultiplier: 0.5,
1524
1548
  addedAt: "2026-08-11",
1525
1549
  vendor: "nvidia",
@@ -2535,8 +2559,8 @@ var OPENROUTER_ROUTES = {
2535
2559
  provider: "openrouter"
2536
2560
  },
2537
2561
  "qwen/qwen3-30b-a3b-instruct-2507": {
2538
- inputPer1M: 0.1,
2539
- outputPer1M: 0.3,
2562
+ inputPer1M: 0.04815,
2563
+ outputPer1M: 0.19305,
2540
2564
  addedAt: "2025-07-29",
2541
2565
  vendor: "qwen",
2542
2566
  provider: "openrouter"
@@ -2620,9 +2644,8 @@ var OPENROUTER_ROUTES = {
2620
2644
  provider: "openrouter"
2621
2645
  },
2622
2646
  "qwen/qwen3-next-80b-a3b-instruct": {
2623
- inputPer1M: 0.1,
2624
- outputPer1M: 1.1,
2625
- cacheReadMultiplier: 0.7,
2647
+ inputPer1M: 0.15,
2648
+ outputPer1M: 1.5,
2626
2649
  addedAt: "2025-09-11",
2627
2650
  vendor: "qwen",
2628
2651
  provider: "openrouter"
@@ -2692,16 +2715,16 @@ var OPENROUTER_ROUTES = {
2692
2715
  provider: "openrouter"
2693
2716
  },
2694
2717
  "qwen/qwen3.5-27b": {
2695
- inputPer1M: 0.195,
2696
- outputPer1M: 1.56,
2718
+ inputPer1M: 0.26,
2719
+ outputPer1M: 2.6,
2697
2720
  addedAt: "2026-02-25",
2698
2721
  vendor: "qwen",
2699
2722
  provider: "openrouter"
2700
2723
  },
2701
2724
  "qwen/qwen3.5-35b-a3b": {
2702
- inputPer1M: 0.08,
2703
- outputPer1M: 0.75,
2704
- cacheReadMultiplier: 0.5,
2725
+ inputPer1M: 0.15,
2726
+ outputPer1M: 1,
2727
+ cacheReadMultiplier: 0.333333,
2705
2728
  addedAt: "2026-02-25",
2706
2729
  vendor: "qwen",
2707
2730
  provider: "openrouter"
@@ -2744,9 +2767,9 @@ var OPENROUTER_ROUTES = {
2744
2767
  provider: "openrouter"
2745
2768
  },
2746
2769
  "qwen/qwen3.6-27b": {
2747
- inputPer1M: 0.32,
2748
- outputPer1M: 3.25,
2749
- cacheReadMultiplier: 0.09375,
2770
+ inputPer1M: 0.3,
2771
+ outputPer1M: 2,
2772
+ cacheReadMultiplier: 0.1,
2750
2773
  addedAt: "2026-04-27",
2751
2774
  vendor: "qwen",
2752
2775
  provider: "openrouter"
@@ -3033,9 +3056,9 @@ var OPENROUTER_ROUTES = {
3033
3056
  provider: "openrouter"
3034
3057
  },
3035
3058
  "thinkingmachines/inkling": {
3036
- inputPer1M: 0.95,
3059
+ inputPer1M: 1,
3037
3060
  outputPer1M: 4.05,
3038
- cacheReadMultiplier: 0.168421,
3061
+ cacheReadMultiplier: 0.17,
3039
3062
  addedAt: "2026-07-17",
3040
3063
  vendor: "thinkingmachines",
3041
3064
  provider: "openrouter"
@@ -3248,7 +3271,7 @@ var OPENROUTER_ROUTES = {
3248
3271
  "z-ai/glm-4.6v": {
3249
3272
  inputPer1M: 0.3,
3250
3273
  outputPer1M: 0.9,
3251
- cacheReadMultiplier: 0.166667,
3274
+ cacheReadMultiplier: 0.183333,
3252
3275
  addedAt: "2025-12-08",
3253
3276
  vendor: "z-ai",
3254
3277
  provider: "openrouter"
@@ -3285,25 +3308,25 @@ var OPENROUTER_ROUTES = {
3285
3308
  provider: "openrouter"
3286
3309
  },
3287
3310
  "z-ai/glm-5.1": {
3288
- inputPer1M: 1.4,
3289
- outputPer1M: 4.4,
3311
+ inputPer1M: 0.966,
3312
+ outputPer1M: 3.036,
3290
3313
  cacheReadMultiplier: 0.185714,
3291
3314
  addedAt: "2026-04-07",
3292
3315
  vendor: "z-ai",
3293
3316
  provider: "openrouter"
3294
3317
  },
3295
3318
  "z-ai/glm-5.2": {
3296
- inputPer1M: 0.152,
3297
- outputPer1M: 12,
3298
- cacheReadMultiplier: 0.986842,
3319
+ inputPer1M: 0.03,
3320
+ outputPer1M: 10,
3321
+ cacheReadMultiplier: 1,
3299
3322
  addedAt: "2026-06-16",
3300
3323
  vendor: "z-ai",
3301
3324
  provider: "openrouter"
3302
3325
  },
3303
3326
  "z-ai/glm-5.3": {
3304
- inputPer1M: 0.07,
3305
- outputPer1M: 7,
3306
- cacheReadMultiplier: 0.928571,
3327
+ inputPer1M: 0.049,
3328
+ outputPer1M: 3.39,
3329
+ cacheReadMultiplier: 0.979592,
3307
3330
  addedAt: "2026-08-18",
3308
3331
  vendor: "z-ai",
3309
3332
  provider: "openrouter"
@@ -3366,8 +3389,8 @@ var OPENROUTER_ROUTES = {
3366
3389
  provider: "openrouter"
3367
3390
  },
3368
3391
  "~anthropic/claude-haiku-latest": {
3369
- inputPer1M: 1,
3370
- outputPer1M: 5,
3392
+ inputPer1M: 0.1,
3393
+ outputPer1M: 0.5,
3371
3394
  cacheReadMultiplier: 0.1,
3372
3395
  cacheWriteMultiplier: 1.25,
3373
3396
  addedAt: "2026-04-27",
@@ -3386,30 +3409,30 @@ var OPENROUTER_ROUTES = {
3386
3409
  "~anthropic/claude-sonnet-latest": {
3387
3410
  inputPer1M: 2,
3388
3411
  outputPer1M: 10,
3389
- cacheReadMultiplier: 0.1,
3412
+ cacheReadMultiplier: 0.05,
3390
3413
  cacheWriteMultiplier: 1.25,
3391
3414
  addedAt: "2026-04-27",
3392
3415
  vendor: "~anthropic",
3393
3416
  provider: "openrouter"
3394
3417
  },
3395
3418
  "~deepseek/deepseek-flash-latest": {
3396
- inputPer1M: 0.045,
3397
- outputPer1M: 1.2,
3398
- cacheReadMultiplier: 0.333333,
3419
+ inputPer1M: 0.0356,
3420
+ outputPer1M: 0.6,
3421
+ cacheReadMultiplier: 0.140449,
3399
3422
  addedAt: "2026-09-14",
3400
3423
  vendor: "~deepseek",
3401
3424
  provider: "openrouter"
3402
3425
  },
3403
3426
  "~deepseek/deepseek-pro-latest": {
3404
- inputPer1M: 0.2694,
3405
- outputPer1M: 4.2,
3406
- cacheReadMultiplier: 1.002227,
3427
+ inputPer1M: 0.12,
3428
+ outputPer1M: 2.93,
3429
+ cacheReadMultiplier: 0.25,
3407
3430
  addedAt: "2026-09-14",
3408
3431
  vendor: "~deepseek",
3409
3432
  provider: "openrouter"
3410
3433
  },
3411
3434
  "~deepseek/deepseek-v4-flash-latest": {
3412
- inputPer1M: 0.0103,
3435
+ inputPer1M: 46e-4,
3413
3436
  outputPer1M: 1.28,
3414
3437
  cacheReadMultiplier: 1,
3415
3438
  addedAt: "2026-08-01",
@@ -3435,9 +3458,9 @@ var OPENROUTER_ROUTES = {
3435
3458
  provider: "openrouter"
3436
3459
  },
3437
3460
  "~moonshotai/kimi-latest": {
3438
- inputPer1M: 0.82,
3461
+ inputPer1M: 0.56,
3439
3462
  outputPer1M: 13,
3440
- cacheReadMultiplier: 0.54878,
3463
+ cacheReadMultiplier: 0.803571,
3441
3464
  addedAt: "2026-04-27",
3442
3465
  vendor: "~moonshotai",
3443
3466
  provider: "openrouter"
@@ -3495,17 +3518,17 @@ var OPENROUTER_ROUTES = {
3495
3518
  provider: "openrouter"
3496
3519
  },
3497
3520
  "~z-ai/glm-flash-latest": {
3498
- inputPer1M: 0.0214,
3499
- outputPer1M: 0.5,
3500
- cacheReadMultiplier: 1,
3521
+ inputPer1M: 0.032,
3522
+ outputPer1M: 1.71187,
3523
+ cacheReadMultiplier: 0.625,
3501
3524
  addedAt: "2026-08-27",
3502
3525
  vendor: "~z-ai",
3503
3526
  provider: "openrouter"
3504
3527
  },
3505
3528
  "~z-ai/glm-latest": {
3506
- inputPer1M: 0.03,
3529
+ inputPer1M: 0.036,
3507
3530
  outputPer1M: 12,
3508
- cacheReadMultiplier: 1,
3531
+ cacheReadMultiplier: 0.930556,
3509
3532
  addedAt: "2026-08-19",
3510
3533
  vendor: "~z-ai",
3511
3534
  provider: "openrouter"
@@ -3521,6 +3544,7 @@ var CONTEXT_WINDOWS = {
3521
3544
  "claude-fable-5-1": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Fable 5.1", provider: "anthropic" },
3522
3545
  "claude-haiku-4-5": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Haiku 4.5", provider: "anthropic" },
3523
3546
  "claude-haiku-4-5-20251001": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Haiku 4.5", provider: "anthropic" },
3547
+ "claude-haiku-5-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Haiku 5.5", provider: "anthropic" },
3524
3548
  "claude-opus-4-5": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Opus 4.5", provider: "anthropic" },
3525
3549
  "claude-opus-4-5-20251101": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Opus 4.5", provider: "anthropic" },
3526
3550
  "claude-opus-4-6": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 4.6", provider: "anthropic" },
@@ -3528,8 +3552,8 @@ var CONTEXT_WINDOWS = {
3528
3552
  "claude-opus-4-8": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 4.8", provider: "anthropic" },
3529
3553
  "claude-opus-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 5", provider: "anthropic" },
3530
3554
  "claude-opus-5-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 5.5", provider: "anthropic" },
3531
- "claude-sonnet-4-5": { contextWindow: 1e6, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3532
- "claude-sonnet-4-5-20250929": { contextWindow: 1e6, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3555
+ "claude-sonnet-4-5": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3556
+ "claude-sonnet-4-5-20250929": { contextWindow: 2e5, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3533
3557
  "claude-sonnet-4-6": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Sonnet 4.6", provider: "anthropic" },
3534
3558
  "claude-sonnet-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Sonnet 5", provider: "anthropic" },
3535
3559
  "claude-sonnet-5-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Sonnet 5.5", provider: "anthropic" },
@@ -3639,39 +3663,41 @@ var MISTRAL_GENERATED_PRICING = {
3639
3663
 
3640
3664
  // src/llm/moonshot-pricing.generated.ts
3641
3665
  var MOONSHOT_GENERATED_PRICING = {
3642
- "kimi-k2.6": { inputPer1M: 0.95, outputPer1M: 4, cacheReadMultiplier: 0.1684, vendor: "moonshot", provider: "moonshot" },
3643
- "kimi-k2.7-code": { inputPer1M: 0.6712, outputPer1M: 3.35, cacheReadMultiplier: 0.2682, vendor: "moonshot", provider: "moonshot" },
3644
- "kimi-k3": { inputPer1M: 0.83, outputPer1M: 14, cacheReadMultiplier: 0.3253, vendor: "moonshot", provider: "moonshot" }
3666
+ "kimi-k2.6": { inputPer1M: 0.95, outputPer1M: 4, cacheReadMultiplier: 0.168421, priceSource: "moonshot", vendor: "moonshot", provider: "moonshot" },
3667
+ "kimi-k2.7-code": { inputPer1M: 0.95, outputPer1M: 4, cacheReadMultiplier: 0.2, priceSource: "moonshot", vendor: "moonshot", provider: "moonshot" },
3668
+ "kimi-k2.7-code-highspeed": { inputPer1M: 1.9, outputPer1M: 8, cacheReadMultiplier: 0.2, priceSource: "moonshot", vendor: "moonshot", provider: "moonshot" },
3669
+ "kimi-k3": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1, priceSource: "moonshot", vendor: "moonshot", provider: "moonshot" }
3645
3670
  };
3646
3671
 
3647
3672
  // src/llm/anthropic-pricing.generated.ts
3648
3673
  var ANTHROPIC_GENERATED_PRICING = {
3649
- "claude-fable-5": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3650
- "claude-fable-5-1": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.025, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3651
- "claude-haiku-4-5": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3652
- "claude-haiku-4-5-20251001": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3653
- "claude-opus-4-5": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3654
- "claude-opus-4-5-20251101": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3655
- "claude-opus-4-6": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3656
- "claude-opus-4-7": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3657
- "claude-opus-4-8": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3658
- "claude-opus-5": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3659
- "claude-opus-5-5": { inputPer1M: 4, outputPer1M: 20, cacheReadMultiplier: 0.05, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3660
- "claude-sonnet-4-5": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3661
- "claude-sonnet-4-5-20250929": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3662
- "claude-sonnet-4-6": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3663
- "claude-sonnet-5": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" },
3664
- "claude-sonnet-5-5": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "anthropic", provider: "anthropic" }
3674
+ "claude-fable-5": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3675
+ "claude-fable-5-1": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.025, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3676
+ "claude-haiku-4-5": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3677
+ "claude-haiku-4-5-20251001": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3678
+ "claude-haiku-5-5": { inputPer1M: 0.1, outputPer1M: 0.5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, tiers: [{ aboveInputTokens: 1e5, inputPer1M: 0.5, outputPer1M: 2.5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25 }], priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3679
+ "claude-opus-4-5": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3680
+ "claude-opus-4-5-20251101": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3681
+ "claude-opus-4-6": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3682
+ "claude-opus-4-7": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3683
+ "claude-opus-4-8": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3684
+ "claude-opus-5": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3685
+ "claude-opus-5-5": { inputPer1M: 4, outputPer1M: 20, cacheReadMultiplier: 0.05, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3686
+ "claude-sonnet-4-5": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3687
+ "claude-sonnet-4-5-20250929": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3688
+ "claude-sonnet-4-6": { inputPer1M: 3, outputPer1M: 15, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3689
+ "claude-sonnet-5": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" },
3690
+ "claude-sonnet-5-5": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.05, cacheWriteMultiplier: 1.25, priceSource: "anthropic", vendor: "anthropic", provider: "anthropic" }
3665
3691
  };
3666
3692
 
3667
3693
  // src/llm/google-pricing.generated.ts
3668
3694
  var GOOGLE_GENERATED_PRICING = {
3669
3695
  "gemini-2.5-flash": { inputPer1M: 0.3, outputPer1M: 2.5, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3670
3696
  "gemini-2.5-flash-lite": { inputPer1M: 0.1, outputPer1M: 0.4, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3671
- "gemini-2.5-pro": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3697
+ "gemini-2.5-pro": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 15, cacheReadMultiplier: 0.1 }], vendor: "google", provider: "google" },
3672
3698
  "gemini-3-flash-preview": { inputPer1M: 0.5, outputPer1M: 3, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3673
3699
  "gemini-3.1-flash-lite": { inputPer1M: 0.25, outputPer1M: 1.5, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3674
- "gemini-3.1-pro-preview": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" },
3700
+ "gemini-3.1-pro-preview": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 18, cacheReadMultiplier: 0.1 }], vendor: "google", provider: "google" },
3675
3701
  "gemini-3.5-flash": { inputPer1M: 1.5, outputPer1M: 9, cacheReadMultiplier: 0.1, vendor: "google", provider: "google" }
3676
3702
  };
3677
3703
 
@@ -3783,60 +3809,81 @@ var OPENAI_GENERATED_UNPRICED_IDS = [];
3783
3809
 
3784
3810
  // src/llm/minimax-pricing.generated.ts
3785
3811
  var MINIMAX_GENERATED_PRICING = {
3786
- "M2-her": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, vendor: "minimax", provider: "minimax" },
3787
- "MiniMax-M2": { inputPer1M: 0.3, outputPer1M: 1.2, vendor: "minimax", provider: "minimax" },
3788
- "MiniMax-M2.1": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, vendor: "minimax", provider: "minimax" },
3789
- "MiniMax-M2.5": { inputPer1M: 0.27, outputPer1M: 1.08, cacheReadMultiplier: 0.1, vendor: "minimax", provider: "minimax" },
3790
- "MiniMax-M2.7": { inputPer1M: 0.21, outputPer1M: 0.84, cacheReadMultiplier: 0.2, vendor: "minimax", provider: "minimax" }
3812
+ "M2-her": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, priceSource: "openrouter", vendor: "minimax", provider: "minimax" },
3813
+ "MiniMax-M2": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3814
+ "MiniMax-M2.1": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3815
+ "MiniMax-M2.1-highspeed": { inputPer1M: 0.6, outputPer1M: 2.4, cacheReadMultiplier: 0.05, cacheWriteMultiplier: 0.625, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3816
+ "MiniMax-M2.5": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3817
+ "MiniMax-M2.5-highspeed": { inputPer1M: 0.6, outputPer1M: 2.4, cacheReadMultiplier: 0.05, cacheWriteMultiplier: 0.625, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3818
+ "MiniMax-M2.7": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.2, cacheWriteMultiplier: 1.25, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3819
+ "MiniMax-M2.7-highspeed": { inputPer1M: 0.6, outputPer1M: 2.4, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 0.625, priceSource: "minimax", vendor: "minimax", provider: "minimax" },
3820
+ "MiniMax-M3": { inputPer1M: 0.3, outputPer1M: 1.2, cacheReadMultiplier: 0.2, tiers: [{ aboveInputTokens: 512e3, inputPer1M: 0.6, outputPer1M: 2.4, cacheReadMultiplier: 0.2 }], priceSource: "minimax", vendor: "minimax", provider: "minimax" }
3791
3821
  };
3792
3822
 
3793
3823
  // src/llm/xai-pricing.generated.ts
3794
3824
  var XAI_GENERATED_PRICING = {
3795
- "grok-4.20": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3796
- "grok-4.20-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3797
- "grok-4.20-0309-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3798
- "grok-4.20-0309-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3799
- "grok-4.20-beta": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3800
- "grok-4.20-beta-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3801
- "grok-4.20-beta-0309-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3802
- "grok-4.20-beta-0309-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3803
- "grok-4.20-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3804
- "grok-4.20-beta-latest-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3805
- "grok-4.20-beta-latest-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3806
- "grok-4.20-beta-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3807
- "grok-4.20-beta-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3808
- "grok-4.20-experimental-beta-0304": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3809
- "grok-4.20-experimental-beta-0304-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3810
- "grok-4.20-experimental-beta-0304-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3811
- "grok-4.20-experimental-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3812
- "grok-4.20-experimental-beta-non-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3813
- "grok-4.20-experimental-beta-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3814
- "grok-4.20-multi-agent": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3815
- "grok-4.20-multi-agent-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3816
- "grok-4.20-multi-agent-beta-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3817
- "grok-4.20-multi-agent-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3818
- "grok-4.20-multi-agent-experimental-beta-0304": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3819
- "grok-4.20-multi-agent-experimental-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3820
- "grok-4.20-multi-agent-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3821
- "grok-4.20-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3822
- "grok-4.20-non-reasoning-gv2": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3823
- "grok-4.20-non-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3824
- "grok-4.20-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3825
- "grok-4.20-reasoning-gv2": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3826
- "grok-4.20-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3827
- "grok-4.3": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3828
- "grok-4.3-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2.5, outputPer1M: 5, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3829
- "grok-4.5": { inputPer1M: 2, outputPer1M: 6, cachedInputPer1M: 0.3, longContext: { inputPer1M: 4, outputPer1M: 12, cachedInputPer1M: 0.6, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3830
- "grok-4.5-latest": { inputPer1M: 2, outputPer1M: 6, cachedInputPer1M: 0.3, longContext: { inputPer1M: 4, outputPer1M: 12, cachedInputPer1M: 0.6, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3831
- "grok-4.6": { inputPer1M: 2, outputPer1M: 6, cachedInputPer1M: 0.5, longContext: { inputPer1M: 4, outputPer1M: 12, cachedInputPer1M: 1, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3832
- "grok-build-0.1": { inputPer1M: 1, outputPer1M: 2, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2, outputPer1M: 4, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3833
- "grok-build-latest": { inputPer1M: 2, outputPer1M: 6, cachedInputPer1M: 0.3, longContext: { inputPer1M: 4, outputPer1M: 12, cachedInputPer1M: 0.6, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3834
- "grok-code-fast": { inputPer1M: 1, outputPer1M: 2, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2, outputPer1M: 4, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3835
- "grok-code-fast-1": { inputPer1M: 1, outputPer1M: 2, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2, outputPer1M: 4, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" },
3836
- "grok-code-fast-1-0825": { inputPer1M: 1, outputPer1M: 2, cachedInputPer1M: 0.2, longContext: { inputPer1M: 2, outputPer1M: 4, cachedInputPer1M: 0.4, thresholdTokens: 2e5 }, vendor: "xai", provider: "xai" }
3825
+ "grok-4.20": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3826
+ "grok-4.20-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3827
+ "grok-4.20-0309-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3828
+ "grok-4.20-0309-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3829
+ "grok-4.20-beta": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3830
+ "grok-4.20-beta-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3831
+ "grok-4.20-beta-0309-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3832
+ "grok-4.20-beta-0309-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3833
+ "grok-4.20-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3834
+ "grok-4.20-beta-latest-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3835
+ "grok-4.20-beta-latest-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3836
+ "grok-4.20-beta-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3837
+ "grok-4.20-beta-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3838
+ "grok-4.20-experimental-beta-0304": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3839
+ "grok-4.20-experimental-beta-0304-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3840
+ "grok-4.20-experimental-beta-0304-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3841
+ "grok-4.20-experimental-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3842
+ "grok-4.20-experimental-beta-non-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3843
+ "grok-4.20-experimental-beta-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3844
+ "grok-4.20-multi-agent": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3845
+ "grok-4.20-multi-agent-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3846
+ "grok-4.20-multi-agent-beta-0309": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3847
+ "grok-4.20-multi-agent-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3848
+ "grok-4.20-multi-agent-experimental-beta-0304": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3849
+ "grok-4.20-multi-agent-experimental-beta-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3850
+ "grok-4.20-multi-agent-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3851
+ "grok-4.20-non-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3852
+ "grok-4.20-non-reasoning-gv2": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3853
+ "grok-4.20-non-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3854
+ "grok-4.20-reasoning": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3855
+ "grok-4.20-reasoning-gv2": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3856
+ "grok-4.20-reasoning-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3857
+ "grok-4.3": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3858
+ "grok-4.3-latest": { inputPer1M: 1.25, outputPer1M: 2.5, cacheReadMultiplier: 0.16, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2.5, outputPer1M: 5, cacheReadMultiplier: 0.16 }], vendor: "xai", provider: "xai" },
3859
+ "grok-4.5": { inputPer1M: 2, outputPer1M: 6, cacheReadMultiplier: 0.15, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 12, cacheReadMultiplier: 0.15 }], vendor: "xai", provider: "xai" },
3860
+ "grok-4.5-latest": { inputPer1M: 2, outputPer1M: 6, cacheReadMultiplier: 0.15, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 12, cacheReadMultiplier: 0.15 }], vendor: "xai", provider: "xai" },
3861
+ "grok-4.6": { inputPer1M: 2, outputPer1M: 6, cacheReadMultiplier: 0.25, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 12, cacheReadMultiplier: 0.25 }], vendor: "xai", provider: "xai" },
3862
+ "grok-4.7": { inputPer1M: 2, outputPer1M: 6, cacheReadMultiplier: 0.25, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 12, cacheReadMultiplier: 0.25 }], vendor: "xai", provider: "xai" },
3863
+ "grok-build-0.1": { inputPer1M: 1, outputPer1M: 2, cacheReadMultiplier: 0.2, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2, outputPer1M: 4, cacheReadMultiplier: 0.2 }], vendor: "xai", provider: "xai" },
3864
+ "grok-build-latest": { inputPer1M: 2, outputPer1M: 6, cacheReadMultiplier: 0.15, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 4, outputPer1M: 12, cacheReadMultiplier: 0.15 }], vendor: "xai", provider: "xai" },
3865
+ "grok-code-fast": { inputPer1M: 1, outputPer1M: 2, cacheReadMultiplier: 0.2, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2, outputPer1M: 4, cacheReadMultiplier: 0.2 }], vendor: "xai", provider: "xai" },
3866
+ "grok-code-fast-1": { inputPer1M: 1, outputPer1M: 2, cacheReadMultiplier: 0.2, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2, outputPer1M: 4, cacheReadMultiplier: 0.2 }], vendor: "xai", provider: "xai" },
3867
+ "grok-code-fast-1-0825": { inputPer1M: 1, outputPer1M: 2, cacheReadMultiplier: 0.2, tiers: [{ aboveInputTokens: 2e5, inputPer1M: 2, outputPer1M: 4, cacheReadMultiplier: 0.2 }], vendor: "xai", provider: "xai" }
3837
3868
  };
3838
3869
 
3839
3870
  // src/llm/catalog.ts
3871
+ function selectPricingTier(pricing, promptTokens) {
3872
+ let selected;
3873
+ for (const tier of pricing.tiers ?? []) {
3874
+ if (promptTokens > tier.aboveInputTokens && (selected === void 0 || tier.aboveInputTokens > selected.aboveInputTokens)) {
3875
+ selected = tier;
3876
+ }
3877
+ }
3878
+ if (!selected) return pricing;
3879
+ return {
3880
+ ...pricing,
3881
+ inputPer1M: selected.inputPer1M,
3882
+ outputPer1M: selected.outputPer1M,
3883
+ cacheReadMultiplier: selected.cacheReadMultiplier ?? pricing.cacheReadMultiplier,
3884
+ cacheWriteMultiplier: selected.cacheWriteMultiplier ?? pricing.cacheWriteMultiplier
3885
+ };
3886
+ }
3840
3887
  var PRICING_OVERRIDES = {
3841
3888
  // claude-opus-4-5 / claude-haiku-4-5 / claude-sonnet-4-5 (bare) and
3842
3889
  // grok-4.20 / grok-4.20-reasoning / grok-4.20-multi-agent used to live
@@ -4180,17 +4227,20 @@ function calculateLLMCreditCost(modelId, inputOrUsage, outputTokensOrOpts) {
4180
4227
  } : inputOrUsage;
4181
4228
  const opts = typeof outputTokensOrOpts === "object" && outputTokensOrOpts !== null ? outputTokensOrOpts : {};
4182
4229
  const resolved = resolvePricing(modelId);
4183
- const pricing = resolved ?? DEFAULT_PRICING;
4184
4230
  const isFallback = !resolved;
4185
4231
  if (isFallback) {
4186
4232
  console.warn(
4187
4233
  `[model-catalog] calculateLLMCreditCost: no pricing for "${modelId}" \u2014 billing at DEFAULT_PRICING (inputPer1M ${DEFAULT_PRICING.inputPer1M}, outputPer1M ${DEFAULT_PRICING.outputPer1M}). If this model has a real, higher provider cost, this under-charges until it gets a pricing row.`
4188
4234
  );
4189
4235
  }
4190
- const cacheRead = pricing.cacheReadMultiplier ?? 1;
4191
- const cacheWrite = pricing.cacheWriteMultiplier ?? 1;
4192
4236
  const cacheReadIn = Math.max(0, usage.cacheReadInputTokens ?? 0);
4193
4237
  const cacheCreateIn = Math.max(0, usage.cacheCreationInputTokens ?? 0);
4238
+ const pricing = selectPricingTier(
4239
+ resolved ?? DEFAULT_PRICING,
4240
+ Math.max(0, usage.inputTokens) + cacheReadIn + cacheCreateIn
4241
+ );
4242
+ const cacheRead = pricing.cacheReadMultiplier ?? 1;
4243
+ const cacheWrite = pricing.cacheWriteMultiplier ?? 1;
4194
4244
  const inputUsd = usage.inputTokens / 1e6 * pricing.inputPer1M;
4195
4245
  const cacheReadUsd = cacheReadIn / 1e6 * pricing.inputPer1M * cacheRead;
4196
4246
  const cacheWriteUsd = cacheCreateIn / 1e6 * pricing.inputPer1M * cacheWrite;
@@ -4259,6 +4309,15 @@ function getCacheStats(modelId, usage, opts) {
4259
4309
 
4260
4310
  // src/llm/opencode-go-routes.generated.ts
4261
4311
  var OPENCODE_GO_ROUTES = {
4312
+ "opencode-go/claude-haiku-5-5": {
4313
+ inputPer1M: 0.1,
4314
+ outputPer1M: 0.5,
4315
+ cacheReadMultiplier: 0.1,
4316
+ cacheWriteMultiplier: 1.25,
4317
+ addedAt: "2026-10-07",
4318
+ vendor: "anthropic",
4319
+ provider: "opencode-go"
4320
+ },
4262
4321
  "opencode-go/deepseek-v4-flash": {
4263
4322
  inputPer1M: 0.15,
4264
4323
  outputPer1M: 0.6,
@@ -4540,6 +4599,7 @@ var OPENCODE_GO_ROUTES = {
4540
4599
  }
4541
4600
  };
4542
4601
  var OPENCODE_GO_ANTHROPIC_MODELS = [
4602
+ "claude-haiku-5-5",
4543
4603
  "minimax-m2.7",
4544
4604
  "minimax-m3",
4545
4605
  "qwen3.7-plus",
@@ -4592,6 +4652,15 @@ var OPENCODE_ZEN_ROUTES = {
4592
4652
  vendor: "anthropic",
4593
4653
  provider: "opencode"
4594
4654
  },
4655
+ "opencode/claude-haiku-5-5": {
4656
+ inputPer1M: 0.1,
4657
+ outputPer1M: 0.5,
4658
+ cacheReadMultiplier: 0.1,
4659
+ cacheWriteMultiplier: 1.25,
4660
+ addedAt: "2026-10-07",
4661
+ vendor: "anthropic",
4662
+ provider: "opencode"
4663
+ },
4595
4664
  "opencode/claude-opus-4-1": {
4596
4665
  inputPer1M: 15,
4597
4666
  outputPer1M: 75,
@@ -4739,6 +4808,13 @@ var OPENCODE_ZEN_ROUTES = {
4739
4808
  vendor: "deepseek",
4740
4809
  provider: "opencode"
4741
4810
  },
4811
+ "opencode/exo-free": {
4812
+ inputPer1M: 0,
4813
+ outputPer1M: 0,
4814
+ addedAt: "2026-10-06",
4815
+ vendor: "opencode",
4816
+ provider: "opencode"
4817
+ },
4742
4818
  "opencode/fledge-alpha-free": {
4743
4819
  inputPer1M: 0,
4744
4820
  outputPer1M: 0,
@@ -5331,6 +5407,14 @@ var OPENCODE_ZEN_ROUTES = {
5331
5407
  vendor: "minimax",
5332
5408
  provider: "opencode"
5333
5409
  },
5410
+ "opencode/mistral-large-4": {
5411
+ inputPer1M: 0.68,
5412
+ outputPer1M: 2.09,
5413
+ cacheReadMultiplier: 0.102941,
5414
+ addedAt: "2026-10-06",
5415
+ vendor: "opencode",
5416
+ provider: "opencode"
5417
+ },
5334
5418
  "opencode/muse-spark-1.2": {
5335
5419
  inputPer1M: 1.25,
5336
5420
  outputPer1M: 4.25,
@@ -5473,6 +5557,7 @@ var OPENCODE_ZEN_ANTHROPIC_MODELS = [
5473
5557
  "claude-fable-5",
5474
5558
  "claude-fable-5-1",
5475
5559
  "claude-haiku-4-5",
5560
+ "claude-haiku-5-5",
5476
5561
  "claude-opus-4-1",
5477
5562
  "claude-opus-4-5",
5478
5563
  "claude-opus-4-6",
@@ -5494,6 +5579,6 @@ var OPENCODE_ZEN_ANTHROPIC_MODELS = [
5494
5579
  "qwen3.8-flash"
5495
5580
  ];
5496
5581
 
5497
- export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, OPENCODE_GO_ANTHROPIC_MODELS, OPENCODE_GO_ROUTES, OPENCODE_ZEN_ANTHROPIC_MODELS, OPENCODE_ZEN_ROUTES, OPENROUTER_ROUTES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact, splitContextWindowHint };
5498
- //# sourceMappingURL=chunk-WDIFBFY5.mjs.map
5499
- //# sourceMappingURL=chunk-WDIFBFY5.mjs.map
5582
+ export { DEFAULT_PRICING, LLM_PRICING_CATALOG, MODEL_ALIASES, OPENCODE_GO_ANTHROPIC_MODELS, OPENCODE_GO_ROUTES, OPENCODE_ZEN_ANTHROPIC_MODELS, OPENCODE_ZEN_ROUTES, OPENROUTER_ROUTES, calculateLLMCreditCost, getCacheStats, getModelProvider, isKnownLlmId, listNativeModelIds, listUnpricedKnownLlmIds, resolveAlias, resolveContextWindow, resolveModelRoute, resolvePricing, resolvePricingExact, selectPricingTier, splitContextWindowHint };
5583
+ //# sourceMappingURL=chunk-BOCXDO4T.mjs.map
5584
+ //# sourceMappingURL=chunk-BOCXDO4T.mjs.map