@psnext/slingcli 2.5.20260615-2 → 2.5.20260617-2

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 (195) hide show
  1. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
  2. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +21 -22
  4. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -51
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +21 -22
  6. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  7. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  9. package/node_modules/@aws-sdk/core/package.json +8 -8
  10. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  11. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  12. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
  13. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
  14. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
  15. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
  16. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
  17. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
  18. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
  19. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
  20. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +7 -7
  21. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  22. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  23. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  24. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  25. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  26. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  27. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  28. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  29. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  30. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  31. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  32. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
  33. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  34. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  35. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +7 -7
  36. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  37. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
  38. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
  39. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
  40. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  41. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +7 -9
  42. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +5 -5
  43. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -5
  44. package/node_modules/@aws-sdk/middleware-eventstream/package.json +5 -5
  45. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +16 -18
  46. package/node_modules/@aws-sdk/middleware-websocket/package.json +6 -6
  47. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  48. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  49. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  50. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  51. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  52. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  53. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  54. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  55. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  56. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  57. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  58. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
  59. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  60. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
  61. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
  62. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +7 -7
  63. package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
  64. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  65. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  66. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  67. package/node_modules/@aws-sdk/types/package.json +4 -4
  68. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  69. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  70. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
  71. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
  72. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
  73. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
  74. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  75. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  76. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +21 -57
  77. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +277 -175
  78. package/node_modules/@earendil-works/pi-ai/dist/models.js +4 -1
  79. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +52 -34
  80. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +11 -9
  81. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +7 -4
  82. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js +4 -3
  83. package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js +15 -5
  84. package/node_modules/@earendil-works/pi-ai/dist/providers/google.js +2 -1
  85. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +18 -17
  86. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +21 -8
  87. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js +2 -1
  88. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +8 -7
  89. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +1 -0
  90. package/node_modules/@earendil-works/pi-ai/dist/stream.js +1 -1
  91. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +17 -22
  92. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js +2 -1
  93. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +3 -2
  94. package/node_modules/@earendil-works/pi-ai/dist/utils/provider-env.js +44 -0
  95. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  96. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/restore-sandbox-env.js +4 -0
  97. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +1 -1
  98. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +10 -7
  99. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +8 -1
  100. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +2 -2
  101. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +10 -10
  102. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +75 -3
  103. package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +17 -1
  104. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +8 -4
  105. package/node_modules/@earendil-works/pi-coding-agent/dist/core/project-trust.js +1 -1
  106. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-attribution.js +10 -0
  107. package/node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js +19 -19
  108. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +2 -0
  109. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +6 -6
  110. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +4 -0
  111. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +17 -5
  112. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +4 -0
  113. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -1
  114. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -5
  115. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +6 -6
  116. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js +23 -5
  117. package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +17 -17
  118. package/node_modules/@earendil-works/pi-coding-agent/package.json +4 -4
  119. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +5 -1
  120. package/node_modules/@earendil-works/pi-tui/package.json +2 -2
  121. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  122. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
  123. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  124. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  125. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  126. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
  127. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  128. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  129. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  130. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  131. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  132. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  133. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  134. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
  135. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +23 -24
  136. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +25 -26
  137. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  138. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  139. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  140. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  141. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  142. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  143. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  144. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  145. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  146. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  147. package/node_modules/@smithy/core/package.json +7 -6
  148. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  149. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  150. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  151. package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
  152. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  153. package/node_modules/@smithy/signature-v4/package.json +6 -6
  154. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  155. package/node_modules/@smithy/types/package.json +4 -4
  156. package/node_modules/marked/README.md +13 -4
  157. package/node_modules/marked/bin/main.js +16 -14
  158. package/node_modules/marked/bin/marked.js +2 -1
  159. package/node_modules/marked/lib/marked.d.ts +157 -125
  160. package/node_modules/marked/lib/marked.esm.js +67 -2179
  161. package/node_modules/marked/lib/marked.esm.js.map +3 -3
  162. package/node_modules/marked/lib/marked.umd.js +67 -2201
  163. package/node_modules/marked/lib/marked.umd.js.map +3 -3
  164. package/node_modules/marked/man/marked.1 +4 -2
  165. package/node_modules/marked/man/marked.1.md +2 -1
  166. package/node_modules/marked/package.json +27 -35
  167. package/node_modules/undici/docs/docs/api/Client.md +3 -0
  168. package/node_modules/undici/docs/docs/api/Cookies.md +27 -0
  169. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +1 -0
  170. package/node_modules/undici/lib/core/socks5-client.js +14 -4
  171. package/node_modules/undici/lib/core/socks5-utils.js +18 -4
  172. package/node_modules/undici/lib/dispatcher/agent.js +1 -1
  173. package/node_modules/undici/lib/dispatcher/balanced-pool.js +1 -1
  174. package/node_modules/undici/lib/dispatcher/client-h1.js +69 -1
  175. package/node_modules/undici/lib/dispatcher/client.js +3 -2
  176. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +19 -0
  177. package/node_modules/undici/lib/dispatcher/pool.js +1 -1
  178. package/node_modules/undici/lib/dispatcher/proxy-agent.js +2 -1
  179. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +45 -34
  180. package/node_modules/undici/lib/util/cache.js +8 -2
  181. package/node_modules/undici/lib/web/cookies/parse.js +17 -25
  182. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +13 -31
  183. package/node_modules/undici/lib/web/websocket/receiver.js +80 -23
  184. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -1
  185. package/node_modules/undici/lib/web/websocket/websocket.js +8 -1
  186. package/node_modules/undici/package.json +1 -1
  187. package/node_modules/undici/types/client.d.ts +16 -0
  188. package/package.json +6 -6
  189. package/slingshot/index.js +253 -253
  190. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
  191. package/node_modules/marked/lib/marked.cjs +0 -2211
  192. package/node_modules/marked/lib/marked.cjs.map +0 -7
  193. package/node_modules/marked/lib/marked.d.cts +0 -728
  194. package/node_modules/marked/marked.min.js +0 -69
  195. /package/node_modules/marked/{LICENSE.md → LICENSE} +0 -0
