@agentproto/model-catalog 0.10.1 → 0.11.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 (36) hide show
  1. package/dist/access/index.d.ts +3 -3
  2. package/dist/access/index.mjs +4 -4
  3. package/dist/{catalog-BAb74hY-.d.ts → catalog-BMcj8odg.d.ts} +612 -22
  4. package/dist/{chunk-B67THXMQ.mjs → chunk-3CU3W43Q.mjs} +3 -3
  5. package/dist/{chunk-B67THXMQ.mjs.map → chunk-3CU3W43Q.mjs.map} +1 -1
  6. package/dist/{chunk-I5E7F6KY.mjs → chunk-3RHYOFVS.mjs} +498 -190
  7. package/dist/chunk-3RHYOFVS.mjs.map +1 -0
  8. package/dist/{chunk-TC6S3SY3.mjs → chunk-ARK2DCFR.mjs} +3 -3
  9. package/dist/{chunk-TC6S3SY3.mjs.map → chunk-ARK2DCFR.mjs.map} +1 -1
  10. package/dist/{chunk-UZDL26T7.mjs → chunk-GE56A2NL.mjs} +4 -4
  11. package/dist/{chunk-UZDL26T7.mjs.map → chunk-GE56A2NL.mjs.map} +1 -1
  12. package/dist/{chunk-E3IERKDC.mjs → chunk-S26LSXTN.mjs} +3 -3
  13. package/dist/{chunk-E3IERKDC.mjs.map → chunk-S26LSXTN.mjs.map} +1 -1
  14. package/dist/{chunk-G6CA3BXI.mjs → chunk-U5O444SC.mjs} +91 -57
  15. package/dist/chunk-U5O444SC.mjs.map +1 -0
  16. package/dist/{chunk-O6SQMVPM.mjs → chunk-UI3BUHUO.mjs} +4 -4
  17. package/dist/{chunk-O6SQMVPM.mjs.map → chunk-UI3BUHUO.mjs.map} +1 -1
  18. package/dist/{chunk-E5CVTRPJ.mjs → chunk-YBEL3JLY.mjs} +5 -5
  19. package/dist/{chunk-E5CVTRPJ.mjs.map → chunk-YBEL3JLY.mjs.map} +1 -1
  20. package/dist/cost/index.mjs +6 -6
  21. package/dist/curation/index.d.ts +2 -2
  22. package/dist/curation/index.mjs +6 -6
  23. package/dist/{evaluate-B83jX17h.d.ts → evaluate-C77bYu0f.d.ts} +1 -1
  24. package/dist/{index-vC37SFpk.d.ts → index-CJ7uYbnm.d.ts} +1 -1
  25. package/dist/{index-BWvtVzEG.d.ts → index-VyKByfsk.d.ts} +2 -2
  26. package/dist/index.d.ts +5 -5
  27. package/dist/index.mjs +10 -10
  28. package/dist/llm/index.d.ts +1 -1
  29. package/dist/llm/index.mjs +2 -2
  30. package/dist/overlay/index.d.ts +1 -1
  31. package/dist/picker/index.d.ts +4 -4
  32. package/dist/route-identity/index.d.ts +1 -1
  33. package/dist/route-identity/index.mjs +2 -2
  34. package/package.json +1 -1
  35. package/dist/chunk-G6CA3BXI.mjs.map +0 -1
  36. package/dist/chunk-I5E7F6KY.mjs.map +0 -1
@@ -32,6 +32,22 @@ var OPENROUTER_ROUTES = {
32
32
  vendor: "aion-labs",
33
33
  provider: "openrouter"
34
34
  },
