@qduc/term2 0.32.2 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (435) hide show
  1. package/dist/agent.d.ts.map +1 -1
  2. package/dist/agent.js +30 -14
  3. package/dist/agent.js.map +1 -1
  4. package/dist/build-info.json +2 -2
  5. package/dist/completion-verification-admin.d.ts +2 -0
  6. package/dist/completion-verification-admin.d.ts.map +1 -0
  7. package/dist/completion-verification-admin.js +37 -0
  8. package/dist/completion-verification-admin.js.map +1 -0
  9. package/dist/components/input/MenuSurface.d.ts.map +1 -1
  10. package/dist/components/input/MenuSurface.js +12 -3
  11. package/dist/components/input/MenuSurface.js.map +1 -1
  12. package/dist/components/input/ModelMenuSession.d.ts.map +1 -1
  13. package/dist/components/input/ModelMenuSession.js +15 -1
  14. package/dist/components/input/ModelMenuSession.js.map +1 -1
  15. package/dist/components/input/ProviderMenuSession.d.ts.map +1 -1
  16. package/dist/components/input/ProviderMenuSession.js +2 -2
  17. package/dist/components/input/ProviderMenuSession.js.map +1 -1
  18. package/dist/components/input/SettingsMenuSession.d.ts.map +1 -1
  19. package/dist/components/input/SettingsMenuSession.js +119 -82
  20. package/dist/components/input/SettingsMenuSession.js.map +1 -1
  21. package/dist/components/input/SettingsValueMenuSession.d.ts.map +1 -1
  22. package/dist/components/input/SettingsValueMenuSession.js +18 -3
  23. package/dist/components/input/SettingsValueMenuSession.js.map +1 -1
  24. package/dist/components/input/determine-active-menu.d.ts.map +1 -1
  25. package/dist/components/input/determine-active-menu.js +5 -1
  26. package/dist/components/input/determine-active-menu.js.map +1 -1
  27. package/dist/components/input/settings-intent-host.d.ts.map +1 -1
  28. package/dist/components/input/settings-intent-host.js +60 -4
  29. package/dist/components/input/settings-intent-host.js.map +1 -1
  30. package/dist/components/menu/ModelSelectionMenu.d.ts +4 -0
  31. package/dist/components/menu/ModelSelectionMenu.d.ts.map +1 -1
  32. package/dist/components/menu/ModelSelectionMenu.js +15 -16
  33. package/dist/components/menu/ModelSelectionMenu.js.map +1 -1
  34. package/dist/components/menu/ProviderSelectionMenu.d.ts +1 -0
  35. package/dist/components/menu/ProviderSelectionMenu.d.ts.map +1 -1
  36. package/dist/components/menu/ProviderSelectionMenu.js +21 -6
  37. package/dist/components/menu/ProviderSelectionMenu.js.map +1 -1
  38. package/dist/components/menu/SettingsSelectionMenu.d.ts +3 -0
  39. package/dist/components/menu/SettingsSelectionMenu.d.ts.map +1 -1
  40. package/dist/components/menu/SettingsSelectionMenu.js +78 -47
  41. package/dist/components/menu/SettingsSelectionMenu.js.map +1 -1
  42. package/dist/components/menu/SettingsValueSelectionMenu.d.ts +2 -0
  43. package/dist/components/menu/SettingsValueSelectionMenu.d.ts.map +1 -1
  44. package/dist/components/menu/SettingsValueSelectionMenu.js +17 -12
  45. package/dist/components/menu/SettingsValueSelectionMenu.js.map +1 -1
  46. package/dist/components/menu/settings-value-formatter.d.ts +8 -3
  47. package/dist/components/menu/settings-value-formatter.d.ts.map +1 -1
  48. package/dist/components/menu/settings-value-formatter.js +55 -32
  49. package/dist/components/menu/settings-value-formatter.js.map +1 -1
  50. package/dist/components/message/command-message-helpers.d.ts +5 -5
  51. package/dist/contracts/run-termination.d.ts +3 -1
  52. package/dist/contracts/run-termination.d.ts.map +1 -1
  53. package/dist/hooks/settings-completion-config.d.ts +28 -12
  54. package/dist/hooks/settings-completion-config.d.ts.map +1 -1
  55. package/dist/hooks/settings-completion-config.js +73 -76
  56. package/dist/hooks/settings-completion-config.js.map +1 -1
  57. package/dist/hooks/settings-completion-logic.d.ts +10 -1
  58. package/dist/hooks/settings-completion-logic.d.ts.map +1 -1
  59. package/dist/hooks/settings-completion-logic.js +80 -49
  60. package/dist/hooks/settings-completion-logic.js.map +1 -1
  61. package/dist/hooks/use-provider-selection.d.ts +6 -0
  62. package/dist/hooks/use-provider-selection.d.ts.map +1 -1
  63. package/dist/hooks/use-provider-selection.js +69 -10
  64. package/dist/hooks/use-provider-selection.js.map +1 -1
  65. package/dist/hooks/use-settings-completion.d.ts +14 -0
  66. package/dist/hooks/use-settings-completion.d.ts.map +1 -1
  67. package/dist/hooks/use-settings-completion.js +54 -6
  68. package/dist/hooks/use-settings-completion.js.map +1 -1
  69. package/dist/hooks/use-settings-value-completion.d.ts.map +1 -1
  70. package/dist/hooks/use-settings-value-completion.js +15 -4
  71. package/dist/hooks/use-settings-value-completion.js.map +1 -1
  72. package/dist/lib/agent-chat-service.d.ts.map +1 -1
  73. package/dist/lib/agent-chat-service.js +2 -6
  74. package/dist/lib/agent-chat-service.js.map +1 -1
  75. package/dist/lib/agent-client.d.ts +2 -1
  76. package/dist/lib/agent-client.d.ts.map +1 -1
  77. package/dist/lib/agent-client.js +99 -85
  78. package/dist/lib/agent-client.js.map +1 -1
  79. package/dist/lib/agent-factory.d.ts.map +1 -1
  80. package/dist/lib/agent-factory.js +17 -19
  81. package/dist/lib/agent-factory.js.map +1 -1
  82. package/dist/non-interactive.d.ts.map +1 -1
  83. package/dist/non-interactive.js +4 -0
  84. package/dist/non-interactive.js.map +1 -1
  85. package/dist/prompts/tool-surface-guidance.js +1 -1
  86. package/dist/prompts/tool-surface-guidance.js.map +1 -1
  87. package/dist/prompts/tool-surface-guidance.ts +1 -1
  88. package/dist/providers/ai-sdk-anthropic.provider.d.ts.map +1 -1
  89. package/dist/providers/ai-sdk-anthropic.provider.js +16 -2
  90. package/dist/providers/ai-sdk-anthropic.provider.js.map +1 -1
  91. package/dist/providers/ai-sdk-google.provider.d.ts.map +1 -1
  92. package/dist/providers/ai-sdk-google.provider.js +16 -2
  93. package/dist/providers/ai-sdk-google.provider.js.map +1 -1
  94. package/dist/providers/ai-sdk-openrouter.provider.d.ts.map +1 -1
  95. package/dist/providers/ai-sdk-openrouter.provider.js +16 -1
  96. package/dist/providers/ai-sdk-openrouter.provider.js.map +1 -1
  97. package/dist/providers/ai-sdk-provider-settings.d.ts +2 -0
  98. package/dist/providers/ai-sdk-provider-settings.d.ts.map +1 -1
  99. package/dist/providers/ai-sdk-provider-settings.js +5 -0
  100. package/dist/providers/ai-sdk-provider-settings.js.map +1 -1
  101. package/dist/providers/ai-sdk-streamed-model.d.ts +3 -3
  102. package/dist/providers/ai-sdk-streamed-model.d.ts.map +1 -1
  103. package/dist/providers/ai-sdk-streamed-model.js +5 -69
  104. package/dist/providers/ai-sdk-streamed-model.js.map +1 -1
  105. package/dist/providers/anthropic-chat-caching.d.ts +5 -0
  106. package/dist/providers/anthropic-chat-caching.d.ts.map +1 -0
  107. package/dist/providers/{common/openai-compatible-messages.js → anthropic-chat-caching.js} +19 -1
  108. package/dist/providers/anthropic-chat-caching.js.map +1 -0
  109. package/dist/providers/codex.provider.js +2 -0
  110. package/dist/providers/codex.provider.js.map +1 -1
  111. package/dist/providers/custom-provider-runtime.d.ts +18 -0
  112. package/dist/providers/custom-provider-runtime.d.ts.map +1 -0
  113. package/dist/providers/custom-provider-runtime.js +26 -0
  114. package/dist/providers/custom-provider-runtime.js.map +1 -0
  115. package/dist/providers/grok.provider.d.ts +13 -3
  116. package/dist/providers/grok.provider.d.ts.map +1 -1
  117. package/dist/providers/grok.provider.js +82 -6
  118. package/dist/providers/grok.provider.js.map +1 -1
  119. package/dist/providers/llama-cpp.provider.d.ts +3 -0
  120. package/dist/providers/llama-cpp.provider.d.ts.map +1 -1
  121. package/dist/providers/llama-cpp.provider.js +17 -0
  122. package/dist/providers/llama-cpp.provider.js.map +1 -1
  123. package/dist/providers/model-catalog/catalog.generated.d.ts +347 -351
  124. package/dist/providers/model-catalog/catalog.generated.d.ts.map +1 -1
  125. package/dist/providers/model-catalog/catalog.generated.js +362 -357
  126. package/dist/providers/model-catalog/catalog.generated.js.map +1 -1
  127. package/dist/providers/neuralwatt.provider.d.ts +6 -0
  128. package/dist/providers/neuralwatt.provider.d.ts.map +1 -0
  129. package/dist/providers/neuralwatt.provider.js +8 -0
  130. package/dist/providers/neuralwatt.provider.js.map +1 -0
  131. package/dist/providers/openai-compatible-lazy.d.ts.map +1 -1
  132. package/dist/providers/openai-compatible-lazy.js +2 -0
  133. package/dist/providers/openai-compatible-lazy.js.map +1 -1
  134. package/dist/providers/openai-compatible-middleware.d.ts +4 -9
  135. package/dist/providers/openai-compatible-middleware.d.ts.map +1 -1
  136. package/dist/providers/openai-compatible-middleware.js +25 -48
  137. package/dist/providers/openai-compatible-middleware.js.map +1 -1
  138. package/dist/providers/openai-compatible-models.d.ts +9 -1
  139. package/dist/providers/openai-compatible-models.d.ts.map +1 -1
  140. package/dist/providers/openai-compatible-models.js +10 -2
  141. package/dist/providers/openai-compatible-models.js.map +1 -1
  142. package/dist/providers/openai-compatible-response-normalizer.d.ts +1 -1
  143. package/dist/providers/openai-compatible-response-normalizer.d.ts.map +1 -1
  144. package/dist/providers/openai-compatible-response-normalizer.js +6 -6
  145. package/dist/providers/openai-compatible-response-normalizer.js.map +1 -1
  146. package/dist/providers/openai-compatible.provider.d.ts +2 -32
  147. package/dist/providers/openai-compatible.provider.d.ts.map +1 -1
  148. package/dist/providers/openai-compatible.provider.js +27 -144
  149. package/dist/providers/openai-compatible.provider.js.map +1 -1
  150. package/dist/providers/openai.provider.d.ts.map +1 -1
  151. package/dist/providers/openai.provider.js +1 -0
  152. package/dist/providers/openai.provider.js.map +1 -1
  153. package/dist/providers/opencode-middleware.d.ts +9 -0
  154. package/dist/providers/opencode-middleware.d.ts.map +1 -0
  155. package/dist/providers/opencode-middleware.js +15 -0
  156. package/dist/providers/opencode-middleware.js.map +1 -0
  157. package/dist/providers/opencode-model-provider.d.ts +19 -0
  158. package/dist/providers/opencode-model-provider.d.ts.map +1 -0
  159. package/dist/providers/opencode-model-provider.js +128 -0
  160. package/dist/providers/opencode-model-provider.js.map +1 -0
  161. package/dist/providers/opencode.provider.d.ts +2 -0
  162. package/dist/providers/opencode.provider.d.ts.map +1 -1
  163. package/dist/providers/opencode.provider.js +4 -0
  164. package/dist/providers/opencode.provider.js.map +1 -1
  165. package/dist/providers/openrouter-decision-models.d.ts +7 -0
  166. package/dist/providers/openrouter-decision-models.d.ts.map +1 -0
  167. package/dist/providers/openrouter-decision-models.js +31 -0
  168. package/dist/providers/openrouter-decision-models.js.map +1 -0
  169. package/dist/providers/openrouter.provider.js +2 -1
  170. package/dist/providers/openrouter.provider.js.map +1 -1
  171. package/dist/providers/orcarouter-models.d.ts +12 -0
  172. package/dist/providers/orcarouter-models.d.ts.map +1 -0
  173. package/dist/providers/orcarouter-models.js +38 -0
  174. package/dist/providers/orcarouter-models.js.map +1 -0
  175. package/dist/providers/provider-presets.d.ts +37 -0
  176. package/dist/providers/provider-presets.d.ts.map +1 -0
  177. package/dist/providers/provider-presets.js +33 -0
  178. package/dist/providers/provider-presets.js.map +1 -0
  179. package/dist/providers/provider-presets.json +201 -0
  180. package/dist/providers/provider-service.d.ts +3 -2
  181. package/dist/providers/provider-service.d.ts.map +1 -1
  182. package/dist/providers/provider-service.js +4 -20
  183. package/dist/providers/provider-service.js.map +1 -1
  184. package/dist/providers/registry.d.ts +7 -0
  185. package/dist/providers/registry.d.ts.map +1 -1
  186. package/dist/providers/registry.js.map +1 -1
  187. package/dist/services/agent-runtime/application-run-loop.d.ts +25 -2
  188. package/dist/services/agent-runtime/application-run-loop.d.ts.map +1 -1
  189. package/dist/services/agent-runtime/application-run-loop.js +927 -758
  190. package/dist/services/agent-runtime/application-run-loop.js.map +1 -1
  191. package/dist/services/agent-runtime/tool-call-execution.d.ts +1 -1
  192. package/dist/services/agent-runtime/tool-call-execution.d.ts.map +1 -1
  193. package/dist/services/agent-runtime/tool-call-execution.js +6 -3
  194. package/dist/services/agent-runtime/tool-call-execution.js.map +1 -1
  195. package/dist/services/approval/approval-flow-coordinator.d.ts +4 -2
  196. package/dist/services/approval/approval-flow-coordinator.d.ts.map +1 -1
  197. package/dist/services/approval/approval-flow-coordinator.js +2 -1
  198. package/dist/services/approval/approval-flow-coordinator.js.map +1 -1
  199. package/dist/services/approval/approval-state.d.ts +0 -13
  200. package/dist/services/approval/approval-state.d.ts.map +1 -1
  201. package/dist/services/approval/approval-state.js +0 -5
  202. package/dist/services/approval/approval-state.js.map +1 -1
  203. package/dist/services/approval/background-subagent-approval-controller.d.ts.map +1 -1
  204. package/dist/services/approval/background-subagent-approval-controller.js +0 -2
  205. package/dist/services/approval/background-subagent-approval-controller.js.map +1 -1
  206. package/dist/services/approval/nested-approval-owner.d.ts.map +1 -1
  207. package/dist/services/approval/nested-approval-owner.js +5 -1
  208. package/dist/services/approval/nested-approval-owner.js.map +1 -1
  209. package/dist/services/approval/shell-auto-approval-resolver.d.ts +2 -2
  210. package/dist/services/approval/shell-auto-approval-resolver.d.ts.map +1 -1
  211. package/dist/services/approval/shell-auto-approval-resolver.js +2 -2
  212. package/dist/services/approval/shell-auto-approval-resolver.js.map +1 -1
  213. package/dist/services/approval/tool-approval-batch-coordinator.d.ts +2 -2
  214. package/dist/services/approval/tool-approval-batch-coordinator.d.ts.map +1 -1
  215. package/dist/services/approval/tool-approval-batch-coordinator.js +4 -4
  216. package/dist/services/approval/tool-approval-batch-coordinator.js.map +1 -1
  217. package/dist/services/assembly/feature-selection.d.ts +48 -0
  218. package/dist/services/assembly/feature-selection.d.ts.map +1 -0
  219. package/dist/services/assembly/feature-selection.js +12 -0
  220. package/dist/services/assembly/feature-selection.js.map +1 -0
  221. package/dist/services/completion-verification/contracts.d.ts +151 -0
  222. package/dist/services/completion-verification/contracts.d.ts.map +1 -0
  223. package/dist/services/completion-verification/contracts.js +84 -0
  224. package/dist/services/completion-verification/contracts.js.map +1 -0
  225. package/dist/services/completion-verification/gate.d.ts +9 -0
  226. package/dist/services/completion-verification/gate.d.ts.map +1 -0
  227. package/dist/services/completion-verification/gate.js +60 -0
  228. package/dist/services/completion-verification/gate.js.map +1 -0
  229. package/dist/services/completion-verification/goal-stop-policy.d.ts +10 -0
  230. package/dist/services/completion-verification/goal-stop-policy.d.ts.map +1 -0
  231. package/dist/services/completion-verification/goal-stop-policy.js +53 -0
  232. package/dist/services/completion-verification/goal-stop-policy.js.map +1 -0
  233. package/dist/services/completion-verification/orchestrator.d.ts +26 -0
  234. package/dist/services/completion-verification/orchestrator.d.ts.map +1 -0
  235. package/dist/services/completion-verification/orchestrator.js +275 -0
  236. package/dist/services/completion-verification/orchestrator.js.map +1 -0
  237. package/dist/services/completion-verification/root-boundary.d.ts +21 -0
  238. package/dist/services/completion-verification/root-boundary.d.ts.map +1 -0
  239. package/dist/services/completion-verification/root-boundary.js +127 -0
  240. package/dist/services/completion-verification/root-boundary.js.map +1 -0
  241. package/dist/services/completion-verification/store.d.ts +13 -0
  242. package/dist/services/completion-verification/store.d.ts.map +1 -0
  243. package/dist/services/completion-verification/store.js +69 -0
  244. package/dist/services/completion-verification/store.js.map +1 -0
  245. package/dist/services/completion-verification/verifier.d.ts +11 -0
  246. package/dist/services/completion-verification/verifier.d.ts.map +1 -0
  247. package/dist/services/completion-verification/verifier.js +173 -0
  248. package/dist/services/completion-verification/verifier.js.map +1 -0
  249. package/dist/services/completion-verification/workspace.d.ts +17 -0
  250. package/dist/services/completion-verification/workspace.d.ts.map +1 -0
  251. package/dist/services/completion-verification/workspace.js +183 -0
  252. package/dist/services/completion-verification/workspace.js.map +1 -0
  253. package/dist/services/conversation/conversation-adapter.d.ts +17 -47
  254. package/dist/services/conversation/conversation-adapter.d.ts.map +1 -1
  255. package/dist/services/conversation/conversation-adapter.js +114 -88
  256. package/dist/services/conversation/conversation-adapter.js.map +1 -1
  257. package/dist/services/conversation/conversation-orchestrator.d.ts.map +1 -1
  258. package/dist/services/conversation/conversation-orchestrator.js +48 -121
  259. package/dist/services/conversation/conversation-orchestrator.js.map +1 -1
  260. package/dist/services/conversation/conversation-record-stream.d.ts +21 -0
  261. package/dist/services/conversation/conversation-record-stream.d.ts.map +1 -0
  262. package/dist/services/conversation/conversation-record-stream.js +186 -0
  263. package/dist/services/conversation/conversation-record-stream.js.map +1 -0
  264. package/dist/services/conversation/conversation-record.d.ts +160 -0
  265. package/dist/services/conversation/conversation-record.d.ts.map +1 -0
  266. package/dist/services/conversation/conversation-record.js +371 -0
  267. package/dist/services/conversation/conversation-record.js.map +1 -0
  268. package/dist/services/conversation/conversation-result-builder.d.ts +0 -4
  269. package/dist/services/conversation/conversation-result-builder.d.ts.map +1 -1
  270. package/dist/services/conversation/conversation-result-builder.js +0 -10
  271. package/dist/services/conversation/conversation-result-builder.js.map +1 -1
  272. package/dist/services/conversation/conversation-service.d.ts +2 -1
  273. package/dist/services/conversation/conversation-service.d.ts.map +1 -1
  274. package/dist/services/conversation/conversation-service.js +3 -0
  275. package/dist/services/conversation/conversation-service.js.map +1 -1
  276. package/dist/services/conversation/durable-goal-stop-check.js +1 -1
  277. package/dist/services/conversation/durable-goal-stop-check.js.map +1 -1
  278. package/dist/services/conversation/durable-goal.d.ts.map +1 -1
  279. package/dist/services/conversation/durable-goal.js +1 -1
  280. package/dist/services/conversation/durable-goal.js.map +1 -1
  281. package/dist/services/conversation-agent-client.d.ts +17 -7
  282. package/dist/services/conversation-agent-client.d.ts.map +1 -1
  283. package/dist/services/logging/conversation-logger.d.ts +1 -7
  284. package/dist/services/logging/conversation-logger.d.ts.map +1 -1
  285. package/dist/services/logging/conversation-logger.js +0 -18
  286. package/dist/services/logging/conversation-logger.js.map +1 -1
  287. package/dist/services/model-service.d.ts +2 -6
  288. package/dist/services/model-service.d.ts.map +1 -1
  289. package/dist/services/model-service.js +8 -21
  290. package/dist/services/model-service.js.map +1 -1
  291. package/dist/services/models/decision-model-listing.d.ts +2 -12
  292. package/dist/services/models/decision-model-listing.d.ts.map +1 -1
  293. package/dist/services/models/decision-model-listing.js +2 -29
  294. package/dist/services/models/decision-model-listing.js.map +1 -1
  295. package/dist/services/provider-continuity.d.ts +26 -0
  296. package/dist/services/provider-continuity.d.ts.map +1 -1
  297. package/dist/services/provider-continuity.js +47 -0
  298. package/dist/services/provider-continuity.js.map +1 -1
  299. package/dist/services/retry/recovery-executor.d.ts +3 -4
  300. package/dist/services/retry/recovery-executor.d.ts.map +1 -1
  301. package/dist/services/retry/recovery-executor.js +13 -75
  302. package/dist/services/retry/recovery-executor.js.map +1 -1
  303. package/dist/services/retry/retry-contracts.d.ts +2 -10
  304. package/dist/services/retry/retry-contracts.d.ts.map +1 -1
  305. package/dist/services/session/continuation-plan-applier.d.ts +5 -9
  306. package/dist/services/session/continuation-plan-applier.d.ts.map +1 -1
  307. package/dist/services/session/continuation-plan-applier.js +9 -43
  308. package/dist/services/session/continuation-plan-applier.js.map +1 -1
  309. package/dist/services/session/continuation-recovery-handler.d.ts +4 -6
  310. package/dist/services/session/continuation-recovery-handler.d.ts.map +1 -1
  311. package/dist/services/session/continuation-recovery-handler.js +3 -15
  312. package/dist/services/session/continuation-recovery-handler.js.map +1 -1
  313. package/dist/services/session/initial-input-preparer.d.ts +2 -2
  314. package/dist/services/session/initial-input-preparer.d.ts.map +1 -1
  315. package/dist/services/session/initial-input-preparer.js +3 -3
  316. package/dist/services/session/initial-input-preparer.js.map +1 -1
  317. package/dist/services/session/initial-turn-recovery-handler.d.ts +2 -4
  318. package/dist/services/session/initial-turn-recovery-handler.d.ts.map +1 -1
  319. package/dist/services/session/initial-turn-recovery-handler.js +4 -5
  320. package/dist/services/session/initial-turn-recovery-handler.js.map +1 -1
  321. package/dist/services/session/live-run.d.ts +9 -3
  322. package/dist/services/session/live-run.d.ts.map +1 -1
  323. package/dist/services/session/live-run.js +19 -4
  324. package/dist/services/session/live-run.js.map +1 -1
  325. package/dist/services/session/session-composition.d.ts +8 -12
  326. package/dist/services/session/session-composition.d.ts.map +1 -1
  327. package/dist/services/session/session-composition.js +41 -87
  328. package/dist/services/session/session-composition.js.map +1 -1
  329. package/dist/services/session/session-input-planner.d.ts +2 -2
  330. package/dist/services/session/session-input-planner.d.ts.map +1 -1
  331. package/dist/services/session/session-input-planner.js +6 -13
  332. package/dist/services/session/session-input-planner.js.map +1 -1
  333. package/dist/services/session/session-lifecycle.d.ts +73 -23
  334. package/dist/services/session/session-lifecycle.d.ts.map +1 -1
  335. package/dist/services/session/session-lifecycle.js +127 -45
  336. package/dist/services/session/session-lifecycle.js.map +1 -1
  337. package/dist/services/session/session-stream-processor.d.ts +4 -30
  338. package/dist/services/session/session-stream-processor.d.ts.map +1 -1
  339. package/dist/services/session/session-stream-processor.js +11 -300
  340. package/dist/services/session/session-stream-processor.js.map +1 -1
  341. package/dist/services/session/session-tool-tracker.d.ts +9 -144
  342. package/dist/services/session/session-tool-tracker.d.ts.map +1 -1
  343. package/dist/services/session/session-tool-tracker.js +17 -251
  344. package/dist/services/session/session-tool-tracker.js.map +1 -1
  345. package/dist/services/session/{turn-workflow.d.ts → session-turn-adapter.d.ts} +10 -43
  346. package/dist/services/session/session-turn-adapter.d.ts.map +1 -0
  347. package/dist/services/session/session-turn-adapter.js +734 -0
  348. package/dist/services/session/session-turn-adapter.js.map +1 -0
  349. package/dist/services/session/turn-attempt-factory.d.ts +2 -11
  350. package/dist/services/session/turn-attempt-factory.d.ts.map +1 -1
  351. package/dist/services/session/turn-attempt-factory.js +4 -12
  352. package/dist/services/session/turn-attempt-factory.js.map +1 -1
  353. package/dist/services/session/turn-attempt.d.ts +0 -3
  354. package/dist/services/session/turn-attempt.d.ts.map +1 -1
  355. package/dist/services/session/turn-attempt.js +0 -5
  356. package/dist/services/session/turn-attempt.js.map +1 -1
  357. package/dist/services/session/turn-coordinator.d.ts +3 -3
  358. package/dist/services/session/turn-coordinator.d.ts.map +1 -1
  359. package/dist/services/session/turn-coordinator.js +31 -26
  360. package/dist/services/session/turn-coordinator.js.map +1 -1
  361. package/dist/services/session/turn-projection-state.d.ts +45 -0
  362. package/dist/services/session/turn-projection-state.d.ts.map +1 -0
  363. package/dist/services/session/turn-projection-state.js +61 -0
  364. package/dist/services/session/turn-projection-state.js.map +1 -0
  365. package/dist/services/settings/settings-env.d.ts +5 -0
  366. package/dist/services/settings/settings-env.d.ts.map +1 -1
  367. package/dist/services/settings/settings-env.js +22 -0
  368. package/dist/services/settings/settings-env.js.map +1 -1
  369. package/dist/services/settings/settings-schema.d.ts +8 -0
  370. package/dist/services/settings/settings-schema.d.ts.map +1 -1
  371. package/dist/services/settings/settings-schema.js +17 -0
  372. package/dist/services/settings/settings-schema.js.map +1 -1
  373. package/dist/services/settings/settings-service.d.ts +6 -0
  374. package/dist/services/settings/settings-service.d.ts.map +1 -1
  375. package/dist/services/settings/settings-service.js +21 -9
  376. package/dist/services/settings/settings-service.js.map +1 -1
  377. package/dist/services/settings/settings-sources.d.ts +2 -0
  378. package/dist/services/settings/settings-sources.d.ts.map +1 -1
  379. package/dist/services/settings/settings-sources.js +2 -0
  380. package/dist/services/settings/settings-sources.js.map +1 -1
  381. package/dist/services/settings/settings-ui-metadata.d.ts +21 -0
  382. package/dist/services/settings/settings-ui-metadata.d.ts.map +1 -1
  383. package/dist/services/settings/settings-ui-metadata.js +201 -23
  384. package/dist/services/settings/settings-ui-metadata.js.map +1 -1
  385. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts +1 -0
  386. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts.map +1 -1
  387. package/dist/services/settings/test-helpers/settings-consumer-inventory.js +4 -0
  388. package/dist/services/settings/test-helpers/settings-consumer-inventory.js.map +1 -1
  389. package/dist/services/subagents/tool-policy.d.ts +5 -5
  390. package/dist/services/subagents/tool-policy.d.ts.map +1 -1
  391. package/dist/services/subagents/tool-policy.js +15 -9
  392. package/dist/services/subagents/tool-policy.js.map +1 -1
  393. package/dist/tools/agent/goal-check.js +2 -2
  394. package/dist/tools/agent/goal-check.js.map +1 -1
  395. package/dist/tools/agent/list-models.d.ts +71 -0
  396. package/dist/tools/agent/list-models.d.ts.map +1 -0
  397. package/dist/tools/agent/list-models.js +175 -0
  398. package/dist/tools/agent/list-models.js.map +1 -0
  399. package/dist/tools/system/run-code/run-code-runtime.d.ts.map +1 -1
  400. package/dist/tools/system/run-code/run-code-runtime.js +90 -19
  401. package/dist/tools/system/run-code/run-code-runtime.js.map +1 -1
  402. package/dist/tools/system/shell.d.ts +2 -2
  403. package/dist/tools/system/shell.d.ts.map +1 -1
  404. package/dist/tools/system/shell.js +1 -0
  405. package/dist/tools/system/shell.js.map +1 -1
  406. package/dist/tools/tool-names.d.ts +1 -1
  407. package/dist/tools/tool-names.d.ts.map +1 -1
  408. package/dist/utils/ai/token-usage.js +9 -8
  409. package/dist/utils/ai/token-usage.js.map +1 -1
  410. package/dist/utils/value-suggestions.d.ts.map +1 -1
  411. package/dist/utils/value-suggestions.js +14 -11
  412. package/dist/utils/value-suggestions.js.map +1 -1
  413. package/package.json +2 -2
  414. package/dist/providers/anthropic-middleware.d.ts +0 -25
  415. package/dist/providers/anthropic-middleware.d.ts.map +0 -1
  416. package/dist/providers/anthropic-middleware.js +0 -32
  417. package/dist/providers/anthropic-middleware.js.map +0 -1
  418. package/dist/providers/common/openai-compatible-messages.d.ts +0 -2
  419. package/dist/providers/common/openai-compatible-messages.d.ts.map +0 -1
  420. package/dist/providers/common/openai-compatible-messages.js.map +0 -1
  421. package/dist/services/session/continuation-call-id-resolver.d.ts +0 -29
  422. package/dist/services/session/continuation-call-id-resolver.d.ts.map +0 -1
  423. package/dist/services/session/continuation-call-id-resolver.js +0 -69
  424. package/dist/services/session/continuation-call-id-resolver.js.map +0 -1
  425. package/dist/services/session/continuation-state.d.ts +0 -69
  426. package/dist/services/session/continuation-state.d.ts.map +0 -1
  427. package/dist/services/session/continuation-state.js +0 -78
  428. package/dist/services/session/continuation-state.js.map +0 -1
  429. package/dist/services/session/session-manager.d.ts +0 -87
  430. package/dist/services/session/session-manager.d.ts.map +0 -1
  431. package/dist/services/session/session-manager.js +0 -146
  432. package/dist/services/session/session-manager.js.map +0 -1
  433. package/dist/services/session/turn-workflow.d.ts.map +0 -1
  434. package/dist/services/session/turn-workflow.js +0 -1055
  435. package/dist/services/session/turn-workflow.js.map +0 -1