@@ -3810,6 +3810,24 @@ export const MODELS = {
3810
3810
  contextWindow: 131072,
3811
3811
  maxTokens: 131072,
3812
3812
  },
3813
+ "@cf/zai-org/glm-5.2": {
3814
+ id: "@cf/zai-org/glm-5.2",
3815
+ name: "Glm 5.2",
3816
+ api: "openai-completions",
3817
+ provider: "cloudflare-workers-ai",
3818
+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
3819
+ compat: { "sendSessionAffinityHeaders": true },
3820
+ reasoning: true,
3821
+ input: ["text"],
3822
+ cost: {
3823
+ input: 1.4,
3824
+ output: 4.4,
3825
+ cacheRead: 0.26,
3826
+ cacheWrite: 0,
3827
+ },
3828
+ contextWindow: 262144,
3829
+ maxTokens: 262144,
3830
+ },
3813
3831
  },
3814
3832
  "deepseek": {
3815
3833
  "deepseek-v4-flash": {
@@ -3864,7 +3882,7 @@ export const MODELS = {
3864
3882
  cost: {
3865
3883
  input: 0.14,
3866
3884
  output: 0.28,
3867
- cacheRead: 0.03,
3885
+ cacheRead: 0.028,
3868
3886
  cacheWrite: 0,
3869
3887
  },
3870
3888
  contextWindow: 1000000,
@@ -3906,6 +3924,24 @@ export const MODELS = {
3906
3924
  contextWindow: 202800,
3907
3925
  maxTokens: 131072,
3908
3926
  },
3927
+ "accounts/fireworks/models/glm-5p2": {
3928
+ id: "accounts/fireworks/models/glm-5p2",
3929
+ name: "GLM 5.2",
3930
+ api: "anthropic-messages",
3931
+ provider: "fireworks",
3932
+ baseUrl: "https://api.fireworks.ai/inference",
3933
+ compat: { "sendSessionAffinityHeaders": true, "supportsEagerToolInputStreaming": false, "supportsCacheControlOnTools": false, "supportsLongCacheRetention": false },
3934
+ reasoning: true,
3935
+ input: ["text"],
3936
+ cost: {
3937
+ input: 1.4,
3938
+ output: 4.4,
3939
+ cacheRead: 0.26,
3940
+ cacheWrite: 0,
3941
+ },
3942
+ contextWindow: 1048576,
3943
+ maxTokens: 131072,
3944
+ },
3909
3945
  "accounts/fireworks/models/gpt-oss-120b": {
3910
3946
  id: "accounts/fireworks/models/gpt-oss-120b",
3911
3947
  name: "GPT OSS 120B",
@@ -4096,7 +4132,7 @@ export const MODELS = {
4096
4132
  reasoning: true,
4097
4133
  input: ["text", "image"],
4098
4134
  cost: {
4099
- input: 2,
4135
+ input: 1.9,
4100
4136
  output: 8,
4101
4137
  cacheRead: 0.38,
4102
4138
  cacheWrite: 0,
@@ -4191,7 +4227,7 @@ export const MODELS = {
4191
4227
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4192
4228
  compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
4193
4229
  reasoning: true,
4194
- thinkingLevelMap: { "xhigh": "xhigh" },
4230
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
4195
4231
  input: ["text", "image"],
4196
4232
  cost: {
4197
4233
  input: 5,
@@ -4211,7 +4247,7 @@ export const MODELS = {
4211
4247
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4212
4248
  compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
4213
4249
  reasoning: true,
4214
- thinkingLevelMap: { "xhigh": "xhigh" },
4250
+ thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
4215
4251
  input: ["text", "image"],
4216
4252
  cost: {
4217
4253
  input: 5,
@@ -4269,6 +4305,7 @@ export const MODELS = {
4269
4305
  headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
4270
4306
  compat: { "forceAdaptiveThinking": true },
4271
4307
  reasoning: true,
4308
+ thinkingLevelMap: { "minimal": "low", "xhigh": "max" },
4272
4309
  input: ["text", "image"],
4273
4310
  cost: {
4274
4311
  input: 3,
@@ -4765,11 +4802,12 @@ export const MODELS = {
4765
4802
  provider: "google",
4766
4803
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4767
4804
  reasoning: true,
4805
+ thinkingLevelMap: { "off": null },
4768
4806
  input: ["text", "image"],
4769
4807
  cost: {
4770
- input: 0.3,
4771
- output: 2.5,
4772
- cacheRead: 0.075,
4808
+ input: 1.5,
4809
+ output: 9,
4810
+ cacheRead: 0.15,
4773
4811
  cacheWrite: 0,
4774
4812
  },
4775
4813
  contextWindow: 1048576,
@@ -4782,10 +4820,11 @@ export const MODELS = {
4782
4820
  provider: "google",
4783
4821
  baseUrl: "https://generativelanguage.googleapis.com/v1beta",
4784
4822
  reasoning: true,
4823
+ thinkingLevelMap: { "off": null },
4785
4824
  input: ["text", "image"],
4786
4825
  cost: {
4787
- input: 0.1,
4788
- output: 0.4,
4826
+ input: 0.25,
4827
+ output: 1.5,
4789
4828
  cacheRead: 0.025,
4790
4829
  cacheWrite: 0,
4791
4830
  },
@@ -4866,94 +4905,9 @@ export const MODELS = {
4866
4905
  },
4867
4906
  },
4868
4907
  "google-vertex": {
4869
- "gemini-1.5-flash": {
4870
- id: "gemini-1.5-flash",
4871
- name: "Gemini 1.5 Flash (Vertex)",
4872
- api: "google-vertex",
4873
- provider: "google-vertex",
4874
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4875
- reasoning: false,
4876
- input: ["text", "image"],
4877
- cost: {
4878
- input: 0.075,
4879
- output: 0.3,
4880
- cacheRead: 0.01875,
4881
- cacheWrite: 0,
4882
- },
4883
- contextWindow: 1000000,
4884
- maxTokens: 8192,
4885
- },
4886
- "gemini-1.5-flash-8b": {
4887
- id: "gemini-1.5-flash-8b",
4888
- name: "Gemini 1.5 Flash-8B (Vertex)",
4889
- api: "google-vertex",
4890
- provider: "google-vertex",
4891
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4892
- reasoning: false,
4893
- input: ["text", "image"],
4894
- cost: {
4895
- input: 0.0375,
4896
- output: 0.15,
4897
- cacheRead: 0.01,
4898
- cacheWrite: 0,
4899
- },
4900
- contextWindow: 1000000,
4901
- maxTokens: 8192,
4902
- },
4903
- "gemini-1.5-pro": {
4904
- id: "gemini-1.5-pro",
4905
- name: "Gemini 1.5 Pro (Vertex)",
4906
- api: "google-vertex",
4907
- provider: "google-vertex",
4908
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4909
- reasoning: false,
4910
- input: ["text", "image"],
4911
- cost: {
4912
- input: 1.25,
4913
- output: 5,
4914
- cacheRead: 0.3125,
4915
- cacheWrite: 0,
4916
- },
4917
- contextWindow: 1000000,
4918
- maxTokens: 8192,
4919
- },
4920
- "gemini-2.0-flash": {
4921
- id: "gemini-2.0-flash",
4922
- name: "Gemini 2.0 Flash (Vertex)",
4923
- api: "google-vertex",
4924
- provider: "google-vertex",
4925
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4926
- reasoning: false,
4927
- input: ["text", "image"],
4928
- cost: {
4929
- input: 0.15,
4930
- output: 0.6,
4931
- cacheRead: 0.0375,
4932
- cacheWrite: 0,
4933
- },
4934
- contextWindow: 1048576,
4935
- maxTokens: 8192,
4936
- },
4937
- "gemini-2.0-flash-lite": {
4938
- id: "gemini-2.0-flash-lite",
4939
- name: "Gemini 2.0 Flash Lite (Vertex)",
4940
- api: "google-vertex",
4941
- provider: "google-vertex",
4942
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4943
- reasoning: true,
4944
- input: ["text", "image"],
4945
- cost: {
4946
- input: 0.075,
4947
- output: 0.3,
4948
- cacheRead: 0.01875,
4949
- cacheWrite: 0,
4950
- },
4951
- contextWindow: 1048576,
4952
- maxTokens: 65536,
4953
- },
4954
4908
  "gemini-2.5-flash": {
4955
4909
  id: "gemini-2.5-flash",
4956
- name: "Gemini 2.5 Flash (Vertex)",
4910
+ name: "Gemini 2.5 Flash",
4957
4911
  api: "google-vertex",
4958
4912
  provider: "google-vertex",
4959
4913
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -4970,24 +4924,7 @@ export const MODELS = {
4970
4924
  },
4971
4925
  "gemini-2.5-flash-lite": {
4972
4926
  id: "gemini-2.5-flash-lite",
4973
- name: "Gemini 2.5 Flash Lite (Vertex)",
4974
- api: "google-vertex",
4975
- provider: "google-vertex",
4976
- baseUrl: "https://{location}-aiplatform.googleapis.com",
4977
- reasoning: true,
4978
- input: ["text", "image"],
4979
- cost: {
4980
- input: 0.1,
4981
- output: 0.4,
4982
- cacheRead: 0.01,
4983
- cacheWrite: 0,
4984
- },
4985
- contextWindow: 1048576,
4986
- maxTokens: 65536,
4987
- },
4988
- "gemini-2.5-flash-lite-preview-09-2025": {
4989
- id: "gemini-2.5-flash-lite-preview-09-2025",
4990
- name: "Gemini 2.5 Flash Lite Preview 09-25 (Vertex)",
4927
+ name: "Gemini 2.5 Flash-Lite",
4991
4928
  api: "google-vertex",
4992
4929
  provider: "google-vertex",
4993
4930
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -5004,7 +4941,7 @@ export const MODELS = {
5004
4941
  },
5005
4942
  "gemini-2.5-pro": {
5006
4943
  id: "gemini-2.5-pro",
5007
- name: "Gemini 2.5 Pro (Vertex)",
4944
+ name: "Gemini 2.5 Pro",
5008
4945
  api: "google-vertex",
5009
4946
  provider: "google-vertex",
5010
4947
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -5021,7 +4958,7 @@ export const MODELS = {
5021
4958
  },
5022
4959
  "gemini-3-flash-preview": {
5023
4960
  id: "gemini-3-flash-preview",
5024
- name: "Gemini 3 Flash Preview (Vertex)",
4961
+ name: "Gemini 3 Flash Preview",
5025
4962
  api: "google-vertex",
5026
4963
  provider: "google-vertex",
5027
4964
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -5037,27 +4974,27 @@ export const MODELS = {
5037
4974
  contextWindow: 1048576,
5038
4975
  maxTokens: 65536,
5039
4976
  },
5040
- "gemini-3-pro-preview": {
5041
- id: "gemini-3-pro-preview",
5042
- name: "Gemini 3 Pro Preview (Vertex)",
4977
+ "gemini-3.1-flash-lite": {
4978
+ id: "gemini-3.1-flash-lite",
4979
+ name: "Gemini 3.1 Flash Lite",
5043
4980
  api: "google-vertex",
5044
4981
  provider: "google-vertex",
5045
4982
  baseUrl: "https://{location}-aiplatform.googleapis.com",
5046
4983
  reasoning: true,
5047
- thinkingLevelMap: { "off": null, "minimal": null, "low": "LOW", "medium": null, "high": "HIGH" },
4984
+ thinkingLevelMap: { "off": null },
5048
4985
  input: ["text", "image"],
5049
4986
  cost: {
5050
- input: 2,
5051
- output: 12,
5052
- cacheRead: 0.2,
4987
+ input: 0.25,
4988
+ output: 1.5,
4989
+ cacheRead: 0.025,
5053
4990
  cacheWrite: 0,
5054
4991
  },
5055
- contextWindow: 1000000,
5056
- maxTokens: 64000,
4992
+ contextWindow: 1048576,
4993
+ maxTokens: 65536,
5057
4994
  },
5058
4995
  "gemini-3.1-pro-preview": {
5059
4996
  id: "gemini-3.1-pro-preview",
5060
- name: "Gemini 3.1 Pro Preview (Vertex)",
4997
+ name: "Gemini 3.1 Pro Preview",
5061
4998
  api: "google-vertex",
5062
4999
  provider: "google-vertex",
5063
5000
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -5075,7 +5012,7 @@ export const MODELS = {
5075
5012
  },
5076
5013
  "gemini-3.1-pro-preview-customtools": {
5077
5014
  id: "gemini-3.1-pro-preview-customtools",
5078
- name: "Gemini 3.1 Pro Preview Custom Tools (Vertex)",
5015
+ name: "Gemini 3.1 Pro Preview Custom Tools",
5079
5016
  api: "google-vertex",
5080
5017
  provider: "google-vertex",
5081
5018
  baseUrl: "https://{location}-aiplatform.googleapis.com",
@@ -5091,6 +5028,60 @@ export const MODELS = {
5091
5028
  contextWindow: 1048576,
5092
5029
  maxTokens: 65536,
5093
5030
  },
5031
+ "gemini-3.5-flash": {
5032
+ id: "gemini-3.5-flash",
5033
+ name: "Gemini 3.5 Flash",
5034
+ api: "google-vertex",
5035
+ provider: "google-vertex",
5036
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
5037
+ reasoning: true,
5038
+ thinkingLevelMap: { "off": null },
5039
+ input: ["text", "image"],
5040
+ cost: {
5041
+ input: 1.5,
5042
+ output: 9,
5043
+ cacheRead: 0.15,
5044
+ cacheWrite: 0,
5045
+ },
5046
+ contextWindow: 1048576,
5047
+ maxTokens: 65536,
5048
+ },
5049
+ "gemini-flash-latest": {
5050
+ id: "gemini-flash-latest",
5051
+ name: "Gemini Flash Latest",
5052
+ api: "google-vertex",
5053
+ provider: "google-vertex",
5054
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
5055
+ reasoning: true,
5056
+ thinkingLevelMap: { "off": null },
5057
+ input: ["text", "image"],
5058
+ cost: {
5059
+ input: 1.5,
5060
+ output: 9,
5061
+ cacheRead: 0.15,
5062
+ cacheWrite: 0,
5063
+ },
5064
+ contextWindow: 1048576,
5065
+ maxTokens: 65536,
5066
+ },
5067
+ "gemini-flash-lite-latest": {
5068
+ id: "gemini-flash-lite-latest",
5069
+ name: "Gemini Flash-Lite Latest",
5070
+ api: "google-vertex",
5071
+ provider: "google-vertex",
5072
+ baseUrl: "https://{location}-aiplatform.googleapis.com",
5073
+ reasoning: true,
5074
+ thinkingLevelMap: { "off": null },
5075
+ input: ["text", "image"],
5076
+ cost: {
5077
+ input: 0.25,
5078
+ output: 1.5,
5079
+ cacheRead: 0.025,
5080
+ cacheWrite: 0,
5081
+ },
5082
+ contextWindow: 1048576,
5083
+ maxTokens: 65536,
5084
+ },
5094
5085
  },
5095
5086
  "groq": {
5096
5087
  "llama-3.1-8b-instant": {
@@ -6421,6 +6412,7 @@ export const MODELS = {
6421
6412
  baseUrl: "https://api.moonshot.ai/v1",
6422
6413
  compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "thinkingFormat": "deepseek" },
6423
6414
  reasoning: true,
6415
+ thinkingLevelMap: { "off": null },
6424
6416
  input: ["text", "image"],
6425
6417
  cost: {
6426
6418
  input: 0.95,
@@ -6431,6 +6423,25 @@ export const MODELS = {
6431
6423
  contextWindow: 262144,
6432
6424
  maxTokens: 262144,
6433
6425
  },
6426
+ "kimi-k2.7-code-highspeed": {
6427
+ id: "kimi-k2.7-code-highspeed",
6428
+ name: "Kimi K2.7 Code HighSpeed",
6429
+ api: "openai-completions",
6430
+ provider: "moonshotai",
6431
+ baseUrl: "https://api.moonshot.ai/v1",
6432
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "thinkingFormat": "deepseek" },
6433
+ reasoning: true,
6434
+ thinkingLevelMap: { "off": null },
6435
+ input: ["text", "image"],
6436
+ cost: {
6437
+ input: 1.9,
6438
+ output: 8,
6439
+ cacheRead: 0.38,
6440
+ cacheWrite: 0,
6441
+ },
6442
+ contextWindow: 262144,
6443
+ maxTokens: 262144,
6444
+ },
6434
6445
  },
6435
6446
  "moonshotai-cn": {
6436
6447
  "kimi-k2-0711-preview": {
@@ -6559,6 +6570,44 @@ export const MODELS = {
6559
6570
  contextWindow: 262144,
6560
6571
  maxTokens: 262144,
6561
6572
  },
6573
+ "kimi-k2.7-code": {
6574
+ id: "kimi-k2.7-code",
6575
+ name: "Kimi K2.7 Code",
6576
+ api: "openai-completions",
6577
+ provider: "moonshotai-cn",
6578
+ baseUrl: "https://api.moonshot.cn/v1",
6579
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "thinkingFormat": "deepseek" },
6580
+ reasoning: true,
6581
+ thinkingLevelMap: { "off": null },
6582
+ input: ["text", "image"],
6583
+ cost: {
6584
+ input: 0.95,
6585
+ output: 4,
6586
+ cacheRead: 0.19,
6587
+ cacheWrite: 0,
6588
+ },
6589
+ contextWindow: 262144,
6590
+ maxTokens: 262144,
6591
+ },
6592
+ "kimi-k2.7-code-highspeed": {
6593
+ id: "kimi-k2.7-code-highspeed",
6594
+ name: "Kimi K2.7 Code HighSpeed",
6595
+ api: "openai-completions",
6596
+ provider: "moonshotai-cn",
6597
+ baseUrl: "https://api.moonshot.cn/v1",
6598
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "thinkingFormat": "deepseek" },
6599
+ reasoning: true,
6600
+ thinkingLevelMap: { "off": null },
6601
+ input: ["text", "image"],
6602
+ cost: {
6603
+ input: 1.9,
6604
+ output: 8,
6605
+ cacheRead: 0.38,
6606
+ cacheWrite: 0,
6607
+ },
6608
+ contextWindow: 262144,
6609
+ maxTokens: 262144,
6610
+ },
6562
6611
  },
6563
6612
  "nvidia": {
6564
6613
  "meta/llama-3.1-70b-instruct": {
@@ -7922,7 +7971,7 @@ export const MODELS = {
7922
7971
  api: "openai-completions",
7923
7972
  provider: "opencode",
7924
7973
  baseUrl: "https://opencode.ai/zen/v1",
7925
- compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7974
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true },
7926
7975
  reasoning: true,
7927
7976
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7928
7977
  input: ["text"],
@@ -7941,7 +7990,7 @@ export const MODELS = {
7941
7990
  api: "openai-completions",
7942
7991
  provider: "opencode",
7943
7992
  baseUrl: "https://opencode.ai/zen/v1",
7944
- compat: { "maxTokensField": "max_tokens", "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7993
+ compat: { "maxTokensField": "max_tokens", "requiresReasoningContentOnAssistantMessages": true },
7945
7994
  reasoning: true,
7946
7995
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7947
7996
  input: ["text"],
@@ -7960,7 +8009,7 @@ export const MODELS = {
7960
8009
  api: "openai-completions",
7961
8010
  provider: "opencode",
7962
8011
  baseUrl: "https://opencode.ai/zen/v1",
7963
- compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
8012
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true },
7964
8013
  reasoning: true,
7965
8014
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7966
8015
  input: ["text"],
@@ -8570,9 +8619,9 @@ export const MODELS = {
8570
8619
  contextWindow: 1000000,
8571
8620
  maxTokens: 384000,
8572
8621
  },
8573
- "glm-5": {
8574
- id: "glm-5",
8575
- name: "GLM-5",
8622
+ "glm-5.1": {
8623
+ id: "glm-5.1",
8624
+ name: "GLM-5.1",
8576
8625
  api: "openai-completions",
8577
8626
  provider: "opencode-go",
8578
8627
  baseUrl: "https://opencode.ai/zen/go/v1",
@@ -8580,17 +8629,17 @@ export const MODELS = {
8580
8629
  reasoning: true,
8581
8630
  input: ["text"],
8582
8631
  cost: {
8583
- input: 1,
8584
- output: 3.2,
8585
- cacheRead: 0.2,
8632
+ input: 1.4,
8633
+ output: 4.4,
8634
+ cacheRead: 0.26,
8586
8635
  cacheWrite: 0,
8587
8636
  },
8588
8637
  contextWindow: 202752,
8589
8638
  maxTokens: 32768,
8590
8639
  },
8591
- "glm-5.1": {
8592
- id: "glm-5.1",
8593
- name: "GLM-5.1",
8640
+ "glm-5.2": {
8641
+ id: "glm-5.2",
8642
+ name: "GLM-5.2",
8594
8643
  api: "openai-completions",
8595
8644
  provider: "opencode-go",
8596
8645
  baseUrl: "https://opencode.ai/zen/go/v1",
@@ -8603,8 +8652,8 @@ export const MODELS = {
8603
8652
  cacheRead: 0.26,
8604
8653
  cacheWrite: 0,
8605
8654
  },
8606
- contextWindow: 202752,
8607
- maxTokens: 32768,
8655
+ contextWindow: 1000000,
8656
+ maxTokens: 131072,
8608
8657
  },
8609
8658
  "kimi-k2.6": {
8610
8659
  id: "kimi-k2.6",
@@ -9915,8 +9964,8 @@ export const MODELS = {
9915
9964
  cacheRead: 0.06,
9916
9965
  cacheWrite: 0,
9917
9966
  },
9918
- contextWindow: 256000,
9919
- maxTokens: 80000,
9967
+ contextWindow: 262144,
9968
+ maxTokens: 144000,
9920
9969
  },
9921
9970
  "meta-llama/llama-3.1-70b-instruct": {
9922
9971
  id: "meta-llama/llama-3.1-70b-instruct",
@@ -10120,7 +10169,7 @@ export const MODELS = {
10120
10169
  cacheWrite: 0,
10121
10170
  },
10122
10171
  contextWindow: 1048576,
10123
- maxTokens: 512000,
10172
+ maxTokens: 131072,
10124
10173
  },
10125
10174
  "mistralai/codestral-2508": {
10126
10175
  id: "mistralai/codestral-2508",
@@ -10456,7 +10505,7 @@ export const MODELS = {
10456
10505
  cost: {
10457
10506
  input: 0.6,
10458
10507
  output: 2.5,
10459
- cacheRead: 0,
10508
+ cacheRead: 0.6,
10460
10509
  cacheWrite: 0,
10461
10510
  },
10462
10511
  contextWindow: 262144,
@@ -10506,13 +10555,13 @@ export const MODELS = {
10506
10555
  reasoning: true,
10507
10556
  input: ["text", "image"],
10508
10557
  cost: {
10509
- input: 0.75,
10558
+ input: 0.74,
10510
10559
  output: 3.5,
10511
- cacheRead: 0.16,
10560
+ cacheRead: 0.15,
10512
10561
  cacheWrite: 0,
10513
10562
  },
10514
10563
  contextWindow: 262144,
10515
- maxTokens: 262144,
10564
+ maxTokens: 16384,
10516
10565
  },
10517
10566
  "nex-agi/nex-n2-pro:free": {
10518
10567
  id: "nex-agi/nex-n2-pro:free",
@@ -10643,8 +10692,8 @@ export const MODELS = {
10643
10692
  input: ["text"],
10644
10693
  cost: {
10645
10694
  input: 0.5,
10646
- output: 2.5,
10647
- cacheRead: 0.15,
10695
+ output: 2.2,
10696
+ cacheRead: 0.1,
10648
10697
  cacheWrite: 0,
10649
10698
  },
10650
10699
  contextWindow: 1000000,
@@ -10835,7 +10884,7 @@ export const MODELS = {
10835
10884
  cacheWrite: 0,
10836
10885
  },
10837
10886
  contextWindow: 1047576,
10838
- maxTokens: 32768,
10887
+ maxTokens: 4096,
10839
10888
  },
10840
10889
  "openai/gpt-4.1-nano": {
10841
10890
  id: "openai/gpt-4.1-nano",
@@ -10865,7 +10914,7 @@ export const MODELS = {
10865
10914
  cost: {
10866
10915
  input: 2.5,
10867
10916
  output: 10,
10868
- cacheRead: 0,
10917
+ cacheRead: 1.25,
10869
10918
  cacheWrite: 0,
10870
10919
  },
10871
10920
  contextWindow: 128000,
@@ -11001,11 +11050,11 @@ export const MODELS = {
11001
11050
  cost: {
11002
11051
  input: 0.25,
11003
11052
  output: 2,
11004
- cacheRead: 0.025,
11053
+ cacheRead: 0.03,
11005
11054
  cacheWrite: 0,
11006
11055
  },
11007
11056
  contextWindow: 400000,
11008
- maxTokens: 128000,
11057
+ maxTokens: 4096,
11009
11058
  },
11010
11059
  "openai/gpt-5-nano": {
11011
11060
  id: "openai/gpt-5-nano",
@@ -11069,11 +11118,11 @@ export const MODELS = {
11069
11118
  cost: {
11070
11119
  input: 1.25,
11071
11120
  output: 10,
11072
- cacheRead: 0.13,
11121
+ cacheRead: 0.125,
11073
11122
  cacheWrite: 0,
11074
11123
  },
11075
11124
  contextWindow: 128000,
11076
- maxTokens: 32000,
11125
+ maxTokens: 16384,
11077
11126
  },
11078
11127
  "openai/gpt-5.1-codex": {
11079
11128
  id: "openai/gpt-5.1-codex",
@@ -11160,7 +11209,7 @@ export const MODELS = {
11160
11209
  cacheWrite: 0,
11161
11210
  },
11162
11211
  contextWindow: 128000,
11163
- maxTokens: 16384,
11212
+ maxTokens: 32000,
11164
11213
  },
11165
11214
  "openai/gpt-5.2-codex": {
11166
11215
  id: "openai/gpt-5.2-codex",
@@ -12275,7 +12324,7 @@ export const MODELS = {
12275
12324
  cacheWrite: 0,
12276
12325
  },
12277
12326
  contextWindow: 262144,
12278
- maxTokens: 262144,
12327
+ maxTokens: 65536,
12279
12328
  },
12280
12329
  "qwen/qwen3.5-27b": {
12281
12330
  id: "qwen/qwen3.5-27b",
@@ -12309,7 +12358,7 @@ export const MODELS = {
12309
12358
  cacheWrite: 0,
12310
12359
  },
12311
12360
  contextWindow: 262144,
12312
- maxTokens: 262144,
12361
+ maxTokens: 81920,
12313
12362
  },
12314
12363
  "qwen/qwen3.5-397b-a17b": {
12315
12364
  id: "qwen/qwen3.5-397b-a17b",
@@ -12320,13 +12369,13 @@ export const MODELS = {
12320
12369
  reasoning: true,
12321
12370
  input: ["text", "image"],
12322
12371
  cost: {
12323
- input: 0.39,
12324
- output: 2.34,
12372
+ input: 0.385,
12373
+ output: 2.45,
12325
12374
  cacheRead: 0,
12326
12375
  cacheWrite: 0,
12327
12376
  },
12328
- contextWindow: 262144,
12329
- maxTokens: 65536,
12377
+ contextWindow: 256000,
12378
+ maxTokens: 4096,
12330
12379
  },
12331
12380
  "qwen/qwen3.5-9b": {
12332
12381
  id: "qwen/qwen3.5-9b",
@@ -12342,8 +12391,8 @@ export const MODELS = {
12342
12391
  cacheRead: 0,
12343
12392
  cacheWrite: 0,
12344
12393
  },
12345
- contextWindow: 262144,
12346
- maxTokens: 262144,
12394
+ contextWindow: 256000,
12395
+ maxTokens: 32768,
12347
12396
  },
12348
12397
  "qwen/qwen3.5-flash-02-23": {
12349
12398
  id: "qwen/qwen3.5-flash-02-23",
@@ -12609,13 +12658,13 @@ export const MODELS = {
12609
12658
  reasoning: true,
12610
12659
  input: ["text"],
12611
12660
  cost: {
12612
- input: 0.063,
12613
- output: 0.21,
12614
- cacheRead: 0.021,
12661
+ input: 0.066,
12662
+ output: 0.26,
12663
+ cacheRead: 0.029,
12615
12664
  cacheWrite: 0,
12616
12665
  },
12617
12666
  contextWindow: 262144,
12618
- maxTokens: 4096,
12667
+ maxTokens: 262144,
12619
12668
  },
12620
12669
  "thedrummer/rocinante-12b": {
12621
12670
  id: "thedrummer/rocinante-12b",
@@ -12796,13 +12845,13 @@ export const MODELS = {
12796
12845
  reasoning: true,
12797
12846
  input: ["text"],
12798
12847
  cost: {
12799
- input: 0.125,
12848
+ input: 0.13,
12800
12849
  output: 0.85,
12801
- cacheRead: 0.06,
12850
+ cacheRead: 0.025,
12802
12851
  cacheWrite: 0,
12803
12852
  },
12804
12853
  contextWindow: 131072,
12805
- maxTokens: 131070,
12854
+ maxTokens: 98304,
12806
12855
  },
12807
12856
  "z-ai/glm-4.5v": {
12808
12857
  id: "z-ai/glm-4.5v",
@@ -12940,6 +12989,23 @@ export const MODELS = {
12940
12989
  contextWindow: 202752,
12941
12990
  maxTokens: 4096,
12942
12991
  },
12992
+ "z-ai/glm-5.2": {
12993
+ id: "z-ai/glm-5.2",
12994
+ name: "Z.ai: GLM 5.2",
12995
+ api: "openai-completions",
12996
+ provider: "openrouter",
12997
+ baseUrl: "https://openrouter.ai/api/v1",
12998
+ reasoning: true,
12999
+ input: ["text"],
13000
+ cost: {
13001
+ input: 1.4,
13002
+ output: 4.4,
13003
+ cacheRead: 0.26,
13004
+ cacheWrite: 0,
13005
+ },
13006
+ contextWindow: 1048576,
13007
+ maxTokens: 131072,
13008
+ },
12943
13009
  "~anthropic/claude-fable-latest": {
12944
13010
  id: "~anthropic/claude-fable-latest",
12945
13011
  name: "Anthropic: Claude Fable Latest",
@@ -13236,8 +13302,8 @@ export const MODELS = {
13236
13302
  reasoning: false,
13237
13303
  input: ["text"],
13238
13304
  cost: {
13239
- input: 2.5,
13240
- output: 7.5,
13305
+ input: 1.25,
13306
+ output: 3.75,
13241
13307
  cacheRead: 0,
13242
13308
  cacheWrite: 0,
13243
13309
  },
@@ -15041,6 +15107,23 @@ export const MODELS = {
15041
15107
  contextWindow: 256000,
15042
15108
  maxTokens: 32768,
15043
15109
  },
15110
+ "moonshotai/kimi-k2.7-code-highspeed": {
15111
+ id: "moonshotai/kimi-k2.7-code-highspeed",
15112
+ name: "Kimi K2.7 Code High Speed",
15113
+ api: "anthropic-messages",
15114
+ provider: "vercel-ai-gateway",
15115
+ baseUrl: "https://ai-gateway.vercel.sh",
15116
+ reasoning: true,
15117
+ input: ["text", "image"],
15118
+ cost: {
15119
+ input: 1.9,
15120
+ output: 8,
15121
+ cacheRead: 0.38,
15122
+ cacheWrite: 0,
15123
+ },
15124
+ contextWindow: 262144,
15125
+ maxTokens: 262144,
15126
+ },
15044
15127
  "nvidia/nemotron-3-super-120b-a12b": {
15045
15128
  id: "nvidia/nemotron-3-super-120b-a12b",
15046
15129
  name: "NVIDIA Nemotron 3 Super 120B A12B",
@@ -16277,6 +16360,23 @@ export const MODELS = {
16277
16360
  contextWindow: 202800,
16278
16361
  maxTokens: 64000,
16279
16362
  },
16363
+ "zai/glm-5.2": {
16364
+ id: "zai/glm-5.2",
16365
+ name: "GLM 5.2",
16366
+ api: "anthropic-messages",
16367
+ provider: "vercel-ai-gateway",
16368
+ baseUrl: "https://ai-gateway.vercel.sh",
16369
+ reasoning: true,
16370
+ input: ["text"],
16371
+ cost: {
16372
+ input: 1.4,
16373
+ output: 4.4,
16374
+ cacheRead: 0.26,
16375
+ cacheWrite: 0,
16376
+ },
16377
+ contextWindow: 1000000,
16378
+ maxTokens: 128000,
16379
+ },
16280
16380
  "zai/glm-5v-turbo": {
16281
16381
  id: "zai/glm-5v-turbo",
16282
16382
  name: "GLM 5V Turbo",
@@ -16881,8 +16981,9 @@ export const MODELS = {
16881
16981
  api: "openai-completions",
16882
16982
  provider: "zai",
16883
16983
  baseUrl: "https://api.z.ai/api/coding/paas/v4",
16884
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
16984
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "supportsReasoningEffort": true, "zaiToolStream": true },
16885
16985
  reasoning: true,
16986
+ thinkingLevelMap: { "minimal": null, "low": "high", "medium": "high", "high": "high", "xhigh": "max" },
16886
16987
  input: ["text"],
16887
16988
  cost: {
16888
16989
  input: 0,
@@ -16991,8 +17092,9 @@ export const MODELS = {
16991
17092
  api: "openai-completions",
16992
17093
  provider: "zai-coding-cn",
16993
17094
  baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
16994
- compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
17095
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "supportsReasoningEffort": true, "zaiToolStream": true },
16995
17096
  reasoning: true,
17097
+ thinkingLevelMap: { "minimal": null, "low": "high", "medium": "high", "high": "high", "xhigh": "max" },
16996
17098
  input: ["text"],
16997
17099
  cost: {
16998
17100
  input: 0,