@code-yeongyu/senpi 2026.8.11 → 2026.8.12

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 (482) hide show
  1. package/CHANGELOG.md +185 -0
  2. package/dist/brand-dir-migration.d.ts +28 -0
  3. package/dist/brand-dir-migration.d.ts.map +1 -0
  4. package/dist/brand-dir-migration.js +77 -0
  5. package/dist/brand-dir-migration.js.map +1 -0
  6. package/dist/cli/grok-neo-gate.d.ts +0 -8
  7. package/dist/cli/grok-neo-gate.d.ts.map +1 -1
  8. package/dist/cli/grok-neo-gate.js +4 -2
  9. package/dist/cli/grok-neo-gate.js.map +1 -1
  10. package/dist/cli-main.d.ts +1 -1
  11. package/dist/cli-main.d.ts.map +1 -1
  12. package/dist/cli-main.js +4 -0
  13. package/dist/cli-main.js.map +1 -1
  14. package/dist/cli.d.ts +1 -1
  15. package/dist/cli.d.ts.map +1 -1
  16. package/dist/cli.js +3 -2
  17. package/dist/cli.js.map +1 -1
  18. package/dist/config.d.ts +27 -1
  19. package/dist/config.d.ts.map +1 -1
  20. package/dist/config.js +41 -9
  21. package/dist/config.js.map +1 -1
  22. package/dist/core/agent-session.d.ts +8 -2
  23. package/dist/core/agent-session.d.ts.map +1 -1
  24. package/dist/core/agent-session.js +73 -11
  25. package/dist/core/agent-session.js.map +1 -1
  26. package/dist/core/brand.d.ts +79 -0
  27. package/dist/core/brand.d.ts.map +1 -0
  28. package/dist/core/brand.js +141 -0
  29. package/dist/core/brand.js.map +1 -0
  30. package/dist/core/dynamic-prompt/identity.d.ts.map +1 -1
  31. package/dist/core/dynamic-prompt/identity.js +2 -1
  32. package/dist/core/dynamic-prompt/identity.js.map +1 -1
  33. package/dist/core/event-bus.d.ts +5 -0
  34. package/dist/core/event-bus.d.ts.map +1 -1
  35. package/dist/core/event-bus.js +1 -0
  36. package/dist/core/event-bus.js.map +1 -1
  37. package/dist/core/experimental.d.ts.map +1 -1
  38. package/dist/core/experimental.js +2 -1
  39. package/dist/core/experimental.js.map +1 -1
  40. package/dist/core/extensions/builtin/btw/index.d.ts.map +1 -1
  41. package/dist/core/extensions/builtin/btw/index.js +7 -2
  42. package/dist/core/extensions/builtin/btw/index.js.map +1 -1
  43. package/dist/core/extensions/builtin/btw/side-query.d.ts +2 -0
  44. package/dist/core/extensions/builtin/btw/side-query.d.ts.map +1 -1
  45. package/dist/core/extensions/builtin/btw/side-query.js +39 -2
  46. package/dist/core/extensions/builtin/btw/side-query.js.map +1 -1
  47. package/dist/core/extensions/builtin/claude-sdk-oauth/availability.d.ts +2 -0
  48. package/dist/core/extensions/builtin/claude-sdk-oauth/availability.d.ts.map +1 -0
  49. package/dist/core/extensions/builtin/claude-sdk-oauth/availability.js +24 -0
  50. package/dist/core/extensions/builtin/claude-sdk-oauth/availability.js.map +1 -0
  51. package/dist/core/extensions/builtin/claude-sdk-oauth/index.d.ts +4 -0
  52. package/dist/core/extensions/builtin/claude-sdk-oauth/index.d.ts.map +1 -1
  53. package/dist/core/extensions/builtin/claude-sdk-oauth/index.js +5 -2
  54. package/dist/core/extensions/builtin/claude-sdk-oauth/index.js.map +1 -1
  55. package/dist/core/extensions/builtin/claude-sdk-oauth/oauth-login.d.ts +6 -1
  56. package/dist/core/extensions/builtin/claude-sdk-oauth/oauth-login.d.ts.map +1 -1
  57. package/dist/core/extensions/builtin/claude-sdk-oauth/oauth-login.js +16 -0
  58. package/dist/core/extensions/builtin/claude-sdk-oauth/oauth-login.js.map +1 -1
  59. package/dist/core/extensions/builtin/claude-sdk-oauth/session-commit-boundary.d.ts.map +1 -1
  60. package/dist/core/extensions/builtin/claude-sdk-oauth/session-commit-boundary.js +10 -1
  61. package/dist/core/extensions/builtin/claude-sdk-oauth/session-commit-boundary.js.map +1 -1
  62. package/dist/core/extensions/builtin/compaction/index.d.ts +1 -0
  63. package/dist/core/extensions/builtin/compaction/index.d.ts.map +1 -1
  64. package/dist/core/extensions/builtin/compaction/index.js +1 -1
  65. package/dist/core/extensions/builtin/compaction/index.js.map +1 -1
  66. package/dist/core/extensions/builtin/compaction/log.d.ts.map +1 -1
  67. package/dist/core/extensions/builtin/compaction/log.js +2 -1
  68. package/dist/core/extensions/builtin/compaction/log.js.map +1 -1
  69. package/dist/core/extensions/builtin/config-reload/generated-shim-filter.d.ts.map +1 -1
  70. package/dist/core/extensions/builtin/config-reload/generated-shim-filter.js +4 -4
  71. package/dist/core/extensions/builtin/config-reload/generated-shim-filter.js.map +1 -1
  72. package/dist/core/extensions/builtin/goal/index.d.ts.map +1 -1
  73. package/dist/core/extensions/builtin/goal/index.js +5 -0
  74. package/dist/core/extensions/builtin/goal/index.js.map +1 -1
  75. package/dist/core/extensions/builtin/goal/lifecycle-helpers.d.ts +2 -2
  76. package/dist/core/extensions/builtin/goal/lifecycle-helpers.d.ts.map +1 -1
  77. package/dist/core/extensions/builtin/goal/lifecycle-helpers.js +3 -3
  78. package/dist/core/extensions/builtin/goal/lifecycle-helpers.js.map +1 -1
  79. package/dist/core/extensions/builtin/goal/monitor-continuation.d.ts.map +1 -1
  80. package/dist/core/extensions/builtin/goal/monitor-continuation.js +6 -0
  81. package/dist/core/extensions/builtin/goal/monitor-continuation.js.map +1 -1
  82. package/dist/core/extensions/builtin/goal/store.d.ts +3 -2
  83. package/dist/core/extensions/builtin/goal/store.d.ts.map +1 -1
  84. package/dist/core/extensions/builtin/goal/store.js +128 -101
  85. package/dist/core/extensions/builtin/goal/store.js.map +1 -1
  86. package/dist/core/extensions/builtin/goal/transitions.js +2 -1
  87. package/dist/core/extensions/builtin/goal/transitions.js.map +1 -1
  88. package/dist/core/extensions/builtin/help/index.d.ts.map +1 -1
  89. package/dist/core/extensions/builtin/help/index.js +3 -2
  90. package/dist/core/extensions/builtin/help/index.js.map +1 -1
  91. package/dist/core/extensions/builtin/imagegen/auth.d.ts +45 -0
  92. package/dist/core/extensions/builtin/imagegen/auth.d.ts.map +1 -0
  93. package/dist/core/extensions/builtin/imagegen/auth.js +137 -0
  94. package/dist/core/extensions/builtin/imagegen/auth.js.map +1 -0
  95. package/dist/core/extensions/builtin/imagegen/index.d.ts +5 -0
  96. package/dist/core/extensions/builtin/imagegen/index.d.ts.map +1 -0
  97. package/dist/core/extensions/builtin/imagegen/index.js +46 -0
  98. package/dist/core/extensions/builtin/imagegen/index.js.map +1 -0
  99. package/dist/core/extensions/builtin/imagegen/paths.d.ts +26 -0
  100. package/dist/core/extensions/builtin/imagegen/paths.d.ts.map +1 -0
  101. package/dist/core/extensions/builtin/imagegen/paths.js +52 -0
  102. package/dist/core/extensions/builtin/imagegen/paths.js.map +1 -0
  103. package/dist/core/extensions/builtin/imagegen/skill/SKILL.md +67 -0
  104. package/dist/core/extensions/builtin/imagegen/state.d.ts +26 -0
  105. package/dist/core/extensions/builtin/imagegen/state.d.ts.map +1 -0
  106. package/dist/core/extensions/builtin/imagegen/state.js +35 -0
  107. package/dist/core/extensions/builtin/imagegen/state.js.map +1 -0
  108. package/dist/core/extensions/builtin/imagegen/tool.d.ts +31 -0
  109. package/dist/core/extensions/builtin/imagegen/tool.d.ts.map +1 -0
  110. package/dist/core/extensions/builtin/imagegen/tool.js +174 -0
  111. package/dist/core/extensions/builtin/imagegen/tool.js.map +1 -0
  112. package/dist/core/extensions/builtin/index.d.ts.map +1 -1
  113. package/dist/core/extensions/builtin/index.js +9 -1
  114. package/dist/core/extensions/builtin/index.js.map +1 -1
  115. package/dist/core/extensions/builtin/mcp/control-inventory.d.ts +14 -0
  116. package/dist/core/extensions/builtin/mcp/control-inventory.d.ts.map +1 -0
  117. package/dist/core/extensions/builtin/mcp/control-inventory.js +22 -0
  118. package/dist/core/extensions/builtin/mcp/control-inventory.js.map +1 -0
  119. package/dist/core/extensions/builtin/mcp/expose/native-search.d.ts +2 -44
  120. package/dist/core/extensions/builtin/mcp/expose/native-search.d.ts.map +1 -1
  121. package/dist/core/extensions/builtin/mcp/expose/native-search.js +3 -97
  122. package/dist/core/extensions/builtin/mcp/expose/native-search.js.map +1 -1
  123. package/dist/core/extensions/builtin/mcp/expose/proxy.d.ts.map +1 -1
  124. package/dist/core/extensions/builtin/mcp/expose/proxy.js +15 -4
  125. package/dist/core/extensions/builtin/mcp/expose/proxy.js.map +1 -1
  126. package/dist/core/extensions/builtin/mcp/expose/session.d.ts +2 -1
  127. package/dist/core/extensions/builtin/mcp/expose/session.d.ts.map +1 -1
  128. package/dist/core/extensions/builtin/mcp/expose/session.js +2 -2
  129. package/dist/core/extensions/builtin/mcp/expose/session.js.map +1 -1
  130. package/dist/core/extensions/builtin/mcp/expose/tier-b.d.ts +13 -11
  131. package/dist/core/extensions/builtin/mcp/expose/tier-b.d.ts.map +1 -1
  132. package/dist/core/extensions/builtin/mcp/expose/tier-b.js +58 -59
  133. package/dist/core/extensions/builtin/mcp/expose/tier-b.js.map +1 -1
  134. package/dist/core/extensions/builtin/mcp/index.d.ts.map +1 -1
  135. package/dist/core/extensions/builtin/mcp/index.js +28 -36
  136. package/dist/core/extensions/builtin/mcp/index.js.map +1 -1
  137. package/dist/core/extensions/builtin/mcp/service-register.d.ts +2 -1
  138. package/dist/core/extensions/builtin/mcp/service-register.d.ts.map +1 -1
  139. package/dist/core/extensions/builtin/mcp/service-register.js +2 -2
  140. package/dist/core/extensions/builtin/mcp/service-register.js.map +1 -1
  141. package/dist/core/extensions/builtin/mcp/service-types.d.ts +4 -0
  142. package/dist/core/extensions/builtin/mcp/service-types.d.ts.map +1 -1
  143. package/dist/core/extensions/builtin/mcp/service-types.js.map +1 -1
  144. package/dist/core/extensions/builtin/mcp/service.d.ts +6 -11
  145. package/dist/core/extensions/builtin/mcp/service.d.ts.map +1 -1
  146. package/dist/core/extensions/builtin/mcp/service.js +79 -41
  147. package/dist/core/extensions/builtin/mcp/service.js.map +1 -1
  148. package/dist/core/extensions/builtin/mcp/wrap.d.ts +2 -0
  149. package/dist/core/extensions/builtin/mcp/wrap.d.ts.map +1 -1
  150. package/dist/core/extensions/builtin/mcp/wrap.js +3 -0
  151. package/dist/core/extensions/builtin/mcp/wrap.js.map +1 -1
  152. package/dist/core/extensions/builtin/openai-image-gen/externalize.d.ts +27 -0
  153. package/dist/core/extensions/builtin/openai-image-gen/externalize.d.ts.map +1 -0
  154. package/dist/core/extensions/builtin/openai-image-gen/externalize.js +133 -0
  155. package/dist/core/extensions/builtin/openai-image-gen/externalize.js.map +1 -0
  156. package/dist/core/extensions/builtin/openai-image-gen/gate.d.ts +21 -0
  157. package/dist/core/extensions/builtin/openai-image-gen/gate.d.ts.map +1 -0
  158. package/dist/core/extensions/builtin/openai-image-gen/gate.js +63 -0
  159. package/dist/core/extensions/builtin/openai-image-gen/gate.js.map +1 -0
  160. package/dist/core/extensions/builtin/openai-image-gen/index.d.ts +14 -0
  161. package/dist/core/extensions/builtin/openai-image-gen/index.d.ts.map +1 -0
  162. package/dist/core/extensions/builtin/openai-image-gen/index.js +77 -0
  163. package/dist/core/extensions/builtin/openai-image-gen/index.js.map +1 -0
  164. package/dist/core/extensions/builtin/openai-image-gen/inject.d.ts +15 -0
  165. package/dist/core/extensions/builtin/openai-image-gen/inject.d.ts.map +1 -0
  166. package/dist/core/extensions/builtin/openai-image-gen/inject.js +42 -0
  167. package/dist/core/extensions/builtin/openai-image-gen/inject.js.map +1 -0
  168. package/dist/core/extensions/builtin/prompt-preset/claude-fable-5.d.ts.map +1 -1
  169. package/dist/core/extensions/builtin/prompt-preset/claude-fable-5.js +2 -1
  170. package/dist/core/extensions/builtin/prompt-preset/claude-fable-5.js.map +1 -1
  171. package/dist/core/extensions/builtin/prompt-preset/claude-opus-5.d.ts.map +1 -1
  172. package/dist/core/extensions/builtin/prompt-preset/claude-opus-5.js +2 -1
  173. package/dist/core/extensions/builtin/prompt-preset/claude-opus-5.js.map +1 -1
  174. package/dist/core/extensions/builtin/prompt-preset/gpt-5.5.d.ts.map +1 -1
  175. package/dist/core/extensions/builtin/prompt-preset/gpt-5.5.js +2 -1
  176. package/dist/core/extensions/builtin/prompt-preset/gpt-5.5.js.map +1 -1
  177. package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.d.ts.map +1 -1
  178. package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js +2 -1
  179. package/dist/core/extensions/builtin/prompt-preset/gpt-5.6.js.map +1 -1
  180. package/dist/core/extensions/builtin/prompt-preset/grok-4.5.d.ts.map +1 -1
  181. package/dist/core/extensions/builtin/prompt-preset/grok-4.5.js +6 -5
  182. package/dist/core/extensions/builtin/prompt-preset/grok-4.5.js.map +1 -1
  183. package/dist/core/extensions/builtin/prompt-preset/kimi-k3.d.ts.map +1 -1
  184. package/dist/core/extensions/builtin/prompt-preset/kimi-k3.js +2 -1
  185. package/dist/core/extensions/builtin/prompt-preset/kimi-k3.js.map +1 -1
  186. package/dist/core/extensions/builtin/terminal/monitor-notify.d.ts.map +1 -1
  187. package/dist/core/extensions/builtin/terminal/monitor-notify.js +8 -1
  188. package/dist/core/extensions/builtin/terminal/monitor-notify.js.map +1 -1
  189. package/dist/core/extensions/builtin/terminal/notify.d.ts +3 -1
  190. package/dist/core/extensions/builtin/terminal/notify.d.ts.map +1 -1
  191. package/dist/core/extensions/builtin/terminal/notify.js +4 -1
  192. package/dist/core/extensions/builtin/terminal/notify.js.map +1 -1
  193. package/dist/core/extensions/builtin/tool-search/engine/bm25.d.ts +22 -0
  194. package/dist/core/extensions/builtin/tool-search/engine/bm25.d.ts.map +1 -0
  195. package/dist/core/extensions/builtin/{mcp/expose → tool-search/engine}/bm25.js +16 -31
  196. package/dist/core/extensions/builtin/tool-search/engine/bm25.js.map +1 -0
  197. package/dist/core/extensions/builtin/tool-search/engine/document.d.ts +14 -0
  198. package/dist/core/extensions/builtin/tool-search/engine/document.d.ts.map +1 -0
  199. package/dist/core/extensions/builtin/tool-search/engine/document.js +2 -0
  200. package/dist/core/extensions/builtin/tool-search/engine/document.js.map +1 -0
  201. package/dist/core/extensions/builtin/tool-search/engine/marker.d.ts +55 -0
  202. package/dist/core/extensions/builtin/tool-search/engine/marker.d.ts.map +1 -0
  203. package/dist/core/extensions/builtin/tool-search/engine/marker.js +189 -0
  204. package/dist/core/extensions/builtin/tool-search/engine/marker.js.map +1 -0
  205. package/dist/core/extensions/builtin/tool-search/index.d.ts +7 -0
  206. package/dist/core/extensions/builtin/tool-search/index.d.ts.map +1 -0
  207. package/dist/core/extensions/builtin/tool-search/index.js +71 -0
  208. package/dist/core/extensions/builtin/tool-search/index.js.map +1 -0
  209. package/dist/core/extensions/builtin/tool-search/native-search.d.ts +52 -0
  210. package/dist/core/extensions/builtin/tool-search/native-search.d.ts.map +1 -0
  211. package/dist/core/extensions/builtin/tool-search/native-search.js +116 -0
  212. package/dist/core/extensions/builtin/tool-search/native-search.js.map +1 -0
  213. package/dist/core/extensions/builtin/tool-search/service.d.ts +38 -0
  214. package/dist/core/extensions/builtin/tool-search/service.d.ts.map +1 -0
  215. package/dist/core/extensions/builtin/tool-search/service.js +200 -0
  216. package/dist/core/extensions/builtin/tool-search/service.js.map +1 -0
  217. package/dist/core/extensions/builtin/tool-search/tool.d.ts +21 -0
  218. package/dist/core/extensions/builtin/tool-search/tool.d.ts.map +1 -0
  219. package/dist/core/extensions/builtin/tool-search/tool.js +95 -0
  220. package/dist/core/extensions/builtin/tool-search/tool.js.map +1 -0
  221. package/dist/core/extensions/index.d.ts +1 -1
  222. package/dist/core/extensions/index.d.ts.map +1 -1
  223. package/dist/core/extensions/index.js.map +1 -1
  224. package/dist/core/extensions/loader.d.ts.map +1 -1
  225. package/dist/core/extensions/loader.js +31 -1
  226. package/dist/core/extensions/loader.js.map +1 -1
  227. package/dist/core/extensions/runner.d.ts +5 -1
  228. package/dist/core/extensions/runner.d.ts.map +1 -1
  229. package/dist/core/extensions/runner.js +28 -1
  230. package/dist/core/extensions/runner.js.map +1 -1
  231. package/dist/core/extensions/types.d.ts +61 -4
  232. package/dist/core/extensions/types.d.ts.map +1 -1
  233. package/dist/core/extensions/types.js +11 -0
  234. package/dist/core/extensions/types.js.map +1 -1
  235. package/dist/core/generated-shim-banner.d.ts +15 -0
  236. package/dist/core/generated-shim-banner.d.ts.map +1 -0
  237. package/dist/core/generated-shim-banner.js +26 -0
  238. package/dist/core/generated-shim-banner.js.map +1 -0
  239. package/dist/core/model-runtime.d.ts.map +1 -1
  240. package/dist/core/model-runtime.js +7 -3
  241. package/dist/core/model-runtime.js.map +1 -1
  242. package/dist/core/package-manager.d.ts.map +1 -1
  243. package/dist/core/package-manager.js +2 -1
  244. package/dist/core/package-manager.js.map +1 -1
  245. package/dist/core/provider-composer.d.ts +10 -1
  246. package/dist/core/provider-composer.d.ts.map +1 -1
  247. package/dist/core/provider-composer.js +9 -0
  248. package/dist/core/provider-composer.js.map +1 -1
  249. package/dist/core/resource-loader.d.ts.map +1 -1
  250. package/dist/core/resource-loader.js +21 -10
  251. package/dist/core/resource-loader.js.map +1 -1
  252. package/dist/core/session-log.d.ts.map +1 -1
  253. package/dist/core/session-log.js +4 -2
  254. package/dist/core/session-log.js.map +1 -1
  255. package/dist/core/settings-manager.d.ts.map +1 -1
  256. package/dist/core/settings-manager.js +3 -2
  257. package/dist/core/settings-manager.js.map +1 -1
  258. package/dist/core/telemetry.d.ts.map +1 -1
  259. package/dist/core/telemetry.js +2 -1
  260. package/dist/core/telemetry.js.map +1 -1
  261. package/dist/core/timings.d.ts +0 -4
  262. package/dist/core/timings.d.ts.map +1 -1
  263. package/dist/core/timings.js +2 -1
  264. package/dist/core/timings.js.map +1 -1
  265. package/dist/index.d.ts +2 -2
  266. package/dist/index.d.ts.map +1 -1
  267. package/dist/index.js.map +1 -1
  268. package/dist/inspector-policy.d.ts.map +1 -1
  269. package/dist/inspector-policy.js +2 -1
  270. package/dist/inspector-policy.js.map +1 -1
  271. package/dist/main.d.ts.map +1 -1
  272. package/dist/main.js +5 -4
  273. package/dist/main.js.map +1 -1
  274. package/dist/migrations.d.ts.map +1 -1
  275. package/dist/migrations.js +4 -0
  276. package/dist/migrations.js.map +1 -1
  277. package/dist/modes/index.d.ts +2 -2
  278. package/dist/modes/index.d.ts.map +1 -1
  279. package/dist/modes/index.js +1 -1
  280. package/dist/modes/index.js.map +1 -1
  281. package/dist/modes/interactive/external-editor.d.ts +2 -0
  282. package/dist/modes/interactive/external-editor.d.ts.map +1 -1
  283. package/dist/modes/interactive/external-editor.js +10 -4
  284. package/dist/modes/interactive/external-editor.js.map +1 -1
  285. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  286. package/dist/modes/interactive/interactive-mode.js +6 -5
  287. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  288. package/dist/modes/interactive/tips/catalog/cli-tips.d.ts.map +1 -1
  289. package/dist/modes/interactive/tips/catalog/cli-tips.js +2 -1
  290. package/dist/modes/interactive/tips/catalog/cli-tips.js.map +1 -1
  291. package/dist/modes/interactive/tips/catalog/ethos-tips.d.ts.map +1 -1
  292. package/dist/modes/interactive/tips/catalog/ethos-tips.js +4 -3
  293. package/dist/modes/interactive/tips/catalog/ethos-tips.js.map +1 -1
  294. package/dist/modes/interactive/tips/catalog/model-tips.d.ts.map +1 -1
  295. package/dist/modes/interactive/tips/catalog/model-tips.js +2 -1
  296. package/dist/modes/interactive/tips/catalog/model-tips.js.map +1 -1
  297. package/dist/modes/interactive/tips/catalog/session-tips.d.ts.map +1 -1
  298. package/dist/modes/interactive/tips/catalog/session-tips.js +2 -1
  299. package/dist/modes/interactive/tips/catalog/session-tips.js.map +1 -1
  300. package/dist/modes/interactive/tips/catalog/settings-tips.d.ts.map +1 -1
  301. package/dist/modes/interactive/tips/catalog/settings-tips.js +3 -2
  302. package/dist/modes/interactive/tips/catalog/settings-tips.js.map +1 -1
  303. package/dist/modes/interactive/tips/catalog/workspace-tips.d.ts.map +1 -1
  304. package/dist/modes/interactive/tips/catalog/workspace-tips.js +4 -3
  305. package/dist/modes/interactive/tips/catalog/workspace-tips.js.map +1 -1
  306. package/dist/modes/provider-native-rendering.d.ts.map +1 -1
  307. package/dist/modes/provider-native-rendering.js +33 -0
  308. package/dist/modes/provider-native-rendering.js.map +1 -1
  309. package/dist/modes/rpc/connection-handler.d.ts.map +1 -1
  310. package/dist/modes/rpc/connection-handler.js +148 -5
  311. package/dist/modes/rpc/connection-handler.js.map +1 -1
  312. package/dist/modes/rpc/custom-capability.d.ts +1 -0
  313. package/dist/modes/rpc/custom-capability.d.ts.map +1 -1
  314. package/dist/modes/rpc/custom-capability.js +1 -0
  315. package/dist/modes/rpc/custom-capability.js.map +1 -1
  316. package/dist/modes/rpc/multi-session-host.d.ts.map +1 -1
  317. package/dist/modes/rpc/multi-session-host.js +4 -1
  318. package/dist/modes/rpc/multi-session-host.js.map +1 -1
  319. package/dist/modes/rpc/rpc-client.d.ts +5 -2
  320. package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
  321. package/dist/modes/rpc/rpc-client.js +10 -1
  322. package/dist/modes/rpc/rpc-client.js.map +1 -1
  323. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  324. package/dist/modes/rpc/rpc-mode.js +2 -1
  325. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  326. package/dist/modes/rpc/rpc-types.d.ts +47 -0
  327. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  328. package/dist/modes/rpc/rpc-types.js.map +1 -1
  329. package/dist/modes/rpc/session-binding.d.ts +2 -1
  330. package/dist/modes/rpc/session-binding.d.ts.map +1 -1
  331. package/dist/modes/rpc/session-binding.js +3 -2
  332. package/dist/modes/rpc/session-binding.js.map +1 -1
  333. package/dist/modes/rpc/session-command-router.d.ts +2 -1
  334. package/dist/modes/rpc/session-command-router.d.ts.map +1 -1
  335. package/dist/modes/rpc/session-command-router.js +3 -2
  336. package/dist/modes/rpc/session-command-router.js.map +1 -1
  337. package/dist/nearest-parent-config.d.ts +6 -1
  338. package/dist/nearest-parent-config.d.ts.map +1 -1
  339. package/dist/nearest-parent-config.js +18 -2
  340. package/dist/nearest-parent-config.js.map +1 -1
  341. package/dist/package-manager-cli.d.ts.map +1 -1
  342. package/dist/package-manager-cli.js +13 -1
  343. package/dist/package-manager-cli.js.map +1 -1
  344. package/dist/rpc-entry.js +2 -0
  345. package/dist/rpc-entry.js.map +1 -1
  346. package/dist/self-update-bootstrap.d.ts.map +1 -1
  347. package/dist/self-update-bootstrap.js +6 -0
  348. package/dist/self-update-bootstrap.js.map +1 -1
  349. package/dist/senpi +3 -2
  350. package/dist/utils/pi-user-agent.d.ts +1 -1
  351. package/dist/utils/pi-user-agent.d.ts.map +1 -1
  352. package/dist/utils/pi-user-agent.js +4 -3
  353. package/dist/utils/pi-user-agent.js.map +1 -1
  354. package/dist/utils/tools-manager.d.ts.map +1 -1
  355. package/dist/utils/tools-manager.js +2 -1
  356. package/dist/utils/tools-manager.js.map +1 -1
  357. package/dist/utils/version-check.d.ts +3 -0
  358. package/dist/utils/version-check.d.ts.map +1 -1
  359. package/dist/utils/version-check.js +37 -6
  360. package/dist/utils/version-check.js.map +1 -1
  361. package/dist/valid-cwd.d.ts +2 -0
  362. package/dist/valid-cwd.d.ts.map +1 -0
  363. package/dist/valid-cwd.js +14 -0
  364. package/dist/valid-cwd.js.map +1 -0
  365. package/docs/environment-variables.md +8 -1
  366. package/docs/extensions.md +93 -13
  367. package/docs/mcp.md +2 -0
  368. package/docs/providers.md +2 -2
  369. package/docs/rpc.md +126 -0
  370. package/docs/skills.md +8 -0
  371. package/examples/extensions/searchable-tools.ts +49 -0
  372. package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +77 -0
  373. package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -4
  374. package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/jl/kernel.ts +14 -1
  375. package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/rb/kernel.ts +14 -1
  376. package/node_modules/@code-yeongyu/senpi-codemode/src/kernels/shared/runtime-asset.ts +31 -0
  377. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +1 -1
  378. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +5 -1
  379. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -1
  380. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +4 -1
  381. package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +1 -1
  382. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +2 -0
  383. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +1 -1
  384. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +9 -0
  385. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
  386. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
  387. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  388. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +2 -2
  389. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
  390. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
  391. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +4 -2
  392. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
  393. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.d.ts.map +1 -1
  394. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +7 -3
  395. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js.map +1 -1
  396. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.d.ts +8 -0
  397. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.d.ts.map +1 -0
  398. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.js +222 -0
  399. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.js.map +1 -0
  400. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.lazy.d.ts +3 -0
  401. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.lazy.d.ts.map +1 -0
  402. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.lazy.js +10 -0
  403. package/node_modules/@earendil-works/pi-ai/dist/api/openai-images.lazy.js.map +1 -0
  404. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
  405. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +113 -4
  406. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
  407. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
  408. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +1 -0
  409. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
  410. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.d.ts +5 -0
  411. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.d.ts.map +1 -1
  412. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +2 -1
  413. package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js.map +1 -1
  414. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.d.ts.map +1 -1
  415. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js +2 -1
  416. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/openai-codex.js.map +1 -1
  417. package/node_modules/@earendil-works/pi-ai/dist/auth/types.d.ts +10 -0
  418. package/node_modules/@earendil-works/pi-ai/dist/auth/types.d.ts.map +1 -1
  419. package/node_modules/@earendil-works/pi-ai/dist/auth/types.js.map +1 -1
  420. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts +47 -0
  421. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts.map +1 -1
  422. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +47 -0
  423. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js.map +1 -1
  424. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +1 -0
  425. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -1
  426. package/node_modules/@earendil-works/pi-ai/dist/index.js +1 -0
  427. package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -1
  428. package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
  429. package/node_modules/@earendil-works/pi-ai/dist/models.js +36 -13
  430. package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
  431. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts +2 -0
  432. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts.map +1 -1
  433. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.js.map +1 -1
  434. package/node_modules/@earendil-works/pi-ai/dist/providers/all.d.ts.map +1 -1
  435. package/node_modules/@earendil-works/pi-ai/dist/providers/all.js +2 -1
  436. package/node_modules/@earendil-works/pi-ai/dist/providers/all.js.map +1 -1
  437. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  438. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  439. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  440. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  441. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  442. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  443. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  444. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  445. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts +1 -0
  446. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts.map +1 -1
  447. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js +18 -0
  448. package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js.map +1 -1
  449. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-images.d.ts +3 -0
  450. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-images.d.ts.map +1 -0
  451. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-images.js +16 -0
  452. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-images.js.map +1 -0
  453. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +1 -1
  454. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
  455. package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
  456. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js +1 -1
  457. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js.map +1 -1
  458. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.ts.map +1 -1
  459. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +7 -0
  460. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js.map +1 -1
  461. package/node_modules/@earendil-works/pi-ai/dist/wire-identity.d.ts +14 -0
  462. package/node_modules/@earendil-works/pi-ai/dist/wire-identity.d.ts.map +1 -0
  463. package/node_modules/@earendil-works/pi-ai/dist/wire-identity.js +24 -0
  464. package/node_modules/@earendil-works/pi-ai/dist/wire-identity.js.map +1 -0
  465. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  466. package/node_modules/@earendil-works/pi-pty/dist/pipe-fallback.d.ts.map +1 -1
  467. package/node_modules/@earendil-works/pi-pty/dist/pipe-fallback.js +11 -3
  468. package/node_modules/@earendil-works/pi-pty/dist/pipe-fallback.js.map +1 -1
  469. package/node_modules/@earendil-works/pi-pty/package.json +1 -1
  470. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  471. package/package.json +9 -9
  472. package/dist/core/extensions/builtin/mcp/expose/bm25.d.ts +0 -30
  473. package/dist/core/extensions/builtin/mcp/expose/bm25.d.ts.map +0 -1
  474. package/dist/core/extensions/builtin/mcp/expose/bm25.js.map +0 -1
  475. package/dist/core/extensions/builtin/mcp/expose/lazy-activate.d.ts +0 -15
  476. package/dist/core/extensions/builtin/mcp/expose/lazy-activate.d.ts.map +0 -1
  477. package/dist/core/extensions/builtin/mcp/expose/lazy-activate.js +0 -33
  478. package/dist/core/extensions/builtin/mcp/expose/lazy-activate.js.map +0 -1
  479. package/dist/core/extensions/builtin/mcp/expose/tool-search.d.ts +0 -43
  480. package/dist/core/extensions/builtin/mcp/expose/tool-search.d.ts.map +0 -1
  481. package/dist/core/extensions/builtin/mcp/expose/tool-search.js +0 -125
  482. package/dist/core/extensions/builtin/mcp/expose/tool-search.js.map +0 -1