@@ -2,8 +2,8 @@
2
2
  // Do not edit manually. Run `pnpm catalog:update` to regenerate.
3
3
  export const CATALOG_META = {
4
4
  schemaVersion: 2,
5
- generatedAt: '2026-10-02T11:40:57.710Z',
6
- source: 'pi-ai@1.0.0',
5
+ generatedAt: '2026-10-16T10:25:56.062Z',
6
+ source: 'pi-ai@1.3.0',
7
7
  };
8
8
  export const MODEL_CATALOG = {
9
9
  openai: {
@@ -426,7 +426,7 @@ export const MODEL_CATALOG = {
426
426
  cacheWritePricePerMTok: 2.5,
427
427
  },
428
428
  'gpt-6.1-sol': {
429
- contextWindow: 272000,
429
+ contextWindow: 500000,
430
430
  maxTokens: 128000,
431
431
  inputPricePerMTok: 2,
432
432
  outputPricePerMTok: 10,
@@ -563,6 +563,22 @@ export const MODEL_CATALOG = {
563
563
  cacheReadPricePerMTok: 0.05,
564
564
  cacheWritePricePerMTok: 0.625,
565
565
  },
566
+ 'anthropic/claude-haiku-5.5': {
567
+ contextWindow: 1000000,
568
+ maxTokens: 128000,
569
+ inputPricePerMTok: 0.1,
570
+ outputPricePerMTok: 0.5,
571
+ cacheReadPricePerMTok: 0.01,
572
+ cacheWritePricePerMTok: 0.125,
573
+ },
574
+ 'anthropic/claude-haiku-5.5:batch': {
575
+ contextWindow: 1000000,
576
+ maxTokens: 128000,
577
+ inputPricePerMTok: 0.05,
578
+ outputPricePerMTok: 0.25,
579
+ cacheReadPricePerMTok: 0.005,
580
+ cacheWritePricePerMTok: 0.0625,
581
+ },
566
582
  'anthropic/claude-opus-4.1': {
567
583
  contextWindow: 200000,
568
584
  maxTokens: 32000,
@@ -675,14 +691,6 @@ export const MODEL_CATALOG = {
675
691
  cacheReadPricePerMTok: 0.25,
676
692
  cacheWritePricePerMTok: 3.125,
677
693
  },
678
- 'anthropic/claude-sonnet-4': {
679
- contextWindow: 200000,
680
- maxTokens: 64000,
681
- inputPricePerMTok: 3,
682
- outputPricePerMTok: 15,
683
- cacheReadPricePerMTok: 0.3,
684
- cacheWritePricePerMTok: 3.75,
685
- },
686
694
  'anthropic/claude-sonnet-4.5': {
687
695
  contextWindow: 1000000,
688
696
  maxTokens: 64000,
@@ -728,7 +736,7 @@ export const MODEL_CATALOG = {
728
736
  maxTokens: 128000,
729
737
  inputPricePerMTok: 2,
730
738
  outputPricePerMTok: 10,
731
- cacheReadPricePerMTok: 0.2,
739
+ cacheReadPricePerMTok: 0.1,
732
740
  cacheWritePricePerMTok: 2.5,
733
741
  },
734
742
  'anthropic/claude-sonnet-5.5:batch': {
@@ -736,7 +744,7 @@ export const MODEL_CATALOG = {
736
744
  maxTokens: 128000,
737
745
  inputPricePerMTok: 1,
738
746
  outputPricePerMTok: 5,
739
- cacheReadPricePerMTok: 0.1,
747
+ cacheReadPricePerMTok: 0.05,
740
748
  cacheWritePricePerMTok: 1.25,
741
749
  },
742
750
  'anthropic/claude-sonnet-5:batch': {
@@ -747,14 +755,6 @@ export const MODEL_CATALOG = {
747
755
  cacheReadPricePerMTok: 0.1,
748
756
  cacheWritePricePerMTok: 1.25,
749
757
  },
750
- 'apodex/apodex-1.1-mini:free': {
751
- contextWindow: 262144,
752
- maxTokens: 235929,
753
- inputPricePerMTok: 0,
754
- outputPricePerMTok: 0,
755
- cacheReadPricePerMTok: 0,
756
- cacheWritePricePerMTok: 0,
757
- },
758
758
  'arcee-ai/trinity-large-thinking': {
759
759
  contextWindow: 262144,
760
760
  maxTokens: 80000,
@@ -892,19 +892,19 @@ export const MODEL_CATALOG = {
892
892
  cacheWritePricePerMTok: 0,
893
893
  },
894
894
  'deepseek/deepseek-v3.1-terminus': {
895
- contextWindow: 131072,
896
- maxTokens: 65536,
897
- inputPricePerMTok: 0.3,
895
+ contextWindow: 163840,
896
+ maxTokens: 147456,
897
+ inputPricePerMTok: 0.27,
898
898
  outputPricePerMTok: 1,
899
- cacheReadPricePerMTok: 0.135,
899
+ cacheReadPricePerMTok: 0,
900
900
  cacheWritePricePerMTok: 0,
901
901
  },
902
902
  'deepseek/deepseek-v3.2': {
903
- contextWindow: 131072,
904
- maxTokens: 65536,
905
- inputPricePerMTok: 0.28,
906
- outputPricePerMTok: 0.42,
907
- cacheReadPricePerMTok: 0.028,
903
+ contextWindow: 163840,
904
+ maxTokens: 147456,
905
+ inputPricePerMTok: 0.259,
906
+ outputPricePerMTok: 0.8,
907
+ cacheReadPricePerMTok: 0.14,
908
908
  cacheWritePricePerMTok: 0,
909
909
  },
910
910
  'deepseek/deepseek-v3.2-exp': {
@@ -916,19 +916,19 @@ export const MODEL_CATALOG = {
916
916
  cacheWritePricePerMTok: 0,
917
917
  },
918
918
  'deepseek/deepseek-v4-flash': {
919
- contextWindow: 1024000,
920
- maxTokens: 384000,
921
- inputPricePerMTok: 0.042,
922
- outputPricePerMTok: 0.084,
923
- cacheReadPricePerMTok: 0.0084,
919
+ contextWindow: 1048575,
920
+ maxTokens: 943717,
921
+ inputPricePerMTok: 0.091,
922
+ outputPricePerMTok: 0.182,
923
+ cacheReadPricePerMTok: 0.0182,
924
924
  cacheWritePricePerMTok: 0,
925
925
  },
926
926
  'deepseek/deepseek-v4-flash-0731': {
927
927
  contextWindow: 1048576,
928
928
  maxTokens: 943718,
929
- inputPricePerMTok: 0.0171,
929
+ inputPricePerMTok: 0.0111,
930
930
  outputPricePerMTok: 1.28,
931
- cacheReadPricePerMTok: 0.0171,
931
+ cacheReadPricePerMTok: 0.0111,
932
932
  cacheWritePricePerMTok: 0,
933
933
  },
934
934
  'deepseek/deepseek-v4-flash-vision-exp': {
@@ -942,9 +942,9 @@ export const MODEL_CATALOG = {
942
942
  'deepseek/deepseek-v4-pro': {
943
943
  contextWindow: 1024000,
944
944
  maxTokens: 384000,
945
- inputPricePerMTok: 0.2088,
946
- outputPricePerMTok: 0.4176,
947
- cacheReadPricePerMTok: 0.0174,
945
+ inputPricePerMTok: 0.95526,
946
+ outputPricePerMTok: 1.91052,
947
+ cacheReadPricePerMTok: 0.079605,
948
948
  cacheWritePricePerMTok: 0,
949
949
  },
950
950
  'deepseek/deepseek-v4-pro-0813': {
@@ -958,9 +958,9 @@ export const MODEL_CATALOG = {
958
958
  'deepseek/deepseek-v4.1-flash': {
959
959
  contextWindow: 1048576,
960
960
  maxTokens: 943718,
961
- inputPricePerMTok: 0.3,
962
- outputPricePerMTok: 1.2,
963
- cacheReadPricePerMTok: 0.006,
961
+ inputPricePerMTok: 0.036,
962
+ outputPricePerMTok: 0.684,
963
+ cacheReadPricePerMTok: 0.0054,
964
964
  cacheWritePricePerMTok: 0,
965
965
  },
966
966
  'deepseek/deepseek-v4.1-flash:batch': {
@@ -1182,9 +1182,9 @@ export const MODEL_CATALOG = {
1182
1182
  'google/gemini-3.8-flash': {
1183
1183
  contextWindow: 1048576,
1184
1184
  maxTokens: 65536,
1185
- inputPricePerMTok: 0.75,
1186
- outputPricePerMTok: 3.75,
1187
- cacheReadPricePerMTok: 0.075,
1185
+ inputPricePerMTok: 0.825,
1186
+ outputPricePerMTok: 4.125,
1187
+ cacheReadPricePerMTok: 0.0825,
1188
1188
  cacheWritePricePerMTok: 0.041667,
1189
1189
  },
1190
1190
  'google/gemini-3.8-flash:batch': {
@@ -1195,6 +1195,30 @@ export const MODEL_CATALOG = {
1195
1195
  cacheReadPricePerMTok: 0.0375,
1196
1196
  cacheWritePricePerMTok: 0.041667,
1197
1197
  },
1198
+ 'google/gemini-4-argon': {
1199
+ contextWindow: 1048576,
1200
+ maxTokens: 65536,
1201
+ inputPricePerMTok: 2,
1202
+ outputPricePerMTok: 10,
1203
+ cacheReadPricePerMTok: 0.1,
1204
+ cacheWritePricePerMTok: 0.1875,
1205
+ },
1206
+ 'google/gemini-4-argon:batch': {
1207
+ contextWindow: 1048576,
1208
+ maxTokens: 943718,
1209
+ inputPricePerMTok: 1,
1210
+ outputPricePerMTok: 5,
1211
+ cacheReadPricePerMTok: 0.05,
1212
+ cacheWritePricePerMTok: 0.1875,
1213
+ },
1214
+ 'google/gemini-nano-banana-2.1': {
1215
+ contextWindow: 65536,
1216
+ maxTokens: 58982,
1217
+ inputPricePerMTok: 1.5,
1218
+ outputPricePerMTok: 7.5,
1219
+ cacheReadPricePerMTok: 0,
1220
+ cacheWritePricePerMTok: 0,
1221
+ },
1198
1222
  'google/gemma-3-12b-it': {
1199
1223
  contextWindow: 131072,
1200
1224
  maxTokens: 16384,
@@ -1230,9 +1254,9 @@ export const MODEL_CATALOG = {
1230
1254
  'google/gemma-4-31b-it': {
1231
1255
  contextWindow: 262144,
1232
1256
  maxTokens: 16384,
1233
- inputPricePerMTok: 0.09,
1234
- outputPricePerMTok: 0.34,
1235
- cacheReadPricePerMTok: 0.05,
1257
+ inputPricePerMTok: 0.2,
1258
+ outputPricePerMTok: 0.4,
1259
+ cacheReadPricePerMTok: 0,
1236
1260
  cacheWritePricePerMTok: 0,
1237
1261
  },
1238
1262
  'google/gemma-4-31b-it:free': {
@@ -1275,36 +1299,20 @@ export const MODEL_CATALOG = {
1275
1299
  cacheReadPricePerMTok: 0.0042,
1276
1300
  cacheWritePricePerMTok: 0,
1277
1301
  },
1278
- 'inclusionai/ling-3.0-flash-fin': {
1279
- contextWindow: 262144,
1280
- maxTokens: 235929,
1302
+ 'inclusionai/ling-3.0-flash-vl': {
1303
+ contextWindow: 131072,
1304
+ maxTokens: 32768,
1281
1305
  inputPricePerMTok: 0.06,
1282
1306
  outputPricePerMTok: 0.18,
1283
1307
  cacheReadPricePerMTok: 0.012,
1284
1308
  cacheWritePricePerMTok: 0,
1285
1309
  },
1286
- 'inclusionai/ling-3.0-flash-sante:free': {
1287
- contextWindow: 262144,
1288
- maxTokens: 32768,
1289
- inputPricePerMTok: 0,
1290
- outputPricePerMTok: 0,
1291
- cacheReadPricePerMTok: 0,
1292
- cacheWritePricePerMTok: 0,
1293
- },
1294
- 'inclusionai/ling-3.0-flash-vl': {
1295
- contextWindow: 262144,
1296
- maxTokens: 32768,
1297
- inputPricePerMTok: 0.021,
1298
- outputPricePerMTok: 0.0616,
1299
- cacheReadPricePerMTok: 0.0042,
1300
- cacheWritePricePerMTok: 0,
1301
- },
1302
- 'kwaipilot/kat-coder-pro-v2.5': {
1310
+ 'inclusionai/ling-3.1-flash': {
1303
1311
  contextWindow: 262144,
1304
1312
  maxTokens: 235929,
1305
- inputPricePerMTok: 0.74,
1306
- outputPricePerMTok: 2.96,
1307
- cacheReadPricePerMTok: 0.15,
1313
+ inputPricePerMTok: 0.075,
1314
+ outputPricePerMTok: 0.225,
1315
+ cacheReadPricePerMTok: 0.015,
1308
1316
  cacheWritePricePerMTok: 0,
1309
1317
  },
1310
1318
  'liquid/lfm-2.5-2.6b:free': {
@@ -1315,6 +1323,14 @@ export const MODEL_CATALOG = {
1315
1323
  cacheReadPricePerMTok: 0,
1316
1324
  cacheWritePricePerMTok: 0,
1317
1325
  },
1326
+ 'liquid/lfm-2.5-24b-a2b': {
1327
+ contextWindow: 128000,
1328
+ maxTokens: 8192,
1329
+ inputPricePerMTok: 0.05,
1330
+ outputPricePerMTok: 0.7,
1331
+ cacheReadPricePerMTok: 0.025,
1332
+ cacheWritePricePerMTok: 0,
1333
+ },
1318
1334
  'meituan/longcat-2.0': {
1319
1335
  contextWindow: 1048756,
1320
1336
  maxTokens: 262144,
@@ -1352,22 +1368,22 @@ export const MODEL_CATALOG = {
1352
1368
  maxTokens: 16384,
1353
1369
  inputPricePerMTok: 0.1875,
1354
1370
  outputPricePerMTok: 0.6525,
1355
- cacheReadPricePerMTok: 0,
1371
+ cacheReadPricePerMTok: 0.05,
1356
1372
  cacheWritePricePerMTok: 0,
1357
1373
  },
1358
1374
  'meta-llama/llama-4-scout': {
1359
- contextWindow: 327680,
1360
- maxTokens: 16384,
1361
- inputPricePerMTok: 0.1,
1362
- outputPricePerMTok: 0.3,
1375
+ contextWindow: 131072,
1376
+ maxTokens: 117964,
1377
+ inputPricePerMTok: 0.18,
1378
+ outputPricePerMTok: 0.59,
1363
1379
  cacheReadPricePerMTok: 0,
1364
1380
  cacheWritePricePerMTok: 0,
1365
1381
  },
1366
1382
  'meta/muse-glimmer-30b': {
1367
1383
  contextWindow: 131072,
1368
- maxTokens: 117964,
1369
- inputPricePerMTok: 0.35,
1370
- outputPricePerMTok: 1.5,
1384
+ maxTokens: 16384,
1385
+ inputPricePerMTok: 0.3,
1386
+ outputPricePerMTok: 1.2,
1371
1387
  cacheReadPricePerMTok: 0.04,
1372
1388
  cacheWritePricePerMTok: 0,
1373
1389
  },
@@ -1411,6 +1427,22 @@ export const MODEL_CATALOG = {
1411
1427
  cacheReadPricePerMTok: 0.002,
1412
1428
  cacheWritePricePerMTok: 0,
1413
1429
  },
1430
+ 'meta/muse-spark-open': {
1431
+ contextWindow: 1048576,
1432
+ maxTokens: 943718,
1433
+ inputPricePerMTok: 1.25,
1434
+ outputPricePerMTok: 4.25,
1435
+ cacheReadPricePerMTok: 0.15,
1436
+ cacheWritePricePerMTok: 0,
1437
+ },
1438
+ 'meta/muse-wonder': {
1439
+ contextWindow: 1048576,
1440
+ maxTokens: 943718,
1441
+ inputPricePerMTok: 4,
1442
+ outputPricePerMTok: 20,
1443
+ cacheReadPricePerMTok: 0.2,
1444
+ cacheWritePricePerMTok: 0,
1445
+ },
1414
1446
  'minimax/minimax-m1': {
1415
1447
  contextWindow: 1000000,
1416
1448
  maxTokens: 40000,
@@ -1420,10 +1452,10 @@ export const MODEL_CATALOG = {
1420
1452
  cacheWritePricePerMTok: 0,
1421
1453
  },
1422
1454
  'minimax/minimax-m2': {
1423
- contextWindow: 196608,
1424
- maxTokens: 176947,
1425
- inputPricePerMTok: 0.3,
1426
- outputPricePerMTok: 1.2,
1455
+ contextWindow: 204800,
1456
+ maxTokens: 131072,
1457
+ inputPricePerMTok: 0.255,
1458
+ outputPricePerMTok: 1.02,
1427
1459
  cacheReadPricePerMTok: 0,
1428
1460
  cacheWritePricePerMTok: 0,
1429
1461
  },
@@ -1436,19 +1468,19 @@ export const MODEL_CATALOG = {
1436
1468
  cacheWritePricePerMTok: 0,
1437
1469
  },
1438
1470
  'minimax/minimax-m2.5': {
1439
- contextWindow: 200000,
1440
- maxTokens: 128000,
1471
+ contextWindow: 198000,
1472
+ maxTokens: 32768,
1441
1473
  inputPricePerMTok: 0.27,
1442
- outputPricePerMTok: 1.08,
1443
- cacheReadPricePerMTok: 0.027,
1474
+ outputPricePerMTok: 0.95,
1475
+ cacheReadPricePerMTok: 0.03,
1444
1476
  cacheWritePricePerMTok: 0,
1445
1477
  },
1446
1478
  'minimax/minimax-m2.7': {
1447
- contextWindow: 196608,
1448
- maxTokens: 176947,
1449
- inputPricePerMTok: 0.21,
1450
- outputPricePerMTok: 0.84,
1451
- cacheReadPricePerMTok: 0.042,
1479
+ contextWindow: 204800,
1480
+ maxTokens: 131072,
1481
+ inputPricePerMTok: 0.3,
1482
+ outputPricePerMTok: 1.2,
1483
+ cacheReadPricePerMTok: 0.06,
1452
1484
  cacheWritePricePerMTok: 0,
1453
1485
  },
1454
1486
  'minimax/minimax-m3': {
@@ -1547,6 +1579,14 @@ export const MODEL_CATALOG = {
1547
1579
  cacheReadPricePerMTok: 0.025,
1548
1580
  cacheWritePricePerMTok: 0,
1549
1581
  },
1582
+ 'mistralai/mistral-large-4-0': {
1583
+ contextWindow: 1048576,
1584
+ maxTokens: 262144,
1585
+ inputPricePerMTok: 0.68,
1586
+ outputPricePerMTok: 2.09,
1587
+ cacheReadPricePerMTok: 0.07,
1588
+ cacheWritePricePerMTok: 0,
1589
+ },
1550
1590
  'mistralai/mistral-medium-3': {
1551
1591
  contextWindow: 131072,
1552
1592
  maxTokens: 104857,
@@ -1590,7 +1630,7 @@ export const MODEL_CATALOG = {
1590
1630
  'mistralai/mistral-nemo': {
1591
1631
  contextWindow: 131072,
1592
1632
  maxTokens: 16384,
1593
- inputPricePerMTok: 0.019,
1633
+ inputPricePerMTok: 0.029,
1594
1634
  outputPricePerMTok: 0.03,
1595
1635
  cacheReadPricePerMTok: 0,
1596
1636
  cacheWritePricePerMTok: 0,
@@ -1686,9 +1726,9 @@ export const MODEL_CATALOG = {
1686
1726
  'moonshotai/kimi-k2.6': {
1687
1727
  contextWindow: 262144,
1688
1728
  maxTokens: 235929,
1689
- inputPricePerMTok: 0.43415,
1690
- outputPricePerMTok: 1.828,
1691
- cacheReadPricePerMTok: 0.07312,
1729
+ inputPricePerMTok: 0.65,
1730
+ outputPricePerMTok: 3.41,
1731
+ cacheReadPricePerMTok: 0.15,
1692
1732
  cacheWritePricePerMTok: 0,
1693
1733
  },
1694
1734
  'moonshotai/kimi-k2.7-code': {
@@ -1702,9 +1742,9 @@ export const MODEL_CATALOG = {
1702
1742
  'moonshotai/kimi-k3': {
1703
1743
  contextWindow: 1048576,
1704
1744
  maxTokens: 131072,
1705
- inputPricePerMTok: 2.7,
1706
- outputPricePerMTok: 13.5,
1707
- cacheReadPricePerMTok: 0.27,
1745
+ inputPricePerMTok: 0.304,
1746
+ outputPricePerMTok: 11.936,
1747
+ cacheReadPricePerMTok: 0.21,
1708
1748
  cacheWritePricePerMTok: 0,
1709
1749
  },
1710
1750
  'moonshotai/kimi-k3:batch': {
@@ -1726,9 +1766,9 @@ export const MODEL_CATALOG = {
1726
1766
  'nvidia/nemotron-3-nano-30b-a3b': {
1727
1767
  contextWindow: 262144,
1728
1768
  maxTokens: 235929,
1729
- inputPricePerMTok: 0.05,
1730
- outputPricePerMTok: 0.2,
1731
- cacheReadPricePerMTok: 0.03,
1769
+ inputPricePerMTok: 0.06,
1770
+ outputPricePerMTok: 0.24,
1771
+ cacheReadPricePerMTok: 0,
1732
1772
  cacheWritePricePerMTok: 0,
1733
1773
  },
1734
1774
  'nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free': {
@@ -1756,11 +1796,11 @@ export const MODEL_CATALOG = {
1756
1796
  cacheWritePricePerMTok: 0,
1757
1797
  },
1758
1798
  'nvidia/nemotron-3-ultra-550b-a55b': {
1759
- contextWindow: 262144,
1760
- maxTokens: 16384,
1761
- inputPricePerMTok: 0.5,
1762
- outputPricePerMTok: 2.2,
1763
- cacheReadPricePerMTok: 0.1,
1799
+ contextWindow: 202800,
1800
+ maxTokens: 182520,
1801
+ inputPricePerMTok: 0.6,
1802
+ outputPricePerMTok: 2.4,
1803
+ cacheReadPricePerMTok: 0.12,
1764
1804
  cacheWritePricePerMTok: 0,
1765
1805
  },
1766
1806
  'nvidia/nemotron-3-ultra-550b-a55b:free': {
@@ -1773,10 +1813,10 @@ export const MODEL_CATALOG = {
1773
1813
  },
1774
1814
  'nvidia/nemotron-3.5-lightning': {
1775
1815
  contextWindow: 262144,
1776
- maxTokens: 32768,
1777
- inputPricePerMTok: 0.06,
1778
- outputPricePerMTok: 0.16,
1779
- cacheReadPricePerMTok: 0.03,
1816
+ maxTokens: 235929,
1817
+ inputPricePerMTok: 0.07,
1818
+ outputPricePerMTok: 0.2,
1819
+ cacheReadPricePerMTok: 0.04,
1780
1820
  cacheWritePricePerMTok: 0,
1781
1821
  },
1782
1822
  'nvidia/nemotron-3.5-lightning:free': {
@@ -1787,6 +1827,22 @@ export const MODEL_CATALOG = {
1787
1827
  cacheReadPricePerMTok: 0,
1788
1828
  cacheWritePricePerMTok: 0,
1789
1829
  },
1830
+ 'nvidia/nemotron-3.5-super-vl': {
1831
+ contextWindow: 262144,
1832
+ maxTokens: 235929,
1833
+ inputPricePerMTok: 0.15,
1834
+ outputPricePerMTok: 0.5,
1835
+ cacheReadPricePerMTok: 0.02,
1836
+ cacheWritePricePerMTok: 0,
1837
+ },
1838
+ 'nvidia/nemotron-3.5-super-vl:free': {
1839
+ contextWindow: 1000000,
1840
+ maxTokens: 131072,
1841
+ inputPricePerMTok: 0,
1842
+ outputPricePerMTok: 0,
1843
+ cacheReadPricePerMTok: 0,
1844
+ cacheWritePricePerMTok: 0,
1845
+ },
1790
1846
  'openai/gpt-3.5-turbo': {
1791
1847
  contextWindow: 16385,
1792
1848
  maxTokens: 4096,
@@ -2238,10 +2294,10 @@ export const MODEL_CATALOG = {
2238
2294
  'openai/gpt-5.6-sol': {
2239
2295
  contextWindow: 1050000,
2240
2296
  maxTokens: 128000,
2241
- inputPricePerMTok: 2,
2242
- outputPricePerMTok: 10,
2243
- cacheReadPricePerMTok: 0.2,
2244
- cacheWritePricePerMTok: 2.5,
2297
+ inputPricePerMTok: 4,
2298
+ outputPricePerMTok: 20,
2299
+ cacheReadPricePerMTok: 0.4,
2300
+ cacheWritePricePerMTok: 5,
2245
2301
  },
2246
2302
  'openai/gpt-5.6-sol-pro': {
2247
2303
  contextWindow: 1050000,
@@ -2254,18 +2310,18 @@ export const MODEL_CATALOG = {
2254
2310
  'openai/gpt-5.6-sol-pro:batch': {
2255
2311
  contextWindow: 1050000,
2256
2312
  maxTokens: 128000,
2257
- inputPricePerMTok: 1,
2258
- outputPricePerMTok: 5,
2259
- cacheReadPricePerMTok: 0.1,
2260
- cacheWritePricePerMTok: 1.25,
2313
+ inputPricePerMTok: 2,
2314
+ outputPricePerMTok: 10,
2315
+ cacheReadPricePerMTok: 0.2,
2316
+ cacheWritePricePerMTok: 2.5,
2261
2317
  },
2262
2318
  'openai/gpt-5.6-sol:batch': {
2263
2319
  contextWindow: 1050000,
2264
2320
  maxTokens: 128000,
2265
- inputPricePerMTok: 1,
2266
- outputPricePerMTok: 5,
2267
- cacheReadPricePerMTok: 0.1,
2268
- cacheWritePricePerMTok: 1.25,
2321
+ inputPricePerMTok: 2,
2322
+ outputPricePerMTok: 10,
2323
+ cacheReadPricePerMTok: 0.2,
2324
+ cacheWritePricePerMTok: 2.5,
2269
2325
  },
2270
2326
  'openai/gpt-5.6-terra': {
2271
2327
  contextWindow: 1050000,
@@ -2419,6 +2475,22 @@ export const MODEL_CATALOG = {
2419
2475
  cacheReadPricePerMTok: 0.1,
2420
2476
  cacheWritePricePerMTok: 2.5,
2421
2477
  },
2478
+ 'openai/gpt-6.1-sol-pro:batch': {
2479
+ contextWindow: 1050000,
2480
+ maxTokens: 128000,
2481
+ inputPricePerMTok: 1,
2482
+ outputPricePerMTok: 5,
2483
+ cacheReadPricePerMTok: 0.05,
2484
+ cacheWritePricePerMTok: 1.25,
2485
+ },
2486
+ 'openai/gpt-6.1-sol:batch': {
2487
+ contextWindow: 1050000,
2488
+ maxTokens: 128000,
2489
+ inputPricePerMTok: 1,
2490
+ outputPricePerMTok: 5,
2491
+ cacheReadPricePerMTok: 0.05,
2492
+ cacheWritePricePerMTok: 1.25,
2493
+ },
2422
2494
  'openai/gpt-audio': {
2423
2495
  contextWindow: 128000,
2424
2496
  maxTokens: 16384,
@@ -2445,10 +2517,10 @@ export const MODEL_CATALOG = {
2445
2517
  },
2446
2518
  'openai/gpt-oss-120b': {
2447
2519
  contextWindow: 131072,
2448
- maxTokens: 117964,
2449
- inputPricePerMTok: 0.037,
2450
- outputPricePerMTok: 0.17,
2451
- cacheReadPricePerMTok: 0,
2520
+ maxTokens: 65536,
2521
+ inputPricePerMTok: 0.15,
2522
+ outputPricePerMTok: 0.6,
2523
+ cacheReadPricePerMTok: 0.075,
2452
2524
  cacheWritePricePerMTok: 0,
2453
2525
  },
2454
2526
  'openai/gpt-oss-120b:batch': {
@@ -2563,8 +2635,22 @@ export const MODEL_CATALOG = {
2563
2635
  cacheReadPricePerMTok: 0.1375,
2564
2636
  cacheWritePricePerMTok: 0,
2565
2637
  },
2566
- 'openrouter/auto': { contextWindow: 2000000, maxTokens: 4096 },
2567
- 'openrouter/auto-beta': { contextWindow: 2000000, maxTokens: 4096 },
2638
+ 'openrouter/auto': {
2639
+ contextWindow: 2000000,
2640
+ maxTokens: 4096,
2641
+ inputPricePerMTok: 0,
2642
+ outputPricePerMTok: 0,
2643
+ cacheReadPricePerMTok: 0,
2644
+ cacheWritePricePerMTok: 0,
2645
+ },
2646
+ 'openrouter/auto-beta': {
2647
+ contextWindow: 2000000,
2648
+ maxTokens: 4096,
2649
+ inputPricePerMTok: 0,
2650
+ outputPricePerMTok: 0,
2651
+ cacheReadPricePerMTok: 0,
2652
+ cacheWritePricePerMTok: 0,
2653
+ },
2568
2654
  'openrouter/free': {
2569
2655
  contextWindow: 200000,
2570
2656
  maxTokens: 4096,
@@ -2581,9 +2667,17 @@ export const MODEL_CATALOG = {
2581
2667
  cacheReadPricePerMTok: 0,
2582
2668
  cacheWritePricePerMTok: 0,
2583
2669
  },
2584
- 'perceptron/perceptron-mk1.5': {
2585
- contextWindow: 36864,
2586
- maxTokens: 8192,
2670
+ 'openrouter/pareto-code': {
2671
+ contextWindow: 2000000,
2672
+ maxTokens: 4096,
2673
+ inputPricePerMTok: 0,
2674
+ outputPricePerMTok: 0,
2675
+ cacheReadPricePerMTok: 0,
2676
+ cacheWritePricePerMTok: 0,
2677
+ },
2678
+ 'perceptron/perceptron-mk1.5': {
2679
+ contextWindow: 36864,
2680
+ maxTokens: 8192,
2587
2681
  inputPricePerMTok: 0.15,
2588
2682
  outputPricePerMTok: 1.5,
2589
2683
  cacheReadPricePerMTok: 0,
@@ -2653,14 +2747,6 @@ export const MODEL_CATALOG = {
2653
2747
  cacheReadPricePerMTok: 0.052,
2654
2748
  cacheWritePricePerMTok: 0.325,
2655
2749
  },
2656
- 'qwen/qwen-plus-2025-07-28': {
2657
- contextWindow: 1000000,
2658
- maxTokens: 32768,
2659
- inputPricePerMTok: 0.26,
2660
- outputPricePerMTok: 0.78,
2661
- cacheReadPricePerMTok: 0,
2662
- cacheWritePricePerMTok: 0,
2663
- },
2664
2750
  'qwen/qwen3-14b': {
2665
2751
  contextWindow: 40960,
2666
2752
  maxTokens: 16384,
@@ -2669,27 +2755,19 @@ export const MODEL_CATALOG = {
2669
2755
  cacheReadPricePerMTok: 0,
2670
2756
  cacheWritePricePerMTok: 0,
2671
2757
  },
2672
- 'qwen/qwen3-235b-a22b': {
2673
- contextWindow: 131072,
2674
- maxTokens: 8192,
2675
- inputPricePerMTok: 0.455,
2676
- outputPricePerMTok: 1.82,
2677
- cacheReadPricePerMTok: 0,
2678
- cacheWritePricePerMTok: 0,
2679
- },
2680
2758
  'qwen/qwen3-235b-a22b-2507': {
2681
2759
  contextWindow: 262144,
2682
- maxTokens: 235929,
2683
- inputPricePerMTok: 0.0875,
2684
- outputPricePerMTok: 0.35,
2685
- cacheReadPricePerMTok: 0.0175,
2760
+ maxTokens: 16384,
2761
+ inputPricePerMTok: 0.09,
2762
+ outputPricePerMTok: 0.55,
2763
+ cacheReadPricePerMTok: 0,
2686
2764
  cacheWritePricePerMTok: 0,
2687
2765
  },
2688
2766
  'qwen/qwen3-235b-a22b-thinking-2507': {
2689
- contextWindow: 131072,
2690
- maxTokens: 117964,
2691
- inputPricePerMTok: 0.23,
2692
- outputPricePerMTok: 2.3,
2767
+ contextWindow: 128000,
2768
+ maxTokens: 16384,
2769
+ inputPricePerMTok: 0.45,
2770
+ outputPricePerMTok: 3.5,
2693
2771
  cacheReadPricePerMTok: 0,
2694
2772
  cacheWritePricePerMTok: 0,
2695
2773
  },
@@ -2702,18 +2780,10 @@ export const MODEL_CATALOG = {
2702
2780
  cacheWritePricePerMTok: 0,
2703
2781
  },
2704
2782
  'qwen/qwen3-30b-a3b-instruct-2507': {
2705
- contextWindow: 128000,
2706
- maxTokens: 32000,
2707
- inputPricePerMTok: 0.04815,
2708
- outputPricePerMTok: 0.19305,
2709
- cacheReadPricePerMTok: 0,
2710
- cacheWritePricePerMTok: 0,
2711
- },
2712
- 'qwen/qwen3-30b-a3b-thinking-2507': {
2713
- contextWindow: 81920,
2714
- maxTokens: 32768,
2715
- inputPricePerMTok: 0.2,
2716
- outputPricePerMTok: 2.4,
2783
+ contextWindow: 262144,
2784
+ maxTokens: 235929,
2785
+ inputPricePerMTok: 0.1,
2786
+ outputPricePerMTok: 0.3,
2717
2787
  cacheReadPricePerMTok: 0,
2718
2788
  cacheWritePricePerMTok: 0,
2719
2789
  },
@@ -2725,14 +2795,6 @@ export const MODEL_CATALOG = {
2725
2795
  cacheReadPricePerMTok: 0,
2726
2796
  cacheWritePricePerMTok: 0,
2727
2797
  },
2728
- 'qwen/qwen3-8b': {
2729
- contextWindow: 131072,
2730
- maxTokens: 8192,
2731
- inputPricePerMTok: 0.117,
2732
- outputPricePerMTok: 0.455,
2733
- cacheReadPricePerMTok: 0,
2734
- cacheWritePricePerMTok: 0,
2735
- },
2736
2798
  'qwen/qwen3-coder': {
2737
2799
  contextWindow: 262144,
2738
2800
  maxTokens: 65536,
@@ -2765,36 +2827,12 @@ export const MODEL_CATALOG = {
2765
2827
  cacheReadPricePerMTok: 0.07,
2766
2828
  cacheWritePricePerMTok: 0,
2767
2829
  },
2768
- 'qwen/qwen3-coder-plus': {
2769
- contextWindow: 1000000,
2770
- maxTokens: 65536,
2771
- inputPricePerMTok: 0.65,
2772
- outputPricePerMTok: 3.25,
2773
- cacheReadPricePerMTok: 0.13,
2774
- cacheWritePricePerMTok: 0.8125,
2775
- },
2776
- 'qwen/qwen3-max': {
2777
- contextWindow: 262144,
2778
- maxTokens: 65536,
2779
- inputPricePerMTok: 0.78,
2780
- outputPricePerMTok: 3.9,
2781
- cacheReadPricePerMTok: 0.156,
2782
- cacheWritePricePerMTok: 0.975,
2783
- },
2784
- 'qwen/qwen3-max-thinking': {
2785
- contextWindow: 262144,
2786
- maxTokens: 65536,
2787
- inputPricePerMTok: 0.78,
2788
- outputPricePerMTok: 3.9,
2789
- cacheReadPricePerMTok: 0,
2790
- cacheWritePricePerMTok: 0,
2791
- },
2792
2830
  'qwen/qwen3-next-80b-a3b-instruct': {
2793
2831
  contextWindow: 262144,
2794
- maxTokens: 235929,
2795
- inputPricePerMTok: 0.1,
2832
+ maxTokens: 16384,
2833
+ inputPricePerMTok: 0.09,
2796
2834
  outputPricePerMTok: 1.1,
2797
- cacheReadPricePerMTok: 0.07,
2835
+ cacheReadPricePerMTok: 0,
2798
2836
  cacheWritePricePerMTok: 0,
2799
2837
  },
2800
2838
  'qwen/qwen3-next-80b-a3b-thinking': {
@@ -2813,14 +2851,6 @@ export const MODEL_CATALOG = {
2813
2851
  cacheReadPricePerMTok: 0.1,
2814
2852
  cacheWritePricePerMTok: 0,
2815
2853
  },
2816
- 'qwen/qwen3-vl-235b-a22b-thinking': {
2817
- contextWindow: 131072,
2818
- maxTokens: 32768,
2819
- inputPricePerMTok: 0.4,
2820
- outputPricePerMTok: 4,
2821
- cacheReadPricePerMTok: 0,
2822
- cacheWritePricePerMTok: 0,
2823
- },
2824
2854
  'qwen/qwen3-vl-30b-a3b-instruct': {
2825
2855
  contextWindow: 262144,
2826
2856
  maxTokens: 16384,
@@ -2830,35 +2860,19 @@ export const MODEL_CATALOG = {
2830
2860
  cacheWritePricePerMTok: 0,
2831
2861
  },
2832
2862
  'qwen/qwen3-vl-30b-a3b-thinking': {
2833
- contextWindow: 131072,
2834
- maxTokens: 32768,
2835
- inputPricePerMTok: 0.2,
2836
- outputPricePerMTok: 2.4,
2837
- cacheReadPricePerMTok: 0,
2838
- cacheWritePricePerMTok: 0,
2839
- },
2840
- 'qwen/qwen3-vl-32b-instruct': {
2841
- contextWindow: 131072,
2842
- maxTokens: 32768,
2843
- inputPricePerMTok: 0.104,
2844
- outputPricePerMTok: 0.416,
2863
+ contextWindow: 262144,
2864
+ maxTokens: 235929,
2865
+ inputPricePerMTok: 0.29,
2866
+ outputPricePerMTok: 1,
2845
2867
  cacheReadPricePerMTok: 0,
2846
2868
  cacheWritePricePerMTok: 0,
2847
2869
  },
2848
2870
  'qwen/qwen3-vl-8b-instruct': {
2849
- contextWindow: 131072,
2850
- maxTokens: 32768,
2851
- inputPricePerMTok: 0.117,
2852
- outputPricePerMTok: 0.455,
2853
- cacheReadPricePerMTok: 0,
2854
- cacheWritePricePerMTok: 0,
2855
- },
2856
- 'qwen/qwen3-vl-8b-thinking': {
2857
- contextWindow: 131072,
2858
- maxTokens: 32768,
2859
- inputPricePerMTok: 0.18,
2860
- outputPricePerMTok: 2.1,
2861
- cacheReadPricePerMTok: 0,
2871
+ contextWindow: 262144,
2872
+ maxTokens: 235929,
2873
+ inputPricePerMTok: 0.25,
2874
+ outputPricePerMTok: 0.75,
2875
+ cacheReadPricePerMTok: 0.12,
2862
2876
  cacheWritePricePerMTok: 0,
2863
2877
  },
2864
2878
  'qwen/qwen3.5-122b-a10b': {
@@ -2871,15 +2885,15 @@ export const MODEL_CATALOG = {
2871
2885
  },
2872
2886
  'qwen/qwen3.5-27b': {
2873
2887
  contextWindow: 262144,
2874
- maxTokens: 65536,
2875
- inputPricePerMTok: 0.195,
2876
- outputPricePerMTok: 1.56,
2888
+ maxTokens: 81920,
2889
+ inputPricePerMTok: 0.26,
2890
+ outputPricePerMTok: 2.6,
2877
2891
  cacheReadPricePerMTok: 0,
2878
2892
  cacheWritePricePerMTok: 0,
2879
2893
  },
2880
2894
  'qwen/qwen3.5-35b-a3b': {
2881
- contextWindow: 262144,
2882
- maxTokens: 235929,
2895
+ contextWindow: 256000,
2896
+ maxTokens: 16384,
2883
2897
  inputPricePerMTok: 0.15,
2884
2898
  outputPricePerMTok: 1,
2885
2899
  cacheReadPricePerMTok: 0.05,
@@ -2888,9 +2902,9 @@ export const MODEL_CATALOG = {
2888
2902
  'qwen/qwen3.5-397b-a17b': {
2889
2903
  contextWindow: 262144,
2890
2904
  maxTokens: 235929,
2891
- inputPricePerMTok: 0.55,
2892
- outputPricePerMTok: 3.5,
2893
- cacheReadPricePerMTok: 0.225,
2905
+ inputPricePerMTok: 0.5,
2906
+ outputPricePerMTok: 3.6,
2907
+ cacheReadPricePerMTok: 0.3,
2894
2908
  cacheWritePricePerMTok: 0,
2895
2909
  },
2896
2910
  'qwen/qwen3.5-9b': {
@@ -2927,10 +2941,10 @@ export const MODEL_CATALOG = {
2927
2941
  },
2928
2942
  'qwen/qwen3.6-27b': {
2929
2943
  contextWindow: 262144,
2930
- maxTokens: 81920,
2931
- inputPricePerMTok: 0.32,
2932
- outputPricePerMTok: 3.2,
2933
- cacheReadPricePerMTok: 0,
2944
+ maxTokens: 65536,
2945
+ inputPricePerMTok: 0.25,
2946
+ outputPricePerMTok: 2,
2947
+ cacheReadPricePerMTok: 0.025,
2934
2948
  cacheWritePricePerMTok: 0,
2935
2949
  },
2936
2950
  'qwen/qwen3.6-35b-a3b': {
@@ -2949,14 +2963,6 @@ export const MODEL_CATALOG = {
2949
2963
  cacheReadPricePerMTok: 0,
2950
2964
  cacheWritePricePerMTok: 0.234375,
2951
2965
  },
2952
- 'qwen/qwen3.6-max-preview': {
2953
- contextWindow: 262144,
2954
- maxTokens: 65536,
2955
- inputPricePerMTok: 1.027,
2956
- outputPricePerMTok: 6.162,
2957
- cacheReadPricePerMTok: 0,
2958
- cacheWritePricePerMTok: 1.28375,
2959
- },
2960
2966
  'qwen/qwen3.6-plus': {
2961
2967
  contextWindow: 1000000,
2962
2968
  maxTokens: 65536,
@@ -2998,19 +3004,11 @@ export const MODEL_CATALOG = {
2998
3004
  cacheWritePricePerMTok: 0,
2999
3005
  },
3000
3006
  'qwen/qwen3.8-27b': {
3001
- contextWindow: 1000000,
3002
- maxTokens: 131072,
3003
- inputPricePerMTok: 0.42,
3004
- outputPricePerMTok: 3,
3005
- cacheReadPricePerMTok: 0.085,
3006
- cacheWritePricePerMTok: 0,
3007
- },
3008
- 'qwen/qwen3.8-27b:free': {
3009
3007
  contextWindow: 262144,
3010
3008
  maxTokens: 235929,
3011
- inputPricePerMTok: 0,
3012
- outputPricePerMTok: 0,
3013
- cacheReadPricePerMTok: 0,
3009
+ inputPricePerMTok: 0.24,
3010
+ outputPricePerMTok: 2.2,
3011
+ cacheReadPricePerMTok: 0.05,
3014
3012
  cacheWritePricePerMTok: 0,
3015
3013
  },
3016
3014
  'qwen/qwen3.8-flash': {
@@ -3019,7 +3017,7 @@ export const MODEL_CATALOG = {
3019
3017
  inputPricePerMTok: 0.15,
3020
3018
  outputPricePerMTok: 0.47,
3021
3019
  cacheReadPricePerMTok: 0.016,
3022
- cacheWritePricePerMTok: 0.2,
3020
+ cacheWritePricePerMTok: 0,
3023
3021
  },
3024
3022
  'qwen/qwen3.8-max-0902': {
3025
3023
  contextWindow: 1000000,
@@ -3027,7 +3025,7 @@ export const MODEL_CATALOG = {
3027
3025
  inputPricePerMTok: 2,
3028
3026
  outputPricePerMTok: 6,
3029
3027
  cacheReadPricePerMTok: 0.25,
3030
- cacheWritePricePerMTok: 2.5,
3028
+ cacheWritePricePerMTok: 0,
3031
3029
  },
3032
3030
  'qwen/qwen3.8-max-prime': {
3033
3031
  contextWindow: 1000000,
@@ -3093,22 +3091,6 @@ export const MODEL_CATALOG = {
3093
3091
  cacheReadPricePerMTok: 0.15,
3094
3092
  cacheWritePricePerMTok: 0,
3095
3093
  },
3096
- 'sao10k/l3.1-euryale-70b': {
3097
- contextWindow: 131072,
3098
- maxTokens: 16384,
3099
- inputPricePerMTok: 0.85,
3100
- outputPricePerMTok: 0.85,
3101
- cacheReadPricePerMTok: 0,
3102
- cacheWritePricePerMTok: 0,
3103
- },
3104
- 'stealth/space-bunny-alpha': {
3105
- contextWindow: 1000000,
3106
- maxTokens: 524288,
3107
- inputPricePerMTok: 0,
3108
- outputPricePerMTok: 0,
3109
- cacheReadPricePerMTok: 0,
3110
- cacheWritePricePerMTok: 0,
3111
- },
3112
3094
  'stepfun/step-3.5-flash': {
3113
3095
  contextWindow: 262144,
3114
3096
  maxTokens: 65536,
@@ -3125,6 +3107,14 @@ export const MODEL_CATALOG = {
3125
3107
  cacheReadPricePerMTok: 0.04,
3126
3108
  cacheWritePricePerMTok: 0,
3127
3109
  },
3110
+ 'stepfun/step-5-preview': {
3111
+ contextWindow: 1000000,
3112
+ maxTokens: 64000,
3113
+ inputPricePerMTok: 1,
3114
+ outputPricePerMTok: 2.7,
3115
+ cacheReadPricePerMTok: 0.1,
3116
+ cacheWritePricePerMTok: 0,
3117
+ },
3128
3118
  'tencent/hy3': {
3129
3119
  contextWindow: 262144,
3130
3120
  maxTokens: 128000,
@@ -3151,10 +3141,10 @@ export const MODEL_CATALOG = {
3151
3141
  },
3152
3142
  'thinkingmachines/inkling': {
3153
3143
  contextWindow: 524288,
3154
- maxTokens: 262144,
3155
- inputPricePerMTok: 0.95,
3144
+ maxTokens: 471859,
3145
+ inputPricePerMTok: 1,
3156
3146
  outputPricePerMTok: 4.05,
3157
- cacheReadPricePerMTok: 0.16,
3147
+ cacheReadPricePerMTok: 0.17,
3158
3148
  cacheWritePricePerMTok: 0,
3159
3149
  },
3160
3150
  'thinkingmachines/inkling-small': {
@@ -3181,8 +3171,15 @@ export const MODEL_CATALOG = {
3181
3171
  cacheReadPricePerMTok: 0,
3182
3172
  cacheWritePricePerMTok: 0,
3183
3173
  },
3184
- 'typesafe/jev-router': { contextWindow: 1000000, maxTokens: 4096 },
3185
- 'unbiased/pareto': {
3174
+ 'typesafe/jev-router': {
3175
+ contextWindow: 1000000,
3176
+ maxTokens: 4096,
3177
+ inputPricePerMTok: 0,
3178
+ outputPricePerMTok: 0,
3179
+ cacheReadPricePerMTok: 0,
3180
+ cacheWritePricePerMTok: 0,
3181
+ },
3182
+ 'unbiased/pareto-26.9': {
3186
3183
  contextWindow: 262144,
3187
3184
  maxTokens: 131072,
3188
3185
  inputPricePerMTok: 2.5,
@@ -3190,14 +3187,6 @@ export const MODEL_CATALOG = {
3190
3187
  cacheReadPricePerMTok: 0.25,
3191
3188
  cacheWritePricePerMTok: 0,
3192
3189
  },
3193
- 'unbiased/pareto-26.10-preview': {
3194
- contextWindow: 1048576,
3195
- maxTokens: 131072,
3196
- inputPricePerMTok: 0.8,
3197
- outputPricePerMTok: 3.2,
3198
- cacheReadPricePerMTok: 0.03,
3199
- cacheWritePricePerMTok: 0,
3200
- },
3201
3190
  'upstage/solar-mini4': {
3202
3191
  contextWindow: 524288,
3203
3192
  maxTokens: 131072,
@@ -3343,11 +3332,11 @@ export const MODEL_CATALOG = {
3343
3332
  cacheWritePricePerMTok: 0,
3344
3333
  },
3345
3334
  'z-ai/glm-4.6': {
3346
- contextWindow: 198000,
3347
- maxTokens: 16384,
3348
- inputPricePerMTok: 0.43,
3349
- outputPricePerMTok: 1.75,
3350
- cacheReadPricePerMTok: 0.08,
3335
+ contextWindow: 202752,
3336
+ maxTokens: 131072,
3337
+ inputPricePerMTok: 0.5,
3338
+ outputPricePerMTok: 2,
3339
+ cacheReadPricePerMTok: 0.1,
3351
3340
  cacheWritePricePerMTok: 0,
3352
3341
  },
3353
3342
  'z-ai/glm-4.6v': {
@@ -3355,7 +3344,7 @@ export const MODEL_CATALOG = {
3355
3344
  maxTokens: 32768,
3356
3345
  inputPricePerMTok: 0.3,
3357
3346
  outputPricePerMTok: 0.9,
3358
- cacheReadPricePerMTok: 0.05,
3347
+ cacheReadPricePerMTok: 0.055,
3359
3348
  cacheWritePricePerMTok: 0,
3360
3349
  },
3361
3350
  'z-ai/glm-4.7': {
@@ -3375,8 +3364,8 @@ export const MODEL_CATALOG = {
3375
3364
  cacheWritePricePerMTok: 0,
3376
3365
  },
3377
3366
  'z-ai/glm-5': {
3378
- contextWindow: 198000,
3379
- maxTokens: 128000,
3367
+ contextWindow: 202752,
3368
+ maxTokens: 131072,
3380
3369
  inputPricePerMTok: 0.6,
3381
3370
  outputPricePerMTok: 1.9,
3382
3371
  cacheReadPricePerMTok: 0.119,
@@ -3391,43 +3380,43 @@ export const MODEL_CATALOG = {
3391
3380
  cacheWritePricePerMTok: 0,
3392
3381
  },
3393
3382
  'z-ai/glm-5.1': {
3394
- contextWindow: 202752,
3395
- maxTokens: 131072,
3396
- inputPricePerMTok: 0.9646,
3397
- outputPricePerMTok: 3.0316,
3398
- cacheReadPricePerMTok: 0.17914,
3383
+ contextWindow: 200000,
3384
+ maxTokens: 128000,
3385
+ inputPricePerMTok: 0.966,
3386
+ outputPricePerMTok: 3.036,
3387
+ cacheReadPricePerMTok: 0.1794,
3399
3388
  cacheWritePricePerMTok: 0,
3400
3389
  },
3401
3390
  'z-ai/glm-5.2': {
3402
3391
  contextWindow: 1048576,
3403
3392
  maxTokens: 943718,
3404
- inputPricePerMTok: 0.41,
3405
- outputPricePerMTok: 3.99,
3406
- cacheReadPricePerMTok: 0.26,
3393
+ inputPricePerMTok: 0.037,
3394
+ outputPricePerMTok: 9,
3395
+ cacheReadPricePerMTok: 0.036,
3407
3396
  cacheWritePricePerMTok: 0,
3408
3397
  },
3409
3398
  'z-ai/glm-5.3': {
3410
3399
  contextWindow: 1048576,
3411
- maxTokens: 131072,
3412
- inputPricePerMTok: 1.4,
3413
- outputPricePerMTok: 4.4,
3414
- cacheReadPricePerMTok: 0.14,
3400
+ maxTokens: 943718,
3401
+ inputPricePerMTok: 0.079,
3402
+ outputPricePerMTok: 4.8,
3403
+ cacheReadPricePerMTok: 0.078,
3415
3404
  cacheWritePricePerMTok: 0,
3416
3405
  },
3417
3406
  'z-ai/glm-5.3-flash': {
3418
- contextWindow: 1048575,
3419
- maxTokens: 943717,
3420
- inputPricePerMTok: 0.15,
3421
- outputPricePerMTok: 0.5,
3422
- cacheReadPricePerMTok: 0.03,
3407
+ contextWindow: 1048576,
3408
+ maxTokens: 943718,
3409
+ inputPricePerMTok: 0.0171,
3410
+ outputPricePerMTok: 0.9,
3411
+ cacheReadPricePerMTok: 0.01125,
3423
3412
  cacheWritePricePerMTok: 0,
3424
3413
  },
3425
3414
  'z-ai/glm-5.3-flash:batch': {
3426
3415
  contextWindow: 1048576,
3427
3416
  maxTokens: 131072,
3428
- inputPricePerMTok: 0.06,
3429
- outputPricePerMTok: 0.2,
3430
- cacheReadPricePerMTok: 0.012,
3417
+ inputPricePerMTok: 0.05,
3418
+ outputPricePerMTok: 0.18,
3419
+ cacheReadPricePerMTok: 0.01,
3431
3420
  cacheWritePricePerMTok: 0,
3432
3421
  },
3433
3422
  'z-ai/glm-5.3-flashx': {
@@ -3471,12 +3460,12 @@ export const MODEL_CATALOG = {
3471
3460
  cacheWritePricePerMTok: 12.5,
3472
3461
  },
3473
3462
  '~anthropic/claude-haiku-latest': {
3474
- contextWindow: 200000,
3475
- maxTokens: 64000,
3476
- inputPricePerMTok: 1,
3477
- outputPricePerMTok: 5,
3478
- cacheReadPricePerMTok: 0.1,
3479
- cacheWritePricePerMTok: 1.25,
3463
+ contextWindow: 1000000,
3464
+ maxTokens: 128000,
3465
+ inputPricePerMTok: 0.1,
3466
+ outputPricePerMTok: 0.5,
3467
+ cacheReadPricePerMTok: 0.01,
3468
+ cacheWritePricePerMTok: 0.125,
3480
3469
  },
3481
3470
  '~anthropic/claude-opus-latest': {
3482
3471
  contextWindow: 1000000,
@@ -3491,31 +3480,31 @@ export const MODEL_CATALOG = {
3491
3480
  maxTokens: 128000,
3492
3481
  inputPricePerMTok: 2,
3493
3482
  outputPricePerMTok: 10,
3494
- cacheReadPricePerMTok: 0.2,
3483
+ cacheReadPricePerMTok: 0.1,
3495
3484
  cacheWritePricePerMTok: 2.5,
3496
3485
  },
3497
3486
  '~deepseek/deepseek-flash-latest': {
3498
3487
  contextWindow: 1048576,
3499
3488
  maxTokens: 943718,
3500
- inputPricePerMTok: 0.015,
3501
- outputPricePerMTok: 1.2,
3502
- cacheReadPricePerMTok: 0.002115,
3489
+ inputPricePerMTok: 0.036,
3490
+ outputPricePerMTok: 0.684,
3491
+ cacheReadPricePerMTok: 0.0054,
3503
3492
  cacheWritePricePerMTok: 0,
3504
3493
  },
3505
3494
  '~deepseek/deepseek-pro-latest': {
3506
3495
  contextWindow: 1048576,
3507
- maxTokens: 393216,
3508
- inputPricePerMTok: 0.132,
3509
- outputPricePerMTok: 0.396,
3510
- cacheReadPricePerMTok: 0.0042,
3496
+ maxTokens: 943718,
3497
+ inputPricePerMTok: 0.25,
3498
+ outputPricePerMTok: 5,
3499
+ cacheReadPricePerMTok: 0.249,
3511
3500
  cacheWritePricePerMTok: 0,
3512
3501
  },
3513
3502
  '~deepseek/deepseek-v4-flash-latest': {
3514
3503
  contextWindow: 1048576,
3515
3504
  maxTokens: 943718,
3516
- inputPricePerMTok: 0.012825,
3517
- outputPricePerMTok: 1.6,
3518
- cacheReadPricePerMTok: 0.012825,
3505
+ inputPricePerMTok: 0.00999,
3506
+ outputPricePerMTok: 1.152,
3507
+ cacheReadPricePerMTok: 0.00999,
3519
3508
  cacheWritePricePerMTok: 0,
3520
3509
  },
3521
3510
  '~google/gemini-flash-latest': {
@@ -3530,16 +3519,16 @@ export const MODEL_CATALOG = {
3530
3519
  contextWindow: 1048576,
3531
3520
  maxTokens: 65536,
3532
3521
  inputPricePerMTok: 2,
3533
- outputPricePerMTok: 12,
3534
- cacheReadPricePerMTok: 0.2,
3535
- cacheWritePricePerMTok: 0.375,
3522
+ outputPricePerMTok: 10,
3523
+ cacheReadPricePerMTok: 0.1,
3524
+ cacheWritePricePerMTok: 0.1875,
3536
3525
  },
3537
3526
  '~moonshotai/kimi-latest': {
3538
3527
  contextWindow: 1048576,
3539
3528
  maxTokens: 131072,
3540
- inputPricePerMTok: 1.39,
3541
- outputPricePerMTok: 13,
3542
- cacheReadPricePerMTok: 0.8,
3529
+ inputPricePerMTok: 0.294,
3530
+ outputPricePerMTok: 24,
3531
+ cacheReadPricePerMTok: 0.284,
3543
3532
  cacheWritePricePerMTok: 0,
3544
3533
  },
3545
3534
  '~openai/gpt-astra-latest': {
@@ -3582,6 +3571,14 @@ export const MODEL_CATALOG = {
3582
3571
  cacheReadPricePerMTok: 0.2,
3583
3572
  cacheWritePricePerMTok: 2.5,
3584
3573
  },
3574
+ '~unbiased/pareto-latest': {
3575
+ contextWindow: 262144,
3576
+ maxTokens: 131072,
3577
+ inputPricePerMTok: 2.5,
3578
+ outputPricePerMTok: 7.5,
3579
+ cacheReadPricePerMTok: 0.25,
3580
+ cacheWritePricePerMTok: 0,
3581
+ },
3585
3582
  '~x-ai/grok-latest': {
3586
3583
  contextWindow: 500000,
3587
3584
  maxTokens: 450000,
@@ -3593,7 +3590,7 @@ export const MODEL_CATALOG = {
3593
3590
  '~z-ai/glm-flash-latest': {
3594
3591
  contextWindow: 1048576,
3595
3592
  maxTokens: 943718,
3596
- inputPricePerMTok: 0.02625,
3593
+ inputPricePerMTok: 0.0171,
3597
3594
  outputPricePerMTok: 0.9,
3598
3595
  cacheReadPricePerMTok: 0.01125,
3599
3596
  cacheWritePricePerMTok: 0,
@@ -3601,9 +3598,9 @@ export const MODEL_CATALOG = {
3601
3598
  '~z-ai/glm-latest': {
3602
3599
  contextWindow: 1048576,
3603
3600
  maxTokens: 131072,
3604
- inputPricePerMTok: 0.12,
3605
- outputPricePerMTok: 4,
3606
- cacheReadPricePerMTok: 0.08,
3601
+ inputPricePerMTok: 0.0608,
3602
+ outputPricePerMTok: 4.4,
3603
+ cacheReadPricePerMTok: 0.0565,
3607
3604
  cacheWritePricePerMTok: 0,
3608
3605
  },
3609
3606
  },
@@ -3640,6 +3637,14 @@ export const MODEL_CATALOG = {
3640
3637
  cacheReadPricePerMTok: 0.1,
3641
3638
  cacheWritePricePerMTok: 1.25,
3642
3639
  },
3640
+ 'claude-haiku-5-5': {
3641
+ contextWindow: 1000000,
3642
+ maxTokens: 128000,
3643
+ inputPricePerMTok: 0.1,
3644
+ outputPricePerMTok: 0.5,
3645
+ cacheReadPricePerMTok: 0.01,
3646
+ cacheWritePricePerMTok: 0.125,
3647
+ },
3643
3648
  'claude-opus-4-5': {
3644
3649
  contextWindow: 200000,
3645
3650
  maxTokens: 64000,
@@ -3697,7 +3702,7 @@ export const MODEL_CATALOG = {
3697
3702
  cacheWritePricePerMTok: 5,
3698
3703
  },
3699
3704
  'claude-sonnet-4-5': {
3700
- contextWindow: 1000000,
3705
+ contextWindow: 200000,
3701
3706
  maxTokens: 64000,
3702
3707
  inputPricePerMTok: 3,
3703
3708
  outputPricePerMTok: 15,
@@ -3705,7 +3710,7 @@ export const MODEL_CATALOG = {
3705
3710
  cacheWritePricePerMTok: 3.75,
3706
3711
  },
3707
3712
  'claude-sonnet-4-5-20250929': {
3708
- contextWindow: 1000000,
3713
+ contextWindow: 200000,
3709
3714
  maxTokens: 64000,
3710
3715
  inputPricePerMTok: 3,
3711
3716
  outputPricePerMTok: 15,
@@ -3733,7 +3738,7 @@ export const MODEL_CATALOG = {
3733
3738
  maxTokens: 128000,
3734
3739
  inputPricePerMTok: 2,
3735
3740
  outputPricePerMTok: 10,
3736
- cacheReadPricePerMTok: 0.2,
3741
+ cacheReadPricePerMTok: 0.1,
3737
3742
  cacheWritePricePerMTok: 2.5,
3738
3743
  },
3739
3744
  },