@qduc/term2 0.25.0 → 0.26.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 (355) hide show
  1. package/dist/acp-v2/agent.d.ts +37 -0
  2. package/dist/acp-v2/agent.d.ts.map +1 -0
  3. package/dist/acp-v2/agent.js +171 -0
  4. package/dist/acp-v2/agent.js.map +1 -0
  5. package/dist/acp-v2/serve-args.d.ts +26 -0
  6. package/dist/acp-v2/serve-args.d.ts.map +1 -0
  7. package/dist/acp-v2/serve-args.js +29 -0
  8. package/dist/acp-v2/serve-args.js.map +1 -0
  9. package/dist/acp-v2/serve.d.ts +32 -0
  10. package/dist/acp-v2/serve.d.ts.map +1 -0
  11. package/dist/acp-v2/serve.js +232 -0
  12. package/dist/acp-v2/serve.js.map +1 -0
  13. package/dist/acp-v2/session-backend.d.ts +58 -0
  14. package/dist/acp-v2/session-backend.d.ts.map +1 -0
  15. package/dist/acp-v2/session-backend.js +554 -0
  16. package/dist/acp-v2/session-backend.js.map +1 -0
  17. package/dist/agent.d.ts +3 -0
  18. package/dist/agent.d.ts.map +1 -1
  19. package/dist/agent.js +3 -4
  20. package/dist/agent.js.map +1 -1
  21. package/dist/app.d.ts.map +1 -1
  22. package/dist/app.js +12 -6
  23. package/dist/app.js.map +1 -1
  24. package/dist/cli.js +24 -0
  25. package/dist/cli.js.map +1 -1
  26. package/dist/commands/retry-failed-turn-command.d.ts +1 -0
  27. package/dist/commands/retry-failed-turn-command.d.ts.map +1 -1
  28. package/dist/commands/retry-failed-turn-command.js +3 -0
  29. package/dist/commands/retry-failed-turn-command.js.map +1 -1
  30. package/dist/components/MarkdownRenderer.d.ts.map +1 -1
  31. package/dist/components/MarkdownRenderer.js +111 -19
  32. package/dist/components/MarkdownRenderer.js.map +1 -1
  33. package/dist/components/input/ModelMenuSession.d.ts.map +1 -1
  34. package/dist/components/input/ModelMenuSession.js +5 -2
  35. package/dist/components/input/ModelMenuSession.js.map +1 -1
  36. package/dist/components/input/SettingsValueMenuSession.d.ts.map +1 -1
  37. package/dist/components/input/SettingsValueMenuSession.js +55 -35
  38. package/dist/components/input/SettingsValueMenuSession.js.map +1 -1
  39. package/dist/components/input/SubagentPoolMenuSession.d.ts.map +1 -1
  40. package/dist/components/input/SubagentPoolMenuSession.js +3 -3
  41. package/dist/components/input/SubagentPoolMenuSession.js.map +1 -1
  42. package/dist/components/input/menu-bindings.d.ts +8 -4
  43. package/dist/components/input/menu-bindings.d.ts.map +1 -1
  44. package/dist/components/input/menu-bindings.js +14 -2
  45. package/dist/components/input/menu-bindings.js.map +1 -1
  46. package/dist/components/input/settings-intent-host.d.ts.map +1 -1
  47. package/dist/components/input/settings-intent-host.js +2 -1
  48. package/dist/components/input/settings-intent-host.js.map +1 -1
  49. package/dist/components/layout/Banner.d.ts.map +1 -1
  50. package/dist/components/layout/Banner.js +5 -1
  51. package/dist/components/layout/Banner.js.map +1 -1
  52. package/dist/components/menu/ModelSelectionMenu.d.ts +2 -1
  53. package/dist/components/menu/ModelSelectionMenu.d.ts.map +1 -1
  54. package/dist/components/menu/ModelSelectionMenu.js +19 -19
  55. package/dist/components/menu/ModelSelectionMenu.js.map +1 -1
  56. package/dist/components/menu/SettingsSelectionMenu.d.ts.map +1 -1
  57. package/dist/components/menu/SettingsSelectionMenu.js +32 -10
  58. package/dist/components/menu/SettingsSelectionMenu.js.map +1 -1
  59. package/dist/components/menu/SettingsValueSelectionMenu.d.ts +8 -1
  60. package/dist/components/menu/SettingsValueSelectionMenu.d.ts.map +1 -1
  61. package/dist/components/menu/SettingsValueSelectionMenu.js +52 -34
  62. package/dist/components/menu/SettingsValueSelectionMenu.js.map +1 -1
  63. package/dist/components/menu/StandaloneModelPickerApp.d.ts.map +1 -1
  64. package/dist/components/menu/StandaloneModelPickerApp.js +5 -2
  65. package/dist/components/menu/StandaloneModelPickerApp.js.map +1 -1
  66. package/dist/components/menu/settings-value-formatter.d.ts +11 -0
  67. package/dist/components/menu/settings-value-formatter.d.ts.map +1 -1
  68. package/dist/components/menu/settings-value-formatter.js +37 -2
  69. package/dist/components/menu/settings-value-formatter.js.map +1 -1
  70. package/dist/components/message/ChatMessage.js +2 -2
  71. package/dist/components/message/ChatMessage.js.map +1 -1
  72. package/dist/components/message/command-message-helpers.d.ts +7 -7
  73. package/dist/components/message/command-message-helpers.d.ts.map +1 -1
  74. package/dist/gateway/gateway.d.ts.map +1 -1
  75. package/dist/gateway/gateway.js +8 -1
  76. package/dist/gateway/gateway.js.map +1 -1
  77. package/dist/gateway/interaction-protocol.d.ts +2 -1
  78. package/dist/gateway/interaction-protocol.d.ts.map +1 -1
  79. package/dist/gateway/interaction-protocol.js +15 -14
  80. package/dist/gateway/interaction-protocol.js.map +1 -1
  81. package/dist/gateway/runtime-factory.d.ts.map +1 -1
  82. package/dist/gateway/runtime-factory.js +6 -2
  83. package/dist/gateway/runtime-factory.js.map +1 -1
  84. package/dist/hooks/settings-completion-config.d.ts +4 -0
  85. package/dist/hooks/settings-completion-config.d.ts.map +1 -1
  86. package/dist/hooks/settings-completion-config.js +1 -1
  87. package/dist/hooks/settings-completion-config.js.map +1 -1
  88. package/dist/hooks/use-app-commands.d.ts +3 -1
  89. package/dist/hooks/use-app-commands.d.ts.map +1 -1
  90. package/dist/hooks/use-app-commands.js +2 -2
  91. package/dist/hooks/use-app-commands.js.map +1 -1
  92. package/dist/hooks/use-conversation-messages.d.ts +1 -0
  93. package/dist/hooks/use-conversation-messages.d.ts.map +1 -1
  94. package/dist/hooks/use-conversation-messages.js +11 -0
  95. package/dist/hooks/use-conversation-messages.js.map +1 -1
  96. package/dist/hooks/use-conversation.d.ts +1 -0
  97. package/dist/hooks/use-conversation.d.ts.map +1 -1
  98. package/dist/hooks/use-conversation.js +2 -1
  99. package/dist/hooks/use-conversation.js.map +1 -1
  100. package/dist/hooks/use-model-selection.d.ts +25 -6
  101. package/dist/hooks/use-model-selection.d.ts.map +1 -1
  102. package/dist/hooks/use-model-selection.js +37 -18
  103. package/dist/hooks/use-model-selection.js.map +1 -1
  104. package/dist/hooks/use-profile-selection.d.ts.map +1 -1
  105. package/dist/hooks/use-profile-selection.js +1 -0
  106. package/dist/hooks/use-profile-selection.js.map +1 -1
  107. package/dist/hooks/use-provider-selection.js +4 -4
  108. package/dist/hooks/use-provider-selection.js.map +1 -1
  109. package/dist/hooks/use-settings-completion.d.ts +7 -1
  110. package/dist/hooks/use-settings-completion.d.ts.map +1 -1
  111. package/dist/hooks/use-settings-completion.js +21 -1
  112. package/dist/hooks/use-settings-completion.js.map +1 -1
  113. package/dist/hooks/use-settings-value-completion.d.ts.map +1 -1
  114. package/dist/hooks/use-settings-value-completion.js +7 -2
  115. package/dist/hooks/use-settings-value-completion.js.map +1 -1
  116. package/dist/hooks/use-standalone-model-picker.d.ts +9 -4
  117. package/dist/hooks/use-standalone-model-picker.d.ts.map +1 -1
  118. package/dist/hooks/use-standalone-model-picker.js +44 -18
  119. package/dist/hooks/use-standalone-model-picker.js.map +1 -1
  120. package/dist/hooks/use-subagent-pool-selection.d.ts +3 -2
  121. package/dist/hooks/use-subagent-pool-selection.d.ts.map +1 -1
  122. package/dist/hooks/use-subagent-pool-selection.js +11 -7
  123. package/dist/hooks/use-subagent-pool-selection.js.map +1 -1
  124. package/dist/lib/agent-client.d.ts +1 -0
  125. package/dist/lib/agent-client.d.ts.map +1 -1
  126. package/dist/lib/agent-client.js +38 -1
  127. package/dist/lib/agent-client.js.map +1 -1
  128. package/dist/lib/agent-configuration.d.ts +1 -0
  129. package/dist/lib/agent-configuration.d.ts.map +1 -1
  130. package/dist/lib/agent-configuration.js +3 -0
  131. package/dist/lib/agent-configuration.js.map +1 -1
  132. package/dist/lib/agent-factory.d.ts +1 -0
  133. package/dist/lib/agent-factory.d.ts.map +1 -1
  134. package/dist/lib/agent-factory.js +15 -6
  135. package/dist/lib/agent-factory.js.map +1 -1
  136. package/dist/non-interactive.d.ts.map +1 -1
  137. package/dist/non-interactive.js +2 -0
  138. package/dist/non-interactive.js.map +1 -1
  139. package/dist/prompts/fragments/gpt-6.md +13 -0
  140. package/dist/prompts/fragments/skill-instruction-conflicts.md +5 -0
  141. package/dist/prompts/gpt-5.6.md +1 -1
  142. package/dist/prompts/orchestrator-prompt.test.ts +5 -2
  143. package/dist/prompts/orchestrator.md +1 -1
  144. package/dist/prompts/pair-mode-stub.md +3 -0
  145. package/dist/prompts/pair-mode.md +29 -0
  146. package/dist/prompts/prompt-constructor.d.ts.map +1 -1
  147. package/dist/prompts/prompt-constructor.js +1 -0
  148. package/dist/prompts/prompt-constructor.js.map +1 -1
  149. package/dist/prompts/prompt-constructor.test.ts +28 -18
  150. package/dist/prompts/prompt-constructor.ts +1 -0
  151. package/dist/prompts/prompt-profiles.js +3 -3
  152. package/dist/prompts/prompt-profiles.js.map +1 -1
  153. package/dist/prompts/prompt-profiles.ts +3 -3
  154. package/dist/prompts/steering-notice.d.ts +3 -3
  155. package/dist/prompts/steering-notice.d.ts.map +1 -1
  156. package/dist/prompts/steering-notice.js +13 -5
  157. package/dist/prompts/steering-notice.js.map +1 -1
  158. package/dist/prompts/steering-notice.test.ts +36 -0
  159. package/dist/prompts/steering-notice.ts +17 -4
  160. package/dist/prompts/subagents/base-gpt-5-modern.md +1 -1
  161. package/dist/prompts/subagents/worker-prompt.test.ts +13 -1
  162. package/dist/prompts/subagents/worker.md +4 -2
  163. package/dist/providers/codex-responses-model.d.ts.map +1 -1
  164. package/dist/providers/codex-responses-model.js +14 -14
  165. package/dist/providers/codex-responses-model.js.map +1 -1
  166. package/dist/providers/fetch/logging-middleware.d.ts.map +1 -1
  167. package/dist/providers/fetch/logging-middleware.js +15 -5
  168. package/dist/providers/fetch/logging-middleware.js.map +1 -1
  169. package/dist/providers/model-catalog/catalog.generated.d.ts +505 -361
  170. package/dist/providers/model-catalog/catalog.generated.d.ts.map +1 -1
  171. package/dist/providers/model-catalog/catalog.generated.js +505 -361
  172. package/dist/providers/model-catalog/catalog.generated.js.map +1 -1
  173. package/dist/providers/openrouter-decisions.d.ts +8 -0
  174. package/dist/providers/openrouter-decisions.d.ts.map +1 -1
  175. package/dist/providers/openrouter-decisions.js +59 -12
  176. package/dist/providers/openrouter-decisions.js.map +1 -1
  177. package/dist/scripts/eval-gpt6-prompts.d.ts +2 -0
  178. package/dist/scripts/eval-gpt6-prompts.d.ts.map +1 -0
  179. package/dist/scripts/eval-gpt6-prompts.js +214 -0
  180. package/dist/scripts/eval-gpt6-prompts.js.map +1 -0
  181. package/dist/services/agent-runtime/application-run-loop.d.ts +4 -0
  182. package/dist/services/agent-runtime/application-run-loop.d.ts.map +1 -1
  183. package/dist/services/agent-runtime/application-run-loop.js +39 -3
  184. package/dist/services/agent-runtime/application-run-loop.js.map +1 -1
  185. package/dist/services/agent-runtime/context-compaction/local-context-compactor.d.ts.map +1 -1
  186. package/dist/services/agent-runtime/context-compaction/local-context-compactor.js +8 -3
  187. package/dist/services/agent-runtime/context-compaction/local-context-compactor.js.map +1 -1
  188. package/dist/services/approval/decision-shadow.d.ts +14 -3
  189. package/dist/services/approval/decision-shadow.d.ts.map +1 -1
  190. package/dist/services/approval/decision-shadow.js +11 -12
  191. package/dist/services/approval/decision-shadow.js.map +1 -1
  192. package/dist/services/approval/non-interactive-approval-policy.d.ts +0 -2
  193. package/dist/services/approval/non-interactive-approval-policy.d.ts.map +1 -1
  194. package/dist/services/approval/non-interactive-approval-policy.js +0 -2
  195. package/dist/services/approval/non-interactive-approval-policy.js.map +1 -1
  196. package/dist/services/approval/shell-auto-approval-evaluator.d.ts +1 -3
  197. package/dist/services/approval/shell-auto-approval-evaluator.d.ts.map +1 -1
  198. package/dist/services/approval/shell-auto-approval-evaluator.js +99 -77
  199. package/dist/services/approval/shell-auto-approval-evaluator.js.map +1 -1
  200. package/dist/services/conversation/conversation-events.d.ts +27 -5
  201. package/dist/services/conversation/conversation-events.d.ts.map +1 -1
  202. package/dist/services/conversation/conversation-events.js +1 -0
  203. package/dist/services/conversation/conversation-events.js.map +1 -1
  204. package/dist/services/conversation/conversation-orchestrator.d.ts.map +1 -1
  205. package/dist/services/conversation/conversation-orchestrator.js +10 -0
  206. package/dist/services/conversation/conversation-orchestrator.js.map +1 -1
  207. package/dist/services/conversation-agent-client.d.ts +2 -0
  208. package/dist/services/conversation-agent-client.d.ts.map +1 -1
  209. package/dist/services/decision-shadow/decision-client.d.ts +42 -0
  210. package/dist/services/decision-shadow/decision-client.d.ts.map +1 -0
  211. package/dist/services/decision-shadow/decision-client.js +94 -0
  212. package/dist/services/decision-shadow/decision-client.js.map +1 -0
  213. package/dist/services/decision-shadow/decision-shadow-observer.d.ts +16 -0
  214. package/dist/services/decision-shadow/decision-shadow-observer.d.ts.map +1 -0
  215. package/dist/services/decision-shadow/decision-shadow-observer.js +2 -0
  216. package/dist/services/decision-shadow/decision-shadow-observer.js.map +1 -0
  217. package/dist/services/decision-shadow/decision-shadow-pilot.d.ts +14 -0
  218. package/dist/services/decision-shadow/decision-shadow-pilot.d.ts.map +1 -0
  219. package/dist/services/decision-shadow/decision-shadow-pilot.js +166 -0
  220. package/dist/services/decision-shadow/decision-shadow-pilot.js.map +1 -0
  221. package/dist/services/decision-shadow/failure-observation.d.ts +10 -0
  222. package/dist/services/decision-shadow/failure-observation.d.ts.map +1 -0
  223. package/dist/services/decision-shadow/failure-observation.js +26 -0
  224. package/dist/services/decision-shadow/failure-observation.js.map +1 -0
  225. package/dist/services/decision-shadow/failure-triage.d.ts +33 -0
  226. package/dist/services/decision-shadow/failure-triage.d.ts.map +1 -0
  227. package/dist/services/decision-shadow/failure-triage.js +60 -0
  228. package/dist/services/decision-shadow/failure-triage.js.map +1 -0
  229. package/dist/services/decision-shadow/replay-evaluator.d.ts +44 -0
  230. package/dist/services/decision-shadow/replay-evaluator.d.ts.map +1 -0
  231. package/dist/services/decision-shadow/replay-evaluator.js +65 -0
  232. package/dist/services/decision-shadow/replay-evaluator.js.map +1 -0
  233. package/dist/services/decision-shadow/replay-fixtures.d.ts +8 -0
  234. package/dist/services/decision-shadow/replay-fixtures.d.ts.map +1 -0
  235. package/dist/services/decision-shadow/replay-fixtures.js +14 -0
  236. package/dist/services/decision-shadow/replay-fixtures.js.map +1 -0
  237. package/dist/services/memory/memory-capabilities.d.ts +6 -5
  238. package/dist/services/memory/memory-capabilities.d.ts.map +1 -1
  239. package/dist/services/memory/memory-capabilities.js +79 -7
  240. package/dist/services/memory/memory-capabilities.js.map +1 -1
  241. package/dist/services/mode-notices.d.ts.map +1 -1
  242. package/dist/services/mode-notices.js +5 -1
  243. package/dist/services/mode-notices.js.map +1 -1
  244. package/dist/services/models/decision-model-listing.d.ts +3 -3
  245. package/dist/services/models/decision-model-listing.d.ts.map +1 -1
  246. package/dist/services/models/decision-model-listing.js +3 -3
  247. package/dist/services/models/decision-model-listing.js.map +1 -1
  248. package/dist/services/models/model-nicknames.d.ts +38 -2
  249. package/dist/services/models/model-nicknames.d.ts.map +1 -1
  250. package/dist/services/models/model-nicknames.js +64 -8
  251. package/dist/services/models/model-nicknames.js.map +1 -1
  252. package/dist/services/models/model-tabs.d.ts +22 -0
  253. package/dist/services/models/model-tabs.d.ts.map +1 -0
  254. package/dist/services/models/model-tabs.js +38 -0
  255. package/dist/services/models/model-tabs.js.map +1 -0
  256. package/dist/services/profiles/labels.d.ts.map +1 -1
  257. package/dist/services/profiles/labels.js +2 -0
  258. package/dist/services/profiles/labels.js.map +1 -1
  259. package/dist/services/profiles/legacy-adapter.d.ts.map +1 -1
  260. package/dist/services/profiles/legacy-adapter.js +1 -0
  261. package/dist/services/profiles/legacy-adapter.js.map +1 -1
  262. package/dist/services/profiles/profile-transition.d.ts.map +1 -1
  263. package/dist/services/profiles/profile-transition.js +3 -0
  264. package/dist/services/profiles/profile-transition.js.map +1 -1
  265. package/dist/services/profiles/registry.d.ts.map +1 -1
  266. package/dist/services/profiles/registry.js +8 -0
  267. package/dist/services/profiles/registry.js.map +1 -1
  268. package/dist/services/session/continuation-recovery-handler.d.ts +4 -2
  269. package/dist/services/session/continuation-recovery-handler.d.ts.map +1 -1
  270. package/dist/services/session/continuation-recovery-handler.js +1 -1
  271. package/dist/services/session/continuation-recovery-handler.js.map +1 -1
  272. package/dist/services/session/initial-turn-recovery-handler.d.ts +4 -2
  273. package/dist/services/session/initial-turn-recovery-handler.d.ts.map +1 -1
  274. package/dist/services/session/initial-turn-recovery-handler.js +1 -1
  275. package/dist/services/session/initial-turn-recovery-handler.js.map +1 -1
  276. package/dist/services/session/pending-interaction-state.d.ts +2 -0
  277. package/dist/services/session/pending-interaction-state.d.ts.map +1 -1
  278. package/dist/services/session/pending-interaction-state.js +12 -0
  279. package/dist/services/session/pending-interaction-state.js.map +1 -1
  280. package/dist/services/session/session-composition.d.ts +18 -2
  281. package/dist/services/session/session-composition.d.ts.map +1 -1
  282. package/dist/services/session/session-composition.js +74 -46
  283. package/dist/services/session/session-composition.js.map +1 -1
  284. package/dist/services/session/turn-workflow.d.ts.map +1 -1
  285. package/dist/services/session/turn-workflow.js +2 -1
  286. package/dist/services/session/turn-workflow.js.map +1 -1
  287. package/dist/services/settings/ancillary-settings-migration.d.ts.map +1 -1
  288. package/dist/services/settings/ancillary-settings-migration.js +4 -0
  289. package/dist/services/settings/ancillary-settings-migration.js.map +1 -1
  290. package/dist/services/settings/settings-schema.d.ts +4 -4
  291. package/dist/services/settings/settings-schema.d.ts.map +1 -1
  292. package/dist/services/settings/settings-schema.js +17 -17
  293. package/dist/services/settings/settings-schema.js.map +1 -1
  294. package/dist/services/settings/settings-service.d.ts +4 -1
  295. package/dist/services/settings/settings-service.d.ts.map +1 -1
  296. package/dist/services/settings/settings-service.js +19 -24
  297. package/dist/services/settings/settings-service.js.map +1 -1
  298. package/dist/services/settings/settings-sources.d.ts +1 -1
  299. package/dist/services/settings/settings-sources.d.ts.map +1 -1
  300. package/dist/services/settings/settings-sources.js +1 -1
  301. package/dist/services/settings/settings-sources.js.map +1 -1
  302. package/dist/services/settings/settings-ui-metadata.d.ts +4 -0
  303. package/dist/services/settings/settings-ui-metadata.d.ts.map +1 -1
  304. package/dist/services/settings/settings-ui-metadata.js +22 -13
  305. package/dist/services/settings/settings-ui-metadata.js.map +1 -1
  306. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts +2 -1
  307. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts.map +1 -1
  308. package/dist/services/settings/test-helpers/settings-consumer-inventory.js +1 -1
  309. package/dist/services/settings/test-helpers/settings-consumer-inventory.js.map +1 -1
  310. package/dist/services/subagents/execution-runner.js +4 -4
  311. package/dist/services/subagents/execution-runner.js.map +1 -1
  312. package/dist/services/subagents/mentor-runner.d.ts.map +1 -1
  313. package/dist/services/subagents/mentor-runner.js +2 -2
  314. package/dist/services/subagents/mentor-runner.js.map +1 -1
  315. package/dist/services/subagents/role-loader.d.ts.map +1 -1
  316. package/dist/services/subagents/role-loader.js +1 -0
  317. package/dist/services/subagents/role-loader.js.map +1 -1
  318. package/dist/services/subagents/subagent-async-registry.d.ts.map +1 -1
  319. package/dist/services/subagents/subagent-async-registry.js +5 -6
  320. package/dist/services/subagents/subagent-async-registry.js.map +1 -1
  321. package/dist/services/subagents/subagent-notification-store.d.ts.map +1 -1
  322. package/dist/services/subagents/subagent-notification-store.js +1 -3
  323. package/dist/services/subagents/subagent-notification-store.js.map +1 -1
  324. package/dist/services/subagents/utils.d.ts +1 -1
  325. package/dist/services/subagents/utils.d.ts.map +1 -1
  326. package/dist/services/subagents/utils.js +4 -1
  327. package/dist/services/subagents/utils.js.map +1 -1
  328. package/dist/tools/system/run-code/run-code.d.ts.map +1 -1
  329. package/dist/tools/system/run-code/run-code.js +1 -0
  330. package/dist/tools/system/run-code/run-code.js.map +1 -1
  331. package/dist/tools/system/shell.d.ts +2 -0
  332. package/dist/tools/system/shell.d.ts.map +1 -1
  333. package/dist/tools/system/shell.js +9 -4
  334. package/dist/tools/system/shell.js.map +1 -1
  335. package/dist/types/message.d.ts +2 -0
  336. package/dist/types/message.d.ts.map +1 -1
  337. package/dist/types/message.js.map +1 -1
  338. package/dist/utils/clear-input-before-reset.d.ts +19 -0
  339. package/dist/utils/clear-input-before-reset.d.ts.map +1 -0
  340. package/dist/utils/clear-input-before-reset.js +20 -0
  341. package/dist/utils/clear-input-before-reset.js.map +1 -0
  342. package/dist/utils/conversation/conversation-event-handler.d.ts.map +1 -1
  343. package/dist/utils/conversation/conversation-event-handler.js +6 -1
  344. package/dist/utils/conversation/conversation-event-handler.js.map +1 -1
  345. package/dist/utils/settings-command.d.ts +2 -0
  346. package/dist/utils/settings-command.d.ts.map +1 -1
  347. package/dist/utils/settings-command.js +30 -1
  348. package/dist/utils/settings-command.js.map +1 -1
  349. package/dist/utils/shell/sandbox/denied-read-detector.d.ts.map +1 -1
  350. package/dist/utils/shell/sandbox/denied-read-detector.js +10 -6
  351. package/dist/utils/shell/sandbox/denied-read-detector.js.map +1 -1
  352. package/dist/utils/value-suggestions.js +3 -3
  353. package/dist/utils/value-suggestions.js.map +1 -1
  354. package/package.json +2 -1
  355. package/dist/prompts/fragments/gpt-6-astra.md +0 -13
