nolo-cli 0.264.0-alpha.2 → 0.266.0-alpha.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 (538) hide show
  1. package/{chunk-LXP53WGF.js → chunk-05wkntba.js} +44 -40
  2. package/{chunk-XFYFMTOM.js → chunk-08ts2q1n.js} +9 -11
  3. package/{chromeCommands-MVEEIY4R.js → chunk-0a3m1n6h.js} +182 -238
  4. package/chunk-0gfvc7g8.js +13 -0
  5. package/{chunk-CF7PE763.js → chunk-0h0sncy4.js} +3 -4
  6. package/{chunk-3UH7SS4W.js → chunk-0nsxwrge.js} +232 -241
  7. package/chunk-0ra8cne4.js +11 -0
  8. package/{chunk-MRACVEPZ.js → chunk-0sgwk7am.js} +1 -3
  9. package/{chunk-PEXGRTTQ.js → chunk-0tsfn0dk.js} +44 -45
  10. package/{chunk-WOAZVUSN.js → chunk-0y8cbwzy.js} +26 -30
  11. package/chunk-12gz55kk.js +6 -0
  12. package/{chunk-GLKOYSRU.js → chunk-186gshgw.js} +3 -6
  13. package/chunk-19w4ss38.js +44 -0
  14. package/{chunk-RF576RYE.js → chunk-1cakzp6r.js} +23 -23
  15. package/chunk-1fbfwbzp.js +27 -0
  16. package/{chunk-4IVMDQBA.js → chunk-1fv9k8zt.js} +103 -68
  17. package/{chunk-Q5FJJ6XI.js → chunk-1js4cdzp.js} +11 -19
  18. package/{chunk-YECCIUYU.js → chunk-1nhx0er5.js} +63 -63
  19. package/chunk-1p152b7g.js +12 -0
  20. package/{chunk-HXEO5DNV.js → chunk-1ynbq3yr.js} +322 -353
  21. package/{chunk-6UBGXX2W.js → chunk-1zrg4h5n.js} +3 -4
  22. package/{chunk-Y5GCAMGP.js → chunk-2g6zsfq8.js} +1 -3
  23. package/chunk-2hekb0eh.js +17 -0
  24. package/chunk-2pj6qzq5.js +12 -0
  25. package/chunk-2tvd4jyp.js +226 -0
  26. package/chunk-2ygg7azv.js +846 -0
  27. package/chunk-33405wtv.js +50 -0
  28. package/chunk-34axejtd.js +30 -0
  29. package/{tableCommands-FCPDULSU.js → chunk-3700dvt3.js} +224 -276
  30. package/{pdf-KE3QI2V7.js → chunk-3j08t1nm.js} +12505 -10133
  31. package/chunk-3j9gq18v.js +111 -0
  32. package/{chunk-LYPJYBE5.js → chunk-3qfpcdkm.js} +486 -505
  33. package/{settingThunks-PNC7ZISV.js → chunk-3r2x7h64.js} +189 -272
  34. package/{agentGrantCommands-2VLLXGIU.js → chunk-3tbj5fxt.js} +61 -56
  35. package/chunk-40whhjj5.js +168 -0
  36. package/chunk-4301919y.js +7 -0
  37. package/chunk-43adz39e.js +77 -0
  38. package/{chunk-5ZUL4CUO.js → chunk-49v3zc4g.js} +1 -3
  39. package/chunk-4dd7mxkb.js +72 -0
  40. package/{chunk-BKP325XS.js → chunk-4hapfzpq.js} +66 -62
  41. package/chunk-4mm7dz0m.js +95 -0
  42. package/chunk-4pqxempz.js +440 -0
  43. package/chunk-4x9zf5pv.js +10 -0
  44. package/{chunk-CA7LGAHV.js → chunk-511q8qzv.js} +66 -57
  45. package/{chunk-U7OULUMF.js → chunk-53v9g0np.js} +49 -64
  46. package/chunk-572mg6q5.js +19 -0
  47. package/{chunk-QAW6BEWQ.js → chunk-57eyhmwr.js} +17173 -16165
  48. package/chunk-5hsr0zjm.js +156 -0
  49. package/chunk-5k883yyd.js +20 -0
  50. package/chunk-5m0wsee4.js +639 -0
  51. package/{memberThunks-NEZRAW5K.js → chunk-5r1sq2gt.js} +299 -373
  52. package/chunk-648rq4np.js +255 -0
  53. package/{chunk-IYRZKHA6.js → chunk-666yjw5c.js} +63 -86
  54. package/{chunk-4O22PGNQ.js → chunk-6cdcbmtp.js} +19 -19
  55. package/chunk-6dbyqcf7.js +59 -0
  56. package/{agentProviderCommands-2W3VXDLV.js → chunk-6e8mgp1x.js} +82 -105
  57. package/chunk-6n0pw7sx.js +44 -0
  58. package/chunk-6q1b7381.js +361 -0
  59. package/chunk-6sj756ry.js +23 -0
  60. package/{chunk-4UNN45DS.js → chunk-6t7a7zck.js} +14785 -14454
  61. package/chunk-6yarwtxh.js +776 -0
  62. package/chunk-708h542p.js +18 -0
  63. package/chunk-76f076t8.js +266 -0
  64. package/chunk-782rrrwv.js +523 -0
  65. package/{workloadLifecycle-P2SJVV3S.js → chunk-7gk330wp.js} +77 -84
  66. package/{chunk-EZKIRVLJ.js → chunk-7ks60vxy.js} +146 -128
  67. package/{chunk-FI4DPLR7.js → chunk-7mrqbxe8.js} +342 -228
  68. package/chunk-7sztayrd.js +169 -0
  69. package/chunk-7vgt2mxz.js +15 -0
  70. package/{localFirstLog-OIETGK66.js → chunk-7z8y4k6y.js} +0 -2
  71. package/{chunk-KDDXC2IH.js → chunk-82htft2m.js} +49 -11
  72. package/{updateDialogTitleAction-XOSLNRT3.js → chunk-88vrtxxg.js} +65 -137
  73. package/{chunk-LS5KAVFQ.js → chunk-8dtjbp79.js} +293 -229
  74. package/chunk-8fajbkaz.js +50 -0
  75. package/chunk-8m1ebxpw.js +65 -0
  76. package/{accountResolver-JYG5L7YP.js → chunk-8mgfeg0w.js} +37 -30
  77. package/{chunk-LPXBBC32.js → chunk-8myksy35.js} +156 -160
  78. package/{chunk-BMQ2MJUK.js → chunk-8nrj7dc7.js} +75 -66
  79. package/{commandRegistry-ENNFT77C.js → chunk-8t8x64ec.js} +228 -286
  80. package/chunk-8yj4pq79.js +458 -0
  81. package/{chunk-5MKPNTJP.js → chunk-8z6pepcx.js} +43 -48
  82. package/{chunk-UYQILGDR.js → chunk-90egc9vb.js} +122 -102
  83. package/{chunk-EODBQPRM.js → chunk-91q5dc5r.js} +10 -14
  84. package/{chunk-U6VC4MU4.js → chunk-96jtrqk1.js} +2 -4
  85. package/{chunk-H57T64RA.js → chunk-996j61av.js} +28 -31
  86. package/{chunk-Q6FKWH66.js → chunk-9cxgb9jy.js} +137 -243
  87. package/{chunk-2ZBPWX7N.js → chunk-9q1gbmet.js} +62 -104
  88. package/chunk-9qtjh73q.js +344 -0
  89. package/{chunk-SR57FDTX.js → chunk-9raka469.js} +72 -155
  90. package/{chunk-V6K5U4YE.js → chunk-9vh4v046.js} +32 -41
  91. package/{chunk-AGIM7IMJ.js → chunk-9yr1fy7j.js} +14 -49
  92. package/{chunk-FGFJUFPS.js → chunk-a16x0wt6.js} +11 -18
  93. package/chunk-a5b2rvzs.js +131 -0
  94. package/{chunk-7DPNBQSV.js → chunk-a7bz6nc3.js} +3 -4
  95. package/chunk-ac85azv9.js +29 -0
  96. package/{chunk-VXL2FZTP.js → chunk-ahhbkad4.js} +16 -20
  97. package/{chunk-37DGW762.js → chunk-anhksj2j.js} +16 -29
  98. package/{cliAuthorityBrokerServer-27C5YBYP.js → chunk-atvmx76t.js} +180 -186
  99. package/{chunk-E6A5NHDH.js → chunk-av2mzeqz.js} +16 -17
  100. package/chunk-avbwrb0z.js +614 -0
  101. package/chunk-avr6rqe5.js +544 -0
  102. package/{workContextQueryProjection-CACY5VFE.js → chunk-axx60d5a.js} +7 -7
  103. package/{chunk-EWQ3HGNZ.js → chunk-b00vzjkb.js} +30 -23
  104. package/chunk-b0m6ezxr.js +132 -0
  105. package/chunk-bbd5mgdt.js +47 -0
  106. package/chunk-bcecft0r.js +28 -0
  107. package/chunk-beyr4pyp.js +33 -0
  108. package/{chunk-BR3GT6MR.js → chunk-bge0cagn.js} +7 -18
  109. package/{offlineMarxistsAgentCommand-MFURGWHL.js → chunk-bh53zg3t.js} +33 -43
  110. package/chunk-bmx1cw89.js +37 -0
  111. package/chunk-br2195h4.js +22 -0
  112. package/chunk-bsqkwveq.js +56 -0
  113. package/{chunk-QAU6KM2U.js → chunk-c09s2z1m.js} +139 -98
  114. package/chunk-c235kypv.js +24636 -0
  115. package/{chunk-2JMYAH5O.js → chunk-c30j6pyh.js} +213 -256
  116. package/chunk-c3v6r6sq.js +29 -0
  117. package/{chunk-PDSXYHNI.js → chunk-c5z7qspt.js} +1177 -1196
  118. package/{chunk-GWB6AGME.js → chunk-c6jvz0mp.js} +34 -50
  119. package/{chunk-PRJ473FK.js → chunk-cd6h9qqs.js} +14 -12
  120. package/chunk-cdt0amyy.js +37 -0
  121. package/{chunk-2AJLG6PY.js → chunk-cfh6tfc3.js} +73 -86
  122. package/{chunk-WIVVNJUS.js → chunk-ch4ck1yz.js} +38 -68
  123. package/chunk-chtvrtp5.js +55 -0
  124. package/{chunk-EYLGAEB4.js → chunk-ckvz7abv.js} +170 -165
  125. package/{chunk-YZMNK53S.js → chunk-csf18m5w.js} +32 -25
  126. package/{chunk-C36L6ZID.js → chunk-cwnvf8dt.js} +2 -10
  127. package/chunk-cy7thb6n.js +19877 -0
  128. package/{dialogPortabilityCommands-YQJNB2KL.js → chunk-d61q9nah.js} +439 -487
  129. package/chunk-d6xdy0gp.js +142 -0
  130. package/{chunk-EBH4RFJ6.js → chunk-dh69vqbd.js} +6390 -6496
  131. package/{chunk-KJ4J2XQB.js → chunk-dj4ggbc6.js} +17 -19
  132. package/{chunk-LISC7BD4.js → chunk-djrrhbk3.js} +29 -37
  133. package/chunk-drqzzzvr.js +822 -0
  134. package/chunk-e1n7edjk.js +33 -0
  135. package/chunk-e3atr4hk.js +59 -0
  136. package/chunk-e9bn2aav.js +13 -0
  137. package/chunk-ed396rfq.js +87 -0
  138. package/chunk-eha8ggh6.js +10 -0
  139. package/{chunk-MALPQFGT.js → chunk-ek122zzt.js} +893 -948
  140. package/chunk-epnmvek4.js +22 -0
  141. package/{chunk-S25VJYXV.js → chunk-eqzvk3xm.js} +69 -80
  142. package/chunk-ex34n71b.js +2874 -0
  143. package/{chunk-56OAS5RZ.js → chunk-f3ad6q4h.js} +7 -11
  144. package/{chunk-3PVYUPXK.js → chunk-f8jepva1.js} +6 -7
  145. package/{chunk-GH34JXNV.js → chunk-f9yvy9t9.js} +114 -92
  146. package/chunk-fbdz4f0j.js +90 -0
  147. package/{chunk-J44TXB4J.js → chunk-fcsc2day.js} +216 -164
  148. package/chunk-fevdhnbh.js +19 -0
  149. package/chunk-fkrgqq8w.js +3300 -0
  150. package/{chunk-TSBJVMNW.js → chunk-fs3bvh2p.js} +42 -57
  151. package/chunk-fvwzyhah.js +134 -0
  152. package/chunk-g0mpxdp9.js +101 -0
  153. package/{chunk-LTQ6ECCF.js → chunk-g35f20d1.js} +450 -414
  154. package/{chunk-3L2WKC3W.js → chunk-g5fhtjqg.js} +13 -16
  155. package/{chunk-DBEOW57U.js → chunk-gcq01td7.js} +270 -227
  156. package/{chunk-ADMRXWXJ.js → chunk-ge97b11r.js} +121 -42
  157. package/chunk-ghjtgbkw.js +180 -0
  158. package/chunk-gkra36c1.js +16 -0
  159. package/chunk-gmz86t60.js +1000 -0
  160. package/{localDialogRead-GWGWSL5K.js → chunk-gszpesze.js} +5 -12
  161. package/chunk-gvsfec9m.js +16536 -0
  162. package/{chunk-QSJ3HFEF.js → chunk-h1hzmqph.js} +1 -3
  163. package/chunk-h30dg154.js +17 -0
  164. package/chunk-h3hkb7cw.js +241 -0
  165. package/chunk-h40py996.js +28 -0
  166. package/{chunk-47T3QP4V.js → chunk-h60gnewh.js} +112 -116
  167. package/{agentPullCommand-XEGOUYQT.js → chunk-hkwsv9xf.js} +33 -45
  168. package/chunk-hnyg0gwj.js +28 -0
  169. package/{chunk-KSV6T4AH.js → chunk-hqqqph5w.js} +12 -4
  170. package/{chunk-YQJEXXDK.js → chunk-hrngs1wy.js} +157 -246
  171. package/{chunk-LRLLWD4P.js → chunk-htf69s94.js} +14 -12
  172. package/chunk-j0yxesh3.js +83 -0
  173. package/{chunk-VF4K2QE6.js → chunk-j22t9g05.js} +3 -6
  174. package/{chunk-3R4AYHJR.js → chunk-j4a8m2zn.js} +5 -34
  175. package/chunk-j9p4jnwg.js +27 -0
  176. package/{chunk-R72QWIFO.js → chunk-jdycmfsm.js} +9 -9
  177. package/chunk-jdyvrne0.js +52 -0
  178. package/{spacePruneCommand-YKIEUIDQ.js → chunk-je0b66qf.js} +44 -62
  179. package/{chunk-HNMXYYJR.js → chunk-jec44fkj.js} +3 -4
  180. package/{chunk-526GLZJE.js → chunk-jf1ex00r.js} +107 -73
  181. package/chunk-jgqdec9b.js +31 -0
  182. package/{chunk-56GBUMO5.js → chunk-jkw9n4h5.js} +16 -25
  183. package/{chunk-7422ZLGL.js → chunk-jmnzdwjt.js} +867 -965
  184. package/chunk-jqq57s0a.js +58 -0
  185. package/{chunk-OKUSDVRS.js → chunk-jtkn5aj6.js} +27 -38
  186. package/chunk-jwvzn9r0.js +316 -0
  187. package/chunk-k1re0fc7.js +107 -0
  188. package/chunk-k2ep3rb2.js +103 -0
  189. package/{chunk-JEXVIMYZ.js → chunk-k6ycb24w.js} +5 -8
  190. package/{chunk-RI7SXDJW.js → chunk-kawvydbk.js} +383 -195
  191. package/chunk-kf2ghpzh.js +10 -0
  192. package/{chunk-S6FAHQDH.js → chunk-kgah9e46.js} +28 -59
  193. package/{chunk-T3MWVUBE.js → chunk-kjjepkvc.js} +71 -82
  194. package/chunk-kn4dgg4j.js +4113 -0
  195. package/{chunk-2LFYMWM3.js → chunk-kn5p91n8.js} +43 -53
  196. package/{chunk-MVOZ22RZ.js → chunk-kntqrbwc.js} +8 -12
  197. package/{chunk-I6YIA2TY.js → chunk-kq3vr7mx.js} +25 -20
  198. package/chunk-kz1x1d8n.js +15 -0
  199. package/{mcpLocalAuthorizeCommand-IKOFKY5U.js → chunk-m22e7tt2.js} +53 -71
  200. package/{chunk-ZNFJWEN4.js → chunk-m32rwr4d.js} +11 -8
  201. package/chunk-m39e9m18.js +93 -0
  202. package/{chunk-4D4QD7FT.js → chunk-m5518371.js} +64 -56
  203. package/{chunk-LHTXSC2E.js → chunk-mb5hnfyp.js} +9 -11
  204. package/chunk-mexet11v.js +11 -0
  205. package/chunk-mg2hgfgh.js +185 -0
  206. package/chunk-mmdhm4kx.js +10317 -0
  207. package/chunk-mz002yz8.js +2821 -0
  208. package/chunk-mzadqnyq.js +56 -0
  209. package/{chunk-VIDPVFP3.js → chunk-n3r1ebdm.js} +5 -6
  210. package/chunk-n438qea7.js +33 -0
  211. package/chunk-n5ffnhnb.js +93 -0
  212. package/chunk-nbvd87fy.js +9 -0
  213. package/{chunk-E36V7MPY.js → chunk-ndej7jc9.js} +53 -43
  214. package/{chunk-B767MA64.js → chunk-nen6rwe4.js} +62 -22
  215. package/chunk-nf06tr3v.js +16 -0
  216. package/chunk-ng8z355q.js +16 -0
  217. package/{chunk-4MEKE5D3.js → chunk-nhtxfv8k.js} +78 -63
  218. package/{runAgentClientLoop-2SFASHDS.js → chunk-nj62jscj.js} +132 -214
  219. package/{chunk-GBWGPTA7.js → chunk-nkryrkyp.js} +16 -19
  220. package/chunk-nmesxem8.js +197 -0
  221. package/{chunk-YR4J7RFS.js → chunk-nmq0qwbn.js} +117 -164
  222. package/chunk-nph8brvw.js +7 -0
  223. package/chunk-nr8fees9.js +10 -0
  224. package/{chunk-DFI7MVCQ.js → chunk-nvewvf7h.js} +1441 -1427
  225. package/{chunk-G7Y4GXTY.js → chunk-nyamhphs.js} +70 -79
  226. package/chunk-nz1c8tcg.js +111 -0
  227. package/{chunk-GPLUFN2E.js → chunk-nzc5yffh.js} +176 -217
  228. package/{chunk-G3SUCT4W.js → chunk-p1vg4bx8.js} +2 -4
  229. package/chunk-p3k3abe8.js +202 -0
  230. package/chunk-p4zy30q5.js +8 -0
  231. package/{chunk-ZJACPM5O.js → chunk-p6se1rx0.js} +102 -102
  232. package/chunk-p9dpshev.js +6968 -0
  233. package/chunk-pa42wxr0.js +116 -0
  234. package/{chunk-TA5QI4MM.js → chunk-paxthgqp.js} +56 -107
  235. package/{readlineWorkspace-ZH5FGDMI.js → chunk-pb35s8d9.js} +5395 -5786
  236. package/{chunk-XT6C2QZW.js → chunk-pbebzbcq.js} +8 -8
  237. package/chunk-pbx7e1mb.js +11 -0
  238. package/chunk-pe5czfn9.js +8 -0
  239. package/chunk-pextk1j4.js +62 -0
  240. package/chunk-pf5rywc6.js +575 -0
  241. package/chunk-pjfhd3fz.js +136 -0
  242. package/{chunk-ZCMAKAZM.js → chunk-pkhqb0fs.js} +118 -59
  243. package/chunk-pm5xb9jh.js +26 -0
  244. package/{chunk-Y3KGWZKF.js → chunk-ppdmmdkx.js} +110 -97
  245. package/chunk-pqp6y2hs.js +9 -0
  246. package/{chunk-QHEN7NZ7.js → chunk-ptz8fm2n.js} +12 -17
  247. package/{chunk-EUHMI5KG.js → chunk-pwqnvbt7.js} +65 -46
  248. package/chunk-pzr31nz7.js +12 -0
  249. package/{chunk-WWC7I6TA.js → chunk-q3cx89sw.js} +2 -4
  250. package/chunk-q5pe7be3.js +78 -0
  251. package/{chunk-ZHWTBHT3.js → chunk-q6zqbxp2.js} +418 -409
  252. package/chunk-q7r0e1p3.js +15 -0
  253. package/chunk-q8t2fecd.js +6 -0
  254. package/{chunk-2QAZCYOM.js → chunk-q94zx4d0.js} +721 -753
  255. package/{runtimeDoctorCommands-52MBG5JN.js → chunk-qarz1az1.js} +65 -85
  256. package/{chunk-4INJGWE3.js → chunk-qdcvr25b.js} +72 -53
  257. package/{streamAgentChatTurn-KOUWITHH.js → chunk-qxs27wfg.js} +1079 -1475
  258. package/{chunk-GIXWVN2W.js → chunk-r06ycjjr.js} +50 -47
  259. package/{chunk-63W5N6P3.js → chunk-r20jw5hb.js} +57 -38
  260. package/{chunk-I5BYFTYK.js → chunk-r7sfwdka.js} +1201 -1142
  261. package/{chunk-UMADT6B2.js → chunk-r9sp1yyb.js} +6 -8
  262. package/{handleSendMessageAction-FHGUFT2X.js → chunk-rbd2vgb3.js} +627 -757
  263. package/chunk-rc37js46.js +12 -0
  264. package/{chunk-5YI447UL.js → chunk-rmngk6r3.js} +67 -76
  265. package/chunk-rnhbnbrq.js +15 -0
  266. package/{chunk-WRHVVIGI.js → chunk-rsfnmrt5.js} +111 -131
  267. package/{chunk-YFSM2366.js → chunk-rvvn2rhj.js} +28 -22
  268. package/{chunk-4Y6CZ2N4.js → chunk-s0fpz7ht.js} +37 -33
  269. package/{chunk-VI4SWTUO.js → chunk-s1cqzb2r.js} +77 -65
  270. package/{chunk-6QDYSCPW.js → chunk-s8q81tda.js} +73 -65
  271. package/chunk-s9hy639e.js +6 -0
  272. package/{chunk-R5GO3YZP.js → chunk-s9vbwme8.js} +115 -106
  273. package/chunk-sger1m1b.js +20 -0
  274. package/chunk-spe6crvk.js +60 -0
  275. package/chunk-spwsrvh9.js +70 -0
  276. package/chunk-sr05zpk7.js +573 -0
  277. package/{chunk-M2EJHDJP.js → chunk-srncrd3f.js} +1 -12
  278. package/{chunk-QXHFIX7W.js → chunk-sry80bpx.js} +71 -53
  279. package/{chunk-PSCNXBYA.js → chunk-t6q69p83.js} +3 -4
  280. package/{chunk-UAD2WT54.js → chunk-t714r4q0.js} +9 -28
  281. package/chunk-t7vbraqe.js +42 -0
  282. package/{chunk-CVMMWN6P.js → chunk-td7653rr.js} +10 -20
  283. package/{chunk-3BQDF4QB.js → chunk-tmytcetz.js} +17 -21
  284. package/{chunk-AMWMV56B.js → chunk-tta4prwg.js} +16 -15
  285. package/chunk-tvh8azgq.js +4829 -0
  286. package/{chunk-ID4G2MAR.js → chunk-v08kbfm8.js} +10 -11
  287. package/{chunk-OKPOQGQJ.js → chunk-v1x702q8.js} +801 -852
  288. package/{chunk-KHCLMKZZ.js → chunk-v39fea91.js} +576 -247
  289. package/{chunk-OW765XBU.js → chunk-vejtd8p2.js} +3 -4
  290. package/chunk-vep7zkha.js +368 -0
  291. package/chunk-vfwn1k7n.js +142 -0
  292. package/chunk-vg68vxhx.js +20 -0
  293. package/chunk-vgcqgnsm.js +31 -0
  294. package/{chunk-NF64D32W.js → chunk-vnzyjdea.js} +1 -3
  295. package/{chunk-ZCLSM5AK.js → chunk-vqgtw1px.js} +800 -717
  296. package/chunk-vv1gr5xz.js +76 -0
  297. package/{spaceCommands-Z2CTQD6G.js → chunk-w1qeadpq.js} +176 -242
  298. package/chunk-w468ez1p.js +13 -0
  299. package/chunk-w49s0t79.js +14 -0
  300. package/{mcpLocalManageCommands-KUDZQRM4.js → chunk-w58zhfbn.js} +91 -93
  301. package/chunk-w5b74aq6.js +11 -0
  302. package/chunk-w7y41qyw.js +117 -0
  303. package/chunk-w820gg1w.js +4165 -0
  304. package/{chunk-DBJAJ4UD.js → chunk-wdsmaqmt.js} +399 -453
  305. package/{chunk-3EUW3WEO.js → chunk-wfvvnmmj.js} +1 -3
  306. package/{chunk-QY4NZCDA.js → chunk-wkr04bhk.js} +432 -651
  307. package/{chunk-KUG52IAP.js → chunk-ws402twv.js} +1 -3
  308. package/chunk-wzwh311q.js +164 -0
  309. package/{runtimeModeArgs-X7DL7PUN.js → chunk-x5vtgvwn.js} +6 -5
  310. package/{agentMachineCommands-COJD2KPZ.js → chunk-x8h2csmq.js} +152 -195
  311. package/{chunk-BAZCS5XG.js → chunk-x9zfjnrc.js} +59 -47
  312. package/{chunk-WTIJKWCI.js → chunk-xcarc2rf.js} +50 -56
  313. package/chunk-xf33gz0a.js +8 -0
  314. package/{chunk-PVFYPUIM.js → chunk-y7b3gwx1.js} +78 -71
  315. package/{memoryCommands-SVLAVFCV.js → chunk-y7sphmnh.js} +119 -95
  316. package/{agentListCommands-436FHOIT.js → chunk-ycvaafhc.js} +260 -374
  317. package/chunk-yd7zprb0.js +9 -0
  318. package/chunk-yfz3d27k.js +40 -0
  319. package/{chunk-MKR6KDD3.js → chunk-ykv9g3m4.js} +141 -125
  320. package/chunk-ystjgb9e.js +544 -0
  321. package/chunk-yysxn7ep.js +12 -0
  322. package/{chunk-AL3TYDIF.js → chunk-z17eyawk.js} +18 -16
  323. package/{machineCommands-RVB5OG2X.js → chunk-z17q416p.js} +442 -563
  324. package/chunk-z1n98pcf.js +12 -0
  325. package/{dialogTraceCommand-HWXGIGZX.js → chunk-z566jx5r.js} +292 -397
  326. package/chunk-zjxd6942.js +6 -0
  327. package/{versionChangeNotice-RFABJGJE.js → chunk-zk11x9y5.js} +7 -9
  328. package/{chunk-TEFD5E2D.js → chunk-zt73yc33.js} +48 -51
  329. package/chunk-zvs2fra1.js +5 -0
  330. package/{chunk-SVFFKLMR.js → chunk-zwee84rh.js} +117 -141
  331. package/chunk-zxgfqv72.js +8 -0
  332. package/index.js +53 -69
  333. package/package.json +4 -4
  334. package/_executeModel-YQNZNR2Y.js +0 -341
  335. package/action-UK3HXGXF.js +0 -30
  336. package/addContentAction-CAKFVBDM.js +0 -38
  337. package/addDialogAgentAction-KLJ2YWWM.js +0 -77
  338. package/agentDeleteCommand-S5FVPYKT.js +0 -523
  339. package/agentEmailCommands-ZEFMGVKM.js +0 -742
  340. package/agentRecordCommands-JZ35AC5A.js +0 -211
  341. package/agentRun-UIO43TUG.js +0 -251
  342. package/agentRunCommand-ATLKKD6O.js +0 -249
  343. package/agentRunControl-U2MV74WR.js +0 -211
  344. package/agentRuntimeLocal-P4MMGIR6.js +0 -189
  345. package/agentSlice-HHNKNNYM.js +0 -52
  346. package/appConfigCommands-W4JQHMOJ.js +0 -417
  347. package/appDeleteCommands-IXR47IAV.js +0 -183
  348. package/appDeployCommands-LB6DHDF4.js +0 -232
  349. package/appDeployStatusCommands-UQ6MJL6D.js +0 -204
  350. package/appGetCommands-M5JCTDDQ.js +0 -185
  351. package/appListCommands-TE3ZHE3I.js +0 -186
  352. package/appMigrateCommands-FOXH6R4B.js +0 -230
  353. package/appSourceCommands-3ACYB6I7.js +0 -279
  354. package/authCommand-I5OBJP5S.js +0 -66
  355. package/authCommands-I6KCGOCN.js +0 -54
  356. package/builtinSkillRegistry-MIXYSZUU.js +0 -35
  357. package/chromeOpsCommands-IZRCYDSW.js +0 -579
  358. package/chunk-24BICQPB.js +0 -25
  359. package/chunk-2E4BYAUE.js +0 -69
  360. package/chunk-2O72G3U2.js +0 -17157
  361. package/chunk-2OROOEOQ.js +0 -229
  362. package/chunk-2R6M34JP.js +0 -27225
  363. package/chunk-2SXN7LAY.js +0 -15
  364. package/chunk-35JIFLIG.js +0 -30
  365. package/chunk-3VXVE2LF.js +0 -12
  366. package/chunk-4DBTBNTX.js +0 -477
  367. package/chunk-4JH2UMJR.js +0 -40
  368. package/chunk-4RUQ2PFX.js +0 -432
  369. package/chunk-4SN6J65J.js +0 -38
  370. package/chunk-5MMAK75Q.js +0 -15
  371. package/chunk-6NYQHXMV.js +0 -1737
  372. package/chunk-6R4IY46J.js +0 -14
  373. package/chunk-7E6YXSFZ.js +0 -441
  374. package/chunk-7K4J76JQ.js +0 -917
  375. package/chunk-7LR2IFUH.js +0 -100
  376. package/chunk-AETZ7AD6.js +0 -274
  377. package/chunk-ATNTHIZI.js +0 -13
  378. package/chunk-BPB3T5EU.js +0 -791
  379. package/chunk-BV3FLP2L.js +0 -133
  380. package/chunk-BVYHE6QD.js +0 -110
  381. package/chunk-BWJLEN6X.js +0 -1388
  382. package/chunk-CHOZJMJS.js +0 -78
  383. package/chunk-D2LTQAGN.js +0 -464
  384. package/chunk-DALXH7BG.js +0 -3392
  385. package/chunk-DBCWXGOC.js +0 -15210
  386. package/chunk-DLXL4NSL.js +0 -1179
  387. package/chunk-DSBRIUX5.js +0 -23
  388. package/chunk-DWLEOOGR.js +0 -8
  389. package/chunk-E2KZNP6C.js +0 -13
  390. package/chunk-E5JV4DCB.js +0 -272
  391. package/chunk-EUGTFFO6.js +0 -42
  392. package/chunk-FBNVJ2TO.js +0 -294
  393. package/chunk-FGXG6OLW.js +0 -34
  394. package/chunk-G22P2J7O.js +0 -1775
  395. package/chunk-HEVRQGGH.js +0 -106
  396. package/chunk-HHXF57CL.js +0 -180
  397. package/chunk-HI5RS2O4.js +0 -2109
  398. package/chunk-HJTI7RZV.js +0 -94
  399. package/chunk-HRWRIPTB.js +0 -531
  400. package/chunk-HYCVEESH.js +0 -2824
  401. package/chunk-I42VC5KR.js +0 -15
  402. package/chunk-IB5AR52X.js +0 -15
  403. package/chunk-IIRJ4P4I.js +0 -24
  404. package/chunk-IT3ZZRJE.js +0 -12
  405. package/chunk-IV6VUVLJ.js +0 -88
  406. package/chunk-J42X32PV.js +0 -472
  407. package/chunk-JDMWYVUF.js +0 -449
  408. package/chunk-JKVOKKMQ.js +0 -53
  409. package/chunk-JRTNUU5Z.js +0 -54
  410. package/chunk-K7HLFORE.js +0 -226
  411. package/chunk-KGBASAB5.js +0 -74
  412. package/chunk-KGKTN2NX.js +0 -25
  413. package/chunk-KX6YBIHG.js +0 -8
  414. package/chunk-KYHNSSL2.js +0 -62
  415. package/chunk-KZO2MTVM.js +0 -140
  416. package/chunk-LKZPX6YH.js +0 -0
  417. package/chunk-LLP2NDED.js +0 -201
  418. package/chunk-LOFRSJX2.js +0 -47
  419. package/chunk-M75RM77T.js +0 -3970
  420. package/chunk-MDAYRIP7.js +0 -1889
  421. package/chunk-MI6HRMCK.js +0 -25
  422. package/chunk-MTNQNLSE.js +0 -1029
  423. package/chunk-NH4PUEWK.js +0 -762
  424. package/chunk-NHLLXINQ.js +0 -8
  425. package/chunk-NTUNHTJV.js +0 -40
  426. package/chunk-OJKUU3LP.js +0 -67
  427. package/chunk-OQH3TAB7.js +0 -299
  428. package/chunk-P62DHV4F.js +0 -443
  429. package/chunk-PHIERFHT.js +0 -574
  430. package/chunk-PKDFU6MY.js +0 -102
  431. package/chunk-PL5RKESU.js +0 -40
  432. package/chunk-PSJJBBWV.js +0 -42
  433. package/chunk-QKM55LP2.js +0 -739
  434. package/chunk-QQ56R7KS.js +0 -88
  435. package/chunk-QYPE3TS3.js +0 -43
  436. package/chunk-REAE2SZK.js +0 -62
  437. package/chunk-RGQ4UUWZ.js +0 -208
  438. package/chunk-RIRFHJTW.js +0 -353
  439. package/chunk-RYMLMTPZ.js +0 -547
  440. package/chunk-SSGTV4FC.js +0 -303
  441. package/chunk-SVKWZ3EG.js +0 -607
  442. package/chunk-T7KODHYS.js +0 -317
  443. package/chunk-TGVVE5BA.js +0 -3085
  444. package/chunk-TKLBBR7P.js +0 -779
  445. package/chunk-TZXPT53C.js +0 -8
  446. package/chunk-U67V476Y.js +0 -35
  447. package/chunk-UEILX4EV.js +0 -15
  448. package/chunk-VIWDGTDA.js +0 -8
  449. package/chunk-VXUQWCEZ.js +0 -138
  450. package/chunk-W5GKF5ZW.js +0 -32
  451. package/chunk-WDWZPASX.js +0 -29
  452. package/chunk-WX266G2C.js +0 -9594
  453. package/chunk-YCITCYSJ.js +0 -356
  454. package/chunk-Z3KTXWWB.js +0 -76
  455. package/chunk-ZC3CMUKU.js +0 -322
  456. package/chunk-ZSZBHRLP.js +0 -1710
  457. package/chunk-ZV7ZY46L.js +0 -1343
  458. package/cliAgentConfigHelpers-WB2S7PDO.js +0 -47
  459. package/cliAuthorityBrokerClient-3SKOA7OZ.js +0 -23
  460. package/cliAuthorityBrokerProcess-BMBVXPKU.js +0 -24
  461. package/cliAuthorityStoreDriver-6FE3BJNB.js +0 -20
  462. package/cliEnvHelpers-7V5ZWUJA.js +0 -34
  463. package/cliExecutor-N3445G2Z.js +0 -45
  464. package/cliLocalAgentRecordReader-QKKRK53P.js +0 -113
  465. package/cloudAutomationCommands-S52NKCLL.js +0 -310
  466. package/contentThunks-ERA42OXW.js +0 -100
  467. package/cooldownCommands-ZFDAL4MR.js +0 -79
  468. package/createAgentAutomationAction-DMD2VDPI.js +0 -173
  469. package/createDialogAction-3SPOJQAK.js +0 -87
  470. package/createPageAction-AVXUMZVT.js +0 -91
  471. package/cursorProvider-2RACMEMF.js +0 -6123
  472. package/db-LTHLW7QA.js +0 -178
  473. package/dbSlice-WNUHTF4C.js +0 -76
  474. package/deleteDbKey-KV6MYBAI.js +0 -87
  475. package/desktopFolderProjects-4POAMVJN.js +0 -45
  476. package/dialogCommands-4MOLJW4G.js +0 -165
  477. package/dialogMessageRecord-2HJTEXQX.js +0 -7
  478. package/dialogNotifyCommand-YL2GFKLO.js +0 -45
  479. package/dialogSlice-Q7H2YVNO.js +0 -200
  480. package/dialogUsageCommand-IO2BQKL2.js +0 -31
  481. package/docCreateCommands-OYLRBK2M.js +0 -255
  482. package/docDeleteCommands-3NF6QPJU.js +0 -226
  483. package/docReadCommands-CBAERJAP.js +0 -184
  484. package/docStore-GWPFDV6Y.js +0 -89
  485. package/docUpdateCommands-BAMCGX6F.js +0 -326
  486. package/ebookDownloaderAgentCommand-NOIZ6U7Y.js +0 -675
  487. package/fetchMessages-P7FSCSXV.js +0 -19
  488. package/getPricing-KNXVEIUI.js +0 -40
  489. package/hostCredentialCreate-2VEYBXJV.js +0 -402
  490. package/i18n-SAK6DDY4.js +0 -51
  491. package/keys-FXEGMKSG.js +0 -183
  492. package/legacyMigration-TF4SYJCZ.js +0 -19
  493. package/levelAuthorityStore-L5SVDM5O.js +0 -10
  494. package/localAutomationCommands-XSK7SM7I.js +0 -199
  495. package/localAutomationRuntime-5WBO7HGQ.js +0 -61
  496. package/localRecall-BDYKXB46.js +0 -17
  497. package/localRuntimeAdapter-Y6H6XRIH.js +0 -310
  498. package/localRuntimeAuthority-Q5C2KWGF.js +0 -45
  499. package/localRuntimeDb-MM3DINZM.js +0 -12
  500. package/machineInfo-HNPJHQFU.js +0 -14
  501. package/machineWsRunDispatch-Y5SJGCEE.js +0 -228
  502. package/models-TOXYINNM.js +0 -10
  503. package/oauthTokenStore-RUYNYALS.js +0 -24
  504. package/overlay-JA3SPVUS.js +0 -15
  505. package/parityCommands-5OCBPVES.js +0 -613
  506. package/processSpawn-6GEO77KV.js +0 -11
  507. package/profileConfig-KOWK4HOG.js +0 -49
  508. package/projectArchive-WE3VVPZ2.js +0 -132
  509. package/providerPresetApply-YCVSP2WX.js +0 -235
  510. package/providerRegistry-26PAUYH2.js +0 -24
  511. package/read-D4WYJQJQ.js +0 -32
  512. package/readDocTool-3S3OQFOH.js +0 -22
  513. package/rememberExplicit-ZPI6KK5M.js +0 -16
  514. package/remove-AHRMUDMH.js +0 -32
  515. package/removeDialogAgentAction-AALRBFSA.js +0 -81
  516. package/secretCommands-2PSS3QNZ.js +0 -24
  517. package/setDialogExtraReferencesAction-SLHQ3GYL.js +0 -39
  518. package/setPrimaryDialogAgentAction-XKCSGJ7M.js +0 -96
  519. package/skillDiscovery-IUEZZG2B.js +0 -29
  520. package/skillSummaryMarker-62UW7HI7.js +0 -9
  521. package/slateToRenderMarkdown-R3X74MCX.js +0 -7
  522. package/slateUtils-ESQAJ6RN.js +0 -19
  523. package/store-WSAVTR32.js +0 -50
  524. package/switchDialogAgentAction-YJIWQGIR.js +0 -70
  525. package/tombstones-FQQMEDOW.js +0 -32
  526. package/toolApiClient-FVXTIIEN.js +0 -42
  527. package/tools-WN4AVSNS.js +0 -147
  528. package/tuiRestart-LU2BDLAW.js +0 -50
  529. package/tuiSummaryLlmCaller-Z2ZVBIGN.js +0 -53
  530. package/updateCommands-4QP7WJLA.js +0 -63
  531. package/usageCommand-AZX7D3LB.js +0 -31
  532. package/usageRebuildCommand-XV5QQCHK.js +0 -623
  533. package/userDataMerge-HT2ZVHBJ.js +0 -13
  534. package/windowsSelfUpdate-5OFKSW6Y.js +0 -14
  535. package/workContext-ZAW6VXT7.js +0 -18
  536. package/workContextAccess-VU5I4LKZ.js +0 -11
  537. package/workContextWriteNotice-YCSSMHN4.js +0 -7
  538. /package/{chunk-BYXBJQAS.js → chunk-0bcc25vg.js} +0 -0