@@ -1 +1 @@
1
- {"anthropic-messages":{"alibaba/qwen-3-14b":{"id":"alibaba/qwen-3-14b","name":"Qwen3-14B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.12,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":40960,"maxTokens":16384},"alibaba/qwen-3-235b":{"id":"alibaba/qwen-3-235b","name":"Qwen3 235B A22B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.22,"output":0.88,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":16384},"alibaba/qwen-3-30b":{"id":"alibaba/qwen-3-30b","name":"Qwen3-30B-A3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.12,"output":0.5,"cacheRead":0,"cacheWrite":0},"contextWindow":40960,"maxTokens":16384},"alibaba/qwen-3-32b":{"id":"alibaba/qwen-3-32b","name":"Qwen 3 32B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.16,"output":0.64,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"alibaba/qwen-3.6-max-preview":{"id":"alibaba/qwen-3.6-max-preview","name":"Qwen 3.6 Max Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.3,"output":7.8,"cacheRead":0.26,"cacheWrite":1.625},"contextWindow":240000,"maxTokens":64000},"alibaba/qwen3-235b-a22b-thinking":{"id":"alibaba/qwen3-235b-a22b-thinking","name":"Qwen3 VL 235B A22B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":4,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-coder":{"id":"alibaba/qwen3-coder","name":"Qwen3 Coder 480B A35B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.5,"output":7.5,"cacheRead":0.3,"cacheWrite":0},"contextWindow":262144,"maxTokens":65536},"alibaba/qwen3-coder-30b-a3b":{"id":"alibaba/qwen3-coder-30b-a3b","name":"Qwen 3 Coder 30B A3B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.15,"output":0.6,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":8192},"alibaba/qwen3-coder-next":{"id":"alibaba/qwen3-coder-next","name":"Qwen3 Coder Next","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"alibaba/qwen3-coder-plus":{"id":"alibaba/qwen3-coder-plus","name":"Qwen3 Coder Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1,"output":5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65536},"alibaba/qwen3-max":{"id":"alibaba/qwen3-max","name":"Qwen3 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"alibaba/qwen3-max-preview":{"id":"alibaba/qwen3-max-preview","name":"Qwen3 Max Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"alibaba/qwen3-max-thinking":{"id":"alibaba/qwen3-max-thinking","name":"Qwen 3 Max Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":256000,"maxTokens":65536},"alibaba/qwen3-next-80b-a3b-instruct":{"id":"alibaba/qwen3-next-80b-a3b-instruct","name":"Qwen3 Next 80B A3B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.15,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-next-80b-a3b-thinking":{"id":"alibaba/qwen3-next-80b-a3b-thinking","name":"Qwen3 Next 80B A3B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.15,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-vl-235b-a22b-instruct":{"id":"alibaba/qwen3-vl-235b-a22b-instruct","name":"Qwen3 VL 235B A22B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":129024},"alibaba/qwen3-vl-instruct":{"id":"alibaba/qwen3-vl-instruct","name":"Qwen3 VL 235B A22B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":129024},"alibaba/qwen3-vl-thinking":{"id":"alibaba/qwen3-vl-thinking","name":"Qwen3 VL 235B A22B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":4,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3.5-flash":{"id":"alibaba/qwen3.5-flash","name":"Qwen 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.001,"cacheWrite":0.125},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.5-plus":{"id":"alibaba/qwen3.5-plus","name":"Qwen 3.5 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":2.4,"cacheRead":0.04,"cacheWrite":0.5},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.6-27b":{"id":"alibaba/qwen3.6-27b","name":"Qwen 3.6 27B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":3.6,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"alibaba/qwen3.6-plus":{"id":"alibaba/qwen3.6-plus","name":"Qwen 3.6 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.1,"cacheWrite":0.625},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.7-flash":{"id":"alibaba/qwen3.7-flash","name":"Qwen 3.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.03,"output":0.13,"cacheRead":0.006,"cacheWrite":0.038},"contextWindow":991000,"maxTokens":64000},"alibaba/qwen3.7-max":{"id":"alibaba/qwen3.7-max","name":"Qwen 3.7 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":2.5,"output":7.5,"cacheRead":0.5,"cacheWrite":3.125},"contextWindow":991000,"maxTokens":64000},"alibaba/qwen3.7-plus":{"id":"alibaba/qwen3.7-plus","name":"Qwen 3.7 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.08,"cacheWrite":0.5},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.8-max":{"id":"alibaba/qwen3.8-max","name":"Qwen 3.8 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.25,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000},"amazon/nova-2-lite":{"id":"amazon/nova-2-lite","name":"Nova 2 Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"amazon/nova-lite":{"id":"amazon/nova-lite","name":"Nova Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.06,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":300000,"maxTokens":8192},"amazon/nova-micro":{"id":"amazon/nova-micro","name":"Nova Micro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.035,"output":0.14,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"amazon/nova-pro":{"id":"amazon/nova-pro","name":"Nova Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.8,"output":3.2,"cacheRead":0,"cacheWrite":0},"contextWindow":300000,"maxTokens":8192},"anthropic/claude-3-haiku":{"id":"anthropic/claude-3-haiku","name":"Claude 3 Haiku","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.25,"output":1.25,"cacheRead":0.03,"cacheWrite":0.3},"contextWindow":200000,"maxTokens":4096},"anthropic/claude-fable-5":{"id":"anthropic/claude-fable-5","name":"Claude Fable 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsDisabledThinking":false,"forceAdaptiveThinking":true}},"anthropic/claude-haiku-4.5":{"id":"anthropic/claude-haiku-4.5","name":"Claude Haiku 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000},"anthropic/claude-opus-4":{"id":"anthropic/claude-opus-4","name":"Claude Opus 4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":75,"cacheRead":1.5,"cacheWrite":18.75},"contextWindow":200000,"maxTokens":8192},"anthropic/claude-opus-4.5":{"id":"anthropic/claude-opus-4.5","name":"Claude Opus 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000},"anthropic/claude-opus-4.6":{"id":"anthropic/claude-opus-4.6","name":"Claude Opus 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true}},"anthropic/claude-opus-4.7":{"id":"anthropic/claude-opus-4.7","name":"Claude Opus 4.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-4.8":{"id":"anthropic/claude-opus-4.8","name":"Claude Opus 4.8","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-4.8-fast":{"id":"anthropic/claude-opus-4.8-fast","name":"Claude Opus 4.8 (Fast)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-5":{"id":"anthropic/claude-opus-5","name":"Claude Opus 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-5-fast":{"id":"anthropic/claude-opus-5-fast","name":"Claude Opus 5 (Fast)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-sonnet-4":{"id":"anthropic/claude-sonnet-4","name":"Claude Sonnet 4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":8192},"anthropic/claude-sonnet-4.5":{"id":"anthropic/claude-sonnet-4.5","name":"Claude Sonnet 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":64000},"anthropic/claude-sonnet-4.6":{"id":"anthropic/claude-sonnet-4.6","name":"Claude Sonnet 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true}},"anthropic/claude-sonnet-5":{"id":"anthropic/claude-sonnet-5","name":"Claude Sonnet 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true}},"arcee-ai/trinity-large-thinking":{"id":"arcee-ai/trinity-large-thinking","name":"Trinity Large Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.9,"cacheRead":0,"cacheWrite":0},"contextWindow":262100,"maxTokens":80000},"arcee-ai/trinity-mini":{"id":"arcee-ai/trinity-mini","name":"Trinity Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.045,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"bytedance/seed-1.6":{"id":"bytedance/seed-1.6","name":"Seed 1.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.05,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"bytedance/seed-1.8":{"id":"bytedance/seed-1.8","name":"Bytedance Seed 1.8","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.05,"cacheWrite":0},"contextWindow":256000,"maxTokens":64000},"cohere/command-a":{"id":"cohere/command-a","name":"Command A","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":2.5,"output":10,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":8000},"deepseek/deepseek-r1":{"id":"deepseek/deepseek-r1","name":"DeepSeek-R1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.35,"output":5.4,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"deepseek/deepseek-v3":{"id":"deepseek/deepseek-v3","name":"DeepSeek V3 0324","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.27,"output":1.12,"cacheRead":0.135,"cacheWrite":0},"contextWindow":163840,"maxTokens":163840},"deepseek/deepseek-v3.1":{"id":"deepseek/deepseek-v3.1","name":"DeepSeek V3.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.95,"cacheRead":0.13,"cacheWrite":0},"contextWindow":163840,"maxTokens":128000},"deepseek/deepseek-v3.1-terminus":{"id":"deepseek/deepseek-v3.1-terminus","name":"DeepSeek V3.1 Terminus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.27,"output":1,"cacheRead":0.135,"cacheWrite":0},"contextWindow":131072,"maxTokens":65536},"deepseek/deepseek-v3.2":{"id":"deepseek/deepseek-v3.2","name":"DeepSeek V3.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.28,"output":0.42,"cacheRead":0.028,"cacheWrite":0},"contextWindow":128000,"maxTokens":8000},"deepseek/deepseek-v3.2-thinking":{"id":"deepseek/deepseek-v3.2-thinking","name":"DeepSeek V3.2 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.62,"output":1.85,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8000},"deepseek/deepseek-v4-flash":{"id":"deepseek/deepseek-v4-flash","name":"DeepSeek V4 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":0.4,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000},"deepseek/deepseek-v4-flash-0731":{"id":"deepseek/deepseek-v4-flash-0731","name":"DeepSeek V4 Flash 0731","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":0.4,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000},"deepseek/deepseek-v4-pro":{"id":"deepseek/deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.74,"output":3.48,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048600,"maxTokens":1048600},"google/gemini-2.5-flash":{"id":"google/gemini-2.5-flash","name":"Gemini 2.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65536},"google/gemini-2.5-flash-lite":{"id":"google/gemini-2.5-flash-lite","name":"Gemini 2.5 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536},"google/gemini-2.5-pro":{"id":"google/gemini-2.5-pro","name":"Gemini 2.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536},"google/gemini-3-flash":{"id":"google/gemini-3-flash","name":"Gemini 3 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.1-flash-lite":{"id":"google/gemini-3.1-flash-lite","name":"Gemini 3.1 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":1.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.1-pro-preview":{"id":"google/gemini-3.1-pro-preview","name":"Gemini 3.1 Pro Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemini-3.5-flash":{"id":"google/gemini-3.5-flash","name":"Gemini 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":9,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemini-3.5-flash-lite":{"id":"google/gemini-3.5-flash-lite","name":"Gemini 3.5 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.6-flash":{"id":"google/gemini-3.6-flash","name":"Gemini 3.6 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":7.5,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemma-4-26b-a4b-it":{"id":"google/gemma-4-26b-a4b-it","name":"Gemma 4 26B A4B IT","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.015,"cacheWrite":0},"contextWindow":262144,"maxTokens":131072},"google/gemma-4-31b-it":{"id":"google/gemma-4-31b-it","name":"Gemma 4 31B IT","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.14,"output":0.4,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":131072},"inception/mercury-2":{"id":"inception/mercury-2","name":"Mercury 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.75,"cacheRead":0.025,"cacheWrite":0},"contextWindow":128000,"maxTokens":128000},"inception/mercury-coder-small":{"id":"inception/mercury-coder-small","name":"Mercury Coder Small Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.25,"output":1,"cacheRead":0,"cacheWrite":0},"contextWindow":32000,"maxTokens":16384},"inclusionai/ling-3.0-flash":{"id":"inclusionai/ling-3.0-flash","name":"Ling 3.0 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.18,"cacheRead":0.012,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"inclusionai/ling-3.0-tiny-free":{"id":"inclusionai/ling-3.0-tiny-free","name":"Ling 3.0 Tiny (Free)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"interfaze/interfaze-beta":{"id":"interfaze/interfaze-beta","name":"Interfaze Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":3.5,"cacheRead":0,"cacheWrite":0},"contextWindow":1000000,"maxTokens":32000},"kwaipilot/kat-coder-air-v2.5":{"id":"kwaipilot/kat-coder-air-v2.5","name":"Kat Coder Air V2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.03,"cacheWrite":0},"contextWindow":256000,"maxTokens":80000},"kwaipilot/kat-coder-pro-v1":{"id":"kwaipilot/kat-coder-pro-v1","name":"KAT-Coder-Pro V1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"kwaipilot/kat-coder-pro-v2":{"id":"kwaipilot/kat-coder-pro-v2","name":"Kat Coder Pro V2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"kwaipilot/kat-coder-pro-v2.5":{"id":"kwaipilot/kat-coder-pro-v2.5","name":"Kat Coder Pro V2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.74,"output":2.96,"cacheRead":0.15,"cacheWrite":0},"contextWindow":256000,"maxTokens":80000},"meta/llama-3.1-70b":{"id":"meta/llama-3.1-70b","name":"Llama 3.1 70B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.72,"output":0.72,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-3.1-8b":{"id":"meta/llama-3.1-8b","name":"Llama 3.1 8B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.22,"output":0.22,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-3.3-70b":{"id":"meta/llama-3.3-70b","name":"Llama 3.3 70B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.72,"output":0.72,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-4-maverick":{"id":"meta/llama-4-maverick","name":"Llama 4 Maverick 17B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.24,"output":0.97,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-4-scout":{"id":"meta/llama-4-scout","name":"Llama 4 Scout 17B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.17,"output":0.66,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/muse-spark-1.1":{"id":"meta/muse-spark-1.1","name":"Muse Spark 1.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":4.25,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"meta/muse-spark-1.2":{"id":"meta/muse-spark-1.2","name":"Muse Spark 1.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":4.25,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"meta/muse-spark-1.2-contributor":{"id":"meta/muse-spark-1.2-contributor","name":"Muse Spark 1.2 Contributor","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.2,"cacheRead":0.002,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"minimax/minimax-m2":{"id":"minimax/minimax-m2","name":"MiniMax M2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":205000,"maxTokens":205000},"minimax/minimax-m2.1":{"id":"minimax/minimax-m2.1","name":"MiniMax M2.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072},"minimax/minimax-m2.1-lightning":{"id":"minimax/minimax-m2.1-lightning","name":"MiniMax M2.1 Lightning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":2.4,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072},"minimax/minimax-m2.5":{"id":"minimax/minimax-m2.5","name":"MiniMax M2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.5-highspeed":{"id":"minimax/minimax-m2.5-highspeed","name":"MiniMax M2.5 High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.7":{"id":"minimax/minimax-m2.7","name":"Minimax M2.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.7-highspeed":{"id":"minimax/minimax-m2.7-highspeed","name":"MiniMax M2.7 High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131100},"minimax/minimax-m3":{"id":"minimax/minimax-m3","name":"MiniMax M3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"mistral/codestral":{"id":"mistral/codestral","name":"Mistral Codestral","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.3,"output":0.9,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/devstral-2":{"id":"mistral/devstral-2","name":"Devstral 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.4,"output":2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/devstral-small-2":{"id":"mistral/devstral-small-2","name":"Devstral Small 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.3,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/magistral-medium":{"id":"mistral/magistral-medium","name":"Magistral Medium 2509","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":5,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/magistral-small":{"id":"mistral/magistral-small","name":"Magistral Small 2509","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/ministral-14b":{"id":"mistral/ministral-14b","name":"Ministral 14B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.2,"output":0.2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/ministral-3b":{"id":"mistral/ministral-3b","name":"Ministral 3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.1,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/ministral-8b":{"id":"mistral/ministral-8b","name":"Ministral 8B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/mistral-large-3":{"id":"mistral/mistral-large-3","name":"Mistral Large 3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/mistral-medium":{"id":"mistral/mistral-medium","name":"Mistral Medium 3.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":2,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/mistral-medium-3.5":{"id":"mistral/mistral-medium-3.5","name":"Mistral Medium Latest","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":7.5,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/mistral-nemo":{"id":"mistral/mistral-nemo","name":"Mistral Nemo 12B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":128000},"mistral/mistral-small":{"id":"mistral/mistral-small","name":"Mistral Small","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.3,"cacheRead":0,"cacheWrite":0},"contextWindow":32000,"maxTokens":4000},"mistral/pixtral-12b":{"id":"mistral/pixtral-12b","name":"Pixtral 12B 2409","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"moonshotai/kimi-k2":{"id":"moonshotai/kimi-k2","name":"Kimi K2 Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.57,"output":2.3,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"moonshotai/kimi-k2-thinking":{"id":"moonshotai/kimi-k2-thinking","name":"Kimi K2 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.47,"output":2,"cacheRead":0.141,"cacheWrite":0},"contextWindow":216144,"maxTokens":216144},"moonshotai/kimi-k2.5":{"id":"moonshotai/kimi-k2.5","name":"Kimi K2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":3,"cacheRead":0.1,"cacheWrite":0},"contextWindow":262114,"maxTokens":262114},"moonshotai/kimi-k2.6":{"id":"moonshotai/kimi-k2.6","name":"Kimi K2.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.16,"cacheWrite":0},"contextWindow":262000,"maxTokens":262000},"moonshotai/kimi-k2.7-code":{"id":"moonshotai/kimi-k2.7-code","name":"Kimi K2.7 Code","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.19,"cacheWrite":0},"contextWindow":256000,"maxTokens":32768},"moonshotai/kimi-k2.7-code-highspeed":{"id":"moonshotai/kimi-k2.7-code-highspeed","name":"Kimi K2.7 Code High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.9,"output":8,"cacheRead":0.38,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"moonshotai/kimi-k3":{"id":"moonshotai/kimi-k3","name":"Kimi K3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"moonshotai/kimi-k3-fast":{"id":"moonshotai/kimi-k3-fast","name":"Kimi K3 Fast","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":4.5,"output":22.5,"cacheRead":0.45,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"nvidia/nemotron-3-nano-30b-a3b":{"id":"nvidia/nemotron-3-nano-30b-a3b","name":"Nemotron 3 Nano 30B A3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144},"nvidia/nemotron-3-super-120b-a12b":{"id":"nvidia/nemotron-3-super-120b-a12b","name":"NVIDIA Nemotron 3 Super 120B A12B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.15,"output":0.65,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"nvidia/nemotron-3-ultra-550b-a55b":{"id":"nvidia/nemotron-3-ultra-550b-a55b","name":"Nemotron 3 Ultra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"nvidia/nemotron-nano-12b-v2-vl":{"id":"nvidia/nemotron-nano-12b-v2-vl","name":"Nvidia Nemotron Nano 12B V2 VL","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"nvidia/nemotron-nano-9b-v2":{"id":"nvidia/nemotron-nano-9b-v2","name":"Nvidia Nemotron Nano 9B V2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.23,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"openai/gpt-3.5-turbo":{"id":"openai/gpt-3.5-turbo","name":"GPT-3.5 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":16385,"maxTokens":4096},"openai/gpt-4-turbo":{"id":"openai/gpt-4-turbo","name":"GPT-4 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":10,"output":30,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096},"openai/gpt-4.1":{"id":"openai/gpt-4.1","name":"GPT-4.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4.1-mini":{"id":"openai/gpt-4.1-mini","name":"GPT-4.1 mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4.1-nano":{"id":"openai/gpt-4.1-nano","name":"GPT-4.1 nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4o":{"id":"openai/gpt-4o","name":"GPT-4o","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384},"openai/gpt-4o-mini":{"id":"openai/gpt-4o-mini","name":"GPT-4o mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384},"openai/gpt-5":{"id":"openai/gpt-5","name":"GPT-5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-codex":{"id":"openai/gpt-5-codex","name":"GPT-5-Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.13,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-mini":{"id":"openai/gpt-5-mini","name":"GPT-5 mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-nano":{"id":"openai/gpt-5-nano","name":"GPT-5 nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-pro":{"id":"openai/gpt-5-pro","name":"GPT-5 pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":120,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":272000},"openai/gpt-5.1-codex":{"id":"openai/gpt-5.1-codex","name":"GPT-5.1-Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.13,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-codex-max":{"id":"openai/gpt-5.1-codex-max","name":"GPT 5.1 Codex Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-codex-mini":{"id":"openai/gpt-5.1-codex-mini","name":"GPT 5.1 Codex Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.03,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-thinking":{"id":"openai/gpt-5.1-thinking","name":"GPT 5.1 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.2":{"id":"openai/gpt-5.2","name":"GPT 5.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.2-codex":{"id":"openai/gpt-5.2-codex","name":"GPT 5.2 Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.2-pro":{"id":"openai/gpt-5.2-pro","name":"GPT 5.2 ","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":21,"output":168,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.3-chat":{"id":"openai/gpt-5.3-chat","name":"GPT-5.3 Chat","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.3-codex":{"id":"openai/gpt-5.3-codex","name":"GPT 5.3 Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4":{"id":"openai/gpt-5.4","name":"GPT 5.4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-mini":{"id":"openai/gpt-5.4-mini","name":"GPT 5.4 Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-nano":{"id":"openai/gpt-5.4-nano","name":"GPT 5.4 Nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-pro":{"id":"openai/gpt-5.4-pro","name":"GPT 5.4 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.5":{"id":"openai/gpt-5.5","name":"GPT 5.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.5-pro":{"id":"openai/gpt-5.5-pro","name":"GPT 5.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","off":null,"minimal":null,"low":null}},"openai/gpt-5.6-luna":{"id":"openai/gpt-5.6-luna","name":"GPT 5.6 Luna","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.6-sol":{"id":"openai/gpt-5.6-sol","name":"GPT 5.6 Sol","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.6-terra":{"id":"openai/gpt-5.6-terra","name":"GPT 5.6 Terra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-oss-120b":{"id":"openai/gpt-oss-120b","name":"GPT OSS 120B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.5,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"openai/gpt-oss-20b":{"id":"openai/gpt-oss-20b","name":"GPT OSS 20B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":8192},"openai/gpt-oss-safeguard-20b":{"id":"openai/gpt-oss-safeguard-20b","name":"GPT OSS Safeguard 20B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.075,"output":0.3,"cacheRead":0.037,"cacheWrite":0},"contextWindow":131072,"maxTokens":65536},"openai/o1":{"id":"openai/o1","name":"o1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":60,"cacheRead":7.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3":{"id":"openai/o3","name":"o3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-deep-research":{"id":"openai/o3-deep-research","name":"o3-deep-research","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":40,"cacheRead":2.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-mini":{"id":"openai/o3-mini","name":"o3-mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.55,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-pro":{"id":"openai/o3-pro","name":"o3 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":80,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o4-mini":{"id":"openai/o4-mini","name":"o4-mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.275,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"poolside/laguna-s-2.1":{"id":"poolside/laguna-s-2.1","name":"Laguna S 2.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.2,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"poolside/laguna-s-2.1-free":{"id":"poolside/laguna-s-2.1-free","name":"Laguna S 2.1 Free","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32768},"sakana/fugu-ultra":{"id":"sakana/fugu-ultra","name":"Fugu Ultra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"stepfun/step-3.5-flash":{"id":"stepfun/step-3.5-flash","name":"StepFun 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.09,"output":0.3,"cacheRead":0.02,"cacheWrite":0},"contextWindow":262114,"maxTokens":262114},"stepfun/step-3.7-flash":{"id":"stepfun/step-3.7-flash","name":"Step 3.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.15,"cacheRead":0.04,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"tencent/hy3":{"id":"tencent/hy3","name":"Hy3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.14,"output":0.58,"cacheRead":0.035,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144},"thinkingmachines/inkling":{"id":"thinkingmachines/inkling","name":"Inkling","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":4.05,"cacheRead":0.17,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"thinkingmachines/inkling-small":{"id":"thinkingmachines/inkling-small","name":"Inkling Small","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":1.2,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.1-fast-non-reasoning":{"id":"xai/grok-4.1-fast-non-reasoning","name":"Grok 4.1 Fast Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.1-fast-reasoning":{"id":"xai/grok-4.1-fast-reasoning","name":"Grok 4.1 Fast Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.20-multi-agent":{"id":"xai/grok-4.20-multi-agent","name":"Grok 4.20 Multi-Agent","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-multi-agent-beta":{"id":"xai/grok-4.20-multi-agent-beta","name":"Grok 4.20 Multi Agent Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-non-reasoning":{"id":"xai/grok-4.20-non-reasoning","name":"Grok 4.20 Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-non-reasoning-beta":{"id":"xai/grok-4.20-non-reasoning-beta","name":"Grok 4.20 Beta Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-reasoning":{"id":"xai/grok-4.20-reasoning","name":"Grok 4.20 Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-reasoning-beta":{"id":"xai/grok-4.20-reasoning-beta","name":"Grok 4.20 Beta Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.3":{"id":"xai/grok-4.3","name":"Grok 4.3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.5":{"id":"xai/grok-4.5","name":"Grok 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.3,"cacheWrite":0},"contextWindow":500000,"maxTokens":500000},"xai/grok-build-0.1":{"id":"xai/grok-build-0.1","name":"Grok Build 0.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":2,"cacheRead":0.2,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"xiaomi/mimo-v2.5":{"id":"xiaomi/mimo-v2.5","name":"MiMo M2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.14,"output":0.28,"cacheRead":0.0028,"cacheWrite":0},"contextWindow":1050000,"maxTokens":131100},"xiaomi/mimo-v2.5-pro":{"id":"xiaomi/mimo-v2.5-pro","name":"MiMo V2.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.435,"output":0.87,"cacheRead":0.0036,"cacheWrite":0},"contextWindow":1050000,"maxTokens":131000},"zai/glm-4.5":{"id":"zai/glm-4.5","name":"GLM 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.11,"cacheWrite":0},"contextWindow":128000,"maxTokens":96000},"zai/glm-4.5-air":{"id":"zai/glm-4.5-air","name":"GLM 4.5 Air","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":1.1,"cacheRead":0.03,"cacheWrite":0},"contextWindow":128000,"maxTokens":96000},"zai/glm-4.5v":{"id":"zai/glm-4.5v","name":"GLM 4.5V","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":1.8,"cacheRead":0.11,"cacheWrite":0},"contextWindow":66000,"maxTokens":16000},"zai/glm-4.6":{"id":"zai/glm-4.6","name":"GLM 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.11,"cacheWrite":0},"contextWindow":200000,"maxTokens":96000},"zai/glm-4.6v":{"id":"zai/glm-4.6v","name":"GLM-4.6V","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":0.9,"cacheRead":0.05,"cacheWrite":0},"contextWindow":128000,"maxTokens":24000},"zai/glm-4.6v-flash":{"id":"zai/glm-4.6v-flash","name":"GLM-4.6V-Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":24000},"zai/glm-4.7":{"id":"zai/glm-4.7","name":"GLM 4.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.12,"cacheWrite":0},"contextWindow":200000,"maxTokens":120000},"zai/glm-4.7-flash":{"id":"zai/glm-4.7-flash","name":"GLM 4.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.07,"output":0.4,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":131000},"zai/glm-4.7-flashx":{"id":"zai/glm-4.7-flashx","name":"GLM 4.7 FlashX","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":200000,"maxTokens":128000},"zai/glm-5":{"id":"zai/glm-5","name":"GLM 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1,"output":3.2,"cacheRead":0,"cacheWrite":0},"contextWindow":202800,"maxTokens":131100},"zai/glm-5-turbo":{"id":"zai/glm-5-turbo","name":"GLM 5 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.2,"output":4,"cacheRead":0.24,"cacheWrite":0},"contextWindow":202800,"maxTokens":131100},"zai/glm-5.1":{"id":"zai/glm-5.1","name":"GLM 5.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.26,"cacheWrite":0},"contextWindow":202800,"maxTokens":64000},"zai/glm-5.2":{"id":"zai/glm-5.2","name":"GLM 5.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.1,"output":3.851,"cacheRead":0.275,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000},"zai/glm-5.2-fast":{"id":"zai/glm-5.2-fast","name":"GLM 5.2 Fast","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000},"zai/glm-5v-turbo":{"id":"zai/glm-5v-turbo","name":"GLM 5V Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.2,"output":4,"cacheRead":0.24,"cacheWrite":0},"contextWindow":200000,"maxTokens":128000}}}
1
+ {"anthropic-messages":{"alibaba/qwen-3-14b":{"id":"alibaba/qwen-3-14b","name":"Qwen3-14B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.12,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":40960,"maxTokens":16384},"alibaba/qwen-3-235b":{"id":"alibaba/qwen-3-235b","name":"Qwen3 235B A22B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.22,"output":0.88,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":16384},"alibaba/qwen-3-30b":{"id":"alibaba/qwen-3-30b","name":"Qwen3-30B-A3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.12,"output":0.5,"cacheRead":0,"cacheWrite":0},"contextWindow":40960,"maxTokens":16384},"alibaba/qwen-3-32b":{"id":"alibaba/qwen-3-32b","name":"Qwen 3 32B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.16,"output":0.64,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"alibaba/qwen-3.6-max-preview":{"id":"alibaba/qwen-3.6-max-preview","name":"Qwen 3.6 Max Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.3,"output":7.8,"cacheRead":0.26,"cacheWrite":1.625},"contextWindow":240000,"maxTokens":64000},"alibaba/qwen3-235b-a22b-thinking":{"id":"alibaba/qwen3-235b-a22b-thinking","name":"Qwen3 VL 235B A22B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":4,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-coder":{"id":"alibaba/qwen3-coder","name":"Qwen3 Coder 480B A35B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.5,"output":7.5,"cacheRead":0.3,"cacheWrite":0},"contextWindow":262144,"maxTokens":65536},"alibaba/qwen3-coder-30b-a3b":{"id":"alibaba/qwen3-coder-30b-a3b","name":"Qwen 3 Coder 30B A3B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.15,"output":0.6,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":8192},"alibaba/qwen3-coder-next":{"id":"alibaba/qwen3-coder-next","name":"Qwen3 Coder Next","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"alibaba/qwen3-coder-plus":{"id":"alibaba/qwen3-coder-plus","name":"Qwen3 Coder Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1,"output":5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65536},"alibaba/qwen3-max":{"id":"alibaba/qwen3-max","name":"Qwen3 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"alibaba/qwen3-max-preview":{"id":"alibaba/qwen3-max-preview","name":"Qwen3 Max Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"alibaba/qwen3-max-thinking":{"id":"alibaba/qwen3-max-thinking","name":"Qwen 3 Max Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.2,"output":6,"cacheRead":0.24,"cacheWrite":0},"contextWindow":256000,"maxTokens":65536},"alibaba/qwen3-next-80b-a3b-instruct":{"id":"alibaba/qwen3-next-80b-a3b-instruct","name":"Qwen3 Next 80B A3B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.15,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-next-80b-a3b-thinking":{"id":"alibaba/qwen3-next-80b-a3b-thinking","name":"Qwen3 Next 80B A3B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.15,"output":1.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3-vl-235b-a22b-instruct":{"id":"alibaba/qwen3-vl-235b-a22b-instruct","name":"Qwen3 VL 235B A22B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":129024},"alibaba/qwen3-vl-instruct":{"id":"alibaba/qwen3-vl-instruct","name":"Qwen3 VL 235B A22B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":129024},"alibaba/qwen3-vl-thinking":{"id":"alibaba/qwen3-vl-thinking","name":"Qwen3 VL 235B A22B Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":4,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":32768},"alibaba/qwen3.5-flash":{"id":"alibaba/qwen3.5-flash","name":"Qwen 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.001,"cacheWrite":0.125},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.5-plus":{"id":"alibaba/qwen3.5-plus","name":"Qwen 3.5 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":2.4,"cacheRead":0.04,"cacheWrite":0.5},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.6-27b":{"id":"alibaba/qwen3.6-27b","name":"Qwen 3.6 27B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":3.6,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"alibaba/qwen3.6-plus":{"id":"alibaba/qwen3.6-plus","name":"Qwen 3.6 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.1,"cacheWrite":0.625},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.7-flash":{"id":"alibaba/qwen3.7-flash","name":"Qwen 3.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.03,"output":0.13,"cacheRead":0.006,"cacheWrite":0.038},"contextWindow":991000,"maxTokens":64000},"alibaba/qwen3.7-max":{"id":"alibaba/qwen3.7-max","name":"Qwen 3.7 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":2.5,"output":7.5,"cacheRead":0.5,"cacheWrite":3.125},"contextWindow":991000,"maxTokens":64000},"alibaba/qwen3.7-plus":{"id":"alibaba/qwen3.7-plus","name":"Qwen 3.7 Plus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.08,"cacheWrite":0.5},"contextWindow":1000000,"maxTokens":64000},"alibaba/qwen3.8-max":{"id":"alibaba/qwen3.8-max","name":"Qwen 3.8 Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.25,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000},"amazon/nova-2-lite":{"id":"amazon/nova-2-lite","name":"Nova 2 Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"amazon/nova-lite":{"id":"amazon/nova-lite","name":"Nova Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.06,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":300000,"maxTokens":8192},"amazon/nova-micro":{"id":"amazon/nova-micro","name":"Nova Micro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.035,"output":0.14,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"amazon/nova-pro":{"id":"amazon/nova-pro","name":"Nova Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.8,"output":3.2,"cacheRead":0,"cacheWrite":0},"contextWindow":300000,"maxTokens":8192},"anthropic/claude-3-haiku":{"id":"anthropic/claude-3-haiku","name":"Claude 3 Haiku","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.25,"output":1.25,"cacheRead":0.03,"cacheWrite":0.3},"contextWindow":200000,"maxTokens":4096},"anthropic/claude-fable-5":{"id":"anthropic/claude-fable-5","name":"Claude Fable 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsDisabledThinking":false,"forceAdaptiveThinking":true}},"anthropic/claude-haiku-4.5":{"id":"anthropic/claude-haiku-4.5","name":"Claude Haiku 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.1,"cacheWrite":1.25},"contextWindow":200000,"maxTokens":64000},"anthropic/claude-opus-4":{"id":"anthropic/claude-opus-4","name":"Claude Opus 4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":75,"cacheRead":1.5,"cacheWrite":18.75},"contextWindow":200000,"maxTokens":8192},"anthropic/claude-opus-4.5":{"id":"anthropic/claude-opus-4.5","name":"Claude Opus 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":200000,"maxTokens":64000},"anthropic/claude-opus-4.6":{"id":"anthropic/claude-opus-4.6","name":"Claude Opus 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true}},"anthropic/claude-opus-4.7":{"id":"anthropic/claude-opus-4.7","name":"Claude Opus 4.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-4.8":{"id":"anthropic/claude-opus-4.8","name":"Claude Opus 4.8","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-4.8-fast":{"id":"anthropic/claude-opus-4.8-fast","name":"Claude Opus 4.8 (Fast)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-5":{"id":"anthropic/claude-opus-5","name":"Claude Opus 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":25,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-opus-5-fast":{"id":"anthropic/claude-opus-5-fast","name":"Claude Opus 5 (Fast)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true,"supportsTemperature":false}},"anthropic/claude-sonnet-4":{"id":"anthropic/claude-sonnet-4","name":"Claude Sonnet 4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":8192},"anthropic/claude-sonnet-4.5":{"id":"anthropic/claude-sonnet-4.5","name":"Claude Sonnet 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":64000},"anthropic/claude-sonnet-4.6":{"id":"anthropic/claude-sonnet-4.6","name":"Claude Sonnet 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":3.75},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"max":"max"},"compat":{"forceAdaptiveThinking":true}},"anthropic/claude-sonnet-5":{"id":"anthropic/claude-sonnet-5","name":"Claude Sonnet 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"forceAdaptiveThinking":true}},"arcee-ai/trinity-large-thinking":{"id":"arcee-ai/trinity-large-thinking","name":"Trinity Large Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.9,"cacheRead":0,"cacheWrite":0},"contextWindow":262100,"maxTokens":80000},"arcee-ai/trinity-mini":{"id":"arcee-ai/trinity-mini","name":"Trinity Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.045,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"bytedance/seed-1.6":{"id":"bytedance/seed-1.6","name":"Seed 1.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.05,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"bytedance/seed-1.8":{"id":"bytedance/seed-1.8","name":"Bytedance Seed 1.8","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.05,"cacheWrite":0},"contextWindow":256000,"maxTokens":64000},"cohere/command-a":{"id":"cohere/command-a","name":"Command A","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":2.5,"output":10,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":8000},"deepseek/deepseek-r1":{"id":"deepseek/deepseek-r1","name":"DeepSeek-R1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.35,"output":5.4,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"deepseek/deepseek-v3":{"id":"deepseek/deepseek-v3","name":"DeepSeek V3 0324","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.27,"output":1.12,"cacheRead":0.135,"cacheWrite":0},"contextWindow":163840,"maxTokens":163840},"deepseek/deepseek-v3.1":{"id":"deepseek/deepseek-v3.1","name":"DeepSeek V3.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.95,"cacheRead":0.13,"cacheWrite":0},"contextWindow":163840,"maxTokens":128000},"deepseek/deepseek-v3.1-terminus":{"id":"deepseek/deepseek-v3.1-terminus","name":"DeepSeek V3.1 Terminus","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.27,"output":1,"cacheRead":0.135,"cacheWrite":0},"contextWindow":131072,"maxTokens":65536},"deepseek/deepseek-v3.2":{"id":"deepseek/deepseek-v3.2","name":"DeepSeek V3.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.28,"output":0.42,"cacheRead":0.028,"cacheWrite":0},"contextWindow":128000,"maxTokens":8000},"deepseek/deepseek-v3.2-thinking":{"id":"deepseek/deepseek-v3.2-thinking","name":"DeepSeek V3.2 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.62,"output":1.85,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8000},"deepseek/deepseek-v4-flash":{"id":"deepseek/deepseek-v4-flash","name":"DeepSeek V4 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":0.4,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000},"deepseek/deepseek-v4-flash-0731":{"id":"deepseek/deepseek-v4-flash-0731","name":"DeepSeek V4 Flash 0731","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":0.4,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000},"deepseek/deepseek-v4-pro":{"id":"deepseek/deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.74,"output":3.48,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048600,"maxTokens":1048600},"google/gemini-2.5-flash":{"id":"google/gemini-2.5-flash","name":"Gemini 2.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65536},"google/gemini-2.5-flash-lite":{"id":"google/gemini-2.5-flash-lite","name":"Gemini 2.5 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536},"google/gemini-2.5-pro":{"id":"google/gemini-2.5-pro","name":"Gemini 2.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":1048576,"maxTokens":65536},"google/gemini-3-flash":{"id":"google/gemini-3-flash","name":"Gemini 3 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":3,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.1-flash-lite":{"id":"google/gemini-3.1-flash-lite","name":"Gemini 3.1 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":1.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.1-pro-preview":{"id":"google/gemini-3.1-pro-preview","name":"Gemini 3.1 Pro Preview","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemini-3.5-flash":{"id":"google/gemini-3.5-flash","name":"Gemini 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":9,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemini-3.5-flash-lite":{"id":"google/gemini-3.5-flash-lite","name":"Gemini 3.5 Flash Lite","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":2.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"google/gemini-3.6-flash":{"id":"google/gemini-3.6-flash","name":"Gemini 3.6 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":7.5,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1000000,"maxTokens":64000},"google/gemma-4-26b-a4b-it":{"id":"google/gemma-4-26b-a4b-it","name":"Google Gemma 4 26B A4B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.015,"cacheWrite":0},"contextWindow":262144,"maxTokens":131072},"google/gemma-4-31b-it":{"id":"google/gemma-4-31b-it","name":"Gemma 4 31B IT","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.14,"output":0.4,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":131072},"inception/mercury-2":{"id":"inception/mercury-2","name":"Mercury 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.25,"output":0.75,"cacheRead":0.025,"cacheWrite":0},"contextWindow":128000,"maxTokens":128000},"inception/mercury-coder-small":{"id":"inception/mercury-coder-small","name":"Mercury Coder Small Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.25,"output":1,"cacheRead":0,"cacheWrite":0},"contextWindow":32000,"maxTokens":16384},"inclusionai/ling-3.0-flash":{"id":"inclusionai/ling-3.0-flash","name":"Ling 3.0 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.18,"cacheRead":0.012,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"inclusionai/ling-3.0-tiny-free":{"id":"inclusionai/ling-3.0-tiny-free","name":"Ling 3.0 Tiny (Free)","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"interfaze/interfaze-beta":{"id":"interfaze/interfaze-beta","name":"Interfaze Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":3.5,"cacheRead":0,"cacheWrite":0},"contextWindow":1000000,"maxTokens":32000},"kwaipilot/kat-coder-air-v2.5":{"id":"kwaipilot/kat-coder-air-v2.5","name":"Kat Coder Air V2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.03,"cacheWrite":0},"contextWindow":256000,"maxTokens":80000},"kwaipilot/kat-coder-pro-v1":{"id":"kwaipilot/kat-coder-pro-v1","name":"KAT-Coder-Pro V1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"kwaipilot/kat-coder-pro-v2":{"id":"kwaipilot/kat-coder-pro-v2","name":"Kat Coder Pro V2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"kwaipilot/kat-coder-pro-v2.5":{"id":"kwaipilot/kat-coder-pro-v2.5","name":"Kat Coder Pro V2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.74,"output":2.96,"cacheRead":0.15,"cacheWrite":0},"contextWindow":256000,"maxTokens":80000},"meta/llama-3.1-70b":{"id":"meta/llama-3.1-70b","name":"Llama 3.1 70B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.72,"output":0.72,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-3.1-8b":{"id":"meta/llama-3.1-8b","name":"Llama 3.1 8B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.22,"output":0.22,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-3.3-70b":{"id":"meta/llama-3.3-70b","name":"Llama 3.3 70B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.72,"output":0.72,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-4-maverick":{"id":"meta/llama-4-maverick","name":"Llama 4 Maverick 17B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.24,"output":0.97,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/llama-4-scout":{"id":"meta/llama-4-scout","name":"Llama 4 Scout 17B Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.17,"output":0.66,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":8192},"meta/muse-glimmer-30b":{"id":"meta/muse-glimmer-30b","name":"Muse Glimmer 30B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.35,"output":1.5,"cacheRead":0.04,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"meta/muse-spark-1.1":{"id":"meta/muse-spark-1.1","name":"Muse Spark 1.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":4.25,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"meta/muse-spark-1.2":{"id":"meta/muse-spark-1.2","name":"Muse Spark 1.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":4.25,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"meta/muse-spark-1.2-contributor":{"id":"meta/muse-spark-1.2-contributor","name":"Muse Spark 1.2 Contributor","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.2,"cacheRead":0.002,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576},"minimax/minimax-m2":{"id":"minimax/minimax-m2","name":"MiniMax M2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":205000,"maxTokens":205000},"minimax/minimax-m2.1":{"id":"minimax/minimax-m2.1","name":"MiniMax M2.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072},"minimax/minimax-m2.1-lightning":{"id":"minimax/minimax-m2.1-lightning","name":"MiniMax M2.1 Lightning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":2.4,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131072},"minimax/minimax-m2.5":{"id":"minimax/minimax-m2.5","name":"MiniMax M2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.5-highspeed":{"id":"minimax/minimax-m2.5-highspeed","name":"MiniMax M2.5 High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.03,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.7":{"id":"minimax/minimax-m2.7","name":"Minimax M2.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131000},"minimax/minimax-m2.7-highspeed":{"id":"minimax/minimax-m2.7-highspeed","name":"MiniMax M2.7 High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.06,"cacheWrite":0.375},"contextWindow":204800,"maxTokens":131100},"minimax/minimax-m3":{"id":"minimax/minimax-m3","name":"MiniMax M3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.06,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"mistral/codestral":{"id":"mistral/codestral","name":"Mistral Codestral","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.3,"output":0.9,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/devstral-2":{"id":"mistral/devstral-2","name":"Devstral 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.4,"output":2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/devstral-small-2":{"id":"mistral/devstral-small-2","name":"Devstral Small 2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.3,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/magistral-medium":{"id":"mistral/magistral-medium","name":"Magistral Medium 2509","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":5,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/magistral-small":{"id":"mistral/magistral-small","name":"Magistral Small 2509","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/ministral-14b":{"id":"mistral/ministral-14b","name":"Ministral 14B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.2,"output":0.2,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/ministral-3b":{"id":"mistral/ministral-3b","name":"Ministral 3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.1,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/ministral-8b":{"id":"mistral/ministral-8b","name":"Ministral 8B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"mistral/mistral-large-3":{"id":"mistral/mistral-large-3","name":"Mistral Large 3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/mistral-medium":{"id":"mistral/mistral-medium","name":"Mistral Medium 3.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":2,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":64000},"mistral/mistral-medium-3.5":{"id":"mistral/mistral-medium-3.5","name":"Mistral Medium Latest","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.5,"output":7.5,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"mistral/mistral-nemo":{"id":"mistral/mistral-nemo","name":"Mistral Nemo 12B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":128000},"mistral/mistral-small":{"id":"mistral/mistral-small","name":"Mistral Small","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.3,"cacheRead":0,"cacheWrite":0},"contextWindow":32000,"maxTokens":4000},"mistral/pixtral-12b":{"id":"mistral/pixtral-12b","name":"Pixtral 12B 2409","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4000},"moonshotai/kimi-k2":{"id":"moonshotai/kimi-k2","name":"Kimi K2 Instruct","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.57,"output":2.3,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"moonshotai/kimi-k2-thinking":{"id":"moonshotai/kimi-k2-thinking","name":"Kimi K2 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.47,"output":2,"cacheRead":0.141,"cacheWrite":0},"contextWindow":216144,"maxTokens":216144},"moonshotai/kimi-k2.5":{"id":"moonshotai/kimi-k2.5","name":"Kimi K2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":3,"cacheRead":0.1,"cacheWrite":0},"contextWindow":262114,"maxTokens":262114},"moonshotai/kimi-k2.6":{"id":"moonshotai/kimi-k2.6","name":"Kimi K2.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.16,"cacheWrite":0},"contextWindow":262000,"maxTokens":262000},"moonshotai/kimi-k2.7-code":{"id":"moonshotai/kimi-k2.7-code","name":"Kimi K2.7 Code","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.19,"cacheWrite":0},"contextWindow":256000,"maxTokens":32768},"moonshotai/kimi-k2.7-code-highspeed":{"id":"moonshotai/kimi-k2.7-code-highspeed","name":"Kimi K2.7 Code High Speed","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.9,"output":8,"cacheRead":0.38,"cacheWrite":0},"contextWindow":262144,"maxTokens":32768},"moonshotai/kimi-k3":{"id":"moonshotai/kimi-k3","name":"Kimi K3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"moonshotai/kimi-k3-fast":{"id":"moonshotai/kimi-k3-fast","name":"Kimi K3 Fast","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":4.5,"output":22.5,"cacheRead":0.45,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"nvidia/nemotron-3-nano-30b-a3b":{"id":"nvidia/nemotron-3-nano-30b-a3b","name":"Nemotron 3 Nano 30B A3B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.24,"cacheRead":0,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144},"nvidia/nemotron-3-super-120b-a12b":{"id":"nvidia/nemotron-3-super-120b-a12b","name":"NVIDIA Nemotron 3 Super 120B A12B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.15,"output":0.65,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32000},"nvidia/nemotron-3-ultra-550b-a55b":{"id":"nvidia/nemotron-3-ultra-550b-a55b","name":"Nemotron 3 Ultra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0},"contextWindow":1000000,"maxTokens":65000},"nvidia/nemotron-nano-12b-v2-vl":{"id":"nvidia/nemotron-nano-12b-v2-vl","name":"Nvidia Nemotron Nano 12B V2 VL","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.6,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"nvidia/nemotron-nano-9b-v2":{"id":"nvidia/nemotron-nano-9b-v2","name":"Nvidia Nemotron Nano 9B V2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.23,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"openai/gpt-3.5-turbo":{"id":"openai/gpt-3.5-turbo","name":"GPT-3.5 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text"],"cost":{"input":0.5,"output":1.5,"cacheRead":0,"cacheWrite":0},"contextWindow":16385,"maxTokens":4096},"openai/gpt-4-turbo":{"id":"openai/gpt-4-turbo","name":"GPT-4 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":10,"output":30,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096},"openai/gpt-4.1":{"id":"openai/gpt-4.1","name":"GPT-4.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4.1-mini":{"id":"openai/gpt-4.1-mini","name":"GPT-4.1 mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4.1-nano":{"id":"openai/gpt-4.1-nano","name":"GPT-4.1 nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768},"openai/gpt-4o":{"id":"openai/gpt-4o","name":"GPT-4o","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384},"openai/gpt-4o-mini":{"id":"openai/gpt-4o-mini","name":"GPT-4o mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384},"openai/gpt-5":{"id":"openai/gpt-5","name":"GPT-5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-codex":{"id":"openai/gpt-5-codex","name":"GPT-5-Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.13,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-mini":{"id":"openai/gpt-5-mini","name":"GPT-5 mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-nano":{"id":"openai/gpt-5-nano","name":"GPT-5 nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5-pro":{"id":"openai/gpt-5-pro","name":"GPT-5 pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":120,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":272000},"openai/gpt-5.1-codex":{"id":"openai/gpt-5.1-codex","name":"GPT-5.1-Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.13,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-codex-max":{"id":"openai/gpt-5.1-codex-max","name":"GPT 5.1 Codex Max","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-codex-mini":{"id":"openai/gpt-5.1-codex-mini","name":"GPT 5.1 Codex Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.03,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.1-thinking":{"id":"openai/gpt-5.1-thinking","name":"GPT 5.1 Thinking","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000},"openai/gpt-5.2":{"id":"openai/gpt-5.2","name":"GPT 5.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.2-codex":{"id":"openai/gpt-5.2-codex","name":"GPT 5.2 Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.2-pro":{"id":"openai/gpt-5.2-pro","name":"GPT 5.2 ","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":21,"output":168,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.3-codex":{"id":"openai/gpt-5.3-codex","name":"GPT 5.3 Codex","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4":{"id":"openai/gpt-5.4","name":"GPT 5.4","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-mini":{"id":"openai/gpt-5.4-mini","name":"GPT 5.4 Mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-nano":{"id":"openai/gpt-5.4-nano","name":"GPT 5.4 Nano","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.4-pro":{"id":"openai/gpt-5.4-pro","name":"GPT 5.4 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.5":{"id":"openai/gpt-5.5","name":"GPT 5.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.5-pro":{"id":"openai/gpt-5.5-pro","name":"GPT 5.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","off":null,"minimal":null,"low":null}},"openai/gpt-5.6-luna":{"id":"openai/gpt-5.6-luna","name":"GPT 5.6 Luna","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.6-sol":{"id":"openai/gpt-5.6-sol","name":"GPT 5.6 Sol","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":6.25},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-5.6-terra":{"id":"openai/gpt-5.6-terra","name":"GPT 5.6 Terra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh"}},"openai/gpt-oss-120b":{"id":"openai/gpt-oss-120b","name":"GPT OSS 120B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.5,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":131072},"openai/gpt-oss-20b":{"id":"openai/gpt-oss-20b","name":"GPT OSS 20B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.05,"output":0.2,"cacheRead":0,"cacheWrite":0},"contextWindow":131072,"maxTokens":8192},"openai/gpt-oss-safeguard-20b":{"id":"openai/gpt-oss-safeguard-20b","name":"GPT OSS Safeguard 20B","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.075,"output":0.3,"cacheRead":0.037,"cacheWrite":0},"contextWindow":131072,"maxTokens":65536},"openai/o1":{"id":"openai/o1","name":"o1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":60,"cacheRead":7.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3":{"id":"openai/o3","name":"o3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-deep-research":{"id":"openai/o3-deep-research","name":"o3-deep-research","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":40,"cacheRead":2.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-mini":{"id":"openai/o3-mini","name":"o3-mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.55,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o3-pro":{"id":"openai/o3-pro","name":"o3 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":80,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"openai/o4-mini":{"id":"openai/o4-mini","name":"o4-mini","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.275,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000},"poolside/laguna-s-2.1":{"id":"poolside/laguna-s-2.1","name":"Laguna S 2.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.2,"cacheRead":0.01,"cacheWrite":0},"contextWindow":1000000,"maxTokens":131072},"poolside/laguna-s-2.1-free":{"id":"poolside/laguna-s-2.1-free","name":"Laguna S 2.1 Free","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":256000,"maxTokens":32768},"sakana/fugu-ultra":{"id":"sakana/fugu-ultra","name":"Fugu Ultra","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"sakana/namazu":{"id":"sakana/namazu","name":"Sakana Namazu","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.95,"output":4,"cacheRead":0.15,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"stepfun/step-3.5-flash":{"id":"stepfun/step-3.5-flash","name":"StepFun 3.5 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.09,"output":0.3,"cacheRead":0.02,"cacheWrite":0},"contextWindow":262114,"maxTokens":262114},"stepfun/step-3.7-flash":{"id":"stepfun/step-3.7-flash","name":"Step 3.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.15,"cacheRead":0.04,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"tencent/hy3":{"id":"tencent/hy3","name":"Hy3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.14,"output":0.58,"cacheRead":0.035,"cacheWrite":0},"contextWindow":262144,"maxTokens":262144},"thinkingmachines/inkling":{"id":"thinkingmachines/inkling","name":"Inkling","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":4.05,"cacheRead":0.17,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"thinkingmachines/inkling-small":{"id":"thinkingmachines/inkling-small","name":"Inkling Small","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.5,"output":1.2,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.1-fast-non-reasoning":{"id":"xai/grok-4.1-fast-non-reasoning","name":"Grok 4.1 Fast Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.1-fast-reasoning":{"id":"xai/grok-4.1-fast-reasoning","name":"Grok 4.1 Fast Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.05,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.20-multi-agent":{"id":"xai/grok-4.20-multi-agent","name":"Grok 4.20 Multi-Agent","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-multi-agent-beta":{"id":"xai/grok-4.20-multi-agent-beta","name":"Grok 4.20 Multi Agent Beta","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-non-reasoning":{"id":"xai/grok-4.20-non-reasoning","name":"Grok 4.20 Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-non-reasoning-beta":{"id":"xai/grok-4.20-non-reasoning-beta","name":"Grok 4.20 Beta Non-Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-reasoning":{"id":"xai/grok-4.20-reasoning","name":"Grok 4.20 Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.20-reasoning-beta":{"id":"xai/grok-4.20-reasoning-beta","name":"Grok 4.20 Beta Reasoning","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":2000000,"maxTokens":2000000},"xai/grok-4.3":{"id":"xai/grok-4.3","name":"Grok 4.3","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":2.5,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1000000,"maxTokens":1000000},"xai/grok-4.5":{"id":"xai/grok-4.5","name":"Grok 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":6,"cacheRead":0.3,"cacheWrite":0},"contextWindow":500000,"maxTokens":500000},"xai/grok-build-0.1":{"id":"xai/grok-build-0.1","name":"Grok Build 0.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":2,"cacheRead":0.2,"cacheWrite":0},"contextWindow":256000,"maxTokens":256000},"xiaomi/mimo-v2.5":{"id":"xiaomi/mimo-v2.5","name":"MiMo M2.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.14,"output":0.28,"cacheRead":0.0028,"cacheWrite":0},"contextWindow":1050000,"maxTokens":131100},"xiaomi/mimo-v2.5-pro":{"id":"xiaomi/mimo-v2.5-pro","name":"MiMo V2.5 Pro","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.435,"output":0.87,"cacheRead":0.0036,"cacheWrite":0},"contextWindow":1050000,"maxTokens":131000},"zai/glm-4.5":{"id":"zai/glm-4.5","name":"GLM 4.5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.11,"cacheWrite":0},"contextWindow":128000,"maxTokens":96000},"zai/glm-4.5-air":{"id":"zai/glm-4.5-air","name":"GLM 4.5 Air","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.2,"output":1.1,"cacheRead":0.03,"cacheWrite":0},"contextWindow":128000,"maxTokens":96000},"zai/glm-4.5v":{"id":"zai/glm-4.5v","name":"GLM 4.5V","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":1.8,"cacheRead":0.11,"cacheWrite":0},"contextWindow":66000,"maxTokens":16000},"zai/glm-4.6":{"id":"zai/glm-4.6","name":"GLM 4.6","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.11,"cacheWrite":0},"contextWindow":200000,"maxTokens":96000},"zai/glm-4.6v":{"id":"zai/glm-4.6v","name":"GLM-4.6V","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":0.9,"cacheRead":0.05,"cacheWrite":0},"contextWindow":128000,"maxTokens":24000},"zai/glm-4.6v-flash":{"id":"zai/glm-4.6v-flash","name":"GLM-4.6V-Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":24000},"zai/glm-4.7":{"id":"zai/glm-4.7","name":"GLM 4.7","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.2,"cacheRead":0.12,"cacheWrite":0},"contextWindow":200000,"maxTokens":120000},"zai/glm-4.7-flash":{"id":"zai/glm-4.7-flash","name":"GLM 4.7 Flash","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.07,"output":0.4,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":131000},"zai/glm-4.7-flashx":{"id":"zai/glm-4.7-flashx","name":"GLM 4.7 FlashX","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":0.06,"output":0.4,"cacheRead":0.01,"cacheWrite":0},"contextWindow":200000,"maxTokens":128000},"zai/glm-5":{"id":"zai/glm-5","name":"GLM 5","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1,"output":3.2,"cacheRead":0,"cacheWrite":0},"contextWindow":202800,"maxTokens":131100},"zai/glm-5-turbo":{"id":"zai/glm-5-turbo","name":"GLM 5 Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.2,"output":4,"cacheRead":0.24,"cacheWrite":0},"contextWindow":202800,"maxTokens":131100},"zai/glm-5.1":{"id":"zai/glm-5.1","name":"GLM 5.1","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.26,"cacheWrite":0},"contextWindow":202800,"maxTokens":64000},"zai/glm-5.2":{"id":"zai/glm-5.2","name":"GLM 5.2","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":1.1,"output":3.851,"cacheRead":0.275,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000},"zai/glm-5.2-fast":{"id":"zai/glm-5.2-fast","name":"GLM 5.2 Fast","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1000000,"maxTokens":128000},"zai/glm-5v-turbo":{"id":"zai/glm-5v-turbo","name":"GLM 5V Turbo","api":"anthropic-messages","baseUrl":"https://ai-gateway.vercel.sh","provider":"vercel-ai-gateway","reasoning":true,"input":["text","image"],"cost":{"input":1.2,"output":4,"cacheRead":0.24,"cacheWrite":0},"contextWindow":200000,"maxTokens":128000}}}
@@ -1,4 +1,5 @@
1
1
  import type { ImagesFunction, ImagesOptions } from "../../types.ts";
2
2
  export declare const generateImagesOpenRouter: ImagesFunction<"openrouter-images", ImagesOptions>;
3
+ export declare const generateImagesOpenAI: ImagesFunction<"openai-images", ImagesOptions>;
3
4
  export declare function registerBuiltInImagesApiProviders(): void;
4
5
  //# sourceMappingURL=register-builtins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-builtins.d.ts","sourceRoot":"","sources":["../../../src/providers/images/register-builtins.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAkC,cAAc,EAAe,aAAa,EAAE,MAAM,gBAAgB,CAAC;AA2BjH,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,mBAAmB,EAAE,aAAa,CAWvF,CAAC;AAEF,wBAAgB,iCAAiC,IAAI,IAAI,CAKxD"}
1
+ {"version":3,"file":"register-builtins.d.ts","sourceRoot":"","sources":["../../../src/providers/images/register-builtins.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAIX,cAAc,EAEd,aAAa,EACb,MAAM,gBAAgB,CAAC;AA4BxB,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,mBAAmB,EAAE,aAAa,CAWvF,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,cAAc,CAAC,eAAe,EAAE,aAAa,CAW/E,CAAC;AAOF,wBAAgB,iCAAiC,IAAI,IAAI,CASxD"}
@@ -1,5 +1,6 @@
1
1
  import { registerBuiltinImagesApiProvider } from "../../images-api-registry.js";
2
2
  let openRouterImagesProviderModulePromise;
3
+ let openAIImagesProviderModulePromise;
3
4
  function createLazyLoadErrorImages(model, error) {
4
5
  return {
5
6
  api: model.api,
@@ -24,11 +25,28 @@ export const generateImagesOpenRouter = async (model, context, options) => {
24
25
  return createLazyLoadErrorImages(model, error);
25
26
  }
26
27
  };
28
+ export const generateImagesOpenAI = async (model, context, options) => {
29
+ try {
30
+ const module = await loadOpenAIImagesProviderModule();
31
+ return await module(model, context, options);
32
+ }
33
+ catch (error) {
34
+ return createLazyLoadErrorImages(model, error);
35
+ }
36
+ };
37
+ function loadOpenAIImagesProviderModule() {
38
+ openAIImagesProviderModulePromise ||= import("../../api/openai-images.js").then((module) => module.generateImages);
39
+ return openAIImagesProviderModulePromise;
40
+ }
27
41
  export function registerBuiltInImagesApiProviders() {
28
42
  registerBuiltinImagesApiProvider({
29
43
  api: "openrouter-images",
30
44
  generateImages: generateImagesOpenRouter,
31
45
  });
46
+ registerBuiltinImagesApiProvider({
47
+ api: "openai-images",
48
+ generateImages: generateImagesOpenAI,
49
+ });
32
50
  }
33
51
  registerBuiltInImagesApiProviders();
34
52
  //# sourceMappingURL=register-builtins.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"register-builtins.js","sourceRoot":"","sources":["../../../src/providers/images/register-builtins.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAOhF,IAAI,qCAA0F,CAAC;AAE/F,SAAS,yBAAyB,CAAC,KAAuC,EAAE,KAAc;IACzF,OAAO;QACN,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,KAAK,CAAC,EAAE;QACf,MAAM,EAAE,EAAE;QACV,UAAU,EAAE,OAAO;QACnB,YAAY,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QACpE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACrB,CAAC;AACH,CAAC;AAED,SAAS,kCAAkC;IAC1C,qCAAqC,KAAK,MAAM,CAAC,gCAAgC,CAAC,CAAC,IAAI,CACtF,CAAC,MAAM,EAAE,EAAE,CAAC,MAAwC,CACpD,CAAC;IACF,OAAO,qCAAqC,CAAC;AAC9C,CAAC;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAuD,KAAK,EAChG,KAAuC,EACvC,OAAsB,EACtB,OAAuB,EACtB,EAAE;IACH,IAAI,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,kCAAkC,EAAE,CAAC;QAC1D,OAAO,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,OAAO,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChD,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,UAAU,iCAAiC;IAChD,gCAAgC,CAAC;QAChC,GAAG,EAAE,mBAAmB;QACxB,cAAc,EAAE,wBAAwB;KACxC,CAAC,CAAC;AACJ,CAAC;AAED,iCAAiC,EAAE,CAAC","sourcesContent":["import type { generateImages as generateImagesOpenRouterFunction } from \"../../api/openrouter-images.ts\";\nimport { registerBuiltinImagesApiProvider } from \"../../images-api-registry.ts\";\nimport type { AssistantImages, ImagesContext, ImagesFunction, ImagesModel, ImagesOptions } from \"../../types.ts\";\n\ninterface OpenRouterImagesProviderModule {\n\tgenerateImages: typeof generateImagesOpenRouterFunction;\n}\n\nlet openRouterImagesProviderModulePromise: Promise<OpenRouterImagesProviderModule> | undefined;\n\nfunction createLazyLoadErrorImages(model: ImagesModel<\"openrouter-images\">, error: unknown): AssistantImages {\n\treturn {\n\t\tapi: model.api,\n\t\tprovider: model.provider,\n\t\tmodel: model.id,\n\t\toutput: [],\n\t\tstopReason: \"error\",\n\t\terrorMessage: error instanceof Error ? error.message : String(error),\n\t\ttimestamp: Date.now(),\n\t};\n}\n\nfunction loadOpenRouterImagesProviderModule(): Promise<OpenRouterImagesProviderModule> {\n\topenRouterImagesProviderModulePromise ||= import(\"../../api/openrouter-images.ts\").then(\n\t\t(module) => module as OpenRouterImagesProviderModule,\n\t);\n\treturn openRouterImagesProviderModulePromise;\n}\n\nexport const generateImagesOpenRouter: ImagesFunction<\"openrouter-images\", ImagesOptions> = async (\n\tmodel: ImagesModel<\"openrouter-images\">,\n\tcontext: ImagesContext,\n\toptions?: ImagesOptions,\n) => {\n\ttry {\n\t\tconst module = await loadOpenRouterImagesProviderModule();\n\t\treturn await module.generateImages(model, context, options);\n\t} catch (error) {\n\t\treturn createLazyLoadErrorImages(model, error);\n\t}\n};\n\nexport function registerBuiltInImagesApiProviders(): void {\n\tregisterBuiltinImagesApiProvider({\n\t\tapi: \"openrouter-images\",\n\t\tgenerateImages: generateImagesOpenRouter,\n\t});\n}\n\nregisterBuiltInImagesApiProviders();\n"]}
1
+ {"version":3,"file":"register-builtins.js","sourceRoot":"","sources":["../../../src/providers/images/register-builtins.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAchF,IAAI,qCAAgF,CAAC;AACrF,IAAI,iCAA2F,CAAC;AAEhG,SAAS,yBAAyB,CAAyB,KAAwB,EAAE,KAAc;IAClG,OAAO;QACN,GAAG,EAAE,KAAK,CAAC,GAAG;QACd,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,KAAK,CAAC,EAAE;QACf,MAAM,EAAE,EAAE;QACV,UAAU,EAAE,OAAO;QACnB,YAAY,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QACpE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACrB,CAAC;AACH,CAAC;AAED,SAAS,kCAAkC;IAC1C,qCAAqC,KAAK,MAAM,CAAC,gCAAgC,CAAC,CAAC,IAAI,CACtF,CAAC,MAAM,EAAE,EAAE,CAAC,MAA8B,CAC1C,CAAC;IACF,OAAO,qCAAqC,CAAC;AAC9C,CAAC;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAuD,KAAK,EAChG,KAAuC,EACvC,OAAsB,EACtB,OAAuB,EACtB,EAAE;IACH,IAAI,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,kCAAkC,EAAE,CAAC;QAC1D,OAAO,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,OAAO,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChD,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAmD,KAAK,EACxF,KAAmC,EACnC,OAAsB,EACtB,OAAuB,EACtB,EAAE;IACH,IAAI,CAAC;QACJ,MAAM,MAAM,GAAG,MAAM,8BAA8B,EAAE,CAAC;QACtD,OAAO,MAAM,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,OAAO,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChD,CAAC;AACF,CAAC,CAAC;AAEF,SAAS,8BAA8B;IACtC,iCAAiC,KAAK,MAAM,CAAC,4BAA4B,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACnH,OAAO,iCAAiC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,iCAAiC;IAChD,gCAAgC,CAAC;QAChC,GAAG,EAAE,mBAAmB;QACxB,cAAc,EAAE,wBAAwB;KACxC,CAAC,CAAC;IACH,gCAAgC,CAAC;QAChC,GAAG,EAAE,eAAe;QACpB,cAAc,EAAE,oBAAoB;KACpC,CAAC,CAAC;AACJ,CAAC;AAED,iCAAiC,EAAE,CAAC","sourcesContent":["import type { generateImages as generateImagesOpenAIFunction } from \"../../api/openai-images.ts\";\nimport type { generateImages as generateImagesOpenRouterFunction } from \"../../api/openrouter-images.ts\";\nimport { registerBuiltinImagesApiProvider } from \"../../images-api-registry.ts\";\nimport type {\n\tAssistantImages,\n\tImagesApi,\n\tImagesContext,\n\tImagesFunction,\n\tImagesModel,\n\tImagesOptions,\n} from \"../../types.ts\";\n\ninterface ImagesProviderModule {\n\tgenerateImages: typeof generateImagesOpenRouterFunction;\n}\n\nlet openRouterImagesProviderModulePromise: Promise<ImagesProviderModule> | undefined;\nlet openAIImagesProviderModulePromise: Promise<typeof generateImagesOpenAIFunction> | undefined;\n\nfunction createLazyLoadErrorImages<TApi extends ImagesApi>(model: ImagesModel<TApi>, error: unknown): AssistantImages {\n\treturn {\n\t\tapi: model.api,\n\t\tprovider: model.provider,\n\t\tmodel: model.id,\n\t\toutput: [],\n\t\tstopReason: \"error\",\n\t\terrorMessage: error instanceof Error ? error.message : String(error),\n\t\ttimestamp: Date.now(),\n\t};\n}\n\nfunction loadOpenRouterImagesProviderModule(): Promise<ImagesProviderModule> {\n\topenRouterImagesProviderModulePromise ||= import(\"../../api/openrouter-images.ts\").then(\n\t\t(module) => module as ImagesProviderModule,\n\t);\n\treturn openRouterImagesProviderModulePromise;\n}\n\nexport const generateImagesOpenRouter: ImagesFunction<\"openrouter-images\", ImagesOptions> = async (\n\tmodel: ImagesModel<\"openrouter-images\">,\n\tcontext: ImagesContext,\n\toptions?: ImagesOptions,\n) => {\n\ttry {\n\t\tconst module = await loadOpenRouterImagesProviderModule();\n\t\treturn await module.generateImages(model, context, options);\n\t} catch (error) {\n\t\treturn createLazyLoadErrorImages(model, error);\n\t}\n};\n\nexport const generateImagesOpenAI: ImagesFunction<\"openai-images\", ImagesOptions> = async (\n\tmodel: ImagesModel<\"openai-images\">,\n\tcontext: ImagesContext,\n\toptions?: ImagesOptions,\n) => {\n\ttry {\n\t\tconst module = await loadOpenAIImagesProviderModule();\n\t\treturn await module(model, context, options);\n\t} catch (error) {\n\t\treturn createLazyLoadErrorImages(model, error);\n\t}\n};\n\nfunction loadOpenAIImagesProviderModule(): Promise<typeof generateImagesOpenAIFunction> {\n\topenAIImagesProviderModulePromise ||= import(\"../../api/openai-images.ts\").then((module) => module.generateImages);\n\treturn openAIImagesProviderModulePromise;\n}\n\nexport function registerBuiltInImagesApiProviders(): void {\n\tregisterBuiltinImagesApiProvider({\n\t\tapi: \"openrouter-images\",\n\t\tgenerateImages: generateImagesOpenRouter,\n\t});\n\tregisterBuiltinImagesApiProvider({\n\t\tapi: \"openai-images\",\n\t\tgenerateImages: generateImagesOpenAI,\n\t});\n}\n\nregisterBuiltInImagesApiProviders();\n"]}