@@ -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-09-05T11:58:56.761Z',
6
- source: 'pi-ai@0.85.1',
5
+ generatedAt: '2026-09-23T01:24:24.558Z',
6
+ source: 'pi-ai@0.87.1',
7
7
  };
8
8
  export const MODEL_CATALOG = {
9
9
  openai: {
@@ -263,6 +263,22 @@ export const MODEL_CATALOG = {
263
263
  cacheReadPricePerMTok: 1,
264
264
  cacheWritePricePerMTok: 12.5,
265
265
  },
266
+ 'gpt-6-luna': {
267
+ contextWindow: 272000,
268
+ maxTokens: 128000,
269
+ inputPricePerMTok: 0.1,
270
+ outputPricePerMTok: 0.5,
271
+ cacheReadPricePerMTok: 0.01,
272
+ cacheWritePricePerMTok: 0.125,
273
+ },
274
+ 'gpt-6-sol': {
275
+ contextWindow: 272000,
276
+ maxTokens: 128000,
277
+ inputPricePerMTok: 2,
278
+ outputPricePerMTok: 10,
279
+ cacheReadPricePerMTok: 0.2,
280
+ cacheWritePricePerMTok: 2.5,
281
+ },
266
282
  'gpt-realtime-2.1': {
267
283
  contextWindow: 128000,
268
284
  maxTokens: 32000,
@@ -329,22 +345,6 @@ export const MODEL_CATALOG = {
329
345
  cacheReadPricePerMTok: 0.175,
330
346
  cacheWritePricePerMTok: 0,
331
347
  },
332
- 'gpt-5.4': {
333
- contextWindow: 272000,
334
- maxTokens: 128000,
335
- inputPricePerMTok: 2.5,
336
- outputPricePerMTok: 15,
337
- cacheReadPricePerMTok: 0.25,
338
- cacheWritePricePerMTok: 0,
339
- },
340
- 'gpt-5.4-mini': {
341
- contextWindow: 272000,
342
- maxTokens: 128000,
343
- inputPricePerMTok: 0.75,
344
- outputPricePerMTok: 4.5,
345
- cacheReadPricePerMTok: 0.075,
346
- cacheWritePricePerMTok: 0,
347
- },
348
348
  'gpt-5.5': {
349
349
  contextWindow: 272000,
350
350
  maxTokens: 128000,
@@ -364,10 +364,10 @@ export const MODEL_CATALOG = {
364
364
  'gpt-5.6-sol': {
365
365
  contextWindow: 272000,
366
366
  maxTokens: 128000,
367
- inputPricePerMTok: 5,
368
- outputPricePerMTok: 30,
369
- cacheReadPricePerMTok: 0.5,
370
- cacheWritePricePerMTok: 6.25,
367
+ inputPricePerMTok: 4,
368
+ outputPricePerMTok: 20,
369
+ cacheReadPricePerMTok: 0.4,
370
+ cacheWritePricePerMTok: 5,
371
371
  },
372
372
  'gpt-5.6-terra': {
373
373
  contextWindow: 272000,
@@ -385,6 +385,22 @@ export const MODEL_CATALOG = {
385
385
  cacheReadPricePerMTok: 1,
386
386
  cacheWritePricePerMTok: 12.5,
387
387
  },
388
+ 'gpt-6-luna': {
389
+ contextWindow: 272000,
390
+ maxTokens: 128000,
391
+ inputPricePerMTok: 0.1,
392
+ outputPricePerMTok: 0.5,
393
+ cacheReadPricePerMTok: 0.01,
394
+ cacheWritePricePerMTok: 0.125,
395
+ },
396
+ 'gpt-6-sol': {
397
+ contextWindow: 272000,
398
+ maxTokens: 128000,
399
+ inputPricePerMTok: 2,
400
+ outputPricePerMTok: 10,
401
+ cacheReadPricePerMTok: 0.2,
402
+ cacheWritePricePerMTok: 2.5,
403
+ },
388
404
  },
389
405
  openrouter: {
390
406
  'aion-labs/aion-2.0': {
@@ -507,14 +523,6 @@ export const MODEL_CATALOG = {
507
523
  cacheReadPricePerMTok: 0.05,
508
524
  cacheWritePricePerMTok: 0.625,
509
525
  },
510
- 'anthropic/claude-opus-4': {
511
- contextWindow: 200000,
512
- maxTokens: 32000,
513
- inputPricePerMTok: 15,
514
- outputPricePerMTok: 75,
515
- cacheReadPricePerMTok: 1.5,
516
- cacheWritePricePerMTok: 18.75,
517
- },
518
526
  'anthropic/claude-opus-4.1': {
519
527
  contextWindow: 200000,
520
528
  maxTokens: 32000,
@@ -603,6 +611,22 @@ export const MODEL_CATALOG = {
603
611
  cacheReadPricePerMTok: 0.5,
604
612
  cacheWritePricePerMTok: 6.25,
605
613
  },
614
+ 'anthropic/claude-opus-5.5': {
615
+ contextWindow: 1000000,
616
+ maxTokens: 128000,
617
+ inputPricePerMTok: 4,
618
+ outputPricePerMTok: 20,
619
+ cacheReadPricePerMTok: 0.2,
620
+ cacheWritePricePerMTok: 5,
621
+ },
622
+ 'anthropic/claude-opus-5.5:batch': {
623
+ contextWindow: 1000000,
624
+ maxTokens: 128000,
625
+ inputPricePerMTok: 2,
626
+ outputPricePerMTok: 10,
627
+ cacheReadPricePerMTok: 0.1,
628
+ cacheWritePricePerMTok: 2.5,
629
+ },
606
630
  'anthropic/claude-opus-5:batch': {
607
631
  contextWindow: 1000000,
608
632
  maxTokens: 128000,
@@ -731,6 +755,14 @@ export const MODEL_CATALOG = {
731
755
  cacheReadPricePerMTok: 0,
732
756
  cacheWritePricePerMTok: 0,
733
757
  },
758
+ 'cohere/command-a-plus': {
759
+ contextWindow: 192000,
760
+ maxTokens: 64000,
761
+ inputPricePerMTok: 0.3,
762
+ outputPricePerMTok: 1.5,
763
+ cacheReadPricePerMTok: 0.15,
764
+ cacheWritePricePerMTok: 0,
765
+ },
734
766
  'cohere/command-r-08-2024': {
735
767
  contextWindow: 128000,
736
768
  maxTokens: 4000,
@@ -772,11 +804,11 @@ export const MODEL_CATALOG = {
772
804
  cacheWritePricePerMTok: 0,
773
805
  },
774
806
  'deepseek/deepseek-chat-v3.1': {
775
- contextWindow: 161000,
776
- maxTokens: 144900,
777
- inputPricePerMTok: 0.55,
778
- outputPricePerMTok: 1.65,
779
- cacheReadPricePerMTok: 0.55,
807
+ contextWindow: 163840,
808
+ maxTokens: 32768,
809
+ inputPricePerMTok: 0.25,
810
+ outputPricePerMTok: 0.95,
811
+ cacheReadPricePerMTok: 0.13,
780
812
  cacheWritePricePerMTok: 0,
781
813
  },
782
814
  'deepseek/deepseek-r1': {
@@ -822,30 +854,22 @@ export const MODEL_CATALOG = {
822
854
  'deepseek/deepseek-v4-flash': {
823
855
  contextWindow: 1024000,
824
856
  maxTokens: 384000,
825
- inputPricePerMTok: 0.08526,
826
- outputPricePerMTok: 0.17052,
827
- cacheReadPricePerMTok: 0.017052,
857
+ inputPricePerMTok: 0.088606,
858
+ outputPricePerMTok: 0.177212,
859
+ cacheReadPricePerMTok: 0.017721,
828
860
  cacheWritePricePerMTok: 0,
829
861
  },
830
862
  'deepseek/deepseek-v4-flash-0731': {
831
863
  contextWindow: 1048576,
832
864
  maxTokens: 943718,
833
- inputPricePerMTok: 0.065,
834
- outputPricePerMTok: 0.18,
865
+ inputPricePerMTok: 0.04,
866
+ outputPricePerMTok: 0.64,
835
867
  cacheReadPricePerMTok: 0.016,
836
868
  cacheWritePricePerMTok: 0,
837
869
  },
838
- 'deepseek/deepseek-v4-flash-0731:batch': {
839
- contextWindow: 1048576,
840
- maxTokens: 943718,
841
- inputPricePerMTok: 0.14,
842
- outputPricePerMTok: 0.28,
843
- cacheReadPricePerMTok: 0.03,
844
- cacheWritePricePerMTok: 0,
845
- },
846
870
  'deepseek/deepseek-v4-flash-vision-exp': {
847
871
  contextWindow: 1048576,
848
- maxTokens: 384000,
872
+ maxTokens: 943718,
849
873
  inputPricePerMTok: 0.22,
850
874
  outputPricePerMTok: 0.66,
851
875
  cacheReadPricePerMTok: 0.007,
@@ -854,25 +878,33 @@ export const MODEL_CATALOG = {
854
878
  'deepseek/deepseek-v4-pro': {
855
879
  contextWindow: 1024000,
856
880
  maxTokens: 384000,
857
- inputPricePerMTok: 0.890358,
858
- outputPricePerMTok: 1.780716,
859
- cacheReadPricePerMTok: 0.074196,
881
+ inputPricePerMTok: 0.95526,
882
+ outputPricePerMTok: 1.91052,
883
+ cacheReadPricePerMTok: 0.079605,
860
884
  cacheWritePricePerMTok: 0,
861
885
  },
862
886
  'deepseek/deepseek-v4-pro-0813': {
863
- contextWindow: 1024000,
887
+ contextWindow: 1048576,
864
888
  maxTokens: 384000,
865
- inputPricePerMTok: 1.12068,
866
- outputPricePerMTok: 3.36204,
867
- cacheReadPricePerMTok: 0.037356,
889
+ inputPricePerMTok: 1.32,
890
+ outputPricePerMTok: 3.96,
891
+ cacheReadPricePerMTok: 0.044,
868
892
  cacheWritePricePerMTok: 0,
869
893
  },
870
- 'deepseek/deepseek-v4-pro-0813:batch': {
894
+ 'deepseek/deepseek-v4.1-flash': {
871
895
  contextWindow: 1048576,
872
896
  maxTokens: 943718,
873
- inputPricePerMTok: 1.32,
874
- outputPricePerMTok: 3.96,
875
- cacheReadPricePerMTok: 0.13,
897
+ inputPricePerMTok: 0.1,
898
+ outputPricePerMTok: 0.5,
899
+ cacheReadPricePerMTok: 0.01,
900
+ cacheWritePricePerMTok: 0,
901
+ },
902
+ 'deepseek/deepseek-v4.1-flash:batch': {
903
+ contextWindow: 1048576,
904
+ maxTokens: 131072,
905
+ inputPricePerMTok: 0.112,
906
+ outputPricePerMTok: 0.336,
907
+ cacheReadPricePerMTok: 0.00336,
876
908
  cacheWritePricePerMTok: 0,
877
909
  },
878
910
  'dots-studio/dots-3-note-preview:free': {
@@ -931,14 +963,6 @@ export const MODEL_CATALOG = {
931
963
  cacheReadPricePerMTok: 0.125,
932
964
  cacheWritePricePerMTok: 0.375,
933
965
  },
934
- 'google/gemini-2.5-pro-preview-05-06': {
935
- contextWindow: 1048576,
936
- maxTokens: 65535,
937
- inputPricePerMTok: 1.25,
938
- outputPricePerMTok: 10,
939
- cacheReadPricePerMTok: 0.125,
940
- cacheWritePricePerMTok: 0.375,
941
- },
942
966
  'google/gemini-2.5-pro:batch': {
943
967
  contextWindow: 1048576,
944
968
  maxTokens: 65536,
@@ -1117,10 +1141,10 @@ export const MODEL_CATALOG = {
1117
1141
  },
1118
1142
  'google/gemma-4-26b-a4b-it': {
1119
1143
  contextWindow: 262144,
1120
- maxTokens: 16384,
1121
- inputPricePerMTok: 0.07,
1122
- outputPricePerMTok: 0.34,
1123
- cacheReadPricePerMTok: 0,
1144
+ maxTokens: 235929,
1145
+ inputPricePerMTok: 0.09,
1146
+ outputPricePerMTok: 0.3,
1147
+ cacheReadPricePerMTok: 0.05,
1124
1148
  cacheWritePricePerMTok: 0,
1125
1149
  },
1126
1150
  'google/gemma-4-26b-a4b-it:free': {
@@ -1139,14 +1163,6 @@ export const MODEL_CATALOG = {
1139
1163
  cacheReadPricePerMTok: 0.05,
1140
1164
  cacheWritePricePerMTok: 0,
1141
1165
  },
1142
- 'google/gemma-4-31b-it:batch': {
1143
- contextWindow: 262144,
1144
- maxTokens: 235929,
1145
- inputPricePerMTok: 0.39,
1146
- outputPricePerMTok: 0.97,
1147
- cacheReadPricePerMTok: 0,
1148
- cacheWritePricePerMTok: 0,
1149
- },
1150
1166
  'google/gemma-4-31b-it:free': {
1151
1167
  contextWindow: 262144,
1152
1168
  maxTokens: 32768,
@@ -1158,9 +1174,9 @@ export const MODEL_CATALOG = {
1158
1174
  'ibm-granite/granite-4.2-8b': {
1159
1175
  contextWindow: 131072,
1160
1176
  maxTokens: 117964,
1161
- inputPricePerMTok: 0.1,
1162
- outputPricePerMTok: 0.15,
1163
- cacheReadPricePerMTok: 0.05,
1177
+ inputPricePerMTok: 0.06,
1178
+ outputPricePerMTok: 0.25,
1179
+ cacheReadPricePerMTok: 0.015,
1164
1180
  cacheWritePricePerMTok: 0,
1165
1181
  },
1166
1182
  'inception/mercury-2': {
@@ -1171,7 +1187,7 @@ export const MODEL_CATALOG = {
1171
1187
  cacheReadPricePerMTok: 0.025,
1172
1188
  cacheWritePricePerMTok: 0,
1173
1189
  },
1174
- 'inception/mercury-2.5-preview': {
1190
+ 'inception/mercury-2.5': {
1175
1191
  contextWindow: 260000,
1176
1192
  maxTokens: 65536,
1177
1193
  inputPricePerMTok: 0.04,
@@ -1211,12 +1227,20 @@ export const MODEL_CATALOG = {
1211
1227
  cacheReadPricePerMTok: 0,
1212
1228
  cacheWritePricePerMTok: 0,
1213
1229
  },
1214
- 'kwaipilot/kat-coder-pro-v2': {
1230
+ 'inclusionai/ling-3.0-flash-vl': {
1231
+ contextWindow: 131072,
1232
+ maxTokens: 32768,
1233
+ inputPricePerMTok: 0.06,
1234
+ outputPricePerMTok: 0.18,
1235
+ cacheReadPricePerMTok: 0.012,
1236
+ cacheWritePricePerMTok: 0,
1237
+ },
1238
+ 'inclusionai/ling-3.0-flash-vl:free': {
1215
1239
  contextWindow: 262144,
1216
- maxTokens: 144000,
1217
- inputPricePerMTok: 0.3,
1218
- outputPricePerMTok: 1.2,
1219
- cacheReadPricePerMTok: 0.06,
1240
+ maxTokens: 32768,
1241
+ inputPricePerMTok: 0,
1242
+ outputPricePerMTok: 0,
1243
+ cacheReadPricePerMTok: 0,
1220
1244
  cacheWritePricePerMTok: 0,
1221
1245
  },
1222
1246
  'kwaipilot/kat-coder-pro-v2.5': {
@@ -1269,9 +1293,9 @@ export const MODEL_CATALOG = {
1269
1293
  },
1270
1294
  'meta-llama/llama-4-maverick': {
1271
1295
  contextWindow: 128000,
1272
- maxTokens: 115200,
1273
- inputPricePerMTok: 0.2,
1274
- outputPricePerMTok: 0.696,
1296
+ maxTokens: 16384,
1297
+ inputPricePerMTok: 0.1875,
1298
+ outputPricePerMTok: 0.6525,
1275
1299
  cacheReadPricePerMTok: 0,
1276
1300
  cacheWritePricePerMTok: 0,
1277
1301
  },
@@ -1285,17 +1309,9 @@ export const MODEL_CATALOG = {
1285
1309
  },
1286
1310
  'meta/muse-glimmer-30b': {
1287
1311
  contextWindow: 131072,
1288
- maxTokens: 117964,
1312
+ maxTokens: 16384,
1289
1313
  inputPricePerMTok: 0.3,
1290
- outputPricePerMTok: 1.1,
1291
- cacheReadPricePerMTok: 0.04,
1292
- cacheWritePricePerMTok: 0,
1293
- },
1294
- 'meta/muse-glimmer-30b:batch': {
1295
- contextWindow: 131072,
1296
- maxTokens: 117964,
1297
- inputPricePerMTok: 0.35,
1298
- outputPricePerMTok: 1.5,
1314
+ outputPricePerMTok: 1.2,
1299
1315
  cacheReadPricePerMTok: 0.04,
1300
1316
  cacheWritePricePerMTok: 0,
1301
1317
  },
@@ -1342,7 +1358,7 @@ export const MODEL_CATALOG = {
1342
1358
  'minimax/minimax-m1': {
1343
1359
  contextWindow: 1000000,
1344
1360
  maxTokens: 40000,
1345
- inputPricePerMTok: 0.55,
1361
+ inputPricePerMTok: 0.4,
1346
1362
  outputPricePerMTok: 2.2,
1347
1363
  cacheReadPricePerMTok: 0,
1348
1364
  cacheWritePricePerMTok: 0,
@@ -1379,14 +1395,6 @@ export const MODEL_CATALOG = {
1379
1395
  cacheReadPricePerMTok: 0.06,
1380
1396
  cacheWritePricePerMTok: 0,
1381
1397
  },
1382
- 'minimax/minimax-m2.7:free': {
1383
- contextWindow: 196608,
1384
- maxTokens: 176947,
1385
- inputPricePerMTok: 0,
1386
- outputPricePerMTok: 0,
1387
- cacheReadPricePerMTok: 0,
1388
- cacheWritePricePerMTok: 0,
1389
- },
1390
1398
  'minimax/minimax-m3': {
1391
1399
  contextWindow: 524288,
1392
1400
  maxTokens: 512000,
@@ -1395,22 +1403,6 @@ export const MODEL_CATALOG = {
1395
1403
  cacheReadPricePerMTok: 0.06,
1396
1404
  cacheWritePricePerMTok: 0,
1397
1405
  },
1398
- 'minimax/minimax-m3:batch': {
1399
- contextWindow: 524288,
1400
- maxTokens: 471859,
1401
- inputPricePerMTok: 0.3,
1402
- outputPricePerMTok: 1.2,
1403
- cacheReadPricePerMTok: 0.06,
1404
- cacheWritePricePerMTok: 0,
1405
- },
1406
- 'minimax/minimax-m3:free': {
1407
- contextWindow: 1048576,
1408
- maxTokens: 943718,
1409
- inputPricePerMTok: 0,
1410
- outputPricePerMTok: 0,
1411
- cacheReadPricePerMTok: 0,
1412
- cacheWritePricePerMTok: 0,
1413
- },
1414
1406
  'mistralai/codestral-2508': {
1415
1407
  contextWindow: 256000,
1416
1408
  maxTokens: 204800,
@@ -1419,6 +1411,14 @@ export const MODEL_CATALOG = {
1419
1411
  cacheReadPricePerMTok: 0.03,
1420
1412
  cacheWritePricePerMTok: 0,
1421
1413
  },
1414
+ 'mistralai/codestral-2508:batch': {
1415
+ contextWindow: 256000,
1416
+ maxTokens: 204800,
1417
+ inputPricePerMTok: 0.15,
1418
+ outputPricePerMTok: 0.45,
1419
+ cacheReadPricePerMTok: 0.015,
1420
+ cacheWritePricePerMTok: 0,
1421
+ },
1422
1422
  'mistralai/devstral-2512': {
1423
1423
  contextWindow: 262144,
1424
1424
  maxTokens: 209715,
@@ -1451,6 +1451,14 @@ export const MODEL_CATALOG = {
1451
1451
  cacheReadPricePerMTok: 0.015,
1452
1452
  cacheWritePricePerMTok: 0,
1453
1453
  },
1454
+ 'mistralai/ministral-8b-2512:batch': {
1455
+ contextWindow: 262144,
1456
+ maxTokens: 209715,
1457
+ inputPricePerMTok: 0.075,
1458
+ outputPricePerMTok: 0.075,
1459
+ cacheReadPricePerMTok: 0.0075,
1460
+ cacheWritePricePerMTok: 0,
1461
+ },
1454
1462
  'mistralai/mistral-large': {
1455
1463
  contextWindow: 128000,
1456
1464
  maxTokens: 102400,
@@ -1467,12 +1475,12 @@ export const MODEL_CATALOG = {
1467
1475
  cacheReadPricePerMTok: 0.2,
1468
1476
  cacheWritePricePerMTok: 0,
1469
1477
  },
1470
- 'mistralai/mistral-large-2512': {
1478
+ 'mistralai/mistral-large-2512:batch': {
1471
1479
  contextWindow: 262144,
1472
1480
  maxTokens: 209715,
1473
- inputPricePerMTok: 0.5,
1474
- outputPricePerMTok: 1.5,
1475
- cacheReadPricePerMTok: 0.05,
1481
+ inputPricePerMTok: 0.25,
1482
+ outputPricePerMTok: 0.75,
1483
+ cacheReadPricePerMTok: 0.025,
1476
1484
  cacheWritePricePerMTok: 0,
1477
1485
  },
1478
1486
  'mistralai/mistral-medium-3': {
@@ -1492,8 +1500,8 @@ export const MODEL_CATALOG = {
1492
1500
  cacheWritePricePerMTok: 0,
1493
1501
  },
1494
1502
  'mistralai/mistral-medium-3-5:batch': {
1495
- contextWindow: 32768,
1496
- maxTokens: 26214,
1503
+ contextWindow: 262144,
1504
+ maxTokens: 209715,
1497
1505
  inputPricePerMTok: 0.75,
1498
1506
  outputPricePerMTok: 3.75,
1499
1507
  cacheReadPricePerMTok: 0,
@@ -1507,6 +1515,14 @@ export const MODEL_CATALOG = {
1507
1515
  cacheReadPricePerMTok: 0.04,
1508
1516
  cacheWritePricePerMTok: 0,
1509
1517
  },
1518
+ 'mistralai/mistral-medium-3.1:batch': {
1519
+ contextWindow: 131072,
1520
+ maxTokens: 104857,
1521
+ inputPricePerMTok: 0.2,
1522
+ outputPricePerMTok: 1,
1523
+ cacheReadPricePerMTok: 0.02,
1524
+ cacheWritePricePerMTok: 0,
1525
+ },
1510
1526
  'mistralai/mistral-nemo': {
1511
1527
  contextWindow: 131072,
1512
1528
  maxTokens: 16384,
@@ -1531,11 +1547,27 @@ export const MODEL_CATALOG = {
1531
1547
  cacheReadPricePerMTok: 0.015,
1532
1548
  cacheWritePricePerMTok: 0,
1533
1549
  },
1534
- 'mistralai/mistral-small-3.2-24b-instruct': {
1550
+ 'mistralai/mistral-small-2603:batch': {
1551
+ contextWindow: 262144,
1552
+ maxTokens: 209715,
1553
+ inputPricePerMTok: 0.075,
1554
+ outputPricePerMTok: 0.3,
1555
+ cacheReadPricePerMTok: 0.0075,
1556
+ cacheWritePricePerMTok: 0,
1557
+ },
1558
+ 'mistralai/mistral-small-3.1-24b-instruct': {
1535
1559
  contextWindow: 128000,
1560
+ maxTokens: 102400,
1561
+ inputPricePerMTok: 0.351,
1562
+ outputPricePerMTok: 0.555,
1563
+ cacheReadPricePerMTok: 0,
1564
+ cacheWritePricePerMTok: 0,
1565
+ },
1566
+ 'mistralai/mistral-small-3.2-24b-instruct': {
1567
+ contextWindow: 256000,
1536
1568
  maxTokens: 16384,
1537
- inputPricePerMTok: 0.075,
1538
- outputPricePerMTok: 0.2,
1569
+ inputPricePerMTok: 0.09375,
1570
+ outputPricePerMTok: 0.25,
1539
1571
  cacheReadPricePerMTok: 0,
1540
1572
  cacheWritePricePerMTok: 0,
1541
1573
  },
@@ -1557,7 +1589,7 @@ export const MODEL_CATALOG = {
1557
1589
  },
1558
1590
  'moonshotai/kimi-k2': {
1559
1591
  contextWindow: 131072,
1560
- maxTokens: 100352,
1592
+ maxTokens: 98304,
1561
1593
  inputPricePerMTok: 0.57,
1562
1594
  outputPricePerMTok: 2.3,
1563
1595
  cacheReadPricePerMTok: 0,
@@ -1565,7 +1597,7 @@ export const MODEL_CATALOG = {
1565
1597
  },
1566
1598
  'moonshotai/kimi-k2-0905': {
1567
1599
  contextWindow: 262144,
1568
- maxTokens: 100352,
1600
+ maxTokens: 98304,
1569
1601
  inputPricePerMTok: 0.6,
1570
1602
  outputPricePerMTok: 2.5,
1571
1603
  cacheReadPricePerMTok: 0,
@@ -1573,7 +1605,7 @@ export const MODEL_CATALOG = {
1573
1605
  },
1574
1606
  'moonshotai/kimi-k2-thinking': {
1575
1607
  contextWindow: 262144,
1576
- maxTokens: 100352,
1608
+ maxTokens: 98304,
1577
1609
  inputPricePerMTok: 0.6,
1578
1610
  outputPricePerMTok: 2.5,
1579
1611
  cacheReadPricePerMTok: 0.15,
@@ -1598,8 +1630,8 @@ export const MODEL_CATALOG = {
1598
1630
  'moonshotai/kimi-k2.7-code': {
1599
1631
  contextWindow: 262144,
1600
1632
  maxTokens: 235929,
1601
- inputPricePerMTok: 0.66,
1602
- outputPricePerMTok: 3.4,
1633
+ inputPricePerMTok: 0.7062,
1634
+ outputPricePerMTok: 3.3,
1603
1635
  cacheReadPricePerMTok: 0.18,
1604
1636
  cacheWritePricePerMTok: 0,
1605
1637
  },
@@ -1613,26 +1645,34 @@ export const MODEL_CATALOG = {
1613
1645
  },
1614
1646
  'moonshotai/kimi-k3:batch': {
1615
1647
  contextWindow: 1048576,
1616
- maxTokens: 943718,
1617
- inputPricePerMTok: 3,
1618
- outputPricePerMTok: 15,
1619
- cacheReadPricePerMTok: 0.3,
1648
+ maxTokens: 16384,
1649
+ inputPricePerMTok: 2.28,
1650
+ outputPricePerMTok: 11.4,
1651
+ cacheReadPricePerMTok: 0.228,
1620
1652
  cacheWritePricePerMTok: 0,
1621
1653
  },
1622
- 'nex-agi/nex-n2-mini': {
1654
+ 'nex-agi/nex-n2.5-mini:free': {
1623
1655
  contextWindow: 262144,
1624
1656
  maxTokens: 235929,
1625
- inputPricePerMTok: 0.025,
1626
- outputPricePerMTok: 0.1,
1627
- cacheReadPricePerMTok: 0.0025,
1657
+ inputPricePerMTok: 0,
1658
+ outputPricePerMTok: 0,
1659
+ cacheReadPricePerMTok: 0,
1628
1660
  cacheWritePricePerMTok: 0,
1629
1661
  },
1630
- 'nex-agi/nex-n2-pro': {
1662
+ 'nex-agi/nex-n2.5-pro': {
1631
1663
  contextWindow: 262144,
1632
1664
  maxTokens: 235929,
1633
- inputPricePerMTok: 0.25,
1634
- outputPricePerMTok: 1,
1635
- cacheReadPricePerMTok: 0.025,
1665
+ inputPricePerMTok: 0.075,
1666
+ outputPricePerMTok: 0.25,
1667
+ cacheReadPricePerMTok: 0.015,
1668
+ cacheWritePricePerMTok: 0,
1669
+ },
1670
+ 'nex-agi/nex-n2.5-pro:free': {
1671
+ contextWindow: 262144,
1672
+ maxTokens: 235929,
1673
+ inputPricePerMTok: 0,
1674
+ outputPricePerMTok: 0,
1675
+ cacheReadPricePerMTok: 0,
1636
1676
  cacheWritePricePerMTok: 0,
1637
1677
  },
1638
1678
  'nvidia/nemotron-3-nano-30b-a3b': {
@@ -1653,9 +1693,9 @@ export const MODEL_CATALOG = {
1653
1693
  },
1654
1694
  'nvidia/nemotron-3-super-120b-a12b': {
1655
1695
  contextWindow: 262144,
1656
- maxTokens: 16384,
1657
- inputPricePerMTok: 0.085,
1658
- outputPricePerMTok: 0.4,
1696
+ maxTokens: 235929,
1697
+ inputPricePerMTok: 0.08,
1698
+ outputPricePerMTok: 0.45,
1659
1699
  cacheReadPricePerMTok: 0,
1660
1700
  cacheWritePricePerMTok: 0,
1661
1701
  },
@@ -1668,11 +1708,11 @@ export const MODEL_CATALOG = {
1668
1708
  cacheWritePricePerMTok: 0,
1669
1709
  },
1670
1710
  'nvidia/nemotron-3-ultra-550b-a55b': {
1671
- contextWindow: 256000,
1672
- maxTokens: 32768,
1673
- inputPricePerMTok: 0.625,
1674
- outputPricePerMTok: 3.125,
1675
- cacheReadPricePerMTok: 0.1875,
1711
+ contextWindow: 202800,
1712
+ maxTokens: 182520,
1713
+ inputPricePerMTok: 0.6,
1714
+ outputPricePerMTok: 2.4,
1715
+ cacheReadPricePerMTok: 0.12,
1676
1716
  cacheWritePricePerMTok: 0,
1677
1717
  },
1678
1718
  'nvidia/nemotron-3-ultra-550b-a55b:free': {
@@ -1685,8 +1725,8 @@ export const MODEL_CATALOG = {
1685
1725
  },
1686
1726
  'nvidia/nemotron-3.5-lightning': {
1687
1727
  contextWindow: 262144,
1688
- maxTokens: 131072,
1689
- inputPricePerMTok: 0.08,
1728
+ maxTokens: 235929,
1729
+ inputPricePerMTok: 0.07,
1690
1730
  outputPricePerMTok: 0.2,
1691
1731
  cacheReadPricePerMTok: 0.04,
1692
1732
  cacheWritePricePerMTok: 0,
@@ -1747,14 +1787,6 @@ export const MODEL_CATALOG = {
1747
1787
  cacheReadPricePerMTok: 0,
1748
1788
  cacheWritePricePerMTok: 0,
1749
1789
  },
1750
- 'openai/gpt-4-turbo-preview': {
1751
- contextWindow: 128000,
1752
- maxTokens: 4096,
1753
- inputPricePerMTok: 10,
1754
- outputPricePerMTok: 30,
1755
- cacheReadPricePerMTok: 0,
1756
- cacheWritePricePerMTok: 0,
1757
- },
1758
1790
  'openai/gpt-4-turbo:batch': {
1759
1791
  contextWindow: 128000,
1760
1792
  maxTokens: 4096,
@@ -2259,6 +2291,70 @@ export const MODEL_CATALOG = {
2259
2291
  cacheReadPricePerMTok: 0.5,
2260
2292
  cacheWritePricePerMTok: 6.25,
2261
2293
  },
2294
+ 'openai/gpt-6-luna': {
2295
+ contextWindow: 1050000,
2296
+ maxTokens: 128000,
2297
+ inputPricePerMTok: 0.1,
2298
+ outputPricePerMTok: 0.5,
2299
+ cacheReadPricePerMTok: 0.01,
2300
+ cacheWritePricePerMTok: 0.125,
2301
+ },
2302
+ 'openai/gpt-6-luna-pro': {
2303
+ contextWindow: 1050000,
2304
+ maxTokens: 128000,
2305
+ inputPricePerMTok: 0.1,
2306
+ outputPricePerMTok: 0.5,
2307
+ cacheReadPricePerMTok: 0.01,
2308
+ cacheWritePricePerMTok: 0.125,
2309
+ },
2310
+ 'openai/gpt-6-luna-pro:batch': {
2311
+ contextWindow: 1050000,
2312
+ maxTokens: 128000,
2313
+ inputPricePerMTok: 0.05,
2314
+ outputPricePerMTok: 0.25,
2315
+ cacheReadPricePerMTok: 0.005,
2316
+ cacheWritePricePerMTok: 0.0625,
2317
+ },
2318
+ 'openai/gpt-6-luna:batch': {
2319
+ contextWindow: 1050000,
2320
+ maxTokens: 128000,
2321
+ inputPricePerMTok: 0.05,
2322
+ outputPricePerMTok: 0.25,
2323
+ cacheReadPricePerMTok: 0.005,
2324
+ cacheWritePricePerMTok: 0.0625,
2325
+ },
2326
+ 'openai/gpt-6-sol': {
2327
+ contextWindow: 1050000,
2328
+ maxTokens: 128000,
2329
+ inputPricePerMTok: 2,
2330
+ outputPricePerMTok: 10,
2331
+ cacheReadPricePerMTok: 0.2,
2332
+ cacheWritePricePerMTok: 2.5,
2333
+ },
2334
+ 'openai/gpt-6-sol-pro': {
2335
+ contextWindow: 1050000,
2336
+ maxTokens: 128000,
2337
+ inputPricePerMTok: 2,
2338
+ outputPricePerMTok: 10,
2339
+ cacheReadPricePerMTok: 0.2,
2340
+ cacheWritePricePerMTok: 2.5,
2341
+ },
2342
+ 'openai/gpt-6-sol-pro:batch': {
2343
+ contextWindow: 1050000,
2344
+ maxTokens: 128000,
2345
+ inputPricePerMTok: 1,
2346
+ outputPricePerMTok: 5,
2347
+ cacheReadPricePerMTok: 0.1,
2348
+ cacheWritePricePerMTok: 1.25,
2349
+ },
2350
+ 'openai/gpt-6-sol:batch': {
2351
+ contextWindow: 1050000,
2352
+ maxTokens: 128000,
2353
+ inputPricePerMTok: 1,
2354
+ outputPricePerMTok: 5,
2355
+ cacheReadPricePerMTok: 0.1,
2356
+ cacheWritePricePerMTok: 1.25,
2357
+ },
2262
2358
  'openai/gpt-audio': {
2263
2359
  contextWindow: 128000,
2264
2360
  maxTokens: 16384,
@@ -2285,26 +2381,26 @@ export const MODEL_CATALOG = {
2285
2381
  },
2286
2382
  'openai/gpt-oss-120b': {
2287
2383
  contextWindow: 131072,
2288
- maxTokens: 117964,
2289
- inputPricePerMTok: 0.037,
2290
- outputPricePerMTok: 0.17,
2291
- cacheReadPricePerMTok: 0,
2384
+ maxTokens: 65536,
2385
+ inputPricePerMTok: 0.15,
2386
+ outputPricePerMTok: 0.6,
2387
+ cacheReadPricePerMTok: 0.075,
2292
2388
  cacheWritePricePerMTok: 0,
2293
2389
  },
2294
- 'openai/gpt-oss-120b:batch': {
2390
+ 'openai/gpt-oss-20b': {
2295
2391
  contextWindow: 131072,
2296
- maxTokens: 117964,
2297
- inputPricePerMTok: 0.15,
2298
- outputPricePerMTok: 0.6,
2392
+ maxTokens: 32768,
2393
+ inputPricePerMTok: 0.018,
2394
+ outputPricePerMTok: 0.09,
2299
2395
  cacheReadPricePerMTok: 0,
2300
2396
  cacheWritePricePerMTok: 0,
2301
2397
  },
2302
- 'openai/gpt-oss-20b': {
2398
+ 'openai/gpt-oss-20b:batch': {
2303
2399
  contextWindow: 131072,
2304
2400
  maxTokens: 117964,
2305
- inputPricePerMTok: 0.03,
2306
- outputPricePerMTok: 0.13,
2307
- cacheReadPricePerMTok: 0.03,
2401
+ inputPricePerMTok: 0.024,
2402
+ outputPricePerMTok: 0.112,
2403
+ cacheReadPricePerMTok: 0,
2308
2404
  cacheWritePricePerMTok: 0,
2309
2405
  },
2310
2406
  'openai/gpt-oss-safeguard-20b': {
@@ -2459,6 +2555,14 @@ export const MODEL_CATALOG = {
2459
2555
  cacheReadPricePerMTok: 0,
2460
2556
  cacheWritePricePerMTok: 0,
2461
2557
  },
2558
+ 'prism-ml/ternary-bonsai-2-27b': {
2559
+ contextWindow: 262144,
2560
+ maxTokens: 32768,
2561
+ inputPricePerMTok: 0.075,
2562
+ outputPricePerMTok: 0.5,
2563
+ cacheReadPricePerMTok: 0,
2564
+ cacheWritePricePerMTok: 0,
2565
+ },
2462
2566
  'qwen/qwen-2.5-72b-instruct': {
2463
2567
  contextWindow: 32768,
2464
2568
  maxTokens: 16384,
@@ -2509,10 +2613,10 @@ export const MODEL_CATALOG = {
2509
2613
  },
2510
2614
  'qwen/qwen3-235b-a22b-2507': {
2511
2615
  contextWindow: 262144,
2512
- maxTokens: 16384,
2513
- inputPricePerMTok: 0.09,
2514
- outputPricePerMTok: 0.55,
2515
- cacheReadPricePerMTok: 0,
2616
+ maxTokens: 235929,
2617
+ inputPricePerMTok: 0.0875,
2618
+ outputPricePerMTok: 0.35,
2619
+ cacheReadPricePerMTok: 0.0175,
2516
2620
  cacheWritePricePerMTok: 0,
2517
2621
  },
2518
2622
  'qwen/qwen3-235b-a22b-thinking-2507': {
@@ -2621,15 +2725,15 @@ export const MODEL_CATALOG = {
2621
2725
  },
2622
2726
  'qwen/qwen3-next-80b-a3b-instruct': {
2623
2727
  contextWindow: 262144,
2624
- maxTokens: 235929,
2625
- inputPricePerMTok: 0.1,
2728
+ maxTokens: 16384,
2729
+ inputPricePerMTok: 0.09,
2626
2730
  outputPricePerMTok: 1.1,
2627
- cacheReadPricePerMTok: 0.07,
2731
+ cacheReadPricePerMTok: 0,
2628
2732
  cacheWritePricePerMTok: 0,
2629
2733
  },
2630
2734
  'qwen/qwen3-next-80b-a3b-thinking': {
2631
- contextWindow: 131072,
2632
- maxTokens: 32768,
2735
+ contextWindow: 262144,
2736
+ maxTokens: 235929,
2633
2737
  inputPricePerMTok: 0.15,
2634
2738
  outputPricePerMTok: 1.2,
2635
2739
  cacheReadPricePerMTok: 0,
@@ -2652,10 +2756,10 @@ export const MODEL_CATALOG = {
2652
2756
  cacheWritePricePerMTok: 0,
2653
2757
  },
2654
2758
  'qwen/qwen3-vl-30b-a3b-instruct': {
2655
- contextWindow: 262144,
2656
- maxTokens: 16384,
2657
- inputPricePerMTok: 0.15,
2658
- outputPricePerMTok: 0.6,
2759
+ contextWindow: 131072,
2760
+ maxTokens: 32768,
2761
+ inputPricePerMTok: 0.13,
2762
+ outputPricePerMTok: 0.52,
2659
2763
  cacheReadPricePerMTok: 0,
2660
2764
  cacheWritePricePerMTok: 0,
2661
2765
  },
@@ -2693,9 +2797,9 @@ export const MODEL_CATALOG = {
2693
2797
  },
2694
2798
  'qwen/qwen3.5-122b-a10b': {
2695
2799
  contextWindow: 262144,
2696
- maxTokens: 81920,
2697
- inputPricePerMTok: 0.29,
2698
- outputPricePerMTok: 2.4,
2800
+ maxTokens: 65536,
2801
+ inputPricePerMTok: 0.26,
2802
+ outputPricePerMTok: 2.08,
2699
2803
  cacheReadPricePerMTok: 0,
2700
2804
  cacheWritePricePerMTok: 0,
2701
2805
  },
@@ -2708,11 +2812,11 @@ export const MODEL_CATALOG = {
2708
2812
  cacheWritePricePerMTok: 0,
2709
2813
  },
2710
2814
  'qwen/qwen3.5-35b-a3b': {
2711
- contextWindow: 262144,
2815
+ contextWindow: 256000,
2712
2816
  maxTokens: 16384,
2713
- inputPricePerMTok: 0.08,
2714
- outputPricePerMTok: 0.75,
2715
- cacheReadPricePerMTok: 0,
2817
+ inputPricePerMTok: 0.3125,
2818
+ outputPricePerMTok: 1.25,
2819
+ cacheReadPricePerMTok: 0.15625,
2716
2820
  cacheWritePricePerMTok: 0,
2717
2821
  },
2718
2822
  'qwen/qwen3.5-397b-a17b': {
@@ -2724,21 +2828,13 @@ export const MODEL_CATALOG = {
2724
2828
  cacheWritePricePerMTok: 0,
2725
2829
  },
2726
2830
  'qwen/qwen3.5-9b': {
2727
- contextWindow: 262144,
2728
- maxTokens: 235929,
2831
+ contextWindow: 256000,
2832
+ maxTokens: 32768,
2729
2833
  inputPricePerMTok: 0.1,
2730
2834
  outputPricePerMTok: 0.15,
2731
2835
  cacheReadPricePerMTok: 0,
2732
2836
  cacheWritePricePerMTok: 0,
2733
2837
  },
2734
- 'qwen/qwen3.5-9b:batch': {
2735
- contextWindow: 262144,
2736
- maxTokens: 235929,
2737
- inputPricePerMTok: 0.17,
2738
- outputPricePerMTok: 0.25,
2739
- cacheReadPricePerMTok: 0,
2740
- cacheWritePricePerMTok: 0,
2741
- },
2742
2838
  'qwen/qwen3.5-flash-02-23': {
2743
2839
  contextWindow: 1000000,
2744
2840
  maxTokens: 65536,
@@ -2765,17 +2861,17 @@ export const MODEL_CATALOG = {
2765
2861
  },
2766
2862
  'qwen/qwen3.6-27b': {
2767
2863
  contextWindow: 262144,
2768
- maxTokens: 65536,
2769
- inputPricePerMTok: 0.3,
2770
- outputPricePerMTok: 2,
2771
- cacheReadPricePerMTok: 0.03,
2864
+ maxTokens: 262140,
2865
+ inputPricePerMTok: 0.32,
2866
+ outputPricePerMTok: 2.7,
2867
+ cacheReadPricePerMTok: 0.15,
2772
2868
  cacheWritePricePerMTok: 0,
2773
2869
  },
2774
2870
  'qwen/qwen3.6-35b-a3b': {
2775
2871
  contextWindow: 262144,
2776
2872
  maxTokens: 235929,
2777
- inputPricePerMTok: 0.1,
2778
- outputPricePerMTok: 0.9,
2873
+ inputPricePerMTok: 0.15,
2874
+ outputPricePerMTok: 1,
2779
2875
  cacheReadPricePerMTok: 0.05,
2780
2876
  cacheWritePricePerMTok: 0,
2781
2877
  },
@@ -2829,15 +2925,7 @@ export const MODEL_CATALOG = {
2829
2925
  },
2830
2926
  'qwen/qwen3.8-2.4t-a95b': {
2831
2927
  contextWindow: 1000000,
2832
- maxTokens: 262144,
2833
- inputPricePerMTok: 2,
2834
- outputPricePerMTok: 6,
2835
- cacheReadPricePerMTok: 0.25,
2836
- cacheWritePricePerMTok: 0,
2837
- },
2838
- 'qwen/qwen3.8-2.4t-a95b:batch': {
2839
- contextWindow: 1010000,
2840
- maxTokens: 909000,
2928
+ maxTokens: 131072,
2841
2929
  inputPricePerMTok: 2,
2842
2930
  outputPricePerMTok: 6,
2843
2931
  cacheReadPricePerMTok: 0.25,
@@ -2851,6 +2939,14 @@ export const MODEL_CATALOG = {
2851
2939
  cacheReadPricePerMTok: 0.085,
2852
2940
  cacheWritePricePerMTok: 0,
2853
2941
  },
2942
+ 'qwen/qwen3.8-27b:free': {
2943
+ contextWindow: 262144,
2944
+ maxTokens: 235929,
2945
+ inputPricePerMTok: 0,
2946
+ outputPricePerMTok: 0,
2947
+ cacheReadPricePerMTok: 0,
2948
+ cacheWritePricePerMTok: 0,
2949
+ },
2854
2950
  'qwen/qwen3.8-flash': {
2855
2951
  contextWindow: 1000000,
2856
2952
  maxTokens: 131072,
@@ -2867,6 +2963,14 @@ export const MODEL_CATALOG = {
2867
2963
  cacheReadPricePerMTok: 0.25,
2868
2964
  cacheWritePricePerMTok: 2.5,
2869
2965
  },
2966
+ 'qwen/qwen3.8-omni-flash': {
2967
+ contextWindow: 1000000,
2968
+ maxTokens: 131072,
2969
+ inputPricePerMTok: 0.15,
2970
+ outputPricePerMTok: 0.47,
2971
+ cacheReadPricePerMTok: 0.016,
2972
+ cacheWritePricePerMTok: 0,
2973
+ },
2870
2974
  'rekaai/reka-edge': {
2871
2975
  contextWindow: 16384,
2872
2976
  maxTokens: 14745,
@@ -2883,6 +2987,14 @@ export const MODEL_CATALOG = {
2883
2987
  cacheReadPricePerMTok: 0,
2884
2988
  cacheWritePricePerMTok: 0,
2885
2989
  },
2990
+ 'sakana/fugu-max': {
2991
+ contextWindow: 1000000,
2992
+ maxTokens: 128000,
2993
+ inputPricePerMTok: 2,
2994
+ outputPricePerMTok: 6,
2995
+ cacheReadPricePerMTok: 0.25,
2996
+ cacheWritePricePerMTok: 0,
2997
+ },
2886
2998
  'sakana/fugu-ultra': {
2887
2999
  contextWindow: 1000000,
2888
3000
  maxTokens: 128000,
@@ -2891,6 +3003,14 @@ export const MODEL_CATALOG = {
2891
3003
  cacheReadPricePerMTok: 0.5,
2892
3004
  cacheWritePricePerMTok: 0,
2893
3005
  },
3006
+ 'sakana/fugu-ultra-v2': {
3007
+ contextWindow: 1000000,
3008
+ maxTokens: 128000,
3009
+ inputPricePerMTok: 5,
3010
+ outputPricePerMTok: 30,
3011
+ cacheReadPricePerMTok: 0.5,
3012
+ cacheWritePricePerMTok: 0,
3013
+ },
2894
3014
  'sakana/sakana-namazu': {
2895
3015
  contextWindow: 262144,
2896
3016
  maxTokens: 65536,
@@ -2947,14 +3067,6 @@ export const MODEL_CATALOG = {
2947
3067
  cacheReadPricePerMTok: 0.042,
2948
3068
  cacheWritePricePerMTok: 0,
2949
3069
  },
2950
- 'thedrummer/unslopnemo-12b': {
2951
- contextWindow: 32768,
2952
- maxTokens: 26214,
2953
- inputPricePerMTok: 0.4,
2954
- outputPricePerMTok: 0.4,
2955
- cacheReadPricePerMTok: 0,
2956
- cacheWritePricePerMTok: 0,
2957
- },
2958
3070
  'thinkingmachines/inkling': {
2959
3071
  contextWindow: 524288,
2960
3072
  maxTokens: 471859,
@@ -2971,14 +3083,6 @@ export const MODEL_CATALOG = {
2971
3083
  cacheReadPricePerMTok: 0.1,
2972
3084
  cacheWritePricePerMTok: 0,
2973
3085
  },
2974
- 'thinkingmachines/inkling-small:batch': {
2975
- contextWindow: 524288,
2976
- maxTokens: 471859,
2977
- inputPricePerMTok: 0.5,
2978
- outputPricePerMTok: 1.2,
2979
- cacheReadPricePerMTok: 0.1,
2980
- cacheWritePricePerMTok: 0,
2981
- },
2982
3086
  'thinkingmachines/inkling-small:free': {
2983
3087
  contextWindow: 1048576,
2984
3088
  maxTokens: 262144,
@@ -2987,14 +3091,6 @@ export const MODEL_CATALOG = {
2987
3091
  cacheReadPricePerMTok: 0,
2988
3092
  cacheWritePricePerMTok: 0,
2989
3093
  },
2990
- 'thinkingmachines/inkling:batch': {
2991
- contextWindow: 524288,
2992
- maxTokens: 471859,
2993
- inputPricePerMTok: 1,
2994
- outputPricePerMTok: 4.05,
2995
- cacheReadPricePerMTok: 0.17,
2996
- cacheWritePricePerMTok: 0,
2997
- },
2998
3094
  'thinkingmachines/inkling:free': {
2999
3095
  contextWindow: 1048576,
3000
3096
  maxTokens: 262144,
@@ -3003,6 +3099,14 @@ export const MODEL_CATALOG = {
3003
3099
  cacheReadPricePerMTok: 0,
3004
3100
  cacheWritePricePerMTok: 0,
3005
3101
  },
3102
+ 'unbiased/pareto': {
3103
+ contextWindow: 262144,
3104
+ maxTokens: 131072,
3105
+ inputPricePerMTok: 2.5,
3106
+ outputPricePerMTok: 7.5,
3107
+ cacheReadPricePerMTok: 0.25,
3108
+ cacheWritePricePerMTok: 0,
3109
+ },
3006
3110
  'upstage/solar-pro-3': {
3007
3111
  contextWindow: 131072,
3008
3112
  maxTokens: 117964,
@@ -3014,9 +3118,9 @@ export const MODEL_CATALOG = {
3014
3118
  'upstage/solar-pro4': {
3015
3119
  contextWindow: 524288,
3016
3120
  maxTokens: 131072,
3017
- inputPricePerMTok: 0.03,
3018
- outputPricePerMTok: 0.12,
3019
- cacheReadPricePerMTok: 0.006,
3121
+ inputPricePerMTok: 0.09,
3122
+ outputPricePerMTok: 0.36,
3123
+ cacheReadPricePerMTok: 0.018,
3020
3124
  cacheWritePricePerMTok: 0,
3021
3125
  },
3022
3126
  'x-ai/grok-4.20': {
@@ -3059,6 +3163,14 @@ export const MODEL_CATALOG = {
3059
3163
  cacheReadPricePerMTok: 0.5,
3060
3164
  cacheWritePricePerMTok: 0,
3061
3165
  },
3166
+ 'x-ai/grok-4.7': {
3167
+ contextWindow: 500000,
3168
+ maxTokens: 450000,
3169
+ inputPricePerMTok: 1.6,
3170
+ outputPricePerMTok: 4.8,
3171
+ cacheReadPricePerMTok: 0.4,
3172
+ cacheWritePricePerMTok: 0,
3173
+ },
3062
3174
  'x-ai/grok-build-0.1': {
3063
3175
  contextWindow: 256000,
3064
3176
  maxTokens: 230400,
@@ -3083,6 +3195,30 @@ export const MODEL_CATALOG = {
3083
3195
  cacheReadPricePerMTok: 0.0036,
3084
3196
  cacheWritePricePerMTok: 0,
3085
3197
  },
3198
+ 'xiaomi/mimo-v2.6-flash': {
3199
+ contextWindow: 1048576,
3200
+ maxTokens: 131072,
3201
+ inputPricePerMTok: 0.14,
3202
+ outputPricePerMTok: 0.28,
3203
+ cacheReadPricePerMTok: 0.0028,
3204
+ cacheWritePricePerMTok: 0,
3205
+ },
3206
+ 'xiaomi/mimo-v2.6-pro': {
3207
+ contextWindow: 1048576,
3208
+ maxTokens: 131072,
3209
+ inputPricePerMTok: 0.435,
3210
+ outputPricePerMTok: 0.87,
3211
+ cacheReadPricePerMTok: 0.0036,
3212
+ cacheWritePricePerMTok: 0,
3213
+ },
3214
+ 'xiaomi/mimo-v2.6-pro-ultraspeed': {
3215
+ contextWindow: 1048576,
3216
+ maxTokens: 131072,
3217
+ inputPricePerMTok: 4.35,
3218
+ outputPricePerMTok: 8.7,
3219
+ cacheReadPricePerMTok: 0.036,
3220
+ cacheWritePricePerMTok: 0,
3221
+ },
3086
3222
  'z-ai/glm-4.5': {
3087
3223
  contextWindow: 131072,
3088
3224
  maxTokens: 98304,
@@ -3108,11 +3244,11 @@ export const MODEL_CATALOG = {
3108
3244
  cacheWritePricePerMTok: 0,
3109
3245
  },
3110
3246
  'z-ai/glm-4.6': {
3111
- contextWindow: 204800,
3112
- maxTokens: 131072,
3113
- inputPricePerMTok: 0.55,
3114
- outputPricePerMTok: 2.2,
3115
- cacheReadPricePerMTok: 0.11,
3247
+ contextWindow: 198000,
3248
+ maxTokens: 16384,
3249
+ inputPricePerMTok: 0.43,
3250
+ outputPricePerMTok: 1.75,
3251
+ cacheReadPricePerMTok: 0.08,
3116
3252
  cacheWritePricePerMTok: 0,
3117
3253
  },
3118
3254
  'z-ai/glm-4.6v': {
@@ -3132,11 +3268,11 @@ export const MODEL_CATALOG = {
3132
3268
  cacheWritePricePerMTok: 0,
3133
3269
  },
3134
3270
  'z-ai/glm-4.7-flash': {
3135
- contextWindow: 202752,
3136
- maxTokens: 16384,
3137
- inputPricePerMTok: 0.06,
3271
+ contextWindow: 131072,
3272
+ maxTokens: 117964,
3273
+ inputPricePerMTok: 0.0605,
3138
3274
  outputPricePerMTok: 0.4,
3139
- cacheReadPricePerMTok: 0.01,
3275
+ cacheReadPricePerMTok: 0,
3140
3276
  cacheWritePricePerMTok: 0,
3141
3277
  },
3142
3278
  'z-ai/glm-5': {
@@ -3166,41 +3302,49 @@ export const MODEL_CATALOG = {
3166
3302
  'z-ai/glm-5.2': {
3167
3303
  contextWindow: 1048576,
3168
3304
  maxTokens: 131072,
3169
- inputPricePerMTok: 0.966,
3170
- outputPricePerMTok: 3.036,
3171
- cacheReadPricePerMTok: 0.1932,
3172
- cacheWritePricePerMTok: 0,
3173
- },
3174
- 'z-ai/glm-5.2:free': {
3175
- contextWindow: 256000,
3176
- maxTokens: 230400,
3177
- inputPricePerMTok: 0,
3178
- outputPricePerMTok: 0,
3179
- cacheReadPricePerMTok: 0,
3305
+ inputPricePerMTok: 0.6496,
3306
+ outputPricePerMTok: 2.0416,
3307
+ cacheReadPricePerMTok: 0.12064,
3180
3308
  cacheWritePricePerMTok: 0,
3181
3309
  },
3182
3310
  'z-ai/glm-5.3': {
3183
3311
  contextWindow: 1048576,
3184
- maxTokens: 262144,
3185
- inputPricePerMTok: 1.4,
3186
- outputPricePerMTok: 4.4,
3187
- cacheReadPricePerMTok: 0.14,
3312
+ maxTokens: 131072,
3313
+ inputPricePerMTok: 0.84,
3314
+ outputPricePerMTok: 2.64,
3315
+ cacheReadPricePerMTok: 0.156,
3188
3316
  cacheWritePricePerMTok: 0,
3189
3317
  },
3190
3318
  'z-ai/glm-5.3-flash': {
3191
3319
  contextWindow: 1048576,
3192
- maxTokens: 131072,
3193
- inputPricePerMTok: 0.075,
3194
- outputPricePerMTok: 0.25,
3195
- cacheReadPricePerMTok: 0.015,
3320
+ maxTokens: 943718,
3321
+ inputPricePerMTok: 0.15,
3322
+ outputPricePerMTok: 0.5,
3323
+ cacheReadPricePerMTok: 0.05,
3196
3324
  cacheWritePricePerMTok: 0,
3197
3325
  },
3198
3326
  'z-ai/glm-5.3-flash:batch': {
3199
- contextWindow: 1048575,
3200
- maxTokens: 943717,
3201
- inputPricePerMTok: 0.15,
3202
- outputPricePerMTok: 0.5,
3203
- cacheReadPricePerMTok: 0.03,
3327
+ contextWindow: 1048576,
3328
+ maxTokens: 131072,
3329
+ inputPricePerMTok: 0.06,
3330
+ outputPricePerMTok: 0.2,
3331
+ cacheReadPricePerMTok: 0.012,
3332
+ cacheWritePricePerMTok: 0,
3333
+ },
3334
+ 'z-ai/glm-5.3-flashx': {
3335
+ contextWindow: 1048576,
3336
+ maxTokens: 131072,
3337
+ inputPricePerMTok: 0.37,
3338
+ outputPricePerMTok: 1.25,
3339
+ cacheReadPricePerMTok: 0.075,
3340
+ cacheWritePricePerMTok: 0,
3341
+ },
3342
+ 'z-ai/glm-5.3:batch': {
3343
+ contextWindow: 1048576,
3344
+ maxTokens: 131072,
3345
+ inputPricePerMTok: 0.72,
3346
+ outputPricePerMTok: 2.4,
3347
+ cacheReadPricePerMTok: 0.12,
3204
3348
  cacheWritePricePerMTok: 0,
3205
3349
  },
3206
3350
  'z-ai/glm-5v-turbo': {
@@ -3230,10 +3374,10 @@ export const MODEL_CATALOG = {
3230
3374
  '~anthropic/claude-opus-latest': {
3231
3375
  contextWindow: 1000000,
3232
3376
  maxTokens: 128000,
3233
- inputPricePerMTok: 5,
3234
- outputPricePerMTok: 25,
3235
- cacheReadPricePerMTok: 0.5,
3236
- cacheWritePricePerMTok: 6.25,
3377
+ inputPricePerMTok: 4,
3378
+ outputPricePerMTok: 20,
3379
+ cacheReadPricePerMTok: 0.2,
3380
+ cacheWritePricePerMTok: 5,
3237
3381
  },
3238
3382
  '~anthropic/claude-sonnet-latest': {
3239
3383
  contextWindow: 1000000,
@@ -3243,12 +3387,28 @@ export const MODEL_CATALOG = {
3243
3387
  cacheReadPricePerMTok: 0.2,
3244
3388
  cacheWritePricePerMTok: 2.5,
3245
3389
  },
3390
+ '~deepseek/deepseek-flash-latest': {
3391
+ contextWindow: 1048576,
3392
+ maxTokens: 943718,
3393
+ inputPricePerMTok: 0.1,
3394
+ outputPricePerMTok: 0.5,
3395
+ cacheReadPricePerMTok: 0.01,
3396
+ cacheWritePricePerMTok: 0,
3397
+ },
3398
+ '~deepseek/deepseek-pro-latest': {
3399
+ contextWindow: 1048576,
3400
+ maxTokens: 384000,
3401
+ inputPricePerMTok: 0.4,
3402
+ outputPricePerMTok: 4.3,
3403
+ cacheReadPricePerMTok: 0.033,
3404
+ cacheWritePricePerMTok: 0,
3405
+ },
3246
3406
  '~deepseek/deepseek-v4-flash-latest': {
3247
3407
  contextWindow: 1048576,
3248
- maxTokens: 131072,
3249
- inputPricePerMTok: 0.04998,
3250
- outputPricePerMTok: 0.09996,
3251
- cacheReadPricePerMTok: 0.009996,
3408
+ maxTokens: 943718,
3409
+ inputPricePerMTok: 0.03,
3410
+ outputPricePerMTok: 0.8,
3411
+ cacheReadPricePerMTok: 0.008,
3252
3412
  cacheWritePricePerMTok: 0,
3253
3413
  },
3254
3414
  '~google/gemini-flash-latest': {
@@ -3270,18 +3430,26 @@ export const MODEL_CATALOG = {
3270
3430
  '~moonshotai/kimi-latest': {
3271
3431
  contextWindow: 1048576,
3272
3432
  maxTokens: 131072,
3273
- inputPricePerMTok: 2.55,
3274
- outputPricePerMTok: 12.75,
3275
- cacheReadPricePerMTok: 0.256,
3433
+ inputPricePerMTok: 1.45,
3434
+ outputPricePerMTok: 11.7,
3435
+ cacheReadPricePerMTok: 0.3,
3276
3436
  cacheWritePricePerMTok: 0,
3277
3437
  },
3278
- '~openai/gpt-latest': {
3438
+ '~openai/gpt-astra-latest': {
3279
3439
  contextWindow: 1050000,
3280
3440
  maxTokens: 128000,
3281
- inputPricePerMTok: 2,
3282
- outputPricePerMTok: 10,
3283
- cacheReadPricePerMTok: 0.2,
3284
- cacheWritePricePerMTok: 2.5,
3441
+ inputPricePerMTok: 10,
3442
+ outputPricePerMTok: 50,
3443
+ cacheReadPricePerMTok: 1,
3444
+ cacheWritePricePerMTok: 12.5,
3445
+ },
3446
+ '~openai/gpt-luna-latest': {
3447
+ contextWindow: 1050000,
3448
+ maxTokens: 128000,
3449
+ inputPricePerMTok: 0.1,
3450
+ outputPricePerMTok: 0.5,
3451
+ cacheReadPricePerMTok: 0.01,
3452
+ cacheWritePricePerMTok: 0.125,
3285
3453
  },
3286
3454
  '~openai/gpt-mini-latest': {
3287
3455
  contextWindow: 400000,
@@ -3291,28 +3459,44 @@ export const MODEL_CATALOG = {
3291
3459
  cacheReadPricePerMTok: 0.075,
3292
3460
  cacheWritePricePerMTok: 0,
3293
3461
  },
3462
+ '~openai/gpt-sol-latest': {
3463
+ contextWindow: 1050000,
3464
+ maxTokens: 128000,
3465
+ inputPricePerMTok: 2,
3466
+ outputPricePerMTok: 10,
3467
+ cacheReadPricePerMTok: 0.2,
3468
+ cacheWritePricePerMTok: 2.5,
3469
+ },
3470
+ '~openai/gpt-terra-latest': {
3471
+ contextWindow: 1050000,
3472
+ maxTokens: 128000,
3473
+ inputPricePerMTok: 2,
3474
+ outputPricePerMTok: 12,
3475
+ cacheReadPricePerMTok: 0.2,
3476
+ cacheWritePricePerMTok: 2.5,
3477
+ },
3294
3478
  '~x-ai/grok-latest': {
3295
3479
  contextWindow: 500000,
3296
3480
  maxTokens: 450000,
3297
- inputPricePerMTok: 2,
3298
- outputPricePerMTok: 6,
3299
- cacheReadPricePerMTok: 0.5,
3481
+ inputPricePerMTok: 1.6,
3482
+ outputPricePerMTok: 4.8,
3483
+ cacheReadPricePerMTok: 0.4,
3300
3484
  cacheWritePricePerMTok: 0,
3301
3485
  },
3302
3486
  '~z-ai/glm-flash-latest': {
3303
3487
  contextWindow: 1048576,
3304
- maxTokens: 943718,
3488
+ maxTokens: 131072,
3305
3489
  inputPricePerMTok: 0.075,
3306
3490
  outputPricePerMTok: 0.25,
3307
3491
  cacheReadPricePerMTok: 0.015,
3308
3492
  cacheWritePricePerMTok: 0,
3309
3493
  },
3310
3494
  '~z-ai/glm-latest': {
3311
- contextWindow: 262144,
3312
- maxTokens: 235929,
3313
- inputPricePerMTok: 1.15,
3314
- outputPricePerMTok: 3.5,
3315
- cacheReadPricePerMTok: 0.1,
3495
+ contextWindow: 1048576,
3496
+ maxTokens: 131072,
3497
+ inputPricePerMTok: 0.5625,
3498
+ outputPricePerMTok: 2.5,
3499
+ cacheReadPricePerMTok: 0.125,
3316
3500
  cacheWritePricePerMTok: 0,
3317
3501
  },
3318
3502
  },
@@ -3397,6 +3581,14 @@ export const MODEL_CATALOG = {
3397
3581
  cacheReadPricePerMTok: 0.5,
3398
3582
  cacheWritePricePerMTok: 6.25,
3399
3583
  },
3584
+ 'claude-opus-5-5': {
3585
+ contextWindow: 1000000,
3586
+ maxTokens: 128000,
3587
+ inputPricePerMTok: 4,
3588
+ outputPricePerMTok: 20,
3589
+ cacheReadPricePerMTok: 0.2,
3590
+ cacheWritePricePerMTok: 5,
3591
+ },
3400
3592
  'claude-sonnet-4-5': {
3401
3593
  contextWindow: 1000000,
3402
3594
  maxTokens: 64000,
@@ -3431,54 +3623,6 @@ export const MODEL_CATALOG = {
3431
3623
  },
3432
3624
  },
3433
3625
  moonshotai: {
3434
- 'kimi-k2-0711-preview': {
3435
- contextWindow: 131072,
3436
- maxTokens: 16384,
3437
- inputPricePerMTok: 0.6,
3438
- outputPricePerMTok: 2.5,
3439
- cacheReadPricePerMTok: 0.15,
3440
- cacheWritePricePerMTok: 0,
3441
- },
3442
- 'kimi-k2-0905-preview': {
3443
- contextWindow: 262144,
3444
- maxTokens: 262144,
3445
- inputPricePerMTok: 0.6,
3446
- outputPricePerMTok: 2.5,
3447
- cacheReadPricePerMTok: 0.15,
3448
- cacheWritePricePerMTok: 0,
3449
- },
3450
- 'kimi-k2-thinking': {
3451
- contextWindow: 262144,
3452
- maxTokens: 262144,
3453
- inputPricePerMTok: 0.6,
3454
- outputPricePerMTok: 2.5,
3455
- cacheReadPricePerMTok: 0.15,
3456
- cacheWritePricePerMTok: 0,
3457
- },
3458
- 'kimi-k2-thinking-turbo': {
3459
- contextWindow: 262144,
3460
- maxTokens: 262144,
3461
- inputPricePerMTok: 1.15,
3462
- outputPricePerMTok: 8,
3463
- cacheReadPricePerMTok: 0.15,
3464
- cacheWritePricePerMTok: 0,
3465
- },
3466
- 'kimi-k2-turbo-preview': {
3467
- contextWindow: 262144,
3468
- maxTokens: 262144,
3469
- inputPricePerMTok: 2.4,
3470
- outputPricePerMTok: 10,
3471
- cacheReadPricePerMTok: 0.6,
3472
- cacheWritePricePerMTok: 0,
3473
- },
3474
- 'kimi-k2.5': {
3475
- contextWindow: 262144,
3476
- maxTokens: 262144,
3477
- inputPricePerMTok: 0.6,
3478
- outputPricePerMTok: 3,
3479
- cacheReadPricePerMTok: 0.1,
3480
- cacheWritePricePerMTok: 0,
3481
- },
3482
3626
  'kimi-k2.6': {
3483
3627
  contextWindow: 262144,
3484
3628
  maxTokens: 262144,