@@ -0,0 +1,3300 @@
1
+ import {
2
+ asTrimmedLowercaseString
3
+ } from "./chunk-h1hzmqph.js";
4
+
5
+ // packages/ai/llm/kimi.ts
6
+ var PLATFORM_HOSTED_KIMI_K3_MODEL = "kimi-k3";
7
+ var PLATFORM_HOSTED_KIMI_K31_PRO_MODEL = "kimi-k3.1-pro";
8
+ var PLATFORM_HOSTED_KIMI_K26_MODEL = "kimi-k2.6";
9
+ var PLATFORM_HOSTED_KIMI_PROVIDER = "nolo";
10
+ var LEGACY_OLLAMA_CLOUD_PROVIDER = "ollama-cloud";
11
+ var PLATFORM_LLM_BUSY_USER_MESSAGE = "服务器紧张";
12
+ var PLATFORM_LLM_CAPACITY_STATUSES = new Set([
13
+ 429,
14
+ 500,
15
+ 502,
16
+ 503,
17
+ 504
18
+ ]);
19
+ var isNoloHostedProvider = (provider) => {
20
+ const normalized = asTrimmedLowercaseString(provider);
21
+ return normalized === PLATFORM_HOSTED_KIMI_PROVIDER || normalized === LEGACY_OLLAMA_CLOUD_PROVIDER;
22
+ };
23
+ var FIREWORKS_KIMI_LATEST_MODEL = "accounts/fireworks/models/kimi-latest";
24
+ var FIREWORKS_KIMI_CURRENT_MODEL = "accounts/fireworks/models/kimi-k2p7-code";
25
+ var FIREWORKS_KIMI_K2P6_MODEL = "accounts/fireworks/models/kimi-k2p6";
26
+ var DEEPINFRA_KIMI_FALLBACK_MODEL = "moonshotai/Kimi-K2.6";
27
+ var isOllamaCloudKimiModel = (model) => model === PLATFORM_HOSTED_KIMI_K3_MODEL || model === PLATFORM_HOSTED_KIMI_K31_PRO_MODEL || model === PLATFORM_HOSTED_KIMI_K26_MODEL;
28
+ var isFireworksKimiModel = (model) => model === FIREWORKS_KIMI_LATEST_MODEL || model === FIREWORKS_KIMI_CURRENT_MODEL || model === FIREWORKS_KIMI_K2P6_MODEL;
29
+ var isDeepInfraKimiModel = (model) => model === DEEPINFRA_KIMI_FALLBACK_MODEL;
30
+ var isPlatformKimiProviderModel = (provider, model) => {
31
+ const normalizedProvider = asTrimmedLowercaseString(provider);
32
+ if (normalizedProvider === PLATFORM_HOSTED_KIMI_PROVIDER || normalizedProvider === LEGACY_OLLAMA_CLOUD_PROVIDER) {
33
+ return isOllamaCloudKimiModel(model);
34
+ }
35
+ return false;
36
+ };
37
+ var isPlatformManagedProvider = (provider, model) => {
38
+ const normalized = asTrimmedLowercaseString(provider);
39
+ return isNoloHostedProvider(normalized) || normalized === "deepseek" || isPlatformKimiProviderModel(normalized, model);
40
+ };
41
+ var resolveFireworksKimiModel = (model) => {
42
+ if (model === FIREWORKS_KIMI_LATEST_MODEL) {
43
+ return FIREWORKS_KIMI_CURRENT_MODEL;
44
+ }
45
+ return model ?? "";
46
+ };
47
+ function hostedKimiLegacyThinkingOverride(provider, model, enableThinking, effort) {
48
+ return enableThinking === false && !effort && isPlatformKimiProviderModel(provider, model) ? { thinking: { type: "disabled" }, reasoning: { enabled: false } } : undefined;
49
+ }
50
+
51
+ // packages/ai/llm/platformHostedRoutingTable.ts
52
+ var PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL = "anthropic/claude-sonnet-5";
53
+ var PLATFORM_HOSTED_CLAUDE_OPUS_5_MODEL = "anthropic/claude-opus-5";
54
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_MODEL = "anthropic/claude-fable-5";
55
+ var PLATFORM_HOSTED_CLAUDE_HAIKU_45_MODEL = "anthropic/claude-haiku-4-5";
56
+ var PLATFORM_HOSTED_CLAUDE_HAIKU_55_MODEL = "anthropic/claude-haiku-5-5";
57
+ var PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL = "anthropic/claude-opus-5-5";
58
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL = "anthropic/claude-fable-5-1";
59
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_2_MODEL = "anthropic/claude-fable-5-2";
60
+ var PLATFORM_HOSTED_CLAUDE_SONNET_5_5_MODEL = "anthropic/claude-sonnet-5-5";
61
+ var CLOUDFLARE_CLAUDE_SONNET_5_UPSTREAM_MODEL_ID = "anthropic/claude-sonnet-5";
62
+ var CLOUDFLARE_CLAUDE_OPUS_5_UPSTREAM_MODEL_ID = "anthropic/claude-opus-5";
63
+ var CLOUDFLARE_CLAUDE_FABLE_5_UPSTREAM_MODEL_ID = "anthropic/claude-fable-5";
64
+ var CLOUDFLARE_CLAUDE_HAIKU_45_UPSTREAM_MODEL_ID = "anthropic/claude-haiku-4.5";
65
+ var CLOUDFLARE_CLAUDE_HAIKU_55_UPSTREAM_MODEL_ID = "anthropic/claude-haiku-5.5";
66
+ var CLOUDFLARE_CLAUDE_OPUS_5_5_UPSTREAM_MODEL_ID = "anthropic/claude-opus-5.5";
67
+ var CLOUDFLARE_CLAUDE_FABLE_5_1_UPSTREAM_MODEL_ID = "anthropic/claude-fable-5.1";
68
+ var CLOUDFLARE_CLAUDE_FABLE_5_2_UPSTREAM_MODEL_ID = "anthropic/claude-fable-5.2";
69
+ var CLOUDFLARE_CLAUDE_SONNET_5_5_UPSTREAM_MODEL_ID = "anthropic/claude-sonnet-5.5";
70
+ var CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE = "https://api.cloudflare.com/client/v4/accounts/{account}/ai/v1/messages";
71
+ var PLATFORM_HOSTED_GROK_4_6_MODEL = "grok-4.6";
72
+ var PLATFORM_HOSTED_GPT_6_ASTRA_MODEL = "gpt-6-astra";
73
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL = "gpt-6.2-astra";
74
+ var PLATFORM_HOSTED_GPT_6_2_SOL_MODEL = "gpt-6.2-sol";
75
+ var PLATFORM_HOSTED_GPT_6_LUNA_MODEL = "gpt-6-luna";
76
+ var PLATFORM_HOSTED_GPT_6_SOL_MODEL = "gpt-6-sol";
77
+ var PLATFORM_HOSTED_GPT_56_SOL_MODEL = "gpt-5.6-sol";
78
+ var PLATFORM_HOSTED_GPT_56_TERRA_MODEL = "gpt-5.6-terra";
79
+ var PLATFORM_HOSTED_GPT_56_LUNA_MODEL = "gpt-5.6-luna";
80
+ var PLATFORM_HOSTED_GPT_6_1_SOL_MODEL = "gpt-6.1-sol";
81
+ var PLATFORM_HOSTED_GPT_6_1_TERRA_MODEL = "gpt-6.1-terra";
82
+ var PLATFORM_HOSTED_KIMI_K26_OPENROUTER_MODEL_ID = "qwen/qwen3.8-27b";
83
+ var PLATFORM_HOSTED_GLM_53_MODEL = "glm-5.3";
84
+ var PLATFORM_HOSTED_GLM_52_MODEL = "glm-5.2";
85
+ var PLATFORM_HOSTED_GLM_53_FLASH_MODEL = "glm-5-3-flash";
86
+ var PLATFORM_HOSTED_GEMINI_38_FLASH_MODEL = "gemini-3.8-flash";
87
+ var PLATFORM_HOSTED_GEMINI_37_FLASH_MODEL = "gemini-3.7-flash";
88
+ var PLATFORM_HOSTED_GEMINI_25_PRO_MODEL = "gemini-2.5-pro";
89
+ var PLATFORM_HOSTED_GEMINI_4_ARGON_MODEL = "gemini-4-argon";
90
+ var PLATFORM_HOSTED_GEMINI_4_HYDROGEN_MODEL = "gemini-4-hydrogen";
91
+ var PLATFORM_HOSTED_GEMINI_4_CARBON_MODEL = "gemini-4-carbon";
92
+ var PLATFORM_HOSTED_GEMINI_4_NEON_MODEL = "gemini-4-neon";
93
+ var PLATFORM_HOSTED_GEMINI_FLASH_IMAGE_MODEL = "gemini-3.1-flash-image";
94
+ var PLATFORM_HOSTED_GEMINI_NANO_BANANA_21_MODEL = "gemini-nano-banana-2.1";
95
+ var PLATFORM_HOSTED_GEMINI_PRO_IMAGE_MODEL = "gemini-3-pro-image";
96
+ var PLATFORM_HOSTED_GEMINI_FLASH_LITE_IMAGE_MODEL = "gemini-3.1-flash-lite-image";
97
+ var PLATFORM_HOSTED_OPENAI_IMAGE_MODEL = "gpt-image-2";
98
+ var PLATFORM_HOSTED_MIMO_FLASH_MODEL = "mimo-v2.6-flash";
99
+ var PLATFORM_HOSTED_MIMO_PRO_MODEL = "mimo-v2.6-pro";
100
+ var PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_MODEL = "mimo-v2.6-pro-ultraspeed";
101
+ var PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL = "deepseek-flash";
102
+ var PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL = "deepseek-v4-flash-vision-exp";
103
+ var PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL = "deepseek-v4-pro";
104
+ var PLATFORM_HOSTED_LEGACY_DEEPSEEK_V4_FLASH_MODEL = "deepseek-v4-flash";
105
+ var OPENAI_GPT_6_ASTRA_UPSTREAM_MODEL_ID = "gpt-6-astra";
106
+ var OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID = "gpt-6.2-astra";
107
+ var OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID = "gpt-6.2-sol";
108
+ var OPENAI_GPT_6_LUNA_UPSTREAM_MODEL_ID = "gpt-6-luna";
109
+ var OPENAI_GPT_6_1_SOL_UPSTREAM_MODEL_ID = "gpt-6.1-sol";
110
+ var OPENAI_GPT_6_1_TERRA_UPSTREAM_MODEL_ID = "gpt-6.1-terra";
111
+ var PLATFORM_HOSTED_KIMI_K3_MIN_CLIENT_VERSION = "0.38.0-alpha.4";
112
+ var PLATFORM_HOSTED_GLM_53_FLASH_MIN_CLIENT_VERSION = "0.33.0-alpha.1";
113
+ var PLATFORM_HOSTED_ROUTING_TABLE = {
114
+ [PLATFORM_HOSTED_KIMI_K26_MODEL]: {
115
+ endpoint: "https://openrouter.ai/api/v1/chat/completions",
116
+ usageProvider: "openrouter",
117
+ keyName: "openrouter",
118
+ upstreamModelId: PLATFORM_HOSTED_KIMI_K26_OPENROUTER_MODEL_ID,
119
+ wire: "chat.completions",
120
+ agentRunHosted: true
121
+ },
122
+ [PLATFORM_HOSTED_GLM_53_MODEL]: {
123
+ endpoint: "https://inference.baseten.co/v1/chat/completions",
124
+ usageProvider: "baseten",
125
+ keyName: "baseten",
126
+ upstreamModelId: "zai-org/GLM-5.3",
127
+ wire: "chat.completions",
128
+ agentRunHosted: true
129
+ },
130
+ [PLATFORM_HOSTED_GLM_52_MODEL]: {
131
+ endpoint: "https://inference.baseten.co/v1/chat/completions",
132
+ usageProvider: "baseten",
133
+ keyName: "baseten",
134
+ upstreamModelId: "zai-org/GLM-5.3",
135
+ wire: "chat.completions",
136
+ agentRunHosted: true
137
+ },
138
+ [PLATFORM_HOSTED_GLM_53_FLASH_MODEL]: {
139
+ endpoint: "https://api.runinfra.ai/v1/chat/completions",
140
+ usageProvider: "runinfra",
141
+ keyName: "runinfra",
142
+ wire: "chat.completions",
143
+ agentRunHosted: true,
144
+ minClientVersion: PLATFORM_HOSTED_GLM_53_FLASH_MIN_CLIENT_VERSION
145
+ },
146
+ "glm-5.3-flash": {
147
+ endpoint: "https://api.runinfra.ai/v1/chat/completions",
148
+ usageProvider: "runinfra",
149
+ keyName: "runinfra",
150
+ upstreamModelId: PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
151
+ wire: "chat.completions",
152
+ agentRunHosted: true,
153
+ minClientVersion: PLATFORM_HOSTED_GLM_53_FLASH_MIN_CLIENT_VERSION
154
+ },
155
+ [PLATFORM_HOSTED_KIMI_K3_MODEL]: {
156
+ endpoint: "https://inference.baseten.co/v1/chat/completions",
157
+ usageProvider: "baseten",
158
+ keyName: "baseten",
159
+ upstreamModelId: "moonshotai/Kimi-K3",
160
+ wire: "chat.completions",
161
+ agentRunHosted: true,
162
+ minClientVersion: PLATFORM_HOSTED_KIMI_K3_MIN_CLIENT_VERSION
163
+ },
164
+ [PLATFORM_HOSTED_KIMI_K31_PRO_MODEL]: {
165
+ endpoint: "https://inference.baseten.co/v1/chat/completions",
166
+ usageProvider: "baseten",
167
+ keyName: "baseten",
168
+ upstreamModelId: "moonshotai/Kimi-K3.1-Pro",
169
+ wire: "chat.completions",
170
+ agentRunHosted: true,
171
+ minClientVersion: PLATFORM_HOSTED_KIMI_K3_MIN_CLIENT_VERSION
172
+ },
173
+ [PLATFORM_HOSTED_GEMINI_38_FLASH_MODEL]: {
174
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
175
+ usageProvider: "google",
176
+ keyName: "google",
177
+ wire: "chat.completions",
178
+ agentRunHosted: true
179
+ },
180
+ [PLATFORM_HOSTED_GEMINI_37_FLASH_MODEL]: {
181
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
182
+ usageProvider: "google",
183
+ keyName: "google",
184
+ wire: "chat.completions",
185
+ agentRunHosted: true
186
+ },
187
+ [PLATFORM_HOSTED_GEMINI_25_PRO_MODEL]: {
188
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
189
+ usageProvider: "google",
190
+ keyName: "google",
191
+ wire: "chat.completions",
192
+ agentRunHosted: true
193
+ },
194
+ [PLATFORM_HOSTED_GEMINI_4_ARGON_MODEL]: {
195
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
196
+ usageProvider: "google",
197
+ keyName: "google",
198
+ wire: "chat.completions",
199
+ agentRunHosted: true
200
+ },
201
+ [PLATFORM_HOSTED_GEMINI_4_HYDROGEN_MODEL]: {
202
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
203
+ usageProvider: "google",
204
+ keyName: "google",
205
+ wire: "chat.completions",
206
+ agentRunHosted: true
207
+ },
208
+ [PLATFORM_HOSTED_GEMINI_4_CARBON_MODEL]: {
209
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
210
+ usageProvider: "google",
211
+ keyName: "google",
212
+ wire: "chat.completions",
213
+ agentRunHosted: true
214
+ },
215
+ [PLATFORM_HOSTED_GEMINI_4_NEON_MODEL]: {
216
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
217
+ usageProvider: "google",
218
+ keyName: "google",
219
+ wire: "chat.completions",
220
+ agentRunHosted: true
221
+ },
222
+ [PLATFORM_HOSTED_GEMINI_NANO_BANANA_21_MODEL]: {
223
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
224
+ usageProvider: "google",
225
+ keyName: "google",
226
+ wire: "chat.completions",
227
+ agentRunHosted: true
228
+ },
229
+ [PLATFORM_HOSTED_GEMINI_FLASH_IMAGE_MODEL]: {
230
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
231
+ usageProvider: "google",
232
+ keyName: "google",
233
+ wire: "chat.completions",
234
+ agentRunHosted: true
235
+ },
236
+ [PLATFORM_HOSTED_GEMINI_PRO_IMAGE_MODEL]: {
237
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
238
+ usageProvider: "google",
239
+ keyName: "google",
240
+ wire: "chat.completions",
241
+ agentRunHosted: true
242
+ },
243
+ [PLATFORM_HOSTED_GEMINI_FLASH_LITE_IMAGE_MODEL]: {
244
+ endpoint: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions",
245
+ usageProvider: "google",
246
+ keyName: "google",
247
+ wire: "chat.completions",
248
+ agentRunHosted: true
249
+ },
250
+ [PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL]: {
251
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
252
+ usageProvider: "cloudflare",
253
+ keyName: "cloudflare",
254
+ upstreamModelId: CLOUDFLARE_CLAUDE_SONNET_5_UPSTREAM_MODEL_ID,
255
+ wire: "anthropic.messages",
256
+ agentRunHosted: true
257
+ },
258
+ [PLATFORM_HOSTED_CLAUDE_OPUS_5_MODEL]: {
259
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
260
+ usageProvider: "cloudflare",
261
+ keyName: "cloudflare",
262
+ upstreamModelId: CLOUDFLARE_CLAUDE_OPUS_5_UPSTREAM_MODEL_ID,
263
+ wire: "anthropic.messages",
264
+ agentRunHosted: true
265
+ },
266
+ [PLATFORM_HOSTED_CLAUDE_FABLE_5_MODEL]: {
267
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
268
+ usageProvider: "cloudflare",
269
+ keyName: "cloudflare",
270
+ upstreamModelId: CLOUDFLARE_CLAUDE_FABLE_5_UPSTREAM_MODEL_ID,
271
+ wire: "anthropic.messages",
272
+ agentRunHosted: true
273
+ },
274
+ [PLATFORM_HOSTED_CLAUDE_HAIKU_45_MODEL]: {
275
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
276
+ usageProvider: "cloudflare",
277
+ keyName: "cloudflare",
278
+ upstreamModelId: CLOUDFLARE_CLAUDE_HAIKU_45_UPSTREAM_MODEL_ID,
279
+ wire: "anthropic.messages",
280
+ agentRunHosted: true
281
+ },
282
+ [PLATFORM_HOSTED_CLAUDE_HAIKU_55_MODEL]: {
283
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
284
+ usageProvider: "cloudflare",
285
+ keyName: "cloudflare",
286
+ upstreamModelId: CLOUDFLARE_CLAUDE_HAIKU_55_UPSTREAM_MODEL_ID,
287
+ wire: "anthropic.messages",
288
+ agentRunHosted: true
289
+ },
290
+ [PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL]: {
291
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
292
+ usageProvider: "cloudflare",
293
+ keyName: "cloudflare",
294
+ upstreamModelId: CLOUDFLARE_CLAUDE_OPUS_5_5_UPSTREAM_MODEL_ID,
295
+ wire: "anthropic.messages",
296
+ agentRunHosted: true
297
+ },
298
+ [PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL]: {
299
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
300
+ usageProvider: "cloudflare",
301
+ keyName: "cloudflare",
302
+ upstreamModelId: CLOUDFLARE_CLAUDE_FABLE_5_1_UPSTREAM_MODEL_ID,
303
+ wire: "anthropic.messages",
304
+ agentRunHosted: true
305
+ },
306
+ [PLATFORM_HOSTED_CLAUDE_FABLE_5_2_MODEL]: {
307
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
308
+ usageProvider: "cloudflare",
309
+ keyName: "cloudflare",
310
+ upstreamModelId: CLOUDFLARE_CLAUDE_FABLE_5_2_UPSTREAM_MODEL_ID,
311
+ wire: "anthropic.messages",
312
+ agentRunHosted: true
313
+ },
314
+ [PLATFORM_HOSTED_CLAUDE_SONNET_5_5_MODEL]: {
315
+ endpoint: CLOUDFLARE_AI_MESSAGES_ENDPOINT_TEMPLATE,
316
+ usageProvider: "cloudflare",
317
+ keyName: "cloudflare",
318
+ upstreamModelId: CLOUDFLARE_CLAUDE_SONNET_5_5_UPSTREAM_MODEL_ID,
319
+ wire: "anthropic.messages",
320
+ agentRunHosted: true
321
+ },
322
+ [PLATFORM_HOSTED_GPT_6_ASTRA_MODEL]: {
323
+ endpoint: "https://api.openai.com/v1/responses",
324
+ usageProvider: "openai",
325
+ keyName: "openai",
326
+ upstreamModelId: OPENAI_GPT_6_ASTRA_UPSTREAM_MODEL_ID,
327
+ wire: "responses",
328
+ agentRunHosted: true
329
+ },
330
+ [PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL]: {
331
+ endpoint: "https://api.openai.com/v1/responses",
332
+ usageProvider: "openai",
333
+ keyName: "openai",
334
+ upstreamModelId: OPENAI_GPT_6_2_ASTRA_UPSTREAM_MODEL_ID,
335
+ wire: "responses",
336
+ agentRunHosted: true
337
+ },
338
+ [PLATFORM_HOSTED_GPT_6_2_SOL_MODEL]: {
339
+ endpoint: "https://api.openai.com/v1/responses",
340
+ usageProvider: "openai",
341
+ keyName: "openai",
342
+ upstreamModelId: OPENAI_GPT_6_2_SOL_UPSTREAM_MODEL_ID,
343
+ wire: "responses",
344
+ agentRunHosted: true
345
+ },
346
+ [PLATFORM_HOSTED_GPT_6_LUNA_MODEL]: {
347
+ endpoint: "https://api.openai.com/v1/responses",
348
+ usageProvider: "openai",
349
+ keyName: "openai",
350
+ upstreamModelId: OPENAI_GPT_6_LUNA_UPSTREAM_MODEL_ID,
351
+ wire: "responses",
352
+ agentRunHosted: true
353
+ },
354
+ [PLATFORM_HOSTED_GPT_6_1_SOL_MODEL]: {
355
+ endpoint: "https://api.openai.com/v1/responses",
356
+ usageProvider: "openai",
357
+ keyName: "openai",
358
+ upstreamModelId: OPENAI_GPT_6_1_SOL_UPSTREAM_MODEL_ID,
359
+ wire: "responses",
360
+ agentRunHosted: true
361
+ },
362
+ [PLATFORM_HOSTED_GPT_6_1_TERRA_MODEL]: {
363
+ endpoint: "https://api.openai.com/v1/responses",
364
+ usageProvider: "openai",
365
+ keyName: "openai",
366
+ upstreamModelId: OPENAI_GPT_6_1_TERRA_UPSTREAM_MODEL_ID,
367
+ wire: "responses",
368
+ agentRunHosted: true
369
+ },
370
+ [PLATFORM_HOSTED_GROK_4_6_MODEL]: {
371
+ endpoint: "https://api.x.ai/v1/chat/completions",
372
+ usageProvider: "xai",
373
+ keyName: "xai",
374
+ wire: "chat.completions",
375
+ agentRunHosted: false
376
+ },
377
+ [PLATFORM_HOSTED_MIMO_FLASH_MODEL]: {
378
+ endpoint: "https://api.xiaomimimo.com/v1/chat/completions",
379
+ usageProvider: "mimo",
380
+ keyName: "mimo",
381
+ wire: "chat.completions",
382
+ agentRunHosted: true
383
+ },
384
+ [PLATFORM_HOSTED_MIMO_PRO_MODEL]: {
385
+ endpoint: "https://api.xiaomimimo.com/v1/chat/completions",
386
+ usageProvider: "mimo",
387
+ keyName: "mimo",
388
+ wire: "chat.completions",
389
+ agentRunHosted: true
390
+ },
391
+ [PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_MODEL]: {
392
+ endpoint: "https://api.xiaomimimo.com/v1/chat/completions",
393
+ usageProvider: "mimo",
394
+ keyName: "mimo",
395
+ wire: "chat.completions",
396
+ agentRunHosted: true
397
+ },
398
+ [PLATFORM_HOSTED_OPENAI_IMAGE_MODEL]: {
399
+ endpoint: "https://api.openai.com/v1/responses",
400
+ usageProvider: "openai",
401
+ keyName: "openai",
402
+ wire: "responses",
403
+ agentRunHosted: true
404
+ },
405
+ [PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL]: {
406
+ endpoint: "https://api.deepseek.com/responses",
407
+ usageProvider: "deepseek",
408
+ keyName: "deepseek",
409
+ wire: "responses",
410
+ agentRunHosted: false
411
+ },
412
+ [PLATFORM_HOSTED_LEGACY_DEEPSEEK_V4_FLASH_MODEL]: {
413
+ endpoint: "https://api.deepseek.com/responses",
414
+ usageProvider: "deepseek",
415
+ keyName: "deepseek",
416
+ upstreamModelId: PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
417
+ wire: "responses",
418
+ agentRunHosted: false
419
+ },
420
+ [PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL]: {
421
+ endpoint: "https://api.deepseek.com/responses",
422
+ usageProvider: "deepseek",
423
+ keyName: "deepseek",
424
+ upstreamModelId: PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
425
+ wire: "responses",
426
+ agentRunHosted: false
427
+ },
428
+ [PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL]: {
429
+ endpoint: "https://api.deepseek.com/responses",
430
+ usageProvider: "deepseek",
431
+ keyName: "deepseek",
432
+ wire: "responses",
433
+ agentRunHosted: false
434
+ }
435
+ };
436
+ var PLATFORM_MODEL_ALIASES = {
437
+ [PLATFORM_HOSTED_GPT_56_SOL_MODEL]: {
438
+ aliasOf: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
439
+ since: "2026-10-13",
440
+ reason: "CF 官方目录换代:gpt-5.6-sol 先由 gpt-6.1-sol 承接(owner 授权透明映射);GPT-6.1 Sol 于 2026-12-01 撤下后转指 GPT-6.2 Sol,按 6.2 计费。"
441
+ },
442
+ [PLATFORM_HOSTED_GPT_56_TERRA_MODEL]: {
443
+ aliasOf: PLATFORM_HOSTED_GPT_6_1_TERRA_MODEL,
444
+ since: "2026-11-01",
445
+ reason: "同家族换代(owner 2026-11-01 决定):gpt-5.6-terra 指向同家族最新代 gpt-6.1-terra,透明映射,按 6.1 Terra 计费。"
446
+ },
447
+ [PLATFORM_HOSTED_GPT_56_LUNA_MODEL]: {
448
+ aliasOf: PLATFORM_HOSTED_GPT_6_LUNA_MODEL,
449
+ since: "2026-11-01",
450
+ reason: "同家族换代(owner 2026-11-01 决定):gpt-5.6-luna 指向同家族最新代 gpt-6-luna(上游无 6.1-luna),透明映射,按 6 Luna 计费。"
451
+ },
452
+ [PLATFORM_HOSTED_GPT_6_SOL_MODEL]: {
453
+ aliasOf: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
454
+ since: "2026-11-01",
455
+ reason: "同家族换代(owner 2026-11-01 决定):gpt-6-sol 指向同家族最新代;GPT-6.1 Sol 于 2026-12-01 撤下后转指 GPT-6.2 Sol,按 6.2 计费。"
456
+ },
457
+ [PLATFORM_HOSTED_KIMI_K3_MODEL]: {
458
+ aliasOf: PLATFORM_HOSTED_KIMI_K31_PRO_MODEL,
459
+ since: "2026-11-18",
460
+ reason: "Kimi 目录只保留 K3.1 Pro(owner 2026-11-18 决定):kimi-k3 透明映射到 kimi-k3.1-pro,按 K3.1 Pro 计费。"
461
+ },
462
+ [PLATFORM_HOSTED_KIMI_K26_MODEL]: {
463
+ aliasOf: PLATFORM_HOSTED_KIMI_K31_PRO_MODEL,
464
+ since: "2026-11-18",
465
+ reason: "Kimi 目录只保留 K3.1 Pro(owner 2026-11-18 决定):kimi-k2.6 透明映射到 kimi-k3.1-pro,按 K3.1 Pro 计费。"
466
+ },
467
+ [PLATFORM_HOSTED_CLAUDE_HAIKU_45_MODEL]: {
468
+ aliasOf: PLATFORM_HOSTED_CLAUDE_HAIKU_55_MODEL,
469
+ since: "2026-11-18",
470
+ reason: "Haiku 4.5 从平台目录撤下(2026-11-18):透明映射到接替者 Haiku 5.5,按 5.5 计费。"
471
+ },
472
+ [PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL]: {
473
+ aliasOf: PLATFORM_HOSTED_CLAUDE_FABLE_5_2_MODEL,
474
+ since: "2026-11-18",
475
+ reason: "Fable 5.1 从平台目录撤下(2026-11-18):透明映射到接替者 Fable 5.2,按 5.2 计费。"
476
+ },
477
+ [PLATFORM_HOSTED_GEMINI_25_PRO_MODEL]: {
478
+ aliasOf: PLATFORM_HOSTED_GEMINI_4_CARBON_MODEL,
479
+ since: "2026-11-18",
480
+ reason: "Gemini 2.5 Pro 从平台目录撤下(2026-11-18):透明映射到 Gemini 4 Carbon,按 Carbon 计费。"
481
+ },
482
+ [PLATFORM_HOSTED_GEMINI_4_ARGON_MODEL]: {
483
+ aliasOf: PLATFORM_HOSTED_GEMINI_4_NEON_MODEL,
484
+ since: "2026-12-01",
485
+ reason: "Gemini 4 Argon 从平台目录撤下(2026-12-01):透明映射到接替者 Gemini 4 Neon,按 Neon 计费。"
486
+ },
487
+ [PLATFORM_HOSTED_GPT_6_1_SOL_MODEL]: {
488
+ aliasOf: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
489
+ since: "2026-12-01",
490
+ reason: "GPT-6.1 Sol 从平台目录撤下(2026-12-01):透明映射到接替者 GPT-6.2 Sol,按 6.2 计费。"
491
+ }
492
+ };
493
+ function resolvePlatformEffectiveModel(model) {
494
+ const normalized = asTrimmedLowercaseString(model);
495
+ if (!normalized)
496
+ return;
497
+ return PLATFORM_MODEL_ALIASES[normalized]?.aliasOf ?? normalized;
498
+ }
499
+ function resolvePlatformHostedRouting(model) {
500
+ const effective = resolvePlatformEffectiveModel(model);
501
+ if (!effective)
502
+ return;
503
+ return PLATFORM_HOSTED_ROUTING_TABLE[effective];
504
+ }
505
+ function resolvePlatformHostedMinClientVersion(model) {
506
+ return resolvePlatformHostedRouting(model)?.minClientVersion;
507
+ }
508
+
509
+ // packages/ai/llm/geminiNeonPricing.ts
510
+ var GEMINI_NEON_MODEL = PLATFORM_HOSTED_GEMINI_4_NEON_MODEL;
511
+ var GEMINI_NEON_STANDARD_PRICE_USD = {
512
+ input: 3,
513
+ output: 15,
514
+ cache: 0.15
515
+ };
516
+ var GEMINI_NEON_SERVICE_TIER_MULTIPLIERS = {
517
+ flex: { inputOutput: 0.5, cache: 0.5 },
518
+ priority: { inputOutput: 1.8, cache: 1.8 }
519
+ };
520
+ var isGeminiNeonModel = (model) => asTrimmedLowercaseString(model) === GEMINI_NEON_MODEL;
521
+ // packages/core/clientVersionGate.ts
522
+ var NOLO_CLIENT_VERSION_HEADER = "x-nolo-client-version";
523
+ var CLIENT_VERSION_TOO_OLD_CODE = "CLIENT_VERSION_TOO_OLD";
524
+ var NUMERIC_ONLY = /^[0-9]+$/;
525
+ function parseSemver(raw) {
526
+ if (typeof raw !== "string")
527
+ return null;
528
+ let text = raw.trim();
529
+ if (!text)
530
+ return null;
531
+ if (text.startsWith("v") || text.startsWith("V"))
532
+ text = text.slice(1);
533
+ const plusAt = text.indexOf("+");
534
+ if (plusAt >= 0)
535
+ text = text.slice(0, plusAt);
536
+ const dashAt = text.indexOf("-");
537
+ const core = dashAt >= 0 ? text.slice(0, dashAt) : text;
538
+ const preRaw = dashAt >= 0 ? text.slice(dashAt + 1) : "";
539
+ const parts = core.split(".");
540
+ if (parts.length < 1 || parts.length > 3)
541
+ return null;
542
+ const nums = [];
543
+ for (const part of parts) {
544
+ if (!NUMERIC_ONLY.test(part))
545
+ return null;
546
+ const value = Number(part);
547
+ if (!Number.isSafeInteger(value))
548
+ return null;
549
+ nums.push(value);
550
+ }
551
+ const [major, minor = 0, patch = 0] = nums;
552
+ if (dashAt >= 0 && !preRaw)
553
+ return null;
554
+ const prerelease = [];
555
+ if (preRaw) {
556
+ for (const id of preRaw.split(".")) {
557
+ if (!id)
558
+ return null;
559
+ if (NUMERIC_ONLY.test(id)) {
560
+ const value = Number(id);
561
+ if (!Number.isSafeInteger(value))
562
+ return null;
563
+ prerelease.push(value);
564
+ } else {
565
+ prerelease.push(id);
566
+ }
567
+ }
568
+ }
569
+ return { major, minor, patch, prerelease };
570
+ }
571
+ var comparePrerelease = (a, b) => {
572
+ if (a.length === 0 && b.length === 0)
573
+ return 0;
574
+ if (a.length === 0)
575
+ return 1;
576
+ if (b.length === 0)
577
+ return -1;
578
+ const len = Math.min(a.length, b.length);
579
+ for (let i = 0;i < len; i += 1) {
580
+ const left = a[i];
581
+ const right = b[i];
582
+ const leftNumeric = typeof left === "number";
583
+ const rightNumeric = typeof right === "number";
584
+ if (leftNumeric && rightNumeric) {
585
+ if (left !== right)
586
+ return left < right ? -1 : 1;
587
+ continue;
588
+ }
589
+ if (leftNumeric !== rightNumeric)
590
+ return leftNumeric ? -1 : 1;
591
+ const l = String(left);
592
+ const r = String(right);
593
+ if (l !== r)
594
+ return l < r ? -1 : 1;
595
+ }
596
+ if (a.length === b.length)
597
+ return 0;
598
+ return a.length < b.length ? -1 : 1;
599
+ };
600
+ function compareParsedSemver(a, b) {
601
+ if (a.major !== b.major)
602
+ return a.major < b.major ? -1 : 1;
603
+ if (a.minor !== b.minor)
604
+ return a.minor < b.minor ? -1 : 1;
605
+ if (a.patch !== b.patch)
606
+ return a.patch < b.patch ? -1 : 1;
607
+ return comparePrerelease(a.prerelease, b.prerelease);
608
+ }
609
+ function compareSemver(a, b) {
610
+ const left = parseSemver(a);
611
+ const right = parseSemver(b);
612
+ if (!left || !right)
613
+ return null;
614
+ return compareParsedSemver(left, right);
615
+ }
616
+ function isClientVersionBelow(clientVersion, minClientVersion) {
617
+ if (!minClientVersion)
618
+ return false;
619
+ const cmp = compareSemver(clientVersion, minClientVersion);
620
+ if (cmp === null)
621
+ return false;
622
+ return cmp < 0;
623
+ }
624
+ function buildClientVersionUpgradeMessage(args) {
625
+ const current = args.clientVersion?.trim();
626
+ const currentText = current ? `当前 ${current}` : "当前版本过旧";
627
+ return `模型「${args.model}」需要 nolo-cli ≥ ${args.minClientVersion}(${currentText})。` + `请升级客户端(npx nolo-cli@latest,或桌面端应用内更新)后重试;` + `也可以先换用其他模型。`;
628
+ }
629
+
630
+ // packages/ai/llm/platformHostedClientVersionGate.ts
631
+ var PASS = { blocked: false };
632
+ function evaluatePlatformHostedClientVersionGate(input) {
633
+ if (input.isCustomApi || input.hasExplicitCredential)
634
+ return PASS;
635
+ if (!isNoloHostedProvider(input.provider))
636
+ return PASS;
637
+ const model = asTrimmedLowercaseString(input.model);
638
+ if (!model)
639
+ return PASS;
640
+ const minClientVersion = resolvePlatformHostedMinClientVersion(model);
641
+ if (!minClientVersion)
642
+ return PASS;
643
+ const clientVersion = input.clientVersion?.trim() || undefined;
644
+ if (!isClientVersionBelow(clientVersion, minClientVersion))
645
+ return PASS;
646
+ return {
647
+ blocked: true,
648
+ code: CLIENT_VERSION_TOO_OLD_CODE,
649
+ message: buildClientVersionUpgradeMessage({
650
+ model,
651
+ minClientVersion,
652
+ ...clientVersion ? { clientVersion } : {}
653
+ }),
654
+ model,
655
+ minClientVersion,
656
+ ...clientVersion ? { clientVersion } : {}
657
+ };
658
+ }
659
+ function buildClientVersionGateErrorDetail(decision) {
660
+ return {
661
+ reason: CLIENT_VERSION_TOO_OLD_CODE,
662
+ model: decision.model,
663
+ minClientVersion: decision.minClientVersion,
664
+ ...decision.clientVersion ? { clientVersion: decision.clientVersion } : {},
665
+ upgradeCommand: "npx nolo-cli@latest",
666
+ retryable: false
667
+ };
668
+ }
669
+ // packages/ai/llm/platformHosted.ts
670
+ var PLATFORM_CREDITS_PER_USD = 8;
671
+ var toPlatformCredits = (usdPerMillion) => Number((usdPerMillion * PLATFORM_CREDITS_PER_USD).toFixed(6));
672
+ var CNY_UPSTREAM_MULTIPLIER = 1.1;
673
+ var toCnyCredits = (cnyPerMillion) => Number((cnyPerMillion * CNY_UPSTREAM_MULTIPLIER).toFixed(6));
674
+ var PLATFORM_HOSTED_GROK_PRICE = {
675
+ input: toPlatformCredits(2),
676
+ output: toPlatformCredits(6)
677
+ };
678
+ var PLATFORM_HOSTED_KIMI_PRICE = {
679
+ input: toPlatformCredits(0.4),
680
+ inputCacheHit: toPlatformCredits(0.04),
681
+ output: toPlatformCredits(3)
682
+ };
683
+ var PLATFORM_HOSTED_KIMI_K3_PRICE = {
684
+ input: toPlatformCredits(3),
685
+ inputCacheHit: toPlatformCredits(0.3),
686
+ output: toPlatformCredits(15)
687
+ };
688
+ var PLATFORM_HOSTED_KIMI_K31_PRO_PRICE = {
689
+ input: toPlatformCredits(2),
690
+ inputCacheHit: toPlatformCredits(0.2),
691
+ output: toPlatformCredits(10)
692
+ };
693
+ var PLATFORM_HOSTED_GLM_PRICE = {
694
+ input: 7.84,
695
+ inputCacheHit: toPlatformCredits(0.14),
696
+ output: 24.64
697
+ };
698
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_PRICE = {
699
+ input: toPlatformCredits(10),
700
+ output: toPlatformCredits(50),
701
+ cachingWrite: toPlatformCredits(12.5),
702
+ cachingRead: toPlatformCredits(1)
703
+ };
704
+ var PLATFORM_HOSTED_CLAUDE_OPUS_5_PRICE = {
705
+ input: toPlatformCredits(5),
706
+ output: toPlatformCredits(25),
707
+ cachingWrite: toPlatformCredits(6.25),
708
+ cachingRead: toPlatformCredits(0.5)
709
+ };
710
+ var PLATFORM_HOSTED_CLAUDE_SONNET_5_PRICE = {
711
+ input: toPlatformCredits(2),
712
+ output: toPlatformCredits(10),
713
+ cachingWrite: toPlatformCredits(2.5),
714
+ cachingRead: toPlatformCredits(0.2)
715
+ };
716
+ var PLATFORM_HOSTED_CLAUDE_HAIKU_45_PRICE = {
717
+ input: toPlatformCredits(1),
718
+ output: toPlatformCredits(5),
719
+ cachingWrite: toPlatformCredits(1.25),
720
+ cachingRead: toPlatformCredits(0.1)
721
+ };
722
+ var PLATFORM_HOSTED_CLAUDE_HAIKU_55_PRICE = {
723
+ input: toPlatformCredits(0.5),
724
+ output: toPlatformCredits(2.5),
725
+ cachingWrite: toPlatformCredits(0.625),
726
+ cachingRead: toPlatformCredits(0.05)
727
+ };
728
+ var PLATFORM_HOSTED_CLAUDE_OPUS_5_5_PRICE = {
729
+ input: toPlatformCredits(4),
730
+ output: toPlatformCredits(20),
731
+ cachingWrite: toPlatformCredits(5),
732
+ cachingRead: toPlatformCredits(0.2)
733
+ };
734
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_1_PRICE = {
735
+ input: toPlatformCredits(10),
736
+ output: toPlatformCredits(50),
737
+ cachingWrite: toPlatformCredits(12.5),
738
+ cachingRead: toPlatformCredits(0.25)
739
+ };
740
+ var PLATFORM_HOSTED_CLAUDE_FABLE_5_2_PRICE = {
741
+ input: toPlatformCredits(8),
742
+ output: toPlatformCredits(40),
743
+ cachingWrite: toPlatformCredits(10),
744
+ cachingRead: toPlatformCredits(0.2)
745
+ };
746
+ var PLATFORM_HOSTED_CLAUDE_SONNET_5_5_PRICE = {
747
+ input: toPlatformCredits(2),
748
+ output: toPlatformCredits(10),
749
+ cachingWrite: toPlatformCredits(2.5),
750
+ cachingRead: toPlatformCredits(0.2)
751
+ };
752
+ var PLATFORM_HOSTED_GPT_6_ASTRA_PRICE = {
753
+ input: toPlatformCredits(10),
754
+ inputCacheHit: toPlatformCredits(1),
755
+ cachingRead: toPlatformCredits(1),
756
+ cachingWrite: toPlatformCredits(12),
757
+ output: toPlatformCredits(50)
758
+ };
759
+ var PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS = 272001;
760
+ var PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE = {
761
+ input: toPlatformCredits(20),
762
+ inputCacheHit: toPlatformCredits(2),
763
+ cachingRead: toPlatformCredits(2),
764
+ cachingWrite: toPlatformCredits(25),
765
+ output: toPlatformCredits(75)
766
+ };
767
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE = {
768
+ input: toPlatformCredits(8),
769
+ inputCacheHit: toPlatformCredits(0.4),
770
+ cachingRead: toPlatformCredits(0.4),
771
+ cachingWrite: toPlatformCredits(10),
772
+ output: toPlatformCredits(40)
773
+ };
774
+ var PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE = {
775
+ input: toPlatformCredits(16),
776
+ inputCacheHit: toPlatformCredits(0.8),
777
+ cachingRead: toPlatformCredits(0.8),
778
+ cachingWrite: toPlatformCredits(20),
779
+ output: toPlatformCredits(60)
780
+ };
781
+ var PLATFORM_HOSTED_GPT_6_2_SOL_PRICE = {
782
+ input: toPlatformCredits(2),
783
+ inputCacheHit: toPlatformCredits(0.1),
784
+ cachingRead: toPlatformCredits(0.1),
785
+ cachingWrite: toPlatformCredits(2.5),
786
+ output: toPlatformCredits(10)
787
+ };
788
+ var PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE = {
789
+ input: toPlatformCredits(4),
790
+ inputCacheHit: toPlatformCredits(0.2),
791
+ cachingRead: toPlatformCredits(0.2),
792
+ cachingWrite: toPlatformCredits(5),
793
+ output: toPlatformCredits(15)
794
+ };
795
+ var PLATFORM_HOSTED_GPT_56_SOL_PRICE = {
796
+ input: toPlatformCredits(2),
797
+ inputCacheHit: toPlatformCredits(0.25),
798
+ cachingRead: toPlatformCredits(0.25),
799
+ cachingWrite: toPlatformCredits(3.125),
800
+ output: toPlatformCredits(10)
801
+ };
802
+ var PLATFORM_HOSTED_GPT_56_TERRA_PRICE = {
803
+ input: toPlatformCredits(2),
804
+ inputCacheHit: toPlatformCredits(0.2),
805
+ cachingRead: toPlatformCredits(0.2),
806
+ cachingWrite: toPlatformCredits(2.5),
807
+ output: toPlatformCredits(12)
808
+ };
809
+ var PLATFORM_HOSTED_GPT_56_LUNA_PRICE = {
810
+ input: toPlatformCredits(0.2),
811
+ inputCacheHit: toPlatformCredits(0.02),
812
+ cachingRead: toPlatformCredits(0.02),
813
+ cachingWrite: toPlatformCredits(0.25),
814
+ output: toPlatformCredits(1.2)
815
+ };
816
+ var PLATFORM_HOSTED_GPT_6_LUNA_PRICE = {
817
+ input: toPlatformCredits(0.1),
818
+ inputCacheHit: toPlatformCredits(0.01),
819
+ cachingRead: toPlatformCredits(0.01),
820
+ cachingWrite: toPlatformCredits(0.125),
821
+ output: toPlatformCredits(0.5)
822
+ };
823
+ var PLATFORM_HOSTED_GPT_6_LUNA_LONG_CONTEXT_PRICE = {
824
+ input: toPlatformCredits(0.2),
825
+ inputCacheHit: toPlatformCredits(0.02),
826
+ cachingRead: toPlatformCredits(0.02),
827
+ cachingWrite: toPlatformCredits(0.25),
828
+ output: 4.2
829
+ };
830
+ var PLATFORM_HOSTED_GPT_6_1_SOL_PRICE = {
831
+ input: toPlatformCredits(2),
832
+ inputCacheHit: toPlatformCredits(0.1),
833
+ cachingRead: toPlatformCredits(0.1),
834
+ cachingWrite: toPlatformCredits(2.5),
835
+ output: toPlatformCredits(10)
836
+ };
837
+ var PLATFORM_HOSTED_GPT_6_1_SOL_LONG_CONTEXT_PRICE = {
838
+ input: toPlatformCredits(4),
839
+ inputCacheHit: toPlatformCredits(0.2),
840
+ cachingRead: toPlatformCredits(0.2),
841
+ cachingWrite: toPlatformCredits(5),
842
+ output: toPlatformCredits(15)
843
+ };
844
+ var PLATFORM_HOSTED_GPT_6_1_TERRA_PRICE = {
845
+ input: toPlatformCredits(1),
846
+ inputCacheHit: toPlatformCredits(0.05),
847
+ cachingRead: toPlatformCredits(0.05),
848
+ cachingWrite: toPlatformCredits(1.25),
849
+ output: toPlatformCredits(5)
850
+ };
851
+ var PLATFORM_HOSTED_GPT_6_1_TERRA_LONG_CONTEXT_PRICE = {
852
+ input: toPlatformCredits(2),
853
+ inputCacheHit: toPlatformCredits(0.1),
854
+ cachingRead: toPlatformCredits(0.1),
855
+ cachingWrite: toPlatformCredits(2.5),
856
+ output: toPlatformCredits(7.5)
857
+ };
858
+ var PLATFORM_HOSTED_GLM_53_FLASH_PRICE = {
859
+ input: toPlatformCredits(0.1),
860
+ inputCacheHit: toPlatformCredits(0.01),
861
+ output: toPlatformCredits(0.4)
862
+ };
863
+ var PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE = {
864
+ input: toPlatformCredits(0.1),
865
+ inputCacheHit: 0.168,
866
+ output: toPlatformCredits(0.4)
867
+ };
868
+ var PLATFORM_HOSTED_GEMINI_38_FLASH_PRICE = {
869
+ input: 4.2,
870
+ output: 21,
871
+ cachingWrite: 0.42,
872
+ cachingRead: 0.42
873
+ };
874
+ var PLATFORM_HOSTED_GEMINI_25_PRO_PRICE = {
875
+ input: toPlatformCredits(1.25),
876
+ output: toPlatformCredits(5),
877
+ cachingWrite: toPlatformCredits(0.3125),
878
+ cachingRead: toPlatformCredits(0.3125)
879
+ };
880
+ var PLATFORM_HOSTED_GEMINI_4_ARGON_PRICE = {
881
+ input: toPlatformCredits(2),
882
+ output: toPlatformCredits(10),
883
+ cachingWrite: toPlatformCredits(0.1),
884
+ cachingRead: toPlatformCredits(0.1)
885
+ };
886
+ var PLATFORM_HOSTED_GEMINI_4_HYDROGEN_PRICE = {
887
+ input: toPlatformCredits(1.5),
888
+ output: toPlatformCredits(7.5),
889
+ cachingWrite: toPlatformCredits(1.875),
890
+ cachingRead: 0.42
891
+ };
892
+ var PLATFORM_HOSTED_GEMINI_4_CARBON_PRICE = {
893
+ input: toPlatformCredits(4),
894
+ output: toPlatformCredits(20),
895
+ cachingWrite: toPlatformCredits(0.2),
896
+ cachingRead: toPlatformCredits(0.2)
897
+ };
898
+ var PLATFORM_HOSTED_GEMINI_4_NEON_PRICE = {
899
+ input: toPlatformCredits(GEMINI_NEON_STANDARD_PRICE_USD.input),
900
+ output: toPlatformCredits(GEMINI_NEON_STANDARD_PRICE_USD.output),
901
+ cachingWrite: toPlatformCredits(GEMINI_NEON_STANDARD_PRICE_USD.cache),
902
+ cachingRead: toPlatformCredits(GEMINI_NEON_STANDARD_PRICE_USD.cache)
903
+ };
904
+ var isPlatformHostedOpenAIImageModel = (model) => asTrimmedLowercaseString(model) === PLATFORM_HOSTED_OPENAI_IMAGE_MODEL;
905
+ var PLATFORM_HOSTED_GEMINI_IMAGE_MODELS = [
906
+ PLATFORM_HOSTED_GEMINI_NANO_BANANA_21_MODEL,
907
+ PLATFORM_HOSTED_GEMINI_FLASH_LITE_IMAGE_MODEL,
908
+ PLATFORM_HOSTED_GEMINI_FLASH_IMAGE_MODEL,
909
+ PLATFORM_HOSTED_GEMINI_PRO_IMAGE_MODEL
910
+ ];
911
+ var isPlatformHostedGeminiImageModel = (model) => PLATFORM_HOSTED_GEMINI_IMAGE_MODELS.some((m) => asTrimmedLowercaseString(model) === m);
912
+ var isPlatformHostedImageModel = (model) => isPlatformHostedOpenAIImageModel(model) || isPlatformHostedGeminiImageModel(model);
913
+ var PLATFORM_HOSTED_IMAGE_ASPECT_RATIOS = ["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"];
914
+ var PLATFORM_HOSTED_IMAGE_SIZES = ["1K", "2K", "4K"];
915
+ var createPlatformHostedGeminiImageModel = ({
916
+ name,
917
+ displayName,
918
+ inputPrice,
919
+ outputPrice,
920
+ imageTokenPricePerMillion,
921
+ imageOutputTokenEstimateBySize,
922
+ pricePerImage,
923
+ maxOutputTokens,
924
+ contextWindow,
925
+ imageGenerationWaitTimeSeconds,
926
+ imageGenerationProfiles
927
+ }) => ({
928
+ name,
929
+ displayName,
930
+ hasVision: true,
931
+ hasImageOutput: true,
932
+ supportsImageOutput: true,
933
+ supportsImageConfig: true,
934
+ requiresImageModalities: true,
935
+ defaultModalities: ["image", "text"],
936
+ supportedAspectRatios: PLATFORM_HOSTED_IMAGE_ASPECT_RATIOS,
937
+ supportedImageSizes: PLATFORM_HOSTED_IMAGE_SIZES,
938
+ price: {
939
+ input: inputPrice,
940
+ output: outputPrice
941
+ },
942
+ imageTokenPricePerMillion,
943
+ imageOutputTokenEstimateBySize,
944
+ pricePerImage,
945
+ maxOutputTokens,
946
+ contextWindow,
947
+ imageGenerationWaitTimeSeconds,
948
+ imageGenerationProfiles,
949
+ supportsTool: false
950
+ });
951
+ var PLATFORM_HOSTED_MIMO_MODELS = [
952
+ PLATFORM_HOSTED_MIMO_FLASH_MODEL,
953
+ PLATFORM_HOSTED_MIMO_PRO_MODEL,
954
+ PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_MODEL
955
+ ];
956
+ var isPlatformHostedMimoModel = (model) => {
957
+ const m = asTrimmedLowercaseString(model);
958
+ return PLATFORM_HOSTED_MIMO_MODELS.includes(m);
959
+ };
960
+ var isPlatformMimoProviderModel = (provider, model) => isPlatformManagedProvider(provider) && isPlatformHostedMimoModel(model);
961
+ var PLATFORM_HOSTED_MIMO_FLASH_PRICE = {
962
+ input: toCnyCredits(1),
963
+ inputCacheHit: toCnyCredits(0.02),
964
+ output: toCnyCredits(2)
965
+ };
966
+ var PLATFORM_HOSTED_MIMO_PRO_PRICE = {
967
+ input: toCnyCredits(3),
968
+ inputCacheHit: toCnyCredits(0.025),
969
+ output: toCnyCredits(6)
970
+ };
971
+ var PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_PRICE = {
972
+ input: toCnyCredits(30),
973
+ inputCacheHit: toCnyCredits(0.25),
974
+ output: toCnyCredits(60)
975
+ };
976
+ var PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE = {
977
+ input: toCnyCredits(2),
978
+ inputCacheHit: toCnyCredits(0.04),
979
+ output: toCnyCredits(8)
980
+ };
981
+ var PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE = {
982
+ input: toCnyCredits(1),
983
+ inputCacheHit: toCnyCredits(0.02),
984
+ output: toCnyCredits(4)
985
+ };
986
+ var PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE = {
987
+ input: toCnyCredits(9),
988
+ inputCacheHit: toCnyCredits(0.3),
989
+ output: toCnyCredits(27)
990
+ };
991
+ var PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE = {
992
+ input: toCnyCredits(4.5),
993
+ inputCacheHit: toCnyCredits(0.15),
994
+ output: toCnyCredits(13.5)
995
+ };
996
+ var PLATFORM_HOSTED_LEGACY_DEEPSEEK_MODELS = [
997
+ "deepseek-v4-flash",
998
+ "deepseek-v4-flash-vision-exp"
999
+ ];
1000
+ var isDeepSeekOffPeakBeijingTime = (nowMs = Date.now()) => {
1001
+ const beijing = new Date(nowMs + 8 * 60 * 60 * 1000);
1002
+ const beijingDay = beijing.getUTCDay();
1003
+ const beijingHour = beijing.getUTCHours();
1004
+ if (beijingDay === 0 || beijingDay === 6)
1005
+ return true;
1006
+ const isPeakWindow = beijingHour >= 9 && beijingHour < 12 || beijingHour >= 14 && beijingHour < 18;
1007
+ return !isPeakWindow;
1008
+ };
1009
+ var getPlatformHostedDeepSeekV4Price = (model, nowMs = Date.now()) => {
1010
+ const isOffPeak = isDeepSeekOffPeakBeijingTime(nowMs);
1011
+ if (asTrimmedLowercaseString(model) === PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL) {
1012
+ return isOffPeak ? PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE : PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE;
1013
+ }
1014
+ return isOffPeak ? PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE : PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE;
1015
+ };
1016
+ var isPlatformHostedDeepSeekModel = (model) => {
1017
+ const m = asTrimmedLowercaseString(model);
1018
+ return m === PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL || m === PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL || PLATFORM_HOSTED_LEGACY_DEEPSEEK_MODELS.includes(m);
1019
+ };
1020
+ var isPlatformHostedDeepseekModel = isPlatformHostedDeepSeekModel;
1021
+ var isPlatformHostedDeepSeekV4Model = isPlatformHostedDeepSeekModel;
1022
+ var LITHOS_DEEPSEEK_FLASH_BASE_URL = "https://api.lithosai.cloud/v1";
1023
+ var LITHOS_DEEPSEEK_FLASH_CHAT_COMPLETIONS_URL = `${LITHOS_DEEPSEEK_FLASH_BASE_URL}/chat/completions`;
1024
+ var catalogReleasedAt = (year, month, day) => Date.UTC(year, month - 1, day);
1025
+ var platformHostedModels = [
1026
+ {
1027
+ name: PLATFORM_HOSTED_KIMI_K31_PRO_MODEL,
1028
+ displayName: "Kimi K3.1 Pro",
1029
+ hasVision: true,
1030
+ price: { ...PLATFORM_HOSTED_KIMI_K31_PRO_PRICE },
1031
+ maxOutputTokens: 262144,
1032
+ contextWindow: 1e6,
1033
+ supportsTool: true,
1034
+ supportsReasoningEffort: true,
1035
+ minClientVersion: PLATFORM_HOSTED_KIMI_K3_MIN_CLIENT_VERSION
1036
+ },
1037
+ {
1038
+ name: PLATFORM_HOSTED_GLM_53_MODEL,
1039
+ displayName: "GLM 5.3",
1040
+ hasVision: true,
1041
+ price: { ...PLATFORM_HOSTED_GLM_PRICE },
1042
+ maxOutputTokens: 131072,
1043
+ contextWindow: 1050000,
1044
+ supportsTool: true,
1045
+ supportsReasoningEffort: true
1046
+ },
1047
+ {
1048
+ name: PLATFORM_HOSTED_GEMINI_38_FLASH_MODEL,
1049
+ displayName: "Gemini 3.8 Flash",
1050
+ hasVision: true,
1051
+ price: { ...PLATFORM_HOSTED_GEMINI_38_FLASH_PRICE },
1052
+ maxOutputTokens: 65536,
1053
+ contextWindow: 1048576,
1054
+ supportsTool: true,
1055
+ supportsReasoningEffort: true
1056
+ },
1057
+ {
1058
+ name: PLATFORM_HOSTED_GEMINI_4_HYDROGEN_MODEL,
1059
+ displayName: "Gemini 4 Hydrogen",
1060
+ hasVision: true,
1061
+ price: { ...PLATFORM_HOSTED_GEMINI_4_HYDROGEN_PRICE },
1062
+ maxOutputTokens: 65536,
1063
+ contextWindow: 1048576,
1064
+ supportsTool: true,
1065
+ supportsReasoningEffort: true
1066
+ },
1067
+ {
1068
+ name: PLATFORM_HOSTED_GEMINI_4_CARBON_MODEL,
1069
+ displayName: "Gemini 4 Carbon",
1070
+ hasVision: true,
1071
+ price: { ...PLATFORM_HOSTED_GEMINI_4_CARBON_PRICE },
1072
+ maxOutputTokens: 32768,
1073
+ contextWindow: 1048576,
1074
+ supportsTool: true,
1075
+ supportsReasoningEffort: true
1076
+ },
1077
+ {
1078
+ name: PLATFORM_HOSTED_GEMINI_4_NEON_MODEL,
1079
+ displayName: "Gemini 4 Neon",
1080
+ hasVision: true,
1081
+ price: { ...PLATFORM_HOSTED_GEMINI_4_NEON_PRICE },
1082
+ maxOutputTokens: 65536,
1083
+ contextWindow: 1048576,
1084
+ supportsTool: true,
1085
+ supportsReasoningEffort: true,
1086
+ serviceTierPriceMultipliers: { ...GEMINI_NEON_SERVICE_TIER_MULTIPLIERS }
1087
+ },
1088
+ {
1089
+ name: PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
1090
+ displayName: "DeepSeek Flash",
1091
+ hasVision: true,
1092
+ price: { ...PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE },
1093
+ peakPrice: { ...PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE },
1094
+ offPeakPrice: { ...PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE },
1095
+ maxOutputTokens: 384000,
1096
+ contextWindow: 1e6,
1097
+ supportsTool: true,
1098
+ supportsReasoningEffort: true
1099
+ },
1100
+ {
1101
+ name: PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL,
1102
+ displayName: "DeepSeek V4 Pro",
1103
+ hasVision: false,
1104
+ price: { ...PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE },
1105
+ peakPrice: { ...PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE },
1106
+ offPeakPrice: { ...PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE },
1107
+ maxOutputTokens: 384000,
1108
+ contextWindow: 1e6,
1109
+ supportsTool: true,
1110
+ supportsReasoningEffort: true
1111
+ },
1112
+ {
1113
+ name: PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
1114
+ displayName: "GLM 5.3 Flash",
1115
+ hasVision: true,
1116
+ price: { ...PLATFORM_HOSTED_GLM_53_FLASH_PRICE },
1117
+ maxOutputTokens: 98304,
1118
+ contextWindow: 1048576,
1119
+ supportsTool: true,
1120
+ supportsReasoningEffort: true,
1121
+ minClientVersion: PLATFORM_HOSTED_GLM_53_FLASH_MIN_CLIENT_VERSION
1122
+ },
1123
+ {
1124
+ name: PLATFORM_HOSTED_MIMO_FLASH_MODEL,
1125
+ displayName: "MiMo V2.6 Flash",
1126
+ hasVision: true,
1127
+ price: { ...PLATFORM_HOSTED_MIMO_FLASH_PRICE },
1128
+ maxOutputTokens: 131072,
1129
+ contextWindow: 1048576,
1130
+ supportsTool: true,
1131
+ supportsReasoningEffort: true
1132
+ },
1133
+ {
1134
+ name: PLATFORM_HOSTED_MIMO_PRO_MODEL,
1135
+ displayName: "MiMo V2.6 Pro",
1136
+ hasVision: true,
1137
+ price: { ...PLATFORM_HOSTED_MIMO_PRO_PRICE },
1138
+ maxOutputTokens: 131072,
1139
+ contextWindow: 1048576,
1140
+ supportsTool: true,
1141
+ supportsReasoningEffort: true
1142
+ },
1143
+ {
1144
+ name: PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_MODEL,
1145
+ displayName: "MiMo V2.6 Pro Ultraspeed",
1146
+ hasVision: true,
1147
+ price: { ...PLATFORM_HOSTED_MIMO_PRO_ULTRASPEED_PRICE },
1148
+ maxOutputTokens: 131072,
1149
+ contextWindow: 1048576,
1150
+ supportsTool: true,
1151
+ supportsReasoningEffort: true
1152
+ },
1153
+ {
1154
+ name: PLATFORM_HOSTED_CLAUDE_HAIKU_55_MODEL,
1155
+ displayName: "Claude Haiku 5.5",
1156
+ hasVision: true,
1157
+ price: { ...PLATFORM_HOSTED_CLAUDE_HAIKU_55_PRICE },
1158
+ maxOutputTokens: 8192,
1159
+ contextWindow: 1e6,
1160
+ supportsTool: false
1161
+ },
1162
+ {
1163
+ name: PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL,
1164
+ displayName: "Claude Opus 5.5",
1165
+ hasVision: true,
1166
+ price: { ...PLATFORM_HOSTED_CLAUDE_OPUS_5_5_PRICE },
1167
+ releasedAtMs: catalogReleasedAt(2026, 9, 22),
1168
+ maxOutputTokens: 128000,
1169
+ contextWindow: 1e6,
1170
+ supportsTool: false
1171
+ },
1172
+ {
1173
+ name: PLATFORM_HOSTED_CLAUDE_FABLE_5_2_MODEL,
1174
+ displayName: "Claude Fable 5.2",
1175
+ hasVision: true,
1176
+ price: { ...PLATFORM_HOSTED_CLAUDE_FABLE_5_2_PRICE },
1177
+ releasedAtMs: catalogReleasedAt(2026, 11, 15),
1178
+ maxOutputTokens: 128000,
1179
+ contextWindow: 1e6,
1180
+ supportsTool: false
1181
+ },
1182
+ {
1183
+ name: PLATFORM_HOSTED_CLAUDE_SONNET_5_5_MODEL,
1184
+ displayName: "Claude Sonnet 5.5",
1185
+ hasVision: true,
1186
+ price: { ...PLATFORM_HOSTED_CLAUDE_SONNET_5_5_PRICE },
1187
+ releasedAtMs: catalogReleasedAt(2026, 9, 28),
1188
+ maxOutputTokens: 128000,
1189
+ contextWindow: 1e6,
1190
+ supportsTool: false
1191
+ },
1192
+ {
1193
+ name: PLATFORM_HOSTED_GPT_6_2_ASTRA_MODEL,
1194
+ displayName: "GPT-6.2 Astra",
1195
+ hasVision: true,
1196
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_PRICE },
1197
+ pricingStrategy: {
1198
+ type: "tiered_context",
1199
+ tiers: [
1200
+ {
1201
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1202
+ price: { ...PLATFORM_HOSTED_GPT_6_2_ASTRA_LONG_CONTEXT_PRICE }
1203
+ }
1204
+ ]
1205
+ },
1206
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1207
+ maxOutputTokens: 128000,
1208
+ contextWindow: 1050000,
1209
+ supportsTool: true,
1210
+ supportsReasoningEffort: true
1211
+ },
1212
+ {
1213
+ name: PLATFORM_HOSTED_GPT_6_2_SOL_MODEL,
1214
+ displayName: "GPT-6.2 Sol",
1215
+ hasVision: true,
1216
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_PRICE },
1217
+ pricingStrategy: {
1218
+ type: "tiered_context",
1219
+ tiers: [
1220
+ {
1221
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1222
+ price: { ...PLATFORM_HOSTED_GPT_6_2_SOL_LONG_CONTEXT_PRICE }
1223
+ }
1224
+ ]
1225
+ },
1226
+ releasedAtMs: catalogReleasedAt(2026, 11, 17),
1227
+ maxOutputTokens: 128000,
1228
+ contextWindow: 1050000,
1229
+ supportsTool: true,
1230
+ supportsReasoningEffort: true
1231
+ },
1232
+ {
1233
+ name: PLATFORM_HOSTED_GPT_6_ASTRA_MODEL,
1234
+ displayName: "GPT-6 Astra",
1235
+ hasVision: true,
1236
+ price: { ...PLATFORM_HOSTED_GPT_6_ASTRA_PRICE },
1237
+ pricingStrategy: {
1238
+ type: "tiered_context",
1239
+ tiers: [
1240
+ {
1241
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1242
+ price: { ...PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE }
1243
+ }
1244
+ ]
1245
+ },
1246
+ maxOutputTokens: 128000,
1247
+ contextWindow: 1050000,
1248
+ supportsTool: true,
1249
+ supportsReasoningEffort: true
1250
+ },
1251
+ {
1252
+ name: PLATFORM_HOSTED_GPT_6_LUNA_MODEL,
1253
+ displayName: "GPT-6 Luna",
1254
+ hasVision: true,
1255
+ price: { ...PLATFORM_HOSTED_GPT_6_LUNA_PRICE },
1256
+ pricingStrategy: {
1257
+ type: "tiered_context",
1258
+ tiers: [
1259
+ {
1260
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1261
+ price: { ...PLATFORM_HOSTED_GPT_6_LUNA_LONG_CONTEXT_PRICE }
1262
+ }
1263
+ ]
1264
+ },
1265
+ releasedAtMs: catalogReleasedAt(2026, 9, 22),
1266
+ maxOutputTokens: 128000,
1267
+ contextWindow: 1050000,
1268
+ supportsTool: true,
1269
+ supportsReasoningEffort: true
1270
+ },
1271
+ {
1272
+ name: PLATFORM_HOSTED_GPT_6_1_TERRA_MODEL,
1273
+ displayName: "GPT-6.1 Terra",
1274
+ hasVision: true,
1275
+ price: { ...PLATFORM_HOSTED_GPT_6_1_TERRA_PRICE },
1276
+ pricingStrategy: {
1277
+ type: "tiered_context",
1278
+ tiers: [
1279
+ {
1280
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1281
+ price: { ...PLATFORM_HOSTED_GPT_6_1_TERRA_LONG_CONTEXT_PRICE }
1282
+ }
1283
+ ]
1284
+ },
1285
+ releasedAtMs: catalogReleasedAt(2026, 11, 1),
1286
+ contextWindow: 1050000,
1287
+ supportsReasoningEffort: true
1288
+ },
1289
+ {
1290
+ name: PLATFORM_HOSTED_GROK_4_6_MODEL,
1291
+ displayName: "Grok 4.6",
1292
+ hasVision: true,
1293
+ price: { ...PLATFORM_HOSTED_GROK_PRICE },
1294
+ maxOutputTokens: 1e5,
1295
+ contextWindow: 500000,
1296
+ supportsTool: true
1297
+ },
1298
+ {
1299
+ name: PLATFORM_HOSTED_OPENAI_IMAGE_MODEL,
1300
+ displayName: "GPT Image 2",
1301
+ endpointKey: "responses",
1302
+ hasVision: true,
1303
+ hasImageOutput: true,
1304
+ supportsImageOutput: true,
1305
+ supportsTool: false,
1306
+ contextWindow: 128000,
1307
+ maxOutputTokens: 32768,
1308
+ price: { input: 40, output: 0, inputCacheHit: 10 },
1309
+ pricePerImage: undefined,
1310
+ imageTokenPricePerMillion: 240,
1311
+ imageOutputTokenEstimateBySize: {
1312
+ "1K": { low: 200, medium: 1766, high: 7033 },
1313
+ "2K": { low: 166, medium: 1366, high: 5500 },
1314
+ "4K": { low: 166, medium: 1366, high: 5500 }
1315
+ }
1316
+ },
1317
+ createPlatformHostedGeminiImageModel({
1318
+ name: PLATFORM_HOSTED_GEMINI_PRO_IMAGE_MODEL,
1319
+ displayName: "Nano Banana Pro (Gemini 3 Pro Image Preview)",
1320
+ inputPrice: 16,
1321
+ outputPrice: 96,
1322
+ imageTokenPricePerMillion: 960,
1323
+ imageOutputTokenEstimateBySize: {
1324
+ "1K": 1120,
1325
+ "2K": 1120,
1326
+ "4K": 2000
1327
+ },
1328
+ maxOutputTokens: 8192,
1329
+ contextWindow: 65536,
1330
+ imageGenerationWaitTimeSeconds: {
1331
+ min: 25,
1332
+ max: 60
1333
+ },
1334
+ imageGenerationProfiles: [
1335
+ {
1336
+ key: "speed",
1337
+ label: "速度优先",
1338
+ imageModel: "gemini-nano-banana-2.1",
1339
+ waitTimeSeconds: {
1340
+ min: 10,
1341
+ max: 25
1342
+ }
1343
+ },
1344
+ {
1345
+ key: "quality",
1346
+ label: "质量优先",
1347
+ imageModel: "gemini-3-pro-image",
1348
+ waitTimeSeconds: {
1349
+ min: 25,
1350
+ max: 60
1351
+ }
1352
+ }
1353
+ ]
1354
+ }),
1355
+ createPlatformHostedGeminiImageModel({
1356
+ name: PLATFORM_HOSTED_GEMINI_NANO_BANANA_21_MODEL,
1357
+ displayName: "Nano Banana 2.1 (Gemini 2.1 Image)",
1358
+ inputPrice: 12,
1359
+ outputPrice: 60,
1360
+ imageTokenPricePerMillion: 240,
1361
+ imageOutputTokenEstimateBySize: {
1362
+ "1K": 1120,
1363
+ "2K": 1680,
1364
+ "4K": 3780
1365
+ },
1366
+ maxOutputTokens: 65536,
1367
+ contextWindow: 65536,
1368
+ imageGenerationWaitTimeSeconds: {
1369
+ min: 10,
1370
+ max: 25
1371
+ },
1372
+ imageGenerationProfiles: [
1373
+ {
1374
+ key: "speed",
1375
+ label: "速度优先",
1376
+ imageModel: PLATFORM_HOSTED_GEMINI_NANO_BANANA_21_MODEL,
1377
+ waitTimeSeconds: {
1378
+ min: 10,
1379
+ max: 25
1380
+ }
1381
+ },
1382
+ {
1383
+ key: "quality",
1384
+ label: "质量优先",
1385
+ imageModel: "gemini-3-pro-image",
1386
+ waitTimeSeconds: {
1387
+ min: 25,
1388
+ max: 60
1389
+ }
1390
+ }
1391
+ ]
1392
+ }),
1393
+ createPlatformHostedGeminiImageModel({
1394
+ name: PLATFORM_HOSTED_GEMINI_FLASH_IMAGE_MODEL,
1395
+ displayName: "Nano Banana 2 (Gemini 3.1 Flash Image Preview)",
1396
+ inputPrice: 12,
1397
+ outputPrice: 60,
1398
+ imageTokenPricePerMillion: 240,
1399
+ imageOutputTokenEstimateBySize: {
1400
+ "1K": 1120,
1401
+ "2K": 1680,
1402
+ "4K": 3780
1403
+ },
1404
+ maxOutputTokens: 65536,
1405
+ contextWindow: 65536,
1406
+ imageGenerationWaitTimeSeconds: {
1407
+ min: 10,
1408
+ max: 25
1409
+ },
1410
+ imageGenerationProfiles: [
1411
+ {
1412
+ key: "speed",
1413
+ label: "速度优先",
1414
+ imageModel: "gemini-nano-banana-2.1",
1415
+ waitTimeSeconds: {
1416
+ min: 10,
1417
+ max: 25
1418
+ }
1419
+ },
1420
+ {
1421
+ key: "quality",
1422
+ label: "质量优先",
1423
+ imageModel: "gemini-3-pro-image",
1424
+ waitTimeSeconds: {
1425
+ min: 25,
1426
+ max: 60
1427
+ }
1428
+ }
1429
+ ]
1430
+ }),
1431
+ createPlatformHostedGeminiImageModel({
1432
+ name: PLATFORM_HOSTED_GEMINI_FLASH_LITE_IMAGE_MODEL,
1433
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
1434
+ inputPrice: 2,
1435
+ outputPrice: 12,
1436
+ pricePerImage: 0.2688,
1437
+ maxOutputTokens: 65536,
1438
+ contextWindow: 65536,
1439
+ imageGenerationWaitTimeSeconds: {
1440
+ min: 4,
1441
+ max: 10
1442
+ },
1443
+ imageGenerationProfiles: [
1444
+ {
1445
+ key: "speed",
1446
+ label: "速度优先",
1447
+ imageModel: "gemini-3.1-flash-lite-image",
1448
+ waitTimeSeconds: {
1449
+ min: 4,
1450
+ max: 10
1451
+ }
1452
+ },
1453
+ {
1454
+ key: "quality",
1455
+ label: "质量优先",
1456
+ imageModel: "gemini-3-pro-image",
1457
+ waitTimeSeconds: {
1458
+ min: 25,
1459
+ max: 60
1460
+ }
1461
+ }
1462
+ ]
1463
+ })
1464
+ ];
1465
+ function usesMimoThinkingWire(provider, model, endpoint) {
1466
+ return /xiaomimimo\.com/i.test(endpoint ?? "") || provider?.toLowerCase() === "mimo" || isPlatformMimoProviderModel(provider, model);
1467
+ }
1468
+
1469
+ // packages/integrations/qwen/models.ts
1470
+ var qwenModels = [
1471
+ {
1472
+ name: "qwen3.8-max",
1473
+ displayName: "Qwen3.8 Max",
1474
+ hasVision: true,
1475
+ contextWindow: 1e6,
1476
+ maxOutputTokens: 131072,
1477
+ jsonOutput: true,
1478
+ fnCall: true,
1479
+ supportsTool: true,
1480
+ supportsReasoningEffort: true,
1481
+ price: { input: toCnyCredits(12), output: toCnyCredits(36) },
1482
+ provider: "qwen",
1483
+ description: "2.4万亿参数 MoE 旗舰,1M 上下文(输入 991K / 输出 131K / 思维链 262K),原生视觉理解贯穿规划-执行-验证,自主编程可交付完整项目。"
1484
+ },
1485
+ {
1486
+ name: "qwen3-max",
1487
+ displayName: "Qwen3 Max",
1488
+ hasVision: true,
1489
+ contextWindow: 262144,
1490
+ maxOutputTokens: 32768,
1491
+ jsonOutput: true,
1492
+ fnCall: true,
1493
+ supportsTool: true,
1494
+ supportsReasoningEffort: true,
1495
+ price: { input: toCnyCredits(6), output: toCnyCredits(24) },
1496
+ provider: "qwen",
1497
+ description: "千问3 旗舰模型,支持思考模式、函数调用、结构化输出。"
1498
+ },
1499
+ {
1500
+ name: "qwen3-max-preview",
1501
+ displayName: "Qwen3 Max Preview",
1502
+ hasVision: true,
1503
+ contextWindow: 81920,
1504
+ maxOutputTokens: 32768,
1505
+ jsonOutput: true,
1506
+ fnCall: true,
1507
+ supportsTool: true,
1508
+ supportsReasoningEffort: true,
1509
+ price: { input: toCnyCredits(6), output: toCnyCredits(24) },
1510
+ provider: "qwen"
1511
+ },
1512
+ {
1513
+ name: "qwen3-235b-a22b-instruct-2507",
1514
+ displayName: "Qwen3 235B A22B Instruct",
1515
+ hasVision: true,
1516
+ contextWindow: 262144,
1517
+ maxOutputTokens: 32768,
1518
+ jsonOutput: true,
1519
+ fnCall: true,
1520
+ supportsTool: true,
1521
+ supportsReasoningEffort: true,
1522
+ price: { input: toCnyCredits(4), output: toCnyCredits(12) },
1523
+ provider: "qwen"
1524
+ },
1525
+ {
1526
+ name: "qwen3-next-80b-a3b-instruct",
1527
+ displayName: "Qwen3 Next 80B A3B Instruct",
1528
+ hasVision: true,
1529
+ contextWindow: 81920,
1530
+ maxOutputTokens: 32768,
1531
+ jsonOutput: true,
1532
+ fnCall: true,
1533
+ supportsTool: true,
1534
+ supportsReasoningEffort: true,
1535
+ price: { input: toCnyCredits(2), output: toCnyCredits(6) },
1536
+ provider: "qwen"
1537
+ },
1538
+ {
1539
+ name: "qwen3-coder-plus",
1540
+ displayName: "Qwen3 Coder Plus",
1541
+ hasVision: false,
1542
+ contextWindow: 1048576,
1543
+ maxOutputTokens: 65536,
1544
+ jsonOutput: true,
1545
+ fnCall: true,
1546
+ supportsTool: true,
1547
+ supportsReasoningEffort: true,
1548
+ price: { input: toCnyCredits(3), output: toCnyCredits(9) },
1549
+ provider: "qwen",
1550
+ description: "千问3 编程旗舰,1M 长上下文,适合代码生成与 Agent 编程。"
1551
+ },
1552
+ {
1553
+ name: "qwen3-coder-flash",
1554
+ displayName: "Qwen3 Coder Flash",
1555
+ hasVision: false,
1556
+ contextWindow: 1048576,
1557
+ maxOutputTokens: 65536,
1558
+ jsonOutput: true,
1559
+ fnCall: true,
1560
+ supportsTool: true,
1561
+ supportsReasoningEffort: true,
1562
+ price: { input: toCnyCredits(1), output: toCnyCredits(3) },
1563
+ provider: "qwen"
1564
+ },
1565
+ {
1566
+ name: "qwen3-coder-480b-a35b-instruct",
1567
+ displayName: "Qwen3 Coder 480B A35B Instruct",
1568
+ hasVision: false,
1569
+ contextWindow: 1048576,
1570
+ maxOutputTokens: 65536,
1571
+ jsonOutput: true,
1572
+ fnCall: true,
1573
+ supportsTool: true,
1574
+ supportsReasoningEffort: true,
1575
+ price: { input: toCnyCredits(5), output: toCnyCredits(15) },
1576
+ provider: "qwen"
1577
+ },
1578
+ {
1579
+ name: "qwen-long",
1580
+ displayName: "Qwen Long",
1581
+ hasVision: false,
1582
+ contextWindow: 10485760,
1583
+ maxOutputTokens: 8192,
1584
+ jsonOutput: true,
1585
+ fnCall: false,
1586
+ supportsTool: false,
1587
+ price: { input: toCnyCredits(0.5), output: toCnyCredits(2) },
1588
+ provider: "qwen",
1589
+ description: "10M 超长上下文,适合长文档处理。"
1590
+ },
1591
+ {
1592
+ name: "qwen-plus",
1593
+ displayName: "Qwen Plus",
1594
+ hasVision: true,
1595
+ contextWindow: 1048576,
1596
+ maxOutputTokens: 32768,
1597
+ jsonOutput: true,
1598
+ fnCall: true,
1599
+ supportsTool: true,
1600
+ supportsReasoningEffort: true,
1601
+ price: { input: toCnyCredits(0.8), output: toCnyCredits(2) },
1602
+ provider: "qwen"
1603
+ },
1604
+ {
1605
+ name: "qwen-turbo",
1606
+ displayName: "Qwen Turbo",
1607
+ hasVision: false,
1608
+ contextWindow: 131072,
1609
+ maxOutputTokens: 8192,
1610
+ jsonOutput: true,
1611
+ fnCall: true,
1612
+ supportsTool: true,
1613
+ price: { input: toCnyCredits(0.3), output: toCnyCredits(0.6) },
1614
+ provider: "qwen"
1615
+ },
1616
+ {
1617
+ name: "qwen-flash",
1618
+ displayName: "Qwen Flash",
1619
+ hasVision: false,
1620
+ contextWindow: 131072,
1621
+ maxOutputTokens: 8192,
1622
+ jsonOutput: true,
1623
+ fnCall: true,
1624
+ supportsTool: true,
1625
+ price: { input: toCnyCredits(0.1), output: toCnyCredits(0.3) },
1626
+ provider: "qwen"
1627
+ },
1628
+ {
1629
+ name: "qwq-plus",
1630
+ displayName: "QwQ Plus",
1631
+ hasVision: false,
1632
+ contextWindow: 131072,
1633
+ maxOutputTokens: 32768,
1634
+ jsonOutput: true,
1635
+ fnCall: true,
1636
+ supportsTool: true,
1637
+ supportsReasoningEffort: true,
1638
+ price: { input: toCnyCredits(2), output: toCnyCredits(8) },
1639
+ provider: "qwen",
1640
+ description: "深度思考推理模型。"
1641
+ }
1642
+ ];
1643
+ var qwenTokenPlanModels = [
1644
+ {
1645
+ name: "qwen3.8-max",
1646
+ displayName: "Qwen3.8 Max",
1647
+ hasVision: true,
1648
+ contextWindow: 1e6,
1649
+ maxOutputTokens: 131072,
1650
+ jsonOutput: true,
1651
+ fnCall: true,
1652
+ supportsTool: true,
1653
+ supportsReasoningEffort: true,
1654
+ price: { input: 0, output: 0 },
1655
+ provider: "qwen",
1656
+ description: "2.4万亿参数 MoE 旗舰,推理、视觉理解、文本生成;1M 上下文、131K 输出、262K 思维链。"
1657
+ },
1658
+ {
1659
+ name: "qwen3.7-max",
1660
+ displayName: "Qwen3.7 Max",
1661
+ hasVision: false,
1662
+ contextWindow: 262144,
1663
+ maxOutputTokens: 32768,
1664
+ jsonOutput: true,
1665
+ fnCall: true,
1666
+ supportsTool: true,
1667
+ supportsReasoningEffort: true,
1668
+ price: { input: 0, output: 0 },
1669
+ provider: "qwen",
1670
+ description: "推理模型、文本生成。"
1671
+ },
1672
+ {
1673
+ name: "qwen3.7-plus",
1674
+ displayName: "Qwen3.7 Plus",
1675
+ hasVision: true,
1676
+ contextWindow: 262144,
1677
+ maxOutputTokens: 32768,
1678
+ jsonOutput: true,
1679
+ fnCall: true,
1680
+ supportsTool: true,
1681
+ supportsReasoningEffort: true,
1682
+ price: { input: 0, output: 0 },
1683
+ provider: "qwen",
1684
+ description: "推理模型、视觉理解、文本生成。"
1685
+ },
1686
+ {
1687
+ name: "qwen3.6-flash",
1688
+ displayName: "Qwen3.6 Flash",
1689
+ hasVision: true,
1690
+ contextWindow: 262144,
1691
+ maxOutputTokens: 32768,
1692
+ jsonOutput: true,
1693
+ fnCall: true,
1694
+ supportsTool: true,
1695
+ supportsReasoningEffort: true,
1696
+ price: { input: 0, output: 0 },
1697
+ provider: "qwen",
1698
+ description: "推理模型、视觉理解、文本生成(轻量快速)。"
1699
+ },
1700
+ {
1701
+ name: "glm-5.2",
1702
+ displayName: "GLM 5.2",
1703
+ hasVision: false,
1704
+ contextWindow: 1e6,
1705
+ maxOutputTokens: 16384,
1706
+ jsonOutput: true,
1707
+ fnCall: true,
1708
+ supportsTool: true,
1709
+ supportsReasoningEffort: true,
1710
+ price: { input: 0, output: 0 },
1711
+ provider: "qwen",
1712
+ description: "智谱 AI 推理模型、文本生成。"
1713
+ },
1714
+ {
1715
+ name: "deepseek-v4-pro",
1716
+ displayName: "DeepSeek V4 Pro",
1717
+ hasVision: false,
1718
+ contextWindow: 1e6,
1719
+ maxOutputTokens: 384000,
1720
+ jsonOutput: true,
1721
+ fnCall: true,
1722
+ supportsTool: true,
1723
+ supportsReasoningEffort: true,
1724
+ price: { input: 0, output: 0 },
1725
+ provider: "qwen",
1726
+ description: "DeepSeek 推理模型、文本生成。"
1727
+ },
1728
+ {
1729
+ name: "wan2.7-image",
1730
+ displayName: "Wan2.7 Image",
1731
+ hasVision: false,
1732
+ hasImageOutput: true,
1733
+ contextWindow: 0,
1734
+ maxOutputTokens: 0,
1735
+ price: { input: 0, output: 0 },
1736
+ provider: "qwen",
1737
+ description: "万相图片生成。"
1738
+ },
1739
+ {
1740
+ name: "wan2.7-image-pro",
1741
+ displayName: "Wan2.7 Image Pro",
1742
+ hasVision: false,
1743
+ hasImageOutput: true,
1744
+ contextWindow: 0,
1745
+ maxOutputTokens: 0,
1746
+ price: { input: 0, output: 0 },
1747
+ provider: "qwen",
1748
+ description: "万相图片生成(Pro)。"
1749
+ }
1750
+ ];
1751
+
1752
+ // packages/integrations/moonshot/models.ts
1753
+ var moonshotModels = [
1754
+ {
1755
+ name: "kimi-k3",
1756
+ displayName: "Kimi K3",
1757
+ hasVision: true,
1758
+ contextWindow: 1e6,
1759
+ maxOutputTokens: 262144,
1760
+ jsonOutput: true,
1761
+ fnCall: true,
1762
+ supportsTool: true,
1763
+ supportsReasoningEffort: true,
1764
+ price: { input: 24, output: 120 },
1765
+ provider: "moonshot",
1766
+ description: "Moonshot 旗舰模型,原生多模态,1M 上下文,长程编程与深度推理。"
1767
+ },
1768
+ {
1769
+ name: "kimi-k2.6",
1770
+ displayName: "Kimi K2.6",
1771
+ hasVision: true,
1772
+ contextWindow: 262144,
1773
+ maxOutputTokens: 262144,
1774
+ jsonOutput: true,
1775
+ fnCall: true,
1776
+ supportsTool: true,
1777
+ supportsReasoningEffort: true,
1778
+ price: { input: 4.8, output: 19.2 },
1779
+ provider: "moonshot",
1780
+ description: "Moonshot 高性能通用模型。"
1781
+ }
1782
+ ];
1783
+ var kimiCodeModels = [
1784
+ {
1785
+ name: "k3",
1786
+ displayName: "Kimi K3",
1787
+ hasVision: true,
1788
+ contextWindow: 1e6,
1789
+ maxOutputTokens: 262144,
1790
+ jsonOutput: true,
1791
+ fnCall: true,
1792
+ supportsTool: true,
1793
+ supportsReasoningEffort: true,
1794
+ price: { input: 0, output: 0 },
1795
+ provider: "moonshot",
1796
+ description: "Kimi 最强旗舰编程模型,2.8T 参数,1M 上下文,low/high/max 三档思考深度,擅长复杂工程与长程推理。Moderato 及以上可用。"
1797
+ },
1798
+ {
1799
+ name: "k3-256k",
1800
+ displayName: "Kimi K3 256K",
1801
+ hasVision: true,
1802
+ contextWindow: 262144,
1803
+ maxOutputTokens: 262144,
1804
+ jsonOutput: true,
1805
+ fnCall: true,
1806
+ supportsTool: true,
1807
+ supportsReasoningEffort: true,
1808
+ price: { input: 0, output: 0 },
1809
+ provider: "moonshot",
1810
+ description: "K3 的 256K 上下文版,消耗约为 k3 的一半,适合日常问答与代码补全。不支持视频输入。Moderato 及以上可用。"
1811
+ },
1812
+ {
1813
+ name: "kimi-for-coding",
1814
+ displayName: "Kimi K2.7 Code",
1815
+ hasVision: true,
1816
+ contextWindow: 262144,
1817
+ maxOutputTokens: 262144,
1818
+ jsonOutput: true,
1819
+ fnCall: true,
1820
+ supportsTool: true,
1821
+ supportsReasoningEffort: true,
1822
+ price: { input: 0, output: 0 },
1823
+ provider: "moonshot",
1824
+ description: "成熟稳定的 Coding 模型,Thinking 开启下可靠遵循指令,编程任务成功率高。所有会员可用。"
1825
+ },
1826
+ {
1827
+ name: "kimi-for-coding-highspeed",
1828
+ displayName: "Kimi K2.7 Code 高速版",
1829
+ hasVision: true,
1830
+ contextWindow: 262144,
1831
+ maxOutputTokens: 262144,
1832
+ jsonOutput: true,
1833
+ fnCall: true,
1834
+ supportsTool: true,
1835
+ supportsReasoningEffort: true,
1836
+ price: { input: 0, output: 0 },
1837
+ provider: "moonshot",
1838
+ description: "K2.7 Code 高速版,编码能力一致,输出速度约 6 倍、消耗约 3 倍。Allegretto 及以上可用。"
1839
+ }
1840
+ ];
1841
+
1842
+ // packages/integrations/stepfun/models.ts
1843
+ var stepfunModels = [
1844
+ {
1845
+ name: "step-3.7-flash",
1846
+ displayName: "Step 3.7 Flash",
1847
+ hasVision: true,
1848
+ contextWindow: 262144,
1849
+ maxOutputTokens: 65536,
1850
+ jsonOutput: true,
1851
+ fnCall: true,
1852
+ supportsTool: true,
1853
+ supportsReasoningEffort: true,
1854
+ price: {
1855
+ input: toCnyCredits(1.35),
1856
+ output: toCnyCredits(8.1),
1857
+ inputCacheHit: toCnyCredits(0.27)
1858
+ },
1859
+ provider: "stepfun",
1860
+ description: "阶跃星辰旗舰多模态推理模型,256K 上下文,原生图像+视频理解(无需外挂视觉模型),三档 reasoning_effort(low/medium/high),工具调用,针对 Agent 与 Coding 深度优化;权重开源(Apache 2.0)。"
1861
+ },
1862
+ {
1863
+ name: "step-5-preview",
1864
+ displayName: "Step 5 Preview",
1865
+ hasVision: true,
1866
+ contextWindow: 1e6,
1867
+ maxOutputTokens: 65536,
1868
+ jsonOutput: true,
1869
+ fnCall: true,
1870
+ supportsTool: true,
1871
+ supportsReasoningEffort: true,
1872
+ price: {
1873
+ input: toCnyCredits(7),
1874
+ output: toCnyCredits(20),
1875
+ inputCacheHit: toCnyCredits(0.35)
1876
+ },
1877
+ provider: "stepfun",
1878
+ description: "阶跃星辰新一代旗舰多模态推理模型(2026-09 发布),1M 上下文,文本+图像+视频输入,64k 最大输出,三档 reasoning_effort,支持复杂逻辑分解与长程规划;Artificial Analysis 智能指数 44,为 StepFun 系最高。"
1879
+ },
1880
+ {
1881
+ name: "step-3.5-flash",
1882
+ displayName: "Step 3.5 Flash",
1883
+ hasVision: false,
1884
+ contextWindow: 262144,
1885
+ maxOutputTokens: 65536,
1886
+ jsonOutput: true,
1887
+ fnCall: true,
1888
+ supportsTool: true,
1889
+ supportsReasoningEffort: true,
1890
+ price: {
1891
+ input: toCnyCredits(0.7),
1892
+ output: toCnyCredits(2.1),
1893
+ inputCacheHit: toCnyCredits(0.14)
1894
+ },
1895
+ provider: "stepfun",
1896
+ description: "阶跃星辰旗舰语言推理模型,196B 总参数 / 11B 激活参数 MoE,高速推理与工具调用;权重开源。"
1897
+ },
1898
+ {
1899
+ name: "step-3.5-flash-2603",
1900
+ displayName: "Step 3.5 Flash (Agent优化版)",
1901
+ hasVision: false,
1902
+ contextWindow: 262144,
1903
+ maxOutputTokens: 65536,
1904
+ jsonOutput: true,
1905
+ fnCall: true,
1906
+ supportsTool: true,
1907
+ supportsReasoningEffort: true,
1908
+ price: {
1909
+ input: toCnyCredits(0.7),
1910
+ output: toCnyCredits(2.1),
1911
+ inputCacheHit: toCnyCredits(0.14)
1912
+ },
1913
+ provider: "stepfun",
1914
+ description: "针对高频 Agent 场景优化,Token 效率与推理速度更佳,支持 low/high reasoning_effort。注意:Artificial Analysis 已标记为 deprecated,官方推荐迁移到 step-3.7-flash。"
1915
+ },
1916
+ {
1917
+ name: "step-1o-turbo-vision",
1918
+ displayName: "Step 1o Turbo Vision",
1919
+ hasVision: true,
1920
+ contextWindow: 65536,
1921
+ maxOutputTokens: 8192,
1922
+ jsonOutput: true,
1923
+ fnCall: true,
1924
+ supportsTool: true,
1925
+ price: {
1926
+ input: toCnyCredits(2.5),
1927
+ output: toCnyCredits(8),
1928
+ inputCacheHit: toCnyCredits(0.5)
1929
+ },
1930
+ provider: "stepfun",
1931
+ description: "高响应速度视觉模型,支持图片与文档理解;官方退役公告中多数旧模型的指定替换目标。"
1932
+ }
1933
+ ];
1934
+ var stepfunStepPlanModels = [
1935
+ {
1936
+ name: "step-5-preview",
1937
+ displayName: "Step 5 Preview",
1938
+ hasVision: true,
1939
+ contextWindow: 1e6,
1940
+ maxOutputTokens: 65536,
1941
+ jsonOutput: true,
1942
+ fnCall: true,
1943
+ supportsTool: true,
1944
+ supportsReasoningEffort: true,
1945
+ price: { input: 0, output: 0 },
1946
+ provider: "stepfun",
1947
+ description: "阶跃星辰新一代旗舰多模态推理模型,1M 上下文,文本+图像+视频输入,擅长复杂任务分解与多步计划。"
1948
+ },
1949
+ {
1950
+ name: "step-3.7-flash",
1951
+ displayName: "Step 3.7 Flash",
1952
+ hasVision: true,
1953
+ contextWindow: 262144,
1954
+ maxOutputTokens: 65536,
1955
+ jsonOutput: true,
1956
+ fnCall: true,
1957
+ supportsTool: true,
1958
+ supportsReasoningEffort: true,
1959
+ price: { input: 0, output: 0 },
1960
+ provider: "stepfun",
1961
+ description: "阶跃星辰旗舰多模态推理模型,256K 上下文,原生图像+视频理解,高速推理 + 工具调用,Agent 深度适配。"
1962
+ },
1963
+ {
1964
+ name: "step-3.5-flash",
1965
+ displayName: "Step 3.5 Flash",
1966
+ hasVision: false,
1967
+ contextWindow: 262144,
1968
+ maxOutputTokens: 65536,
1969
+ jsonOutput: true,
1970
+ fnCall: true,
1971
+ supportsTool: true,
1972
+ supportsReasoningEffort: true,
1973
+ price: { input: 0, output: 0 },
1974
+ provider: "stepfun",
1975
+ description: "阶跃星辰旗舰语言推理模型,196B MoE 架构,高速推理与工具调用。"
1976
+ },
1977
+ {
1978
+ name: "step-3.5-flash-2603",
1979
+ displayName: "Step 3.5 Flash (Agent优化版)",
1980
+ hasVision: false,
1981
+ contextWindow: 262144,
1982
+ maxOutputTokens: 65536,
1983
+ jsonOutput: true,
1984
+ fnCall: true,
1985
+ supportsTool: true,
1986
+ supportsReasoningEffort: true,
1987
+ price: { input: 0, output: 0 },
1988
+ provider: "stepfun",
1989
+ description: "针对高频 Agent 场景优化,更佳 Token 效率与推理速度,支持 low/high 推理强度;官方推荐迁移到 step-3.7-flash。"
1990
+ },
1991
+ {
1992
+ name: "step-router-v1",
1993
+ displayName: "Step Router V1",
1994
+ hasVision: false,
1995
+ contextWindow: 262144,
1996
+ maxOutputTokens: 65536,
1997
+ jsonOutput: true,
1998
+ fnCall: true,
1999
+ supportsTool: true,
2000
+ supportsReasoningEffort: true,
2001
+ price: { input: 0, output: 0 },
2002
+ provider: "stepfun",
2003
+ description: "智能路由模型,按任务复杂度自动在 Step 系列模型间调度,订阅可用。"
2004
+ }
2005
+ ];
2006
+
2007
+ // packages/integrations/minimax/models.ts
2008
+ var minimaxModels = [
2009
+ {
2010
+ name: "MiniMax-M3.1-Flash",
2011
+ displayName: "MiniMax M3.1 Flash",
2012
+ hasVision: true,
2013
+ contextWindow: 1e6,
2014
+ maxOutputTokens: 8192,
2015
+ jsonOutput: true,
2016
+ fnCall: true,
2017
+ supportsTool: true,
2018
+ price: {
2019
+ input: toCnyCredits(1),
2020
+ output: toCnyCredits(4),
2021
+ inputCacheHit: toCnyCredits(0.1)
2022
+ },
2023
+ provider: "minimax",
2024
+ description: "MiniMax 新一代 Flash 旗舰模型,1M 上下文,原生多模态视觉理解,针对 Agent、代码与工具调用深度优化。"
2025
+ },
2026
+ {
2027
+ name: "MiniMax-M3",
2028
+ displayName: "MiniMax M3",
2029
+ hasVision: true,
2030
+ contextWindow: 1e6,
2031
+ maxOutputTokens: 8192,
2032
+ jsonOutput: true,
2033
+ fnCall: true,
2034
+ supportsTool: true,
2035
+ price: {
2036
+ input: toCnyCredits(2.1),
2037
+ output: toCnyCredits(8.4),
2038
+ inputCacheHit: toCnyCredits(0.42)
2039
+ },
2040
+ provider: "minimax",
2041
+ description: "MiniMax M3 旗舰多模态推理模型,1M 上下文,支持文本与视觉理解、工具调用。"
2042
+ }
2043
+ ];
2044
+
2045
+ // packages/integrations/commandcode/models.ts
2046
+ var commandCodeModels = [
2047
+ {
2048
+ name: "deepseek/deepseek-v4-flash",
2049
+ displayName: "DeepSeek V4 Flash",
2050
+ hasVision: false,
2051
+ price: { input: 0, output: 0 },
2052
+ provider: "commandcode",
2053
+ description: "CommandCode 官方默认模型,快速混合注意力推理。"
2054
+ },
2055
+ {
2056
+ name: "deepseek/deepseek-v4-pro",
2057
+ displayName: "DeepSeek V4 Pro",
2058
+ hasVision: false,
2059
+ price: { input: 0, output: 0 },
2060
+ provider: "commandcode",
2061
+ description: "混合注意力长上下文推理旗舰。"
2062
+ },
2063
+ {
2064
+ name: "deepseek/deepseek-v4.1-flash",
2065
+ displayName: "DeepSeek V4.1 Flash",
2066
+ hasVision: true,
2067
+ price: { input: 0, output: 0 },
2068
+ provider: "commandcode",
2069
+ description: "V4.1 混合注意力推理,带视觉。"
2070
+ },
2071
+ {
2072
+ name: "moonshotai/Kimi-K3",
2073
+ displayName: "Kimi K3",
2074
+ hasVision: true,
2075
+ price: { input: 0, output: 0 },
2076
+ provider: "commandcode",
2077
+ description: "Kimi K3,月之暗面旗舰。"
2078
+ },
2079
+ {
2080
+ name: "moonshotai/Kimi-K2.7-Code",
2081
+ displayName: "Kimi K2.7 Code",
2082
+ hasVision: true,
2083
+ price: { input: 0, output: 0 },
2084
+ provider: "commandcode",
2085
+ description: "Kimi K2.7 Code,编程特化。"
2086
+ },
2087
+ {
2088
+ name: "Qwen/Qwen3.8-Max",
2089
+ displayName: "Qwen 3.8 Max",
2090
+ hasVision: true,
2091
+ price: { input: 0, output: 0 },
2092
+ provider: "commandcode",
2093
+ description: "自主长程编程与专业工作。"
2094
+ },
2095
+ {
2096
+ name: "zai-org/GLM-5.3",
2097
+ displayName: "GLM 5.3",
2098
+ hasVision: false,
2099
+ price: { input: 0, output: 0 },
2100
+ provider: "commandcode",
2101
+ description: "前沿编程模型,1M 上下文。"
2102
+ },
2103
+ {
2104
+ name: "z-ai/glm-5.3-flash",
2105
+ displayName: "GLM 5.3 Flash",
2106
+ hasVision: true,
2107
+ price: { input: 0, output: 0 },
2108
+ provider: "commandcode",
2109
+ description: "快速实惠的 GLM 编程模型,1M 上下文。"
2110
+ },
2111
+ {
2112
+ name: "xiaomi/mimo-v2.5-pro",
2113
+ displayName: "MiMo V2.5 Pro",
2114
+ hasVision: false,
2115
+ price: { input: 0, output: 0 },
2116
+ provider: "commandcode",
2117
+ description: "高能力长上下文 agentic 编程。"
2118
+ },
2119
+ {
2120
+ name: "xiaomi/mimo-v2.6-pro",
2121
+ displayName: "MiMo V2.6 Pro",
2122
+ contextWindow: 1048576,
2123
+ hasVision: true,
2124
+ price: { input: 0, output: 0 },
2125
+ provider: "commandcode",
2126
+ description: "旗舰多模态(文本/图/音/视频输入),1M 上下文。"
2127
+ },
2128
+ {
2129
+ name: "MiniMaxAI/MiniMax-M3",
2130
+ displayName: "MiniMax M3",
2131
+ hasVision: true,
2132
+ price: { input: 0, output: 0 },
2133
+ provider: "commandcode",
2134
+ description: "MiniMax M3 推理模型。"
2135
+ },
2136
+ {
2137
+ name: "xai/grok-4.6",
2138
+ displayName: "Grok 4.6",
2139
+ hasVision: true,
2140
+ price: { input: 0, output: 0 },
2141
+ provider: "commandcode",
2142
+ description: "编程、知识与 STEM 前沿表现。"
2143
+ },
2144
+ {
2145
+ name: "xai/grok-4.5",
2146
+ displayName: "Grok 4.5",
2147
+ hasVision: true,
2148
+ price: { input: 0, output: 0 },
2149
+ provider: "commandcode",
2150
+ description: "编程与 agentic 任务智能之选。"
2151
+ },
2152
+ {
2153
+ name: "claude-sonnet-5",
2154
+ displayName: "Claude Sonnet 5",
2155
+ hasVision: true,
2156
+ price: { input: 0, output: 0 },
2157
+ provider: "commandcode",
2158
+ description: "速度与智能的最佳平衡(官方推荐)。"
2159
+ },
2160
+ {
2161
+ name: "claude-opus-5",
2162
+ displayName: "Claude Opus 5",
2163
+ hasVision: true,
2164
+ price: { input: 0, output: 0 },
2165
+ provider: "commandcode",
2166
+ description: "最智能的 Opus,agent 与编程。"
2167
+ },
2168
+ {
2169
+ name: "gpt-5.6-sol",
2170
+ displayName: "GPT-5.6 Sol",
2171
+ hasVision: true,
2172
+ price: { input: 0, output: 0 },
2173
+ provider: "commandcode",
2174
+ description: "OpenAI GPT-5.6 Sol。"
2175
+ },
2176
+ {
2177
+ name: "gpt-6-astra",
2178
+ displayName: "GPT-6 Astra",
2179
+ hasVision: true,
2180
+ price: { input: 0, output: 0 },
2181
+ provider: "commandcode",
2182
+ description: "OpenAI GPT-6 Astra 旗舰。"
2183
+ },
2184
+ {
2185
+ name: "google/gemini-3.8-flash",
2186
+ displayName: "Gemini 3.8 Flash",
2187
+ hasVision: true,
2188
+ price: { input: 0, output: 0 },
2189
+ provider: "commandcode",
2190
+ description: "Gemini 3.8 Flash,多模态。"
2191
+ },
2192
+ {
2193
+ name: "Qwen/Qwen3.6-Max-Preview",
2194
+ displayName: "Qwen 3.6 Max Preview",
2195
+ hasVision: false,
2196
+ price: { input: 0, output: 0 },
2197
+ provider: "commandcode",
2198
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2199
+ },
2200
+ {
2201
+ name: "Qwen/Qwen3.6-Plus",
2202
+ displayName: "Qwen 3.6 Plus",
2203
+ hasVision: true,
2204
+ price: { input: 0, output: 0 },
2205
+ provider: "commandcode",
2206
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2207
+ },
2208
+ {
2209
+ name: "Qwen/Qwen3.7-Flash",
2210
+ displayName: "Qwen 3.7 Flash",
2211
+ hasVision: true,
2212
+ price: { input: 0, output: 0 },
2213
+ provider: "commandcode",
2214
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2215
+ },
2216
+ {
2217
+ name: "Qwen/Qwen3.7-Max",
2218
+ displayName: "Qwen 3.7 Max",
2219
+ hasVision: false,
2220
+ price: { input: 0, output: 0 },
2221
+ provider: "commandcode",
2222
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2223
+ },
2224
+ {
2225
+ name: "Qwen/Qwen3.7-Plus",
2226
+ displayName: "Qwen 3.7 Plus",
2227
+ hasVision: true,
2228
+ price: { input: 0, output: 0 },
2229
+ provider: "commandcode",
2230
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2231
+ },
2232
+ {
2233
+ name: "Qwen/Qwen3.8-27B",
2234
+ displayName: "Qwen 3.8 27B",
2235
+ hasVision: true,
2236
+ price: { input: 0, output: 0 },
2237
+ provider: "commandcode",
2238
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2239
+ },
2240
+ {
2241
+ name: "Qwen/Qwen3.8-Flash",
2242
+ displayName: "Qwen 3.8 Flash",
2243
+ hasVision: true,
2244
+ price: { input: 0, output: 0 },
2245
+ provider: "commandcode",
2246
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2247
+ },
2248
+ {
2249
+ name: "Qwen/Qwen3.8-Max-0902",
2250
+ displayName: "Qwen 3.8 Max 0902",
2251
+ hasVision: true,
2252
+ price: { input: 0, output: 0 },
2253
+ provider: "commandcode",
2254
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2255
+ },
2256
+ {
2257
+ name: "Qwen/Qwen3.8-Max-Prime",
2258
+ displayName: "Qwen 3.8 Max Prime",
2259
+ hasVision: true,
2260
+ price: { input: 0, output: 0 },
2261
+ provider: "commandcode",
2262
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2263
+ },
2264
+ {
2265
+ name: "Qwen/Qwen3.8-Omni-Flash",
2266
+ displayName: "Qwen 3.8 Omni Flash",
2267
+ hasVision: true,
2268
+ price: { input: 0, output: 0 },
2269
+ provider: "commandcode",
2270
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2271
+ },
2272
+ {
2273
+ name: "claude-fable-5",
2274
+ displayName: "Claude Fable 5",
2275
+ hasVision: true,
2276
+ price: { input: 0, output: 0 },
2277
+ provider: "commandcode",
2278
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2279
+ },
2280
+ {
2281
+ name: "claude-fable-5-1",
2282
+ displayName: "Claude Fable 5.1",
2283
+ hasVision: true,
2284
+ price: { input: 0, output: 0 },
2285
+ provider: "commandcode",
2286
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2287
+ },
2288
+ {
2289
+ name: "claude-haiku-4-5",
2290
+ displayName: "Claude Haiku 4.5",
2291
+ hasVision: true,
2292
+ price: { input: 0, output: 0 },
2293
+ provider: "commandcode",
2294
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2295
+ },
2296
+ {
2297
+ name: "claude-haiku-5-5",
2298
+ displayName: "Claude Haiku 5.5",
2299
+ hasVision: true,
2300
+ price: { input: 0, output: 0 },
2301
+ provider: "commandcode",
2302
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2303
+ },
2304
+ {
2305
+ name: "claude-opus-4-7",
2306
+ displayName: "Claude Opus 4.7",
2307
+ hasVision: true,
2308
+ price: { input: 0, output: 0 },
2309
+ provider: "commandcode",
2310
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2311
+ },
2312
+ {
2313
+ name: "claude-opus-4-8",
2314
+ displayName: "Claude Opus 4.8",
2315
+ hasVision: true,
2316
+ price: { input: 0, output: 0 },
2317
+ provider: "commandcode",
2318
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2319
+ },
2320
+ {
2321
+ name: "claude-opus-5-5",
2322
+ displayName: "Claude Opus 5.5",
2323
+ hasVision: true,
2324
+ price: { input: 0, output: 0 },
2325
+ provider: "commandcode",
2326
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2327
+ },
2328
+ {
2329
+ name: "claude-sonnet-4-6",
2330
+ displayName: "Claude Sonnet 4.6",
2331
+ hasVision: true,
2332
+ price: { input: 0, output: 0 },
2333
+ provider: "commandcode",
2334
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2335
+ },
2336
+ {
2337
+ name: "claude-sonnet-5-5",
2338
+ displayName: "Claude Sonnet 5.5",
2339
+ hasVision: true,
2340
+ price: { input: 0, output: 0 },
2341
+ provider: "commandcode",
2342
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2343
+ },
2344
+ {
2345
+ name: "deepseek/deepseek-v4-flash-fast",
2346
+ displayName: "DeepSeek V4 Flash Fast",
2347
+ hasVision: false,
2348
+ price: { input: 0, output: 0 },
2349
+ provider: "commandcode",
2350
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2351
+ },
2352
+ {
2353
+ name: "deepseek/deepseek-v4-flash-vision-exp",
2354
+ displayName: "DeepSeek V4 Flash Vision (exp)",
2355
+ hasVision: true,
2356
+ price: { input: 0, output: 0 },
2357
+ provider: "commandcode",
2358
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2359
+ },
2360
+ {
2361
+ name: "deepseek/deepseek-v4.1-flash-fast",
2362
+ displayName: "DeepSeek V4.1 Flash Fast",
2363
+ hasVision: true,
2364
+ price: { input: 0, output: 0 },
2365
+ provider: "commandcode",
2366
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2367
+ },
2368
+ {
2369
+ name: "google/gemini-3.1-flash-lite",
2370
+ displayName: "Gemini 3.1 Flash Lite",
2371
+ hasVision: true,
2372
+ price: { input: 0, output: 0 },
2373
+ provider: "commandcode",
2374
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2375
+ },
2376
+ {
2377
+ name: "google/gemini-3.5-flash",
2378
+ displayName: "Gemini 3.5 Flash",
2379
+ hasVision: true,
2380
+ price: { input: 0, output: 0 },
2381
+ provider: "commandcode",
2382
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2383
+ },
2384
+ {
2385
+ name: "google/gemini-3.5-flash-lite",
2386
+ displayName: "Gemini 3.5 Flash Lite",
2387
+ hasVision: true,
2388
+ price: { input: 0, output: 0 },
2389
+ provider: "commandcode",
2390
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2391
+ },
2392
+ {
2393
+ name: "google/gemini-3.6-flash",
2394
+ displayName: "Gemini 3.6 Flash",
2395
+ hasVision: true,
2396
+ price: { input: 0, output: 0 },
2397
+ provider: "commandcode",
2398
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2399
+ },
2400
+ {
2401
+ name: "google/gemini-3.7-flash",
2402
+ displayName: "Gemini 3.7 Flash",
2403
+ hasVision: true,
2404
+ price: { input: 0, output: 0 },
2405
+ provider: "commandcode",
2406
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2407
+ },
2408
+ {
2409
+ name: "google/gemini-4-argon",
2410
+ displayName: "Gemini 4 Argon",
2411
+ hasVision: true,
2412
+ price: { input: 0, output: 0 },
2413
+ provider: "commandcode",
2414
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2415
+ },
2416
+ {
2417
+ name: "inclusionai/ling-3.1-flash",
2418
+ displayName: "Ling 3.1 Flash",
2419
+ hasVision: false,
2420
+ price: { input: 0, output: 0 },
2421
+ provider: "commandcode",
2422
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2423
+ },
2424
+ {
2425
+ name: "meituan/LongCat-2.0",
2426
+ displayName: "LongCat 2.0",
2427
+ hasVision: false,
2428
+ price: { input: 0, output: 0 },
2429
+ provider: "commandcode",
2430
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2431
+ },
2432
+ {
2433
+ name: "meta/muse-spark-1.1",
2434
+ displayName: "Muse Spark 1.1",
2435
+ hasVision: true,
2436
+ price: { input: 0, output: 0 },
2437
+ provider: "commandcode",
2438
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2439
+ },
2440
+ {
2441
+ name: "meta/muse-spark-1.2",
2442
+ displayName: "Muse Spark 1.2",
2443
+ hasVision: true,
2444
+ price: { input: 0, output: 0 },
2445
+ provider: "commandcode",
2446
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2447
+ },
2448
+ {
2449
+ name: "meta/muse-spark-1.2-contributor",
2450
+ displayName: "Muse Spark 1.2 Contributor",
2451
+ hasVision: true,
2452
+ price: { input: 0, output: 0 },
2453
+ provider: "commandcode",
2454
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2455
+ },
2456
+ {
2457
+ name: "meta/muse-spark-1.3",
2458
+ displayName: "Muse Spark 1.3",
2459
+ hasVision: true,
2460
+ price: { input: 0, output: 0 },
2461
+ provider: "commandcode",
2462
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2463
+ },
2464
+ {
2465
+ name: "meta/muse-spark-1.3-contributor",
2466
+ displayName: "Muse Spark 1.3 Contributor",
2467
+ hasVision: true,
2468
+ price: { input: 0, output: 0 },
2469
+ provider: "commandcode",
2470
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2471
+ },
2472
+ {
2473
+ name: "meta/muse-spark-open",
2474
+ displayName: "Muse Spark Open",
2475
+ hasVision: true,
2476
+ price: { input: 0, output: 0 },
2477
+ provider: "commandcode",
2478
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2479
+ },
2480
+ {
2481
+ name: "meta/muse-wonder-1.0",
2482
+ displayName: "Muse Wonder",
2483
+ hasVision: true,
2484
+ price: { input: 0, output: 0 },
2485
+ provider: "commandcode",
2486
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2487
+ },
2488
+ {
2489
+ name: "MiniMaxAI/MiniMax-M2.5",
2490
+ displayName: "MiniMax M2.5",
2491
+ hasVision: false,
2492
+ price: { input: 0, output: 0 },
2493
+ provider: "commandcode",
2494
+ description: "官方目录模型(Capabilities: Text input)。"
2495
+ },
2496
+ {
2497
+ name: "MiniMaxAI/MiniMax-M2.7",
2498
+ displayName: "MiniMax M2.7",
2499
+ hasVision: false,
2500
+ price: { input: 0, output: 0 },
2501
+ provider: "commandcode",
2502
+ description: "官方目录模型(Capabilities: Text input)。"
2503
+ },
2504
+ {
2505
+ name: "mistral/mistral-large-4",
2506
+ displayName: "Mistral Large 4",
2507
+ hasVision: true,
2508
+ price: { input: 0, output: 0 },
2509
+ provider: "commandcode",
2510
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2511
+ },
2512
+ {
2513
+ name: "moonshotai/Kimi-K2.5",
2514
+ displayName: "Kimi K2.5",
2515
+ hasVision: true,
2516
+ price: { input: 0, output: 0 },
2517
+ provider: "commandcode",
2518
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2519
+ },
2520
+ {
2521
+ name: "moonshotai/Kimi-K2.6",
2522
+ displayName: "Kimi K2.6",
2523
+ hasVision: true,
2524
+ price: { input: 0, output: 0 },
2525
+ provider: "commandcode",
2526
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2527
+ },
2528
+ {
2529
+ name: "moonshotai/Kimi-K2.7-Code-Highspeed",
2530
+ displayName: "Kimi K2.7 Code HighSpeed",
2531
+ hasVision: true,
2532
+ price: { input: 0, output: 0 },
2533
+ provider: "commandcode",
2534
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2535
+ },
2536
+ {
2537
+ name: "nvidia/nemotron-3-ultra-550b-a55b",
2538
+ displayName: "Nemotron 3 Ultra",
2539
+ hasVision: false,
2540
+ price: { input: 0, output: 0 },
2541
+ provider: "commandcode",
2542
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2543
+ },
2544
+ {
2545
+ name: "nvidia/nemotron-3.5-super-vl",
2546
+ displayName: "Nemotron 3.5 Super VL",
2547
+ hasVision: true,
2548
+ price: { input: 0, output: 0 },
2549
+ provider: "commandcode",
2550
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2551
+ },
2552
+ {
2553
+ name: "gpt-5.3-codex",
2554
+ displayName: "GPT-5.3 Codex",
2555
+ hasVision: true,
2556
+ price: { input: 0, output: 0 },
2557
+ provider: "commandcode",
2558
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2559
+ },
2560
+ {
2561
+ name: "gpt-5.4",
2562
+ displayName: "GPT-5.4",
2563
+ hasVision: true,
2564
+ price: { input: 0, output: 0 },
2565
+ provider: "commandcode",
2566
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2567
+ },
2568
+ {
2569
+ name: "gpt-5.4-mini",
2570
+ displayName: "GPT-5.4 Mini",
2571
+ hasVision: true,
2572
+ price: { input: 0, output: 0 },
2573
+ provider: "commandcode",
2574
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2575
+ },
2576
+ {
2577
+ name: "gpt-5.5",
2578
+ displayName: "GPT-5.5",
2579
+ hasVision: true,
2580
+ price: { input: 0, output: 0 },
2581
+ provider: "commandcode",
2582
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2583
+ },
2584
+ {
2585
+ name: "gpt-5.6-luna",
2586
+ displayName: "GPT-5.6 Luna",
2587
+ hasVision: true,
2588
+ price: { input: 0, output: 0 },
2589
+ provider: "commandcode",
2590
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2591
+ },
2592
+ {
2593
+ name: "gpt-5.6-terra",
2594
+ displayName: "GPT-5.6 Terra",
2595
+ hasVision: true,
2596
+ price: { input: 0, output: 0 },
2597
+ provider: "commandcode",
2598
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2599
+ },
2600
+ {
2601
+ name: "gpt-6-luna",
2602
+ displayName: "GPT-6 Luna",
2603
+ hasVision: true,
2604
+ price: { input: 0, output: 0 },
2605
+ provider: "commandcode",
2606
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2607
+ },
2608
+ {
2609
+ name: "gpt-6-sol",
2610
+ displayName: "GPT-6 Sol",
2611
+ hasVision: true,
2612
+ price: { input: 0, output: 0 },
2613
+ provider: "commandcode",
2614
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2615
+ },
2616
+ {
2617
+ name: "gpt-6.1-sol",
2618
+ displayName: "GPT-6.1 Sol",
2619
+ hasVision: true,
2620
+ price: { input: 0, output: 0 },
2621
+ provider: "commandcode",
2622
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2623
+ },
2624
+ {
2625
+ name: "poolside/laguna-s-2.1-free",
2626
+ displayName: "Laguna S 2.1",
2627
+ hasVision: false,
2628
+ price: { input: 0, output: 0 },
2629
+ provider: "commandcode",
2630
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2631
+ },
2632
+ {
2633
+ name: "sakana/fugu-ultra",
2634
+ displayName: "Fugu Ultra",
2635
+ hasVision: true,
2636
+ price: { input: 0, output: 0 },
2637
+ provider: "commandcode",
2638
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2639
+ },
2640
+ {
2641
+ name: "stealth/cat-jam:free",
2642
+ displayName: "Cat Jam",
2643
+ hasVision: false,
2644
+ price: { input: 0, output: 0 },
2645
+ provider: "commandcode",
2646
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2647
+ },
2648
+ {
2649
+ name: "stealth/glyph-cluster:free",
2650
+ displayName: "Glyph Cluster",
2651
+ hasVision: false,
2652
+ price: { input: 0, output: 0 },
2653
+ provider: "commandcode",
2654
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2655
+ },
2656
+ {
2657
+ name: "stepfun/Step-3.5-Flash",
2658
+ displayName: "Step 3.5 Flash",
2659
+ hasVision: false,
2660
+ price: { input: 0, output: 0 },
2661
+ provider: "commandcode",
2662
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2663
+ },
2664
+ {
2665
+ name: "stepfun/Step-3.7-Flash",
2666
+ displayName: "Step 3.7 Flash",
2667
+ hasVision: true,
2668
+ price: { input: 0, output: 0 },
2669
+ provider: "commandcode",
2670
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2671
+ },
2672
+ {
2673
+ name: "stepfun/Step-5-Preview",
2674
+ displayName: "Step 5 Preview",
2675
+ hasVision: true,
2676
+ price: { input: 0, output: 0 },
2677
+ provider: "commandcode",
2678
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2679
+ },
2680
+ {
2681
+ name: "tencent/hy3-paid",
2682
+ displayName: "Tencent Hy3",
2683
+ hasVision: false,
2684
+ price: { input: 0, output: 0 },
2685
+ provider: "commandcode",
2686
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2687
+ },
2688
+ {
2689
+ name: "tencent/hy4-preview",
2690
+ displayName: "Tencent Hy4 Preview",
2691
+ hasVision: false,
2692
+ price: { input: 0, output: 0 },
2693
+ provider: "commandcode",
2694
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2695
+ },
2696
+ {
2697
+ name: "thinkingmachines/inkling",
2698
+ displayName: "Inkling",
2699
+ hasVision: true,
2700
+ price: { input: 0, output: 0 },
2701
+ provider: "commandcode",
2702
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2703
+ },
2704
+ {
2705
+ name: "thinkingmachines/inkling-small",
2706
+ displayName: "Inkling Small",
2707
+ hasVision: true,
2708
+ price: { input: 0, output: 0 },
2709
+ provider: "commandcode",
2710
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2711
+ },
2712
+ {
2713
+ name: "xai/grok-4.7",
2714
+ displayName: "Grok 4.7",
2715
+ hasVision: true,
2716
+ price: { input: 0, output: 0 },
2717
+ provider: "commandcode",
2718
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2719
+ },
2720
+ {
2721
+ name: "xiaomi/mimo-v2.5",
2722
+ displayName: "MiMo V2.5",
2723
+ hasVision: true,
2724
+ price: { input: 0, output: 0 },
2725
+ provider: "commandcode",
2726
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2727
+ },
2728
+ {
2729
+ name: "xiaomi/mimo-v2.6-flash",
2730
+ displayName: "MiMo V2.6 Flash",
2731
+ hasVision: true,
2732
+ price: { input: 0, output: 0 },
2733
+ provider: "commandcode",
2734
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2735
+ },
2736
+ {
2737
+ name: "xiaomi/mimo-v2.6-pro-ultraspeed",
2738
+ displayName: "MiMo V2.6 Pro UltraSpeed",
2739
+ hasVision: true,
2740
+ price: { input: 0, output: 0 },
2741
+ provider: "commandcode",
2742
+ description: "官方目录模型(Capabilities: Text input, Vision)。"
2743
+ },
2744
+ {
2745
+ name: "zai-org/GLM-5",
2746
+ displayName: "GLM-5",
2747
+ hasVision: false,
2748
+ price: { input: 0, output: 0 },
2749
+ provider: "commandcode",
2750
+ description: "官方目录模型(Capabilities: Text input)。"
2751
+ },
2752
+ {
2753
+ name: "zai-org/GLM-5.1",
2754
+ displayName: "GLM-5.1",
2755
+ hasVision: false,
2756
+ price: { input: 0, output: 0 },
2757
+ provider: "commandcode",
2758
+ description: "官方目录模型(Capabilities: Text input)。"
2759
+ },
2760
+ {
2761
+ name: "zai-org/GLM-5.2",
2762
+ displayName: "GLM-5.2",
2763
+ hasVision: false,
2764
+ price: { input: 0, output: 0 },
2765
+ provider: "commandcode",
2766
+ description: "官方目录模型(Capabilities: Text input, Reasoning)。"
2767
+ },
2768
+ {
2769
+ name: "zai-org/GLM-5.2-Fast",
2770
+ displayName: "GLM-5.2 Fast",
2771
+ hasVision: false,
2772
+ price: { input: 0, output: 0 },
2773
+ provider: "commandcode",
2774
+ description: "官方目录模型(Capabilities: Text input)。"
2775
+ },
2776
+ {
2777
+ name: "z-ai/glm-5.3-flashx",
2778
+ displayName: "GLM-5.3 FlashX",
2779
+ hasVision: true,
2780
+ price: { input: 0, output: 0 },
2781
+ provider: "commandcode",
2782
+ description: "官方目录模型(Capabilities: Text input, Vision, Reasoning)。"
2783
+ }
2784
+ ];
2785
+
2786
+ // packages/integrations/opencode/models.ts
2787
+ var opencodeGoModels = [
2788
+ {
2789
+ name: "deepseek-v4.1-flash",
2790
+ displayName: "DeepSeek V4.1 Flash",
2791
+ hasVision: true,
2792
+ contextWindow: 1e6,
2793
+ maxOutputTokens: 384000,
2794
+ jsonOutput: true,
2795
+ fnCall: true,
2796
+ supportsTool: true,
2797
+ price: { input: 0, output: 0 },
2798
+ provider: "opencode-go",
2799
+ description: "DeepSeek V4.1 Flash,OpenCode Go 订阅含。"
2800
+ },
2801
+ {
2802
+ name: "deepseek-v4-pro",
2803
+ displayName: "DeepSeek V4 Pro (New)",
2804
+ hasVision: false,
2805
+ contextWindow: 1e6,
2806
+ maxOutputTokens: 384000,
2807
+ jsonOutput: true,
2808
+ fnCall: true,
2809
+ supportsTool: true,
2810
+ price: { input: 0, output: 0 },
2811
+ provider: "opencode-go",
2812
+ description: "DeepSeek V4 Pro (New),OpenCode Go 订阅含。"
2813
+ },
2814
+ {
2815
+ name: "glm-5.1",
2816
+ displayName: "glm-5.1",
2817
+ hasVision: false,
2818
+ jsonOutput: true,
2819
+ fnCall: true,
2820
+ supportsTool: true,
2821
+ price: { input: 0, output: 0 },
2822
+ provider: "opencode-go",
2823
+ description: "glm-5.1,OpenCode Go 订阅含(models.dev 无元数据,hasVision 未实测)。"
2824
+ },
2825
+ {
2826
+ name: "glm-5.2",
2827
+ displayName: "GLM-5.2",
2828
+ hasVision: false,
2829
+ contextWindow: 1e6,
2830
+ maxOutputTokens: 131072,
2831
+ jsonOutput: true,
2832
+ fnCall: true,
2833
+ supportsTool: true,
2834
+ price: { input: 0, output: 0 },
2835
+ provider: "opencode-go",
2836
+ description: "GLM-5.2,OpenCode Go 订阅含。"
2837
+ },
2838
+ {
2839
+ name: "glm-5.3",
2840
+ displayName: "GLM-5.3",
2841
+ hasVision: false,
2842
+ contextWindow: 1e6,
2843
+ maxOutputTokens: 131072,
2844
+ jsonOutput: true,
2845
+ fnCall: true,
2846
+ supportsTool: true,
2847
+ price: { input: 0, output: 0 },
2848
+ provider: "opencode-go",
2849
+ description: "GLM-5.3,OpenCode Go 订阅含。"
2850
+ },
2851
+ {
2852
+ name: "grok-4.6",
2853
+ displayName: "Grok 4.6",
2854
+ hasVision: true,
2855
+ contextWindow: 500000,
2856
+ maxOutputTokens: 500000,
2857
+ jsonOutput: true,
2858
+ fnCall: true,
2859
+ supportsTool: true,
2860
+ nativeProtocol: "openai-responses",
2861
+ price: { input: 0, output: 0 },
2862
+ provider: "opencode-go",
2863
+ description: "Grok 4.6,OpenCode Go 订阅含。"
2864
+ },
2865
+ {
2866
+ name: "grok-4.7",
2867
+ displayName: "Grok 4.7",
2868
+ hasVision: true,
2869
+ contextWindow: 500000,
2870
+ maxOutputTokens: 500000,
2871
+ jsonOutput: true,
2872
+ fnCall: true,
2873
+ supportsTool: true,
2874
+ nativeProtocol: "openai-responses",
2875
+ price: { input: 0, output: 0 },
2876
+ provider: "opencode-go",
2877
+ description: "Grok 4.7,OpenCode Go 订阅含。"
2878
+ },
2879
+ {
2880
+ name: "muse-spark-1.2-contributor",
2881
+ displayName: "Muse Spark 1.2 Contributor",
2882
+ hasVision: true,
2883
+ contextWindow: 1048576,
2884
+ maxOutputTokens: 131072,
2885
+ jsonOutput: true,
2886
+ fnCall: true,
2887
+ supportsTool: true,
2888
+ nativeProtocol: "openai-responses",
2889
+ price: { input: 0, output: 0 },
2890
+ provider: "opencode-go",
2891
+ description: "Muse Spark 1.2 Contributor,OpenCode Go 订阅含。"
2892
+ },
2893
+ {
2894
+ name: "muse-spark-1.3-contributor",
2895
+ displayName: "Muse Spark 1.3 Contributor",
2896
+ hasVision: true,
2897
+ contextWindow: 1048576,
2898
+ maxOutputTokens: 131072,
2899
+ jsonOutput: true,
2900
+ fnCall: true,
2901
+ supportsTool: true,
2902
+ nativeProtocol: "openai-responses",
2903
+ price: { input: 0, output: 0 },
2904
+ provider: "opencode-go",
2905
+ description: "Muse Spark 1.3 Contributor,OpenCode Go 订阅含。"
2906
+ },
2907
+ {
2908
+ name: "glm-5.3-flash",
2909
+ displayName: "GLM-5.3-Flash",
2910
+ hasVision: true,
2911
+ contextWindow: 1e6,
2912
+ maxOutputTokens: 131072,
2913
+ jsonOutput: true,
2914
+ fnCall: true,
2915
+ supportsTool: true,
2916
+ price: { input: 0, output: 0 },
2917
+ provider: "opencode-go",
2918
+ description: "GLM-5.3-Flash,OpenCode Go 订阅含。"
2919
+ },
2920
+ {
2921
+ name: "omen-alpha",
2922
+ displayName: "omen-alpha",
2923
+ hasVision: false,
2924
+ jsonOutput: true,
2925
+ fnCall: true,
2926
+ supportsTool: true,
2927
+ price: { input: 0, output: 0 },
2928
+ provider: "opencode-go",
2929
+ description: "omen-alpha,OpenCode Go 订阅含(models.dev 无元数据,hasVision 未实测)。"
2930
+ },
2931
+ {
2932
+ name: "gpt-5.6-luna",
2933
+ displayName: "GPT-5.6 Luna",
2934
+ hasVision: true,
2935
+ contextWindow: 1050000,
2936
+ maxOutputTokens: 128000,
2937
+ jsonOutput: true,
2938
+ fnCall: true,
2939
+ supportsTool: true,
2940
+ nativeProtocol: "openai-responses",
2941
+ price: { input: 0, output: 0 },
2942
+ provider: "opencode-go",
2943
+ description: "GPT-5.6 Luna,OpenCode Go 订阅含。"
2944
+ },
2945
+ {
2946
+ name: "gpt-6-luna",
2947
+ displayName: "GPT-6 Luna",
2948
+ hasVision: true,
2949
+ contextWindow: 1050000,
2950
+ maxOutputTokens: 128000,
2951
+ jsonOutput: true,
2952
+ fnCall: true,
2953
+ supportsTool: true,
2954
+ nativeProtocol: "openai-responses",
2955
+ price: { input: 0, output: 0 },
2956
+ provider: "opencode-go",
2957
+ description: "GPT-6 Luna,OpenCode Go 订阅含。"
2958
+ },
2959
+ {
2960
+ name: "claude-haiku-5-5",
2961
+ displayName: "Claude Haiku 5.5",
2962
+ hasVision: true,
2963
+ contextWindow: 1e6,
2964
+ maxOutputTokens: 128000,
2965
+ jsonOutput: true,
2966
+ fnCall: true,
2967
+ supportsTool: true,
2968
+ nativeProtocol: "anthropic-messages",
2969
+ price: { input: 0, output: 0 },
2970
+ provider: "opencode-go",
2971
+ description: "Claude Haiku 5.5,OpenCode Go 订阅含。"
2972
+ },
2973
+ {
2974
+ name: "hy3",
2975
+ displayName: "Hy3",
2976
+ hasVision: false,
2977
+ contextWindow: 256000,
2978
+ maxOutputTokens: 128000,
2979
+ jsonOutput: true,
2980
+ fnCall: true,
2981
+ supportsTool: true,
2982
+ price: { input: 0, output: 0 },
2983
+ provider: "opencode-go",
2984
+ description: "Hy3,OpenCode Go 订阅含。"
2985
+ },
2986
+ {
2987
+ name: "hy4-preview",
2988
+ displayName: "Hy4 preview",
2989
+ hasVision: false,
2990
+ contextWindow: 1024000,
2991
+ maxOutputTokens: 64000,
2992
+ jsonOutput: true,
2993
+ fnCall: true,
2994
+ supportsTool: true,
2995
+ price: { input: 0, output: 0 },
2996
+ provider: "opencode-go",
2997
+ description: "Hy4 preview,OpenCode Go 订阅含。"
2998
+ },
2999
+ {
3000
+ name: "kimi-k2.6",
3001
+ displayName: "Kimi K2.6",
3002
+ hasVision: true,
3003
+ contextWindow: 262144,
3004
+ maxOutputTokens: 65536,
3005
+ jsonOutput: true,
3006
+ fnCall: true,
3007
+ supportsTool: true,
3008
+ price: { input: 0, output: 0 },
3009
+ provider: "opencode-go",
3010
+ description: "Kimi K2.6,OpenCode Go 订阅含。"
3011
+ },
3012
+ {
3013
+ name: "kimi-k2.7-code",
3014
+ displayName: "Kimi K2.7 Code",
3015
+ hasVision: true,
3016
+ contextWindow: 262144,
3017
+ maxOutputTokens: 262144,
3018
+ jsonOutput: true,
3019
+ fnCall: true,
3020
+ supportsTool: true,
3021
+ price: { input: 0, output: 0 },
3022
+ provider: "opencode-go",
3023
+ description: "Kimi K2.7 Code,OpenCode Go 订阅含。"
3024
+ },
3025
+ {
3026
+ name: "kimi-k3",
3027
+ displayName: "Kimi K3",
3028
+ hasVision: true,
3029
+ contextWindow: 1048576,
3030
+ maxOutputTokens: 131072,
3031
+ jsonOutput: true,
3032
+ fnCall: true,
3033
+ supportsTool: true,
3034
+ price: { input: 0, output: 0 },
3035
+ provider: "opencode-go",
3036
+ description: "Kimi K3,OpenCode Go 订阅含。"
3037
+ },
3038
+ {
3039
+ name: "mimo-v2.5",
3040
+ displayName: "MiMo V2.5",
3041
+ hasVision: true,
3042
+ contextWindow: 1e6,
3043
+ maxOutputTokens: 128000,
3044
+ jsonOutput: true,
3045
+ fnCall: true,
3046
+ supportsTool: true,
3047
+ price: { input: 0, output: 0 },
3048
+ provider: "opencode-go",
3049
+ description: "MiMo V2.5,OpenCode Go 订阅含。"
3050
+ },
3051
+ {
3052
+ name: "mimo-v2.6-flash",
3053
+ displayName: "MiMo-V2.6-Flash",
3054
+ hasVision: true,
3055
+ contextWindow: 1048576,
3056
+ maxOutputTokens: 131072,
3057
+ jsonOutput: true,
3058
+ fnCall: true,
3059
+ supportsTool: true,
3060
+ price: { input: 0, output: 0 },
3061
+ provider: "opencode-go",
3062
+ description: "MiMo-V2.6-Flash,OpenCode Go 订阅含。"
3063
+ },
3064
+ {
3065
+ name: "mimo-v2.5-pro",
3066
+ displayName: "MiMo V2.5 Pro",
3067
+ hasVision: false,
3068
+ contextWindow: 1048576,
3069
+ maxOutputTokens: 128000,
3070
+ jsonOutput: true,
3071
+ fnCall: true,
3072
+ supportsTool: true,
3073
+ price: { input: 0, output: 0 },
3074
+ provider: "opencode-go",
3075
+ description: "MiMo V2.5 Pro,OpenCode Go 订阅含。"
3076
+ },
3077
+ {
3078
+ name: "mimo-v2.6-pro",
3079
+ displayName: "MiMo-V2.6-Pro",
3080
+ hasVision: true,
3081
+ contextWindow: 1048576,
3082
+ maxOutputTokens: 131072,
3083
+ jsonOutput: true,
3084
+ fnCall: true,
3085
+ supportsTool: true,
3086
+ price: { input: 0, output: 0 },
3087
+ provider: "opencode-go",
3088
+ description: "MiMo-V2.6-Pro,OpenCode Go 订阅含。"
3089
+ },
3090
+ {
3091
+ name: "minimax-m2.5",
3092
+ displayName: "minimax-m2.5",
3093
+ hasVision: false,
3094
+ jsonOutput: true,
3095
+ fnCall: true,
3096
+ supportsTool: true,
3097
+ price: { input: 0, output: 0 },
3098
+ provider: "opencode-go",
3099
+ description: "minimax-m2.5,OpenCode Go 订阅含(models.dev 无元数据,hasVision 未实测)。"
3100
+ },
3101
+ {
3102
+ name: "minimax-m2.7",
3103
+ displayName: "MiniMax-M2.7",
3104
+ hasVision: false,
3105
+ contextWindow: 204800,
3106
+ maxOutputTokens: 131072,
3107
+ jsonOutput: true,
3108
+ fnCall: true,
3109
+ supportsTool: true,
3110
+ nativeProtocol: "anthropic-messages",
3111
+ price: { input: 0, output: 0 },
3112
+ provider: "opencode-go",
3113
+ description: "MiniMax-M2.7,OpenCode Go 订阅含。"
3114
+ },
3115
+ {
3116
+ name: "gemini-4-argon-contributor",
3117
+ displayName: "Gemini 4 Argon Contributor",
3118
+ hasVision: true,
3119
+ contextWindow: 1048576,
3120
+ maxOutputTokens: 65536,
3121
+ jsonOutput: true,
3122
+ fnCall: true,
3123
+ supportsTool: true,
3124
+ nativeProtocol: "gemini",
3125
+ price: { input: 0, output: 0 },
3126
+ provider: "opencode-go",
3127
+ description: "Gemini 4 Argon Contributor,OpenCode Go 订阅含。"
3128
+ },
3129
+ {
3130
+ name: "minimax-m3",
3131
+ displayName: "MiniMax-M3",
3132
+ hasVision: true,
3133
+ contextWindow: 1e6,
3134
+ maxOutputTokens: 131072,
3135
+ jsonOutput: true,
3136
+ fnCall: true,
3137
+ supportsTool: true,
3138
+ price: { input: 0, output: 0 },
3139
+ provider: "opencode-go",
3140
+ description: "MiniMax-M3,OpenCode Go 订阅含。"
3141
+ },
3142
+ {
3143
+ name: "space-bunny",
3144
+ displayName: "Space Bunny",
3145
+ hasVision: true,
3146
+ contextWindow: 1048576,
3147
+ maxOutputTokens: 524288,
3148
+ jsonOutput: true,
3149
+ fnCall: true,
3150
+ supportsTool: true,
3151
+ price: { input: 0, output: 0 },
3152
+ provider: "opencode-go",
3153
+ description: "Space Bunny,OpenCode Go 订阅含。"
3154
+ },
3155
+ {
3156
+ name: "longcat-2.0",
3157
+ displayName: "LongCat-2.0",
3158
+ hasVision: false,
3159
+ contextWindow: 1e6,
3160
+ maxOutputTokens: 131072,
3161
+ jsonOutput: true,
3162
+ fnCall: true,
3163
+ supportsTool: true,
3164
+ price: { input: 0, output: 0 },
3165
+ provider: "opencode-go",
3166
+ description: "LongCat-2.0,OpenCode Go 订阅含。"
3167
+ },
3168
+ {
3169
+ name: "longcat-2.5-preview-free",
3170
+ displayName: "LongCat 2.5 Preview Free",
3171
+ hasVision: true,
3172
+ contextWindow: 1e6,
3173
+ maxOutputTokens: 131072,
3174
+ jsonOutput: true,
3175
+ fnCall: true,
3176
+ supportsTool: true,
3177
+ price: { input: 0, output: 0 },
3178
+ provider: "opencode-go",
3179
+ description: "LongCat 2.5 Preview Free,OpenCode Go 订阅含。"
3180
+ },
3181
+ {
3182
+ name: "step-5-preview-free",
3183
+ displayName: "Step 5 Preview Free",
3184
+ hasVision: true,
3185
+ contextWindow: 1e6,
3186
+ maxOutputTokens: 65536,
3187
+ jsonOutput: true,
3188
+ fnCall: true,
3189
+ supportsTool: true,
3190
+ price: { input: 0, output: 0 },
3191
+ provider: "opencode-go",
3192
+ description: "Step 5 Preview Free,OpenCode Go 订阅含。"
3193
+ },
3194
+ {
3195
+ name: "cat-jam-free",
3196
+ displayName: "Cat Jam Free",
3197
+ hasVision: false,
3198
+ contextWindow: 262144,
3199
+ maxOutputTokens: 131072,
3200
+ jsonOutput: true,
3201
+ fnCall: true,
3202
+ supportsTool: true,
3203
+ price: { input: 0, output: 0 },
3204
+ provider: "opencode-go",
3205
+ description: "Cat Jam Free,OpenCode Go 订阅含。"
3206
+ },
3207
+ {
3208
+ name: "qwen3.6-plus",
3209
+ displayName: "Qwen3.6 Plus",
3210
+ hasVision: true,
3211
+ contextWindow: 1e6,
3212
+ maxOutputTokens: 65536,
3213
+ jsonOutput: true,
3214
+ fnCall: true,
3215
+ supportsTool: true,
3216
+ price: { input: 0, output: 0 },
3217
+ provider: "opencode-go",
3218
+ description: "Qwen3.6 Plus,OpenCode Go 订阅含。"
3219
+ },
3220
+ {
3221
+ name: "qwen3.7-max",
3222
+ displayName: "Qwen3.7 Max",
3223
+ hasVision: false,
3224
+ contextWindow: 1e6,
3225
+ maxOutputTokens: 65536,
3226
+ jsonOutput: true,
3227
+ fnCall: true,
3228
+ supportsTool: true,
3229
+ price: { input: 0, output: 0 },
3230
+ provider: "opencode-go",
3231
+ description: "Qwen3.7 Max,OpenCode Go 订阅含。"
3232
+ },
3233
+ {
3234
+ name: "qwen3.8-max",
3235
+ displayName: "Qwen3.8 Max",
3236
+ hasVision: true,
3237
+ contextWindow: 1e6,
3238
+ maxOutputTokens: 131072,
3239
+ jsonOutput: true,
3240
+ fnCall: true,
3241
+ supportsTool: true,
3242
+ price: { input: 0, output: 0 },
3243
+ provider: "opencode-go",
3244
+ description: "Qwen3.8 Max,OpenCode Go 订阅含。"
3245
+ },
3246
+ {
3247
+ name: "qwen3.8-flash",
3248
+ displayName: "Qwen3.8 Flash",
3249
+ hasVision: true,
3250
+ contextWindow: 1e6,
3251
+ maxOutputTokens: 131072,
3252
+ jsonOutput: true,
3253
+ fnCall: true,
3254
+ supportsTool: true,
3255
+ price: { input: 0, output: 0 },
3256
+ provider: "opencode-go",
3257
+ description: "Qwen3.8 Flash,OpenCode Go 订阅含。"
3258
+ },
3259
+ {
3260
+ name: "qwen3.7-plus",
3261
+ displayName: "Qwen3.7 Plus",
3262
+ hasVision: true,
3263
+ contextWindow: 1e6,
3264
+ maxOutputTokens: 65536,
3265
+ jsonOutput: true,
3266
+ fnCall: true,
3267
+ supportsTool: true,
3268
+ price: { input: 0, output: 0 },
3269
+ provider: "opencode-go",
3270
+ description: "Qwen3.7 Plus,OpenCode Go 订阅含。"
3271
+ },
3272
+ {
3273
+ name: "deepseek-v4-flash",
3274
+ displayName: "DeepSeek V4 Flash",
3275
+ hasVision: false,
3276
+ contextWindow: 1e6,
3277
+ maxOutputTokens: 384000,
3278
+ jsonOutput: true,
3279
+ fnCall: true,
3280
+ supportsTool: true,
3281
+ price: { input: 0, output: 0 },
3282
+ provider: "opencode-go",
3283
+ description: "DeepSeek V4 Flash,OpenCode Go 订阅含。"
3284
+ },
3285
+ {
3286
+ name: "deepseek-v4-flash-vision-exp",
3287
+ displayName: "DeepSeek V4 Flash Vision Exp",
3288
+ hasVision: true,
3289
+ contextWindow: 1e6,
3290
+ maxOutputTokens: 384000,
3291
+ jsonOutput: true,
3292
+ fnCall: true,
3293
+ supportsTool: true,
3294
+ price: { input: 0, output: 0 },
3295
+ provider: "opencode-go",
3296
+ description: "DeepSeek V4 Flash Vision Exp,OpenCode Go 订阅含。"
3297
+ }
3298
+ ];
3299
+
3300
+ export { PLATFORM_HOSTED_KIMI_PROVIDER, PLATFORM_LLM_BUSY_USER_MESSAGE, isNoloHostedProvider, isFireworksKimiModel, isDeepInfraKimiModel, isPlatformKimiProviderModel, isPlatformManagedProvider, resolveFireworksKimiModel, hostedKimiLegacyThinkingOverride, PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL, PLATFORM_HOSTED_CLAUDE_OPUS_5_MODEL, PLATFORM_HOSTED_CLAUDE_FABLE_5_MODEL, PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL, PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL, resolvePlatformEffectiveModel, resolvePlatformHostedRouting, GEMINI_NEON_STANDARD_PRICE_USD, GEMINI_NEON_SERVICE_TIER_MULTIPLIERS, isGeminiNeonModel, NOLO_CLIENT_VERSION_HEADER, CLIENT_VERSION_TOO_OLD_CODE, buildClientVersionUpgradeMessage, evaluatePlatformHostedClientVersionGate, buildClientVersionGateErrorDetail, PLATFORM_HOSTED_CLAUDE_FABLE_5_PRICE, PLATFORM_HOSTED_CLAUDE_OPUS_5_PRICE, PLATFORM_HOSTED_CLAUDE_SONNET_5_PRICE, PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE, isPlatformHostedOpenAIImageModel, isPlatformHostedImageModel, PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE, PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE, PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE, PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE, getPlatformHostedDeepSeekV4Price, isPlatformHostedDeepseekModel, isPlatformHostedDeepSeekV4Model, platformHostedModels, usesMimoThinkingWire, qwenModels, qwenTokenPlanModels, moonshotModels, kimiCodeModels, stepfunModels, stepfunStepPlanModels, minimaxModels, commandCodeModels, opencodeGoModels };