35
+ "aion-labs/aion-3.5": {
36
+ inputPer1M: 3,
37
+ outputPer1M: 6,
38
+ cacheReadMultiplier: 0.25,
39
+ addedAt: "2026-09-23",
40
+ vendor: "aion-labs",
41
+ provider: "openrouter"
42
+ },
43
+ "aion-labs/aion-3.5-mini": {
44
+ inputPer1M: 0.7,
45
+ outputPer1M: 1.4,
46
+ cacheReadMultiplier: 0.257143,
47
+ addedAt: "2026-09-23",
48
+ vendor: "aion-labs",
49
+ provider: "openrouter"
50
+ },
35
51
  "aion-labs/aion-rp-llama-3.1-8b": {
36
52
  inputPer1M: 0.8,
37
53
  outputPer1M: 1.6,
@@ -244,6 +260,24 @@ var OPENROUTER_ROUTES = {
244
260
  vendor: "anthropic",
245
261
  provider: "openrouter"
246
262
  },
263
+ "anthropic/claude-opus-5.5": {
264
+ inputPer1M: 4,
265
+ outputPer1M: 20,
266
+ cacheReadMultiplier: 0.05,
267
+ cacheWriteMultiplier: 1.25,
268
+ addedAt: "2026-09-22",
269
+ vendor: "anthropic",
270
+ provider: "openrouter"
271
+ },
272
+ "anthropic/claude-opus-5.5:batch": {
273
+ inputPer1M: 2,
274
+ outputPer1M: 10,
275
+ cacheReadMultiplier: 0.05,
276
+ cacheWriteMultiplier: 1.25,
277
+ addedAt: "2026-09-22",
278
+ vendor: "anthropic",
279
+ provider: "openrouter"
280
+ },
247
281
  "anthropic/claude-opus-5:batch": {
248
282
  inputPer1M: 2.5,
249
283
  outputPer1M: 12.5,
@@ -395,6 +429,14 @@ var OPENROUTER_ROUTES = {
395
429
  vendor: "cohere",
396
430
  provider: "openrouter"
397
431
  },
432
+ "cohere/command-a-plus": {
433
+ inputPer1M: 0.3,
434
+ outputPer1M: 1.5,
435
+ cacheReadMultiplier: 0.5,
436
+ addedAt: "2026-09-22",
437
+ vendor: "cohere",
438
+ provider: "openrouter"
439
+ },
398
440
  "cohere/command-r-08-2024": {
399
441
  inputPer1M: 0.15,
400
442
  outputPer1M: 0.6,
@@ -484,25 +526,17 @@ var OPENROUTER_ROUTES = {
484
526
  provider: "openrouter"
485
527
  },
486
528
  "deepseek/deepseek-v4-flash": {
487
- inputPer1M: 0.088606,
488
- outputPer1M: 0.177212,
489
- cacheReadMultiplier: 0.199998,
529
+ inputPer1M: 0.049,
530
+ outputPer1M: 0.098,
531
+ cacheReadMultiplier: 0.2,
490
532
  addedAt: "2026-04-24",
491
533
  vendor: "deepseek",
492
534
  provider: "openrouter"
493
535
  },
494
536
  "deepseek/deepseek-v4-flash-0731": {
495
- inputPer1M: 0.04,
496
- outputPer1M: 0.64,
497
- cacheReadMultiplier: 0.4,
498
- addedAt: "2026-07-31",
499
- vendor: "deepseek",
500
- provider: "openrouter"
501
- },
502
- "deepseek/deepseek-v4-flash-0731:batch": {
503
- inputPer1M: 0.11,
504
- outputPer1M: 0.33,
505
- cacheReadMultiplier: 0.031818,
537
+ inputPer1M: 0.03,
538
+ outputPer1M: 0.32,
539
+ cacheReadMultiplier: 0.533333,
506
540
  addedAt: "2026-07-31",
507
541
  vendor: "deepseek",
508
542
  provider: "openrouter"
@@ -515,46 +549,46 @@ var OPENROUTER_ROUTES = {
515
549
  vendor: "deepseek",
516
550
  provider: "openrouter"
517
551
  },
518
- "deepseek/deepseek-v4-flash-vision-exp:batch": {
519
- inputPer1M: 0.11,
520
- outputPer1M: 0.33,
521
- cacheReadMultiplier: 0.031818,
522
- addedAt: "2026-08-21",
523
- vendor: "deepseek",
524
- provider: "openrouter"
525
- },
526
552
  "deepseek/deepseek-v4-pro": {
527
- inputPer1M: 0.95526,
528
- outputPer1M: 1.91052,
553
+ inputPer1M: 0.833112,
554
+ outputPer1M: 1.666224,
529
555
  cacheReadMultiplier: 0.083333,
530
556
  addedAt: "2026-04-24",
531
557
  vendor: "deepseek",
532
558
  provider: "openrouter"
533
559
  },
534
560
  "deepseek/deepseek-v4-pro-0813": {
535
- inputPer1M: 0.66,
536
- outputPer1M: 1.98,
561
+ inputPer1M: 0.462,
562
+ outputPer1M: 1.386,
537
563
  cacheReadMultiplier: 0.033333,
538
564
  addedAt: "2026-08-12",
539
565
  vendor: "deepseek",
540
566
  provider: "openrouter"
541
567
  },
542
- "deepseek/deepseek-v4-pro-0813:batch": {
543
- inputPer1M: 0.66,
544
- outputPer1M: 1.98,
545
- cacheReadMultiplier: 0.033333,
546
- addedAt: "2026-08-12",
568
+ "deepseek/deepseek-v4.1-flash": {
569
+ inputPer1M: 0.3,
570
+ outputPer1M: 1.2,
571
+ cacheReadMultiplier: 0.02,
572
+ addedAt: "2026-09-10",
547
573
  vendor: "deepseek",
548
574
  provider: "openrouter"
549
575
  },
550
- "deepseek/deepseek-v4.1-flash": {
551
- inputPer1M: 0.15,
552
- outputPer1M: 0.6,
553
- cacheReadMultiplier: 0.02,
576
+ "deepseek/deepseek-v4.1-flash:batch": {
577
+ inputPer1M: 0.112,
578
+ outputPer1M: 0.336,
579
+ cacheReadMultiplier: 0.03,
554
580
  addedAt: "2026-09-10",
555
581
  vendor: "deepseek",
556
582
  provider: "openrouter"
557
583
  },
584
+ "fireworks/ember-1": {
585
+ inputPer1M: 3,
586
+ outputPer1M: 15,
587
+ cacheReadMultiplier: 0.1,
588
+ addedAt: "2026-09-24",
589
+ vendor: "fireworks",
590
+ provider: "openrouter"
591
+ },
558
592
  "google/gemini-2.5-flash": {
559
593
  inputPer1M: 0.3,
560
594
  outputPer1M: 2.5,
@@ -941,14 +975,6 @@ var OPENROUTER_ROUTES = {
941
975
  vendor: "inference-net",
942
976
  provider: "openrouter"
943
977
  },
944
- "kwaipilot/kat-coder-pro-v2": {
945
- inputPer1M: 0.3,
946
- outputPer1M: 1.2,
947
- cacheReadMultiplier: 0.2,
948
- addedAt: "2026-03-27",
949
- vendor: "kwaipilot",
950
- provider: "openrouter"
951
- },
952
978
  "kwaipilot/kat-coder-pro-v2.5": {
953
979
  inputPer1M: 0.74,
954
980
  outputPer1M: 2.96,
@@ -1037,14 +1063,6 @@ var OPENROUTER_ROUTES = {
1037
1063
  vendor: "meta",
1038
1064
  provider: "openrouter"
1039
1065
  },
1040
- "meta/muse-glimmer-30b:batch": {
1041
- inputPer1M: 0.175,
1042
- outputPer1M: 0.75,
1043
- cacheReadMultiplier: 0.114286,
1044
- addedAt: "2026-08-09",
1045
- vendor: "meta",
1046
- provider: "openrouter"
1047
- },
1048
1066
  "meta/muse-spark-1.1": {
1049
1067
  inputPer1M: 1.25,
1050
1068
  outputPer1M: 4.25,
@@ -1114,8 +1132,8 @@ var OPENROUTER_ROUTES = {
1114
1132
  provider: "openrouter"
1115
1133
  },
1116
1134
  "minimax/minimax-m2": {
1117
- inputPer1M: 0.255,
1118
- outputPer1M: 1.02,
1135
+ inputPer1M: 0.3,
1136
+ outputPer1M: 1.2,
1119
1137
  addedAt: "2025-10-23",
1120
1138
  vendor: "minimax",
1121
1139
  provider: "openrouter"
@@ -1232,6 +1250,14 @@ var OPENROUTER_ROUTES = {
1232
1250
  vendor: "mistralai",
1233
1251
  provider: "openrouter"
1234
1252
  },
1253
+ "mistralai/mistral-large-2512": {
1254
+ inputPer1M: 0.5,
1255
+ outputPer1M: 1.5,
1256
+ cacheReadMultiplier: 0.1,
1257
+ addedAt: "2025-12-01",
1258
+ vendor: "mistralai",
1259
+ provider: "openrouter"
1260
+ },
1235
1261
  "mistralai/mistral-large-2512:batch": {
1236
1262
  inputPer1M: 0.25,
1237
1263
  outputPer1M: 0.75,
@@ -1385,16 +1411,24 @@ var OPENROUTER_ROUTES = {
1385
1411
  provider: "openrouter"
1386
1412
  },
1387
1413
  "moonshotai/kimi-k2.7-code": {
1388
- inputPer1M: 0.7062,
1389
- outputPer1M: 3.21,
1390
- cacheReadMultiplier: 0.254885,
1414
+ inputPer1M: 0.6562,
1415
+ outputPer1M: 3.3,
1416
+ cacheReadMultiplier: 0.274307,
1391
1417
  addedAt: "2026-06-12",
1392
1418
  vendor: "moonshotai",
1393
1419
  provider: "openrouter"
1394
1420
  },
1395
1421
  "moonshotai/kimi-k3": {
1396
- inputPer1M: 3,
1397
- outputPer1M: 15,
1422
+ inputPer1M: 0.8845,
1423
+ outputPer1M: 10.5346,
1424
+ cacheReadMultiplier: 0.339175,
1425
+ addedAt: "2026-07-16",
1426
+ vendor: "moonshotai",
1427
+ provider: "openrouter"
1428
+ },
1429
+ "moonshotai/kimi-k3:batch": {
1430
+ inputPer1M: 2.28,
1431
+ outputPer1M: 11.4,
1398
1432
  cacheReadMultiplier: 0.1,
1399
1433
  addedAt: "2026-07-16",
1400
1434
  vendor: "moonshotai",
@@ -1466,9 +1500,9 @@ var OPENROUTER_ROUTES = {
1466
1500
  provider: "openrouter"
1467
1501
  },
1468
1502
  "nvidia/nemotron-3.5-lightning": {
1469
- inputPer1M: 0.07,
1503
+ inputPer1M: 0.08,
1470
1504
  outputPer1M: 0.2,
1471
- cacheReadMultiplier: 0.571429,
1505
+ cacheReadMultiplier: 0.5,
1472
1506
  addedAt: "2026-08-11",
1473
1507
  vendor: "nvidia",
1474
1508
  provider: "openrouter"
@@ -2052,6 +2086,78 @@ var OPENROUTER_ROUTES = {
2052
2086
  vendor: "openai",
2053
2087
  provider: "openrouter"
2054
2088
  },
2089
+ "openai/gpt-6-luna": {
2090
+ inputPer1M: 0.1,
2091
+ outputPer1M: 0.5,
2092
+ cacheReadMultiplier: 0.1,
2093
+ cacheWriteMultiplier: 1.25,
2094
+ addedAt: "2026-09-22",
2095
+ vendor: "openai",
2096
+ provider: "openrouter"
2097
+ },
2098
+ "openai/gpt-6-luna-pro": {
2099
+ inputPer1M: 0.1,
2100
+ outputPer1M: 0.5,
2101
+ cacheReadMultiplier: 0.1,
2102
+ cacheWriteMultiplier: 1.25,
2103
+ addedAt: "2026-09-22",
2104
+ vendor: "openai",
2105
+ provider: "openrouter"
2106
+ },
2107
+ "openai/gpt-6-luna-pro:batch": {
2108
+ inputPer1M: 0.05,
2109
+ outputPer1M: 0.25,
2110
+ cacheReadMultiplier: 0.1,
2111
+ cacheWriteMultiplier: 1.25,
2112
+ addedAt: "2026-09-22",
2113
+ vendor: "openai",
2114
+ provider: "openrouter"
2115
+ },
2116
+ "openai/gpt-6-luna:batch": {
2117
+ inputPer1M: 0.05,
2118
+ outputPer1M: 0.25,
2119
+ cacheReadMultiplier: 0.1,
2120
+ cacheWriteMultiplier: 1.25,
2121
+ addedAt: "2026-09-22",
2122
+ vendor: "openai",
2123
+ provider: "openrouter"
2124
+ },
2125
+ "openai/gpt-6-sol": {
2126
+ inputPer1M: 2,
2127
+ outputPer1M: 10,
2128
+ cacheReadMultiplier: 0.1,
2129
+ cacheWriteMultiplier: 1.25,
2130
+ addedAt: "2026-09-22",
2131
+ vendor: "openai",
2132
+ provider: "openrouter"
2133
+ },
2134
+ "openai/gpt-6-sol-pro": {
2135
+ inputPer1M: 2,
2136
+ outputPer1M: 10,
2137
+ cacheReadMultiplier: 0.1,
2138
+ cacheWriteMultiplier: 1.25,
2139
+ addedAt: "2026-09-22",
2140
+ vendor: "openai",
2141
+ provider: "openrouter"
2142
+ },
2143
+ "openai/gpt-6-sol-pro:batch": {
2144
+ inputPer1M: 1,
2145
+ outputPer1M: 5,
2146
+ cacheReadMultiplier: 0.1,
2147
+ cacheWriteMultiplier: 1.25,
2148
+ addedAt: "2026-09-22",
2149
+ vendor: "openai",
2150
+ provider: "openrouter"
2151
+ },
2152
+ "openai/gpt-6-sol:batch": {
2153
+ inputPer1M: 1,
2154
+ outputPer1M: 5,
2155
+ cacheReadMultiplier: 0.1,
2156
+ cacheWriteMultiplier: 1.25,
2157
+ addedAt: "2026-09-22",
2158
+ vendor: "openai",
2159
+ provider: "openrouter"
2160
+ },
2055
2161
  "openai/gpt-audio": {
2056
2162
  inputPer1M: 2.5,
2057
2163
  outputPer1M: 10,
@@ -2082,10 +2188,23 @@ var OPENROUTER_ROUTES = {
2082
2188
  vendor: "openai",
2083
2189
  provider: "openrouter"
2084
2190
  },
2191
+ "openai/gpt-oss-120b:batch": {
2192
+ inputPer1M: 0.0296,
2193
+ outputPer1M: 0.136,
2194
+ addedAt: "2025-08-05",
2195
+ vendor: "openai",
2196
+ provider: "openrouter"
2197
+ },
2085
2198
  "openai/gpt-oss-20b": {
2086
- inputPer1M: 0.03,
2087
- outputPer1M: 0.13,
2088
- cacheReadMultiplier: 1,
2199
+ inputPer1M: 0.018,
2200
+ outputPer1M: 0.09,
2201
+ addedAt: "2025-08-05",
2202
+ vendor: "openai",
2203
+ provider: "openrouter"
2204
+ },
2205
+ "openai/gpt-oss-20b:batch": {
2206
+ inputPer1M: 0.024,
2207
+ outputPer1M: 0.112,
2089
2208
  addedAt: "2025-08-05",
2090
2209
  vendor: "openai",
2091
2210
  provider: "openrouter"
@@ -2366,8 +2485,8 @@ var OPENROUTER_ROUTES = {
2366
2485
  provider: "openrouter"
2367
2486
  },
2368
2487
  "qwen/qwen3-30b-a3b-instruct-2507": {
2369
- inputPer1M: 0.04815,
2370
- outputPer1M: 0.19305,
2488
+ inputPer1M: 0.1,
2489
+ outputPer1M: 0.3,
2371
2490
  addedAt: "2025-07-29",
2372
2491
  vendor: "qwen",
2373
2492
  provider: "openrouter"
@@ -2451,8 +2570,9 @@ var OPENROUTER_ROUTES = {
2451
2570
  provider: "openrouter"
2452
2571
  },
2453
2572
  "qwen/qwen3-next-80b-a3b-instruct": {
2454
- inputPer1M: 0.09,
2573
+ inputPer1M: 0.1,
2455
2574
  outputPer1M: 1.1,
2575
+ cacheReadMultiplier: 0.7,
2456
2576
  addedAt: "2025-09-11",
2457
2577
  vendor: "qwen",
2458
2578
  provider: "openrouter"
@@ -2480,8 +2600,8 @@ var OPENROUTER_ROUTES = {
2480
2600
  provider: "openrouter"
2481
2601
  },
2482
2602
  "qwen/qwen3-vl-30b-a3b-instruct": {
2483
- inputPer1M: 0.13,
2484
- outputPer1M: 0.52,
2603
+ inputPer1M: 0.15,
2604
+ outputPer1M: 0.6,
2485
2605
  addedAt: "2025-10-06",
2486
2606
  vendor: "qwen",
2487
2607
  provider: "openrouter"
@@ -2574,9 +2694,9 @@ var OPENROUTER_ROUTES = {
2574
2694
  provider: "openrouter"
2575
2695
  },
2576
2696
  "qwen/qwen3.6-27b": {
2577
- inputPer1M: 0.3,
2578
- outputPer1M: 2,
2579
- cacheReadMultiplier: 0.1,
2697
+ inputPer1M: 0.32,
2698
+ outputPer1M: 2.7,
2699
+ cacheReadMultiplier: 0.46875,
2580
2700
  addedAt: "2026-04-27",
2581
2701
  vendor: "qwen",
2582
2702
  provider: "openrouter"
@@ -2674,6 +2794,22 @@ var OPENROUTER_ROUTES = {
2674
2794
  vendor: "qwen",
2675
2795
  provider: "openrouter"
2676
2796
  },
2797
+ "qwen/qwen3.8-max-prime": {
2798
+ inputPer1M: 4,
2799
+ outputPer1M: 12,
2800
+ cacheReadMultiplier: 0.125,
2801
+ addedAt: "2026-09-23",
2802
+ vendor: "qwen",
2803
+ provider: "openrouter"
2804
+ },
2805
+ "qwen/qwen3.8-omni-flash": {
2806
+ inputPer1M: 0.15,
2807
+ outputPer1M: 0.47,
2808
+ cacheReadMultiplier: 0.106667,
2809
+ addedAt: "2026-09-21",
2810
+ vendor: "qwen",
2811
+ provider: "openrouter"
2812
+ },
2677
2813
  "rekaai/reka-edge": {
2678
2814
  inputPer1M: 0.1,
2679
2815
  outputPer1M: 0.1,
@@ -2876,6 +3012,14 @@ var OPENROUTER_ROUTES = {
2876
3012
  vendor: "undi95",
2877
3013
  provider: "openrouter"
2878
3014
  },
3015
+ "upstage/solar-mini4": {
3016
+ inputPer1M: 0.05,
3017
+ outputPer1M: 0.2,
3018
+ cacheReadMultiplier: 0.1,
3019
+ addedAt: "2026-09-23",
3020
+ vendor: "upstage",
3021
+ provider: "openrouter"
3022
+ },
2879
3023
  "upstage/solar-pro-3": {
2880
3024
  inputPer1M: 0.15,
2881
3025
  outputPer1M: 0.6,
@@ -3044,9 +3188,9 @@ var OPENROUTER_ROUTES = {
3044
3188
  provider: "openrouter"
3045
3189
  },
3046
3190
  "z-ai/glm-4.7": {
3047
- inputPer1M: 0.4,
3048
- outputPer1M: 1.75,
3049
- cacheReadMultiplier: 0.2,
3191
+ inputPer1M: 0.6,
3192
+ outputPer1M: 2.2,
3193
+ cacheReadMultiplier: 0.183333,
3050
3194
  addedAt: "2025-12-22",
3051
3195
  vendor: "z-ai",
3052
3196
  provider: "openrouter"
@@ -3075,8 +3219,8 @@ var OPENROUTER_ROUTES = {
3075
3219
  provider: "openrouter"
3076
3220
  },
3077
3221
  "z-ai/glm-5.1": {
3078
- inputPer1M: 0.966,
3079
- outputPer1M: 3.036,
3222
+ inputPer1M: 0.9646,
3223
+ outputPer1M: 3.0316,
3080
3224
  cacheReadMultiplier: 0.185714,
3081
3225
  addedAt: "2026-04-07",
3082
3226
  vendor: "z-ai",
@@ -3090,33 +3234,25 @@ var OPENROUTER_ROUTES = {
3090
3234
  vendor: "z-ai",
3091
3235
  provider: "openrouter"
3092
3236
  },
3093
- "z-ai/glm-5.2:batch": {
3094
- inputPer1M: 0.7,
3095
- outputPer1M: 2.2,
3096
- cacheReadMultiplier: 0.1,
3097
- addedAt: "2026-06-16",
3098
- vendor: "z-ai",
3099
- provider: "openrouter"
3100
- },
3101
3237
  "z-ai/glm-5.3": {
3102
- inputPer1M: 0.784,
3103
- outputPer1M: 2.464,
3238
+ inputPer1M: 1.4,
3239
+ outputPer1M: 4.4,
3104
3240
  cacheReadMultiplier: 0.185714,
3105
3241
  addedAt: "2026-08-18",
3106
3242
  vendor: "z-ai",
3107
3243
  provider: "openrouter"
3108
3244
  },
3109
3245
  "z-ai/glm-5.3-flash": {
3110
- inputPer1M: 0.15,
3111
- outputPer1M: 0.5,
3112
- cacheReadMultiplier: 0.333333,
3246
+ inputPer1M: 0.045,
3247
+ outputPer1M: 0.6,
3248
+ cacheReadMultiplier: 0.633333,
3113
3249
  addedAt: "2026-08-26",
3114
3250
  vendor: "z-ai",
3115
3251
  provider: "openrouter"
3116
3252
  },
3117
3253
  "z-ai/glm-5.3-flash:batch": {
3118
- inputPer1M: 0.075,
3119
- outputPer1M: 0.25,
3254
+ inputPer1M: 0.06,
3255
+ outputPer1M: 0.2,
3120
3256
  cacheReadMultiplier: 0.2,
3121
3257
  addedAt: "2026-08-26",
3122
3258
  vendor: "z-ai",
@@ -3125,15 +3261,23 @@ var OPENROUTER_ROUTES = {
3125
3261
  "z-ai/glm-5.3-flashx": {
3126
3262
  inputPer1M: 0.37,
3127
3263
  outputPer1M: 1.25,
3128
- cacheReadMultiplier: 0.202703,
3264
+ cacheReadMultiplier: 0.243243,
3129
3265
  addedAt: "2026-09-18",
3130
3266
  vendor: "z-ai",
3131
3267
  provider: "openrouter"
3132
3268
  },
3269
+ "z-ai/glm-5.3-prime": {
3270
+ inputPer1M: 2.8,
3271
+ outputPer1M: 8.8,
3272
+ cacheReadMultiplier: 0.2,
3273
+ addedAt: "2026-09-23",
3274
+ vendor: "z-ai",
3275
+ provider: "openrouter"
3276
+ },
3133
3277
  "z-ai/glm-5.3:batch": {
3134
- inputPer1M: 0.7,
3135
- outputPer1M: 2.2,
3136
- cacheReadMultiplier: 0.185714,
3278
+ inputPer1M: 0.45,
3279
+ outputPer1M: 2,
3280
+ cacheReadMultiplier: 0.222222,
3137
3281
  addedAt: "2026-08-18",
3138
3282
  vendor: "z-ai",
3139
3283
  provider: "openrouter"
@@ -3165,9 +3309,9 @@ var OPENROUTER_ROUTES = {
3165
3309
  provider: "openrouter"
3166
3310
  },
3167
3311
  "~anthropic/claude-opus-latest": {
3168
- inputPer1M: 5,
3169
- outputPer1M: 25,
3170
- cacheReadMultiplier: 0.1,
3312
+ inputPer1M: 4,
3313
+ outputPer1M: 20,
3314
+ cacheReadMultiplier: 0.05,
3171
3315
  cacheWriteMultiplier: 1.25,
3172
3316
  addedAt: "2026-04-21",
3173
3317
  vendor: "~anthropic",
@@ -3183,25 +3327,25 @@ var OPENROUTER_ROUTES = {
3183
3327
  provider: "openrouter"
3184
3328
  },
3185
3329
  "~deepseek/deepseek-flash-latest": {
3186
- inputPer1M: 0.12,
3187
- outputPer1M: 0.48,
3188
- cacheReadMultiplier: 0.03,
3330
+ inputPer1M: 0.04,
3331
+ outputPer1M: 1,
3332
+ cacheReadMultiplier: 0.25,
3189
3333
  addedAt: "2026-09-14",
3190
3334
  vendor: "~deepseek",
3191
3335
  provider: "openrouter"
3192
3336
  },
3193
3337
  "~deepseek/deepseek-pro-latest": {
3194
- inputPer1M: 0.558624,
3195
- outputPer1M: 1.675872,
3196
- cacheReadMultiplier: 0.033334,
3338
+ inputPer1M: 0.3894,
3339
+ outputPer1M: 1.1682,
3340
+ cacheReadMultiplier: 0.031818,
3197
3341
  addedAt: "2026-09-14",
3198
3342
  vendor: "~deepseek",
3199
3343
  provider: "openrouter"
3200
3344
  },
3201
3345
  "~deepseek/deepseek-v4-flash-latest": {
3202
3346
  inputPer1M: 0.03,
3203
- outputPer1M: 1,
3204
- cacheReadMultiplier: 0.4,
3347
+ outputPer1M: 0.32,
3348
+ cacheReadMultiplier: 0.533333,
3205
3349
  addedAt: "2026-08-01",
3206
3350
  vendor: "~deepseek",
3207
3351
  provider: "openrouter"
@@ -3225,9 +3369,9 @@ var OPENROUTER_ROUTES = {
3225
3369
  provider: "openrouter"
3226
3370
  },
3227
3371
  "~moonshotai/kimi-latest": {
3228
- inputPer1M: 1.5,
3229
- outputPer1M: 7.5,
3230
- cacheReadMultiplier: 0.1,
3372
+ inputPer1M: 0.8845,
3373
+ outputPer1M: 10.5346,
3374
+ cacheReadMultiplier: 0.339175,
3231
3375
  addedAt: "2026-04-27",
3232
3376
  vendor: "~moonshotai",
3233
3377
  provider: "openrouter"
@@ -3242,8 +3386,8 @@ var OPENROUTER_ROUTES = {
3242
3386
  provider: "openrouter"
3243
3387
  },
3244
3388
  "~openai/gpt-luna-latest": {
3245
- inputPer1M: 0.2,
3246
- outputPer1M: 1.2,
3389
+ inputPer1M: 0.1,
3390
+ outputPer1M: 0.5,
3247
3391
  cacheReadMultiplier: 0.1,
3248
3392
  cacheWriteMultiplier: 1.25,
3249
3393
  addedAt: "2026-09-11",
@@ -3285,17 +3429,17 @@ var OPENROUTER_ROUTES = {
3285
3429
  provider: "openrouter"
3286
3430
  },
3287
3431
  "~z-ai/glm-flash-latest": {
3288
- inputPer1M: 0.075,
3289
- outputPer1M: 0.25,
3290
- cacheReadMultiplier: 0.266667,
3432
+ inputPer1M: 0.045,
3433
+ outputPer1M: 0.14,
3434
+ cacheReadMultiplier: 0.222222,
3291
3435
  addedAt: "2026-08-27",
3292
3436
  vendor: "~z-ai",
3293
3437
  provider: "openrouter"
3294
3438
  },
3295
3439
  "~z-ai/glm-latest": {
3296
- inputPer1M: 0.7839,
3297
- outputPer1M: 2.6532,
3298
- cacheReadMultiplier: 0.2,
3440
+ inputPer1M: 0.5614,
3441
+ outputPer1M: 1.7644,
3442
+ cacheReadMultiplier: 0.185714,
3299
3443
  addedAt: "2026-08-19",
3300
3444
  vendor: "~z-ai",
3301
3445
  provider: "openrouter"
@@ -3317,6 +3461,7 @@ var CONTEXT_WINDOWS = {
3317
3461
  "claude-opus-4-7": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 4.7", provider: "anthropic" },
3318
3462
  "claude-opus-4-8": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 4.8", provider: "anthropic" },
3319
3463
  "claude-opus-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 5", provider: "anthropic" },
3464
+ "claude-opus-5-5": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Opus 5.5", provider: "anthropic" },
3320
3465
  "claude-sonnet-4-5": { contextWindow: 1e6, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3321
3466
  "claude-sonnet-4-5-20250929": { contextWindow: 1e6, maxOutput: 64e3, displayName: "Claude Sonnet 4.5", provider: "anthropic" },
3322
3467
  "claude-sonnet-4-6": { contextWindow: 1e6, maxOutput: 128e3, displayName: "Claude Sonnet 4.6", provider: "anthropic" },
@@ -3462,66 +3607,150 @@ var GOOGLE_GENERATED_PRICING = {
3462
3607
 
3463
3608
  // src/llm/openai-pricing.generated.ts
3464
3609
  var OPENAI_GENERATED_PRICING = {
3465
- "gpt-3.5-turbo": { inputPer1M: 0.5, outputPer1M: 1.5, vendor: "openai", provider: "openai" },
3466
- "gpt-3.5-turbo-0613": { inputPer1M: 1, outputPer1M: 2, vendor: "openai", provider: "openai" },
3467
- "gpt-3.5-turbo-16k": { inputPer1M: 3, outputPer1M: 4, vendor: "openai", provider: "openai" },
3468
- "gpt-3.5-turbo-instruct": { inputPer1M: 1.5, outputPer1M: 2, vendor: "openai", provider: "openai" },
3469
- "gpt-4": { inputPer1M: 30, outputPer1M: 60, vendor: "openai", provider: "openai" },
3470
- "gpt-4-turbo": { inputPer1M: 10, outputPer1M: 30, vendor: "openai", provider: "openai" },
3471
- "gpt-4-turbo-preview": { inputPer1M: 10, outputPer1M: 30, vendor: "openai", provider: "openai" },
3472
- "gpt-4.1": { inputPer1M: 2, outputPer1M: 8, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" },
3473
- "gpt-4.1-mini": { inputPer1M: 0.4, outputPer1M: 1.6, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" },
3474
- "gpt-4.1-nano": { inputPer1M: 0.1, outputPer1M: 0.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" },
3475
- "gpt-4o": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3476
- "gpt-4o-2024-05-13": { inputPer1M: 5, outputPer1M: 15, vendor: "openai", provider: "openai" },
3477
- "gpt-4o-2024-08-06": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3478
- "gpt-4o-2024-11-20": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3479
- "gpt-4o-mini": { inputPer1M: 0.15, outputPer1M: 0.6, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3480
- "gpt-4o-mini-2024-07-18": { inputPer1M: 0.15, outputPer1M: 0.6, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3481
- "gpt-5": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3482
- "gpt-5-image": { inputPer1M: 10, outputPer1M: 10, cacheReadMultiplier: 0.125, vendor: "openai", provider: "openai" },
3483
- "gpt-5-image-mini": { inputPer1M: 2.5, outputPer1M: 2, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3484
- "gpt-5-mini": { inputPer1M: 0.25, outputPer1M: 2, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3485
- "gpt-5-nano": { inputPer1M: 0.05, outputPer1M: 0.4, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3486
- "gpt-5-pro": { inputPer1M: 15, outputPer1M: 120, vendor: "openai", provider: "openai" },
3487
- "gpt-5.1": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3488
- "gpt-5.1-codex": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.104, vendor: "openai", provider: "openai" },
3489
- "gpt-5.1-codex-max": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3490
- "gpt-5.1-codex-mini": { inputPer1M: 0.25, outputPer1M: 2, cacheReadMultiplier: 0.12, vendor: "openai", provider: "openai" },
3491
- "gpt-5.2": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3492
- "gpt-5.2-chat": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3493
- "gpt-5.2-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3494
- "gpt-5.2-pro": { inputPer1M: 21, outputPer1M: 168, vendor: "openai", provider: "openai" },
3495
- "gpt-5.3-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3496
- "gpt-5.4": { inputPer1M: 2.5, outputPer1M: 15, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3497
- "gpt-5.4-mini": { inputPer1M: 0.75, outputPer1M: 4.5, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3498
- "gpt-5.4-nano": { inputPer1M: 0.2, outputPer1M: 1.25, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3499
- "gpt-5.4-pro": { inputPer1M: 30, outputPer1M: 180, vendor: "openai", provider: "openai" },
3500
- "gpt-5.5": { inputPer1M: 5, outputPer1M: 30, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3501
- "gpt-5.5-pro": { inputPer1M: 30, outputPer1M: 180, vendor: "openai", provider: "openai" },
3502
- "gpt-5.6-luna": { inputPer1M: 0.2, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3503
- "gpt-5.6-luna-pro": { inputPer1M: 0.2, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3504
- "gpt-5.6-sol": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3505
- "gpt-5.6-sol-pro": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3506
- "gpt-5.6-terra": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3507
- "gpt-5.6-terra-pro": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai" },
3508
- "gpt-audio": { inputPer1M: 2.5, outputPer1M: 10, vendor: "openai", provider: "openai" },
3509
- "gpt-audio-mini": { inputPer1M: 0.6, outputPer1M: 2.4, vendor: "openai", provider: "openai" },
3510
- "gpt-chat-latest": { inputPer1M: 5, outputPer1M: 30, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai" },
3511
- "gpt-oss-120b": { inputPer1M: 0.037, outputPer1M: 0.17, vendor: "openai", provider: "openai" },
3512
- "gpt-oss-120b:batch": { inputPer1M: 0.15, outputPer1M: 0.6, vendor: "openai", provider: "openai" },
3513
- "gpt-oss-20b": { inputPer1M: 0.03, outputPer1M: 0.13, cacheReadMultiplier: 1, vendor: "openai", provider: "openai" },
3514
- "gpt-oss-20b:batch": { inputPer1M: 0.05, outputPer1M: 0.2, vendor: "openai", provider: "openai" },
3515
- "gpt-oss-safeguard-20b": { inputPer1M: 0.075, outputPer1M: 0.3, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3516
- "o1": { inputPer1M: 15, outputPer1M: 60, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3517
- "o1-pro": { inputPer1M: 150, outputPer1M: 600, vendor: "openai", provider: "openai" },
3518
- "o3": { inputPer1M: 2, outputPer1M: 8, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" },
3519
- "o3-mini": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3520
- "o3-mini-high": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai" },
3521
- "o3-pro": { inputPer1M: 20, outputPer1M: 80, vendor: "openai", provider: "openai" },
3522
- "o4-mini": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" },
3523
- "o4-mini-high": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai" }
3610
+ "gpt-3.5-turbo": { inputPer1M: 0.5, outputPer1M: 1.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3611
+ "gpt-3.5-turbo-0125": { inputPer1M: 0.5, outputPer1M: 1.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3612
+ "gpt-3.5-turbo-0613": { inputPer1M: 1, outputPer1M: 2, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3613
+ "gpt-3.5-turbo-1106": { inputPer1M: 1, outputPer1M: 2, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3614
+ "gpt-3.5-turbo-16k": { inputPer1M: 3, outputPer1M: 4, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3615
+ "gpt-3.5-turbo-instruct": { inputPer1M: 1.5, outputPer1M: 2, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3616
+ "gpt-3.5-turbo:batch": { inputPer1M: 0.25, outputPer1M: 0.75, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3617
+ "gpt-4": { inputPer1M: 30, outputPer1M: 60, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3618
+ "gpt-4-0613": { inputPer1M: 30, outputPer1M: 60, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3619
+ "gpt-4-turbo": { inputPer1M: 10, outputPer1M: 30, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3620
+ "gpt-4-turbo-2024-04-09": { inputPer1M: 10, outputPer1M: 30, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3621
+ "gpt-4-turbo:batch": { inputPer1M: 5, outputPer1M: 15, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3622
+ "gpt-4.1": { inputPer1M: 2, outputPer1M: 8, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3623
+ "gpt-4.1-mini": { inputPer1M: 0.4, outputPer1M: 1.6, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3624
+ "gpt-4.1-mini:batch": { inputPer1M: 0.2, outputPer1M: 0.8, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3625
+ "gpt-4.1-nano": { inputPer1M: 0.1, outputPer1M: 0.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3626
+ "gpt-4.1-nano:batch": { inputPer1M: 0.05, outputPer1M: 0.2, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3627
+ "gpt-4.1:batch": { inputPer1M: 1, outputPer1M: 4, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3628
+ "gpt-4o": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3629
+ "gpt-4o-2024-05-13": { inputPer1M: 5, outputPer1M: 15, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3630
+ "gpt-4o-2024-08-06": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3631
+ "gpt-4o-2024-11-20": { inputPer1M: 2.5, outputPer1M: 10, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3632
+ "gpt-4o-mini": { inputPer1M: 0.15, outputPer1M: 0.6, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3633
+ "gpt-4o-mini-2024-07-18": { inputPer1M: 0.15, outputPer1M: 0.6, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3634
+ "gpt-4o-mini:batch": { inputPer1M: 0.075, outputPer1M: 0.3, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3635
+ "gpt-4o:batch": { inputPer1M: 1.25, outputPer1M: 5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3636
+ "gpt-5": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3637
+ "gpt-5-image": { inputPer1M: 10, outputPer1M: 10, cacheReadMultiplier: 0.125, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3638
+ "gpt-5-image-mini": { inputPer1M: 2.5, outputPer1M: 2, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3639
+ "gpt-5-mini": { inputPer1M: 0.25, outputPer1M: 2, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3640
+ "gpt-5-mini:batch": { inputPer1M: 0.125, outputPer1M: 1, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3641
+ "gpt-5-nano": { inputPer1M: 0.05, outputPer1M: 0.4, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3642
+ "gpt-5-nano:batch": { inputPer1M: 0.025, outputPer1M: 0.2, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3643
+ "gpt-5-pro": { inputPer1M: 15, outputPer1M: 120, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3644
+ "gpt-5-pro:batch": { inputPer1M: 7.5, outputPer1M: 60, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3645
+ "gpt-5-search-api": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3646
+ "gpt-5:batch": { inputPer1M: 0.625, outputPer1M: 5, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3647
+ "gpt-5.1": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3648
+ "gpt-5.1-codex": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.104, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3649
+ "gpt-5.1-codex-max": { inputPer1M: 1.25, outputPer1M: 10, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3650
+ "gpt-5.1-codex-mini": { inputPer1M: 0.25, outputPer1M: 2, cacheReadMultiplier: 0.12, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3651
+ "gpt-5.1:batch": { inputPer1M: 0.625, outputPer1M: 5, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3652
+ "gpt-5.2": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3653
+ "gpt-5.2-chat": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3654
+ "gpt-5.2-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3655
+ "gpt-5.2-pro": { inputPer1M: 21, outputPer1M: 168, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3656
+ "gpt-5.2-pro:batch": { inputPer1M: 10.5, outputPer1M: 84, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3657
+ "gpt-5.2:batch": { inputPer1M: 0.875, outputPer1M: 7, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3658
+ "gpt-5.3-codex": { inputPer1M: 1.75, outputPer1M: 14, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3659
+ "gpt-5.4": { inputPer1M: 2.5, outputPer1M: 15, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3660
+ "gpt-5.4-mini": { inputPer1M: 0.75, outputPer1M: 4.5, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3661
+ "gpt-5.4-mini:batch": { inputPer1M: 0.375, outputPer1M: 2.25, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3662
+ "gpt-5.4-nano": { inputPer1M: 0.2, outputPer1M: 1.25, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3663
+ "gpt-5.4-nano:batch": { inputPer1M: 0.1, outputPer1M: 0.625, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3664
+ "gpt-5.4-pro": { inputPer1M: 30, outputPer1M: 180, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3665
+ "gpt-5.4-pro:batch": { inputPer1M: 15, outputPer1M: 90, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3666
+ "gpt-5.4:batch": { inputPer1M: 1.25, outputPer1M: 7.5, cacheReadMultiplier: 0.104, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3667
+ "gpt-5.5": { inputPer1M: 5, outputPer1M: 30, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3668
+ "gpt-5.5-pro": { inputPer1M: 30, outputPer1M: 180, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3669
+ "gpt-5.5-pro:batch": { inputPer1M: 15, outputPer1M: 90, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3670
+ "gpt-5.5:batch": { inputPer1M: 2.5, outputPer1M: 15, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3671
+ "gpt-5.6-luna": { inputPer1M: 0.2, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3672
+ "gpt-5.6-luna-pro": { inputPer1M: 0.2, outputPer1M: 1.2, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3673
+ "gpt-5.6-luna-pro:batch": { inputPer1M: 0.1, outputPer1M: 0.6, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3674
+ "gpt-5.6-luna:batch": { inputPer1M: 0.1, outputPer1M: 0.6, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3675
+ "gpt-5.6-sol": { inputPer1M: 4, outputPer1M: 20, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3676
+ "gpt-5.6-sol-pro": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3677
+ "gpt-5.6-sol-pro:batch": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3678
+ "gpt-5.6-sol:batch": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3679
+ "gpt-5.6-terra": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3680
+ "gpt-5.6-terra-pro": { inputPer1M: 2, outputPer1M: 12, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3681
+ "gpt-5.6-terra-pro:batch": { inputPer1M: 1, outputPer1M: 6, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3682
+ "gpt-5.6-terra:batch": { inputPer1M: 1, outputPer1M: 6, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3683
+ "gpt-6-astra": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3684
+ "gpt-6-astra-pro": { inputPer1M: 10, outputPer1M: 50, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3685
+ "gpt-6-astra-pro:batch": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3686
+ "gpt-6-astra:batch": { inputPer1M: 5, outputPer1M: 25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3687
+ "gpt-6-luna": { inputPer1M: 0.1, outputPer1M: 0.5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3688
+ "gpt-6-luna-pro": { inputPer1M: 0.1, outputPer1M: 0.5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3689
+ "gpt-6-luna-pro:batch": { inputPer1M: 0.05, outputPer1M: 0.25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3690
+ "gpt-6-luna:batch": { inputPer1M: 0.05, outputPer1M: 0.25, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3691
+ "gpt-6-sol": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3692
+ "gpt-6-sol-pro": { inputPer1M: 2, outputPer1M: 10, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3693
+ "gpt-6-sol-pro:batch": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3694
+ "gpt-6-sol:batch": { inputPer1M: 1, outputPer1M: 5, cacheReadMultiplier: 0.1, cacheWriteMultiplier: 1.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3695
+ "gpt-audio": { inputPer1M: 2.5, outputPer1M: 10, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3696
+ "gpt-audio-mini": { inputPer1M: 0.6, outputPer1M: 2.4, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openai" },
3697
+ "gpt-chat-latest": { inputPer1M: 5, outputPer1M: 30, cacheReadMultiplier: 0.1, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3698
+ "gpt-oss-120b": { inputPer1M: 0.15, outputPer1M: 0.6, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3699
+ "gpt-oss-120b:batch": { inputPer1M: 0.0296, outputPer1M: 0.136, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3700
+ "gpt-oss-20b": { inputPer1M: 0.018, outputPer1M: 0.09, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3701
+ "gpt-oss-20b:batch": { inputPer1M: 0.024, outputPer1M: 0.112, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3702
+ "gpt-oss-safeguard-20b": { inputPer1M: 0.075, outputPer1M: 0.3, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3703
+ "o1": { inputPer1M: 15, outputPer1M: 60, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3704
+ "o1-pro": { inputPer1M: 150, outputPer1M: 600, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3705
+ "o3": { inputPer1M: 2, outputPer1M: 8, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3706
+ "o3-mini": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3707
+ "o3-mini-high": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.5, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3708
+ "o3-mini:batch": { inputPer1M: 0.55, outputPer1M: 2.2, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3709
+ "o3-pro": { inputPer1M: 20, outputPer1M: 80, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3710
+ "o3:batch": { inputPer1M: 1, outputPer1M: 4, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" },
3711
+ "o4-mini": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openai" },
3712
+ "o4-mini-high": { inputPer1M: 1.1, outputPer1M: 4.4, cacheReadMultiplier: 0.25, vendor: "openai", provider: "openai", priceSource: "openrouter", idSource: "openrouter" },
3713
+ "o4-mini:batch": { inputPer1M: 0.55, outputPer1M: 2.2, vendor: "openai", provider: "openai", priceSource: "openai", idSource: "openrouter" }
3524
3714
  };
3715
+ var OPENAI_GENERATED_UNPRICED_IDS = [
3716
+ "chat-latest",
3717
+ "gpt-3.5-turbo-instruct-0914",
3718
+ "gpt-4.1-2025-04-14",
3719
+ "gpt-4.1-mini-2025-04-14",
3720
+ "gpt-4.1-nano-2025-04-14",
3721
+ "gpt-4o-mini-search-preview",
3722
+ "gpt-4o-mini-search-preview-2025-03-11",
3723
+ "gpt-4o-search-preview",
3724
+ "gpt-4o-search-preview-2025-03-11",
3725
+ "gpt-5-2025-08-07",
3726
+ "gpt-5-chat-latest",
3727
+ "gpt-5-codex",
3728
+ "gpt-5-mini-2025-08-07",
3729
+ "gpt-5-nano-2025-08-07",
3730
+ "gpt-5-pro-2025-10-06",
3731
+ "gpt-5-search-api-2025-10-14",
3732
+ "gpt-5.1-2025-11-13",
3733
+ "gpt-5.1-chat-latest",
3734
+ "gpt-5.2-2025-12-11",
3735
+ "gpt-5.2-chat-latest",
3736
+ "gpt-5.2-pro-2025-12-11",
3737
+ "gpt-5.3-chat-latest",
3738
+ "gpt-5.4-2026-03-05",
3739
+ "gpt-5.4-mini-2026-03-17",
3740
+ "gpt-5.4-nano-2026-03-17",
3741
+ "gpt-5.4-pro-2026-03-05",
3742
+ "gpt-5.5-2026-04-23",
3743
+ "gpt-5.5-pro-2026-04-23",
3744
+ "gpt-audio-1.5",
3745
+ "gpt-audio-2025-08-28",
3746
+ "gpt-audio-mini-2025-10-06",
3747
+ "gpt-audio-mini-2025-12-15",
3748
+ "o1-2024-12-17",
3749
+ "o1-pro-2025-03-19",
3750
+ "o3-2025-04-16",
3751
+ "o3-mini-2025-01-31",
3752
+ "o4-mini-2025-04-16"
3753
+ ];
3525
3754
 
3526
3755
  // src/llm/minimax-pricing.generated.ts
3527
3756
  var MINIMAX_GENERATED_PRICING = {
@@ -3690,7 +3919,7 @@ var PRICING_OVERRIDES = {
3690
3919
  provider: "mistral"
3691
3920
  },
3692
3921
  "gpt-5-codex": {
3693
- reason: "No generated counterpart -- not present in OpenRouter's openai/* listing under this exact id (OpenAI has no native pricing endpoint at all, see packages/catalog-sync/src/sources/openai.ts, so OpenRouter is the only automated source and it doesn't carry this specific id).",
3922
+ reason: "Priced by neither automated source: absent from OpenRouter's openai/* listing under this exact id, and absent from OpenAI's own pricing page, which now lists only gpt-5.3-codex for the Codex family. OpenAI's /v1/models DOES list the id, so the generator emits it in OPENAI_GENERATED_UNPRICED_IDS (existence) and this row supplies the price (gpt-5 rates, which is what Codex billed at).",
3694
3923
  inputPer1M: 1.25,
3695
3924
  outputPer1M: 10,
3696
3925
  cacheReadMultiplier: 0.1,
@@ -3728,10 +3957,12 @@ var LLM_PRICING_CATALOG = {
3728
3957
  // Every provider below is fully generated from that provider's own live
3729
3958
  // sync (`scripts/catalog-sync/sync-*.mjs`) — existence AND price both come
3730
3959
  // from the provider's native id space wherever the provider exposes one
3731
- // (Anthropic, xAI, MiniMax, Moonshot, Mistral, Google-via-remap); OpenRouter
3732
- // supplies PRICE only for those, never ids, except for OpenAI, the one
3733
- // provider with no native id/pricing source of its own at all, where
3734
- // OpenRouter is the sole source for both. On any id a generator covers,
3960
+ // (Anthropic, xAI, MiniMax, Moonshot, Mistral, Google-via-remap, and — as of
3961
+ // the OpenAI native-source sync — OpenAI, from `api.openai.com/v1/models`
3962
+ // plus its own published pricing page); OpenRouter supplies PRICE only for
3963
+ // those, never ids, apart from the OpenAI ids `/v1/models` structurally
3964
+ // cannot list (`:batch`, `gpt-oss-*`) — each of those carries
3965
+ // `idSource: "openrouter"`. On any id a generator covers,
3735
3966
  // the generated value wins UNCONDITIONALLY — no hand-typed row duplicates
3736
3967
  // an id a generator already prices, even where they used to disagree; see
3737
3968
  // the PR body's divergence table. `PRICING_OVERRIDES` above is the only
@@ -3750,13 +3981,15 @@ var LLM_PRICING_CATALOG = {
3750
3981
  // to refresh.
3751
3982
  ...OPENROUTER_ROUTES
3752
3983
  };
3984
+ var OPENAI_UNPRICED_ID_SET = new Set(OPENAI_GENERATED_UNPRICED_IDS);
3753
3985
  function isKnownLlmId(modelId) {
3754
- return modelId in LLM_PRICING_CATALOG || modelId in CONTEXT_WINDOWS || modelId in OPENROUTER_ROUTES;
3986
+ return modelId in LLM_PRICING_CATALOG || modelId in CONTEXT_WINDOWS || modelId in OPENROUTER_ROUTES || OPENAI_UNPRICED_ID_SET.has(modelId);
3755
3987
  }
3756
3988
  function listUnpricedKnownLlmIds() {
3757
3989
  const ids = /* @__PURE__ */ new Set([
3758
3990
  ...Object.keys(CONTEXT_WINDOWS),
3759
- ...Object.keys(OPENROUTER_ROUTES)
3991
+ ...Object.keys(OPENROUTER_ROUTES),
3992
+ ...OPENAI_GENERATED_UNPRICED_IDS
3760
3993
  ]);
3761
3994
  const result = [];
3762
3995
  for (const id of ids) {
@@ -3838,7 +4071,8 @@ var MODEL_ALIASES = {
3838
4071
  };
3839
4072
  var PRICING_BY_ID = LLM_PRICING_CATALOG;
3840
4073
  var ALIAS_BY_ID = MODEL_ALIASES;
3841
- function resolvePricing(modelId) {
4074
+ function resolvePricing(rawModelId) {
4075
+ const modelId = splitContextWindowHint(rawModelId).id;
3842
4076
  if (PRICING_BY_ID[modelId]) return PRICING_BY_ID[modelId];
3843
4077
  const alias = ALIAS_BY_ID[modelId];
3844
4078
  if (alias && PRICING_BY_ID[alias]) return PRICING_BY_ID[alias];
@@ -3847,22 +4081,37 @@ function resolvePricing(modelId) {
3847
4081
  }
3848
4082
  return void 0;
3849
4083
  }
3850
- function resolvePricingExact(modelId) {
4084
+ function resolvePricingExact(rawModelId) {
4085
+ const modelId = splitContextWindowHint(rawModelId).id;
3851
4086
  if (PRICING_BY_ID[modelId]) return PRICING_BY_ID[modelId];
3852
4087
  const alias = ALIAS_BY_ID[modelId];
3853
4088
  if (alias && PRICING_BY_ID[alias]) return PRICING_BY_ID[alias];
3854
4089
  return void 0;
3855
4090
  }
3856
- function resolveAlias(modelId) {
4091
+ function resolveAlias(rawModelId) {
4092
+ const modelId = splitContextWindowHint(rawModelId).id;
3857
4093
  if (PRICING_BY_ID[modelId]) return modelId;
3858
4094
  const alias = ALIAS_BY_ID[modelId];
3859
4095
  if (alias && PRICING_BY_ID[alias]) return alias;
3860
4096
  for (const key of Object.keys(PRICING_BY_ID)) {
3861
4097
  if (modelId.includes(key)) return key;
3862
4098
  }
3863
- return modelId;
4099
+ return rawModelId;
3864
4100
  }
3865
4101
  function resolveContextWindow(modelId) {
4102
+ const { id, contextWindow: hinted } = splitContextWindowHint(modelId);
4103
+ const entry = lookupContextWindow(id);
4104
+ if (entry && hinted !== void 0) return { ...entry, contextWindow: hinted };
4105
+ return entry;
4106
+ }
4107
+ function splitContextWindowHint(modelId) {
4108
+ const match = /^(.+)\[(\d+(?:\.\d+)?)([km])\]$/i.exec(modelId);
4109
+ if (!match) return { id: modelId };
4110
+ const [, id, amount, unit] = match;
4111
+ const contextWindow = Math.round(Number(amount) * (unit.toLowerCase() === "m" ? 1e6 : 1e3));
4112
+ return contextWindow > 0 ? { id, contextWindow } : { id };
4113
+ }
4114
+ function lookupContextWindow(modelId) {
3866
4115
  if (CONTEXT_WINDOWS[modelId]) return CONTEXT_WINDOWS[modelId];
3867
4116
  const datedMatch = Object.keys(CONTEXT_WINDOWS).filter((key) => key.startsWith(`${modelId}-2`)).sort((a, b) => a.length - b.length)[0];
3868
4117
  if (datedMatch) return CONTEXT_WINDOWS[datedMatch];
@@ -4062,6 +4311,15 @@ var OPENCODE_GO_ROUTES = {
4062
4311
  vendor: "openai",
4063
4312
  provider: "opencode-go"
4064
4313
  },
4314
+ "opencode-go/gpt-6-luna": {
4315
+ inputPer1M: 0.1,
4316
+ outputPer1M: 0.5,
4317
+ cacheReadMultiplier: 0.1,
4318
+ cacheWriteMultiplier: 1.25,
4319
+ addedAt: "2026-09-22",
4320
+ vendor: "openai",
4321
+ provider: "opencode-go"
4322
+ },
4065
4323
  "opencode-go/grok-4.5": {
4066
4324
  inputPer1M: 2,
4067
4325
  outputPer1M: 6,
@@ -4300,6 +4558,13 @@ var OPENCODE_GO_ROUTES = {
4300
4558
  addedAt: "2026-08-03",
4301
4559
  vendor: "qwen",
4302
4560
  provider: "opencode-go"
4561
+ },
4562
+ "opencode-go/space-bunny-free": {
4563
+ inputPer1M: 0,
4564
+ outputPer1M: 0,
4565
+ addedAt: "2026-09-23",
4566
+ vendor: "opencode",
4567
+ provider: "opencode-go"
4303
4568
  }
4304
4569
  };
4305
4570
  var OPENCODE_GO_ANTHROPIC_MODELS = [
@@ -4408,6 +4673,15 @@ var OPENCODE_ZEN_ROUTES = {
4408
4673
  vendor: "anthropic",
4409
4674
  provider: "opencode"
4410
4675
  },
4676
+ "opencode/claude-opus-5-5": {
4677
+ inputPer1M: 4,
4678
+ outputPer1M: 20,
4679
+ cacheReadMultiplier: 0.05,
4680
+ cacheWriteMultiplier: 1.25,
4681
+ addedAt: "2026-09-22",
4682
+ vendor: "anthropic",
4683
+ provider: "opencode"
4684
+ },
4411
4685
  "opencode/claude-sonnet-4": {
4412
4686
  inputPer1M: 3,
4413
4687
  outputPer1M: 15,
@@ -4789,6 +5063,24 @@ var OPENCODE_ZEN_ROUTES = {
4789
5063
  vendor: "openai",
4790
5064
  provider: "opencode"
4791
5065
  },
5066
+ "opencode/gpt-6-luna": {
5067
+ inputPer1M: 0.1,
5068
+ outputPer1M: 0.5,
5069
+ cacheReadMultiplier: 0.1,
5070
+ cacheWriteMultiplier: 1.25,
5071
+ addedAt: "2026-09-22",
5072
+ vendor: "openai",
5073
+ provider: "opencode"
5074
+ },
5075
+ "opencode/gpt-6-sol": {
5076
+ inputPer1M: 2,
5077
+ outputPer1M: 10,
5078
+ cacheReadMultiplier: 0.1,
5079
+ cacheWriteMultiplier: 1.25,
5080
+ addedAt: "2026-09-22",
5081
+ vendor: "openai",
5082
+ provider: "opencode"
5083
+ },
4792
5084
  "opencode/grok-4.5": {
4793
5085
  inputPer1M: 2,
4794
5086
  outputPer1M: 6,
@@ -4805,6 +5097,14 @@ var OPENCODE_ZEN_ROUTES = {
4805
5097
  vendor: "x-ai",
4806
5098
  provider: "opencode"
4807
5099
  },
5100
+ "opencode/grok-4.7": {
5101
+ inputPer1M: 1.4,
5102
+ outputPer1M: 4.2,
5103
+ cacheReadMultiplier: 0.25,
5104
+ addedAt: "2026-09-21",
5105
+ vendor: "x-ai",
5106
+ provider: "opencode"
5107
+ },
4808
5108
  "opencode/grok-build-0.1": {
4809
5109
  inputPer1M: 1,
4810
5110
  outputPer1M: 2,
@@ -5125,6 +5425,13 @@ var OPENCODE_ZEN_ROUTES = {
5125
5425
  vendor: "inclusionai",
5126
5426
  provider: "opencode"
5127
5427
  },
5428
+ "opencode/space-bunny-free": {
5429
+ inputPer1M: 0,
5430
+ outputPer1M: 0,
5431
+ addedAt: "2026-09-23",
5432
+ vendor: "opencode",
5433
+ provider: "opencode"
5434
+ },
5128
5435
  "opencode/trinity-large-preview-free": {
5129
5436
  inputPer1M: 0,
5130
5437
  outputPer1M: 0,
@@ -5151,6 +5458,7 @@ var OPENCODE_ZEN_ANTHROPIC_MODELS = [
5151
5458
  "claude-opus-4-7",
5152
5459
  "claude-opus-4-8",
5153
5460
  "claude-opus-5",
5461
+ "claude-opus-5-5",
5154
5462
  "claude-sonnet-4",
5155
5463
  "claude-sonnet-4-5",
5156
5464
  "claude-sonnet-4-6",
@@ -5164,6 +5472,6 @@ var OPENCODE_ZEN_ANTHROPIC_MODELS = [
5164
5472
  "qwen3.8-flash"
5165
5473
  ];
5166
5474
 
5167
- 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 };
5168
- //# sourceMappingURL=chunk-I5E7F6KY.mjs.map
5169
- //# sourceMappingURL=chunk-I5E7F6KY.mjs.map
5475
+ 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 };
5476
+ //# sourceMappingURL=chunk-3RHYOFVS.mjs.map
5477
+ //# sourceMappingURL=chunk-3RHYOFVS.mjs.map