@code-yeongyu/senpi 2026.6.12-2 → 2026.6.14

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 (169) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +4 -4
  3. package/dist/cli/startup-ui.d.ts.map +1 -1
  4. package/dist/cli/startup-ui.js +19 -14
  5. package/dist/cli/startup-ui.js.map +1 -1
  6. package/dist/config.d.ts.map +1 -1
  7. package/dist/config.js +14 -3
  8. package/dist/config.js.map +1 -1
  9. package/dist/core/agent-session.d.ts.map +1 -1
  10. package/dist/core/agent-session.js +3 -2
  11. package/dist/core/agent-session.js.map +1 -1
  12. package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.d.ts +3 -0
  13. package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.d.ts.map +1 -0
  14. package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.js +10 -0
  15. package/dist/core/extensions/builtin/prompt-preset/kimi-k2-7.js.map +1 -0
  16. package/dist/core/extensions/builtin/prompt-preset/presets.d.ts.map +1 -1
  17. package/dist/core/extensions/builtin/prompt-preset/presets.js +12 -0
  18. package/dist/core/extensions/builtin/prompt-preset/presets.js.map +1 -1
  19. package/dist/core/extensions/builtin/prompt-preset/settings.d.ts +1 -1
  20. package/dist/core/extensions/builtin/prompt-preset/settings.d.ts.map +1 -1
  21. package/dist/core/extensions/builtin/prompt-preset/settings.js +1 -0
  22. package/dist/core/extensions/builtin/prompt-preset/settings.js.map +1 -1
  23. package/dist/core/model-registry.d.ts.map +1 -1
  24. package/dist/core/model-registry.js +6 -57
  25. package/dist/core/model-registry.js.map +1 -1
  26. package/dist/core/model-resolver.d.ts +1 -1
  27. package/dist/core/model-resolver.d.ts.map +1 -1
  28. package/dist/core/model-resolver.js +23 -1
  29. package/dist/core/model-resolver.js.map +1 -1
  30. package/dist/core/package-manager.d.ts +1 -1
  31. package/dist/core/package-manager.d.ts.map +1 -1
  32. package/dist/core/package-manager.js +31 -17
  33. package/dist/core/package-manager.js.map +1 -1
  34. package/dist/core/project-trust.js +2 -2
  35. package/dist/core/project-trust.js.map +1 -1
  36. package/dist/core/resolve-config-value.d.ts +0 -1
  37. package/dist/core/resolve-config-value.d.ts.map +1 -1
  38. package/dist/core/resolve-config-value.js +0 -4
  39. package/dist/core/resolve-config-value.js.map +1 -1
  40. package/dist/core/session-manager.d.ts.map +1 -1
  41. package/dist/core/session-manager.js +11 -2
  42. package/dist/core/session-manager.js.map +1 -1
  43. package/dist/core/trust-manager.d.ts +8 -3
  44. package/dist/core/trust-manager.d.ts.map +1 -1
  45. package/dist/core/trust-manager.js +26 -11
  46. package/dist/core/trust-manager.js.map +1 -1
  47. package/dist/index.d.ts +1 -1
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/index.js.map +1 -1
  51. package/dist/main.d.ts.map +1 -1
  52. package/dist/main.js +9 -5
  53. package/dist/main.js.map +1 -1
  54. package/dist/migrations.d.ts.map +1 -1
  55. package/dist/migrations.js +1 -123
  56. package/dist/migrations.js.map +1 -1
  57. package/dist/modes/interactive/aborted-error-label.d.ts +2 -0
  58. package/dist/modes/interactive/aborted-error-label.d.ts.map +1 -0
  59. package/dist/modes/interactive/aborted-error-label.js +8 -0
  60. package/dist/modes/interactive/aborted-error-label.js.map +1 -0
  61. package/dist/modes/interactive/components/trust-selector.d.ts.map +1 -1
  62. package/dist/modes/interactive/components/trust-selector.js +4 -4
  63. package/dist/modes/interactive/components/trust-selector.js.map +1 -1
  64. package/dist/modes/interactive/interactive-mode.d.ts +1 -0
  65. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  66. package/dist/modes/interactive/interactive-mode.js +39 -15
  67. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  68. package/dist/modes/interactive/theme/theme.d.ts +12 -8
  69. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  70. package/dist/modes/interactive/theme/theme.js +19 -41
  71. package/dist/modes/interactive/theme/theme.js.map +1 -1
  72. package/dist/modes/print-mode.d.ts.map +1 -1
  73. package/dist/modes/print-mode.js +1 -1
  74. package/dist/modes/print-mode.js.map +1 -1
  75. package/dist/modes/rpc/event-output-buffer.d.ts +10 -0
  76. package/dist/modes/rpc/event-output-buffer.d.ts.map +1 -0
  77. package/dist/modes/rpc/event-output-buffer.js +27 -0
  78. package/dist/modes/rpc/event-output-buffer.js.map +1 -0
  79. package/dist/modes/rpc/jsonl.d.ts.map +1 -1
  80. package/dist/modes/rpc/jsonl.js +9 -11
  81. package/dist/modes/rpc/jsonl.js.map +1 -1
  82. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  83. package/dist/modes/rpc/rpc-mode.js +17 -7
  84. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  85. package/dist/package-manager-cli.d.ts.map +1 -1
  86. package/dist/package-manager-cli.js +10 -3
  87. package/dist/package-manager-cli.js.map +1 -1
  88. package/dist/utils/shell.d.ts.map +1 -1
  89. package/dist/utils/shell.js +14 -0
  90. package/dist/utils/shell.js.map +1 -1
  91. package/dist/utils/version-check.d.ts.map +1 -1
  92. package/dist/utils/version-check.js +4 -27
  93. package/dist/utils/version-check.js.map +1 -1
  94. package/docs/extensions.md +7 -1
  95. package/docs/models.md +1 -1
  96. package/docs/providers.md +2 -2
  97. package/docs/security.md +9 -5
  98. package/docs/settings.md +3 -3
  99. package/docs/usage.md +4 -4
  100. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  101. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  102. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  103. package/examples/extensions/gondolin/package-lock.json +2 -2
  104. package/examples/extensions/gondolin/package.json +1 -1
  105. package/examples/extensions/sandbox/package-lock.json +2 -2
  106. package/examples/extensions/sandbox/package.json +1 -1
  107. package/examples/extensions/with-deps/package-lock.json +2 -2
  108. package/examples/extensions/with-deps/package.json +1 -1
  109. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +8 -0
  110. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -1
  111. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +6 -1
  112. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
  113. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
  114. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  115. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +216 -78
  116. package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -1
  117. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +410 -304
  118. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -1
  119. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -1
  120. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +29 -16
  121. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -1
  122. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -1
  123. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +3 -1
  124. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js.map +1 -1
  125. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +7 -0
  126. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
  127. package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
  128. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts.map +1 -1
  129. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +15 -21
  130. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js.map +1 -1
  131. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +1 -1
  132. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts.map +1 -1
  133. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +3 -2
  134. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js.map +1 -1
  135. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  136. package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +1 -1
  137. package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts.map +1 -1
  138. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +31 -20
  139. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js.map +1 -1
  140. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +2 -1
  141. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts.map +1 -1
  142. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +18 -2
  143. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js.map +1 -1
  144. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.d.ts +1 -1
  145. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +2 -2
  146. package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js.map +1 -1
  147. package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +1 -0
  148. package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -1
  149. package/node_modules/@earendil-works/pi-tui/dist/index.js +2 -0
  150. package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -1
  151. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts +1 -0
  152. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts.map +1 -1
  153. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js +15 -8
  154. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js.map +1 -1
  155. package/node_modules/@earendil-works/pi-tui/dist/terminal-colors.d.ts +8 -0
  156. package/node_modules/@earendil-works/pi-tui/dist/terminal-colors.d.ts.map +1 -0
  157. package/node_modules/@earendil-works/pi-tui/dist/terminal-colors.js +51 -0
  158. package/node_modules/@earendil-works/pi-tui/dist/terminal-colors.js.map +1 -0
  159. package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts +1 -0
  160. package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts.map +1 -1
  161. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +9 -1
  162. package/node_modules/@earendil-works/pi-tui/dist/terminal.js.map +1 -1
  163. package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +17 -2
  164. package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts.map +1 -1
  165. package/node_modules/@earendil-works/pi-tui/dist/tui.js +152 -18
  166. package/node_modules/@earendil-works/pi-tui/dist/tui.js.map +1 -1
  167. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  168. package/npm-shrinkwrap.json +25 -12
  169. package/package.json +7 -5
@@ -3774,6 +3774,24 @@ export const MODELS = {
3774
3774
  contextWindow: 262144,
3775
3775
  maxTokens: 256000,
3776
3776
  },
3777
+ "@cf/moonshotai/kimi-k2.7-code": {
3778
+ id: "@cf/moonshotai/kimi-k2.7-code",
3779
+ name: "Kimi K2.7 Code",
3780
+ api: "openai-completions",
3781
+ provider: "cloudflare-workers-ai",
3782
+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
3783
+ compat: { "sendSessionAffinityHeaders": true },
3784
+ reasoning: true,
3785
+ input: ["text", "image"],
3786
+ cost: {
3787
+ input: 0.95,
3788
+ output: 4,
3789
+ cacheRead: 0.19,
3790
+ cacheWrite: 0,
3791
+ },
3792
+ contextWindow: 262144,
3793
+ maxTokens: 262144,
3794
+ },
3777
3795
  "@cf/nvidia/nemotron-3-120b-a12b": {
3778
3796
  id: "@cf/nvidia/nemotron-3-120b-a12b",
3779
3797
  name: "Nemotron 3 Super 120B",
@@ -3996,9 +4014,9 @@ export const MODELS = {
3996
4014
  contextWindow: 131072,
3997
4015
  maxTokens: 32768,
3998
4016
  },
3999
- "accounts/fireworks/models/kimi-k2p5": {
4000
- id: "accounts/fireworks/models/kimi-k2p5",
4001
- name: "Kimi K2.5",
4017
+ "accounts/fireworks/models/kimi-k2p6": {
4018
+ id: "accounts/fireworks/models/kimi-k2p6",
4019
+ name: "Kimi K2.6",
4002
4020
  api: "anthropic-messages",
4003
4021
  provider: "fireworks",
4004
4022
  baseUrl: "https://api.fireworks.ai/inference",
@@ -4006,17 +4024,17 @@ export const MODELS = {
4006
4024
  reasoning: true,
4007
4025
  input: ["text", "image"],
4008
4026
  cost: {
4009
- input: 0.6,
4010
- output: 3,
4011
- cacheRead: 0.1,
4027
+ input: 0.95,
4028
+ output: 4,
4029
+ cacheRead: 0.16,
4012
4030
  cacheWrite: 0,
4013
4031
  },
4014
- contextWindow: 256000,
4015
- maxTokens: 256000,
4032
+ contextWindow: 262000,
4033
+ maxTokens: 262000,
4016
4034
  },
4017
- "accounts/fireworks/models/kimi-k2p6": {
4018
- id: "accounts/fireworks/models/kimi-k2p6",
4019
- name: "Kimi K2.6",
4035
+ "accounts/fireworks/models/kimi-k2p7-code": {
4036
+ id: "accounts/fireworks/models/kimi-k2p7-code",
4037
+ name: "Kimi K2.7 Code",
4020
4038
  api: "anthropic-messages",
4021
4039
  provider: "fireworks",
4022
4040
  baseUrl: "https://api.fireworks.ai/inference",
@@ -4026,15 +4044,15 @@ export const MODELS = {
4026
4044
  cost: {
4027
4045
  input: 0.95,
4028
4046
  output: 4,
4029
- cacheRead: 0.16,
4047
+ cacheRead: 0.19,
4030
4048
  cacheWrite: 0,
4031
4049
  },
4032
4050
  contextWindow: 262000,
4033
4051
  maxTokens: 262000,
4034
4052
  },
4035
- "accounts/fireworks/models/minimax-m2p5": {
4036
- id: "accounts/fireworks/models/minimax-m2p5",
4037
- name: "MiniMax-M2.5",
4053
+ "accounts/fireworks/models/minimax-m2p7": {
4054
+ id: "accounts/fireworks/models/minimax-m2p7",
4055
+ name: "MiniMax-M2.7",
4038
4056
  api: "anthropic-messages",
4039
4057
  provider: "fireworks",
4040
4058
  baseUrl: "https://api.fireworks.ai/inference",
@@ -4044,15 +4062,15 @@ export const MODELS = {
4044
4062
  cost: {
4045
4063
  input: 0.3,
4046
4064
  output: 1.2,
4047
- cacheRead: 0.03,
4065
+ cacheRead: 0.06,
4048
4066
  cacheWrite: 0,
4049
4067
  },
4050
4068
  contextWindow: 196608,
4051
4069
  maxTokens: 196608,
4052
4070
  },
4053
- "accounts/fireworks/models/minimax-m2p7": {
4054
- id: "accounts/fireworks/models/minimax-m2p7",
4055
- name: "MiniMax-M2.7",
4071
+ "accounts/fireworks/models/minimax-m3": {
4072
+ id: "accounts/fireworks/models/minimax-m3",
4073
+ name: "MiniMax-M3",
4056
4074
  api: "anthropic-messages",
4057
4075
  provider: "fireworks",
4058
4076
  baseUrl: "https://api.fireworks.ai/inference",
@@ -4065,12 +4083,12 @@ export const MODELS = {
4065
4083
  cacheRead: 0.06,
4066
4084
  cacheWrite: 0,
4067
4085
  },
4068
- contextWindow: 196608,
4069
- maxTokens: 196608,
4086
+ contextWindow: 512000,
4087
+ maxTokens: 512000,
4070
4088
  },
4071
- "accounts/fireworks/models/qwen3p6-plus": {
4072
- id: "accounts/fireworks/models/qwen3p6-plus",
4073
- name: "Qwen 3.6 Plus",
4089
+ "accounts/fireworks/models/qwen3p7-plus": {
4090
+ id: "accounts/fireworks/models/qwen3p7-plus",
4091
+ name: "Qwen 3.7 Plus",
4074
4092
  api: "anthropic-messages",
4075
4093
  provider: "fireworks",
4076
4094
  baseUrl: "https://api.fireworks.ai/inference",
@@ -4078,9 +4096,9 @@ export const MODELS = {
4078
4096
  reasoning: true,
4079
4097
  input: ["text", "image"],
4080
4098
  cost: {
4081
- input: 0.5,
4082
- output: 3,
4083
- cacheRead: 0.1,
4099
+ input: 0.4,
4100
+ output: 1.6,
4101
+ cacheRead: 0.08,
4084
4102
  cacheWrite: 0,
4085
4103
  },
4086
4104
  contextWindow: 262144,
@@ -4140,6 +4158,24 @@ export const MODELS = {
4140
4158
  contextWindow: 262000,
4141
4159
  maxTokens: 262000,
4142
4160
  },
4161
+ "accounts/fireworks/routers/kimi-k2p7-code-fast": {
4162
+ id: "accounts/fireworks/routers/kimi-k2p7-code-fast",
4163
+ name: "Kimi K2.7 Code Fast",
4164
+ api: "anthropic-messages",
4165
+ provider: "fireworks",
4166
+ baseUrl: "https://api.fireworks.ai/inference",
4167
+ compat: { "sendSessionAffinityHeaders": true, "supportsEagerToolInputStreaming": false, "supportsCacheControlOnTools": false, "supportsLongCacheRetention": false },
4168
+ reasoning: true,
4169
+ input: ["text", "image"],
4170
+ cost: {
4171
+ input: 2,
4172
+ output: 8,
4173
+ cacheRead: 0.38,
4174
+ cacheWrite: 0,
4175
+ },
4176
+ contextWindow: 262000,
4177
+ maxTokens: 262000,
4178
+ },
4143
4179
  },
4144
4180
  "github-copilot": {
4145
4181
  "claude-fable-5": {
@@ -5613,6 +5649,24 @@ export const MODELS = {
5613
5649
  },
5614
5650
  },
5615
5651
  "kimi-coding": {
5652
+ "k2p7": {
5653
+ id: "k2p7",
5654
+ name: "Kimi K2.7 Code",
5655
+ api: "anthropic-messages",
5656
+ provider: "kimi-coding",
5657
+ baseUrl: "https://api.kimi.com/coding",
5658
+ headers: { "User-Agent": "KimiCLI/1.5" },
5659
+ reasoning: true,
5660
+ input: ["text", "image"],
5661
+ cost: {
5662
+ input: 0,
5663
+ output: 0,
5664
+ cacheRead: 0,
5665
+ cacheWrite: 0,
5666
+ },
5667
+ contextWindow: 262144,
5668
+ maxTokens: 32768,
5669
+ },
5616
5670
  "kimi-for-coding": {
5617
5671
  id: "kimi-for-coding",
5618
5672
  name: "Kimi For Coding",
@@ -6395,6 +6449,24 @@ export const MODELS = {
6395
6449
  contextWindow: 262144,
6396
6450
  maxTokens: 262144,
6397
6451
  },
6452
+ "kimi-k2.7-code": {
6453
+ id: "kimi-k2.7-code",
6454
+ name: "Kimi K2.7 Code",
6455
+ api: "openai-completions",
6456
+ provider: "moonshotai",
6457
+ baseUrl: "https://api.moonshot.ai/v1",
6458
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "thinkingFormat": "deepseek" },
6459
+ reasoning: true,
6460
+ input: ["text", "image"],
6461
+ cost: {
6462
+ input: 0.95,
6463
+ output: 4,
6464
+ cacheRead: 0.19,
6465
+ cacheWrite: 0,
6466
+ },
6467
+ contextWindow: 262144,
6468
+ maxTokens: 262144,
6469
+ },
6398
6470
  },
6399
6471
  "moonshotai-cn": {
6400
6472
  "kimi-k2-0711-preview": {
@@ -7720,25 +7792,6 @@ export const MODELS = {
7720
7792
  contextWindow: 200000,
7721
7793
  maxTokens: 32000,
7722
7794
  },
7723
- "claude-fable-5": {
7724
- id: "claude-fable-5",
7725
- name: "Claude Fable 5",
7726
- api: "anthropic-messages",
7727
- provider: "opencode",
7728
- baseUrl: "https://opencode.ai/zen",
7729
- compat: { "forceAdaptiveThinking": true },
7730
- reasoning: true,
7731
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
7732
- input: ["text", "image"],
7733
- cost: {
7734
- input: 10,
7735
- output: 50,
7736
- cacheRead: 1,
7737
- cacheWrite: 12.5,
7738
- },
7739
- contextWindow: 1000000,
7740
- maxTokens: 128000,
7741
- },
7742
7795
  "claude-haiku-4-5": {
7743
7796
  id: "claude-haiku-4-5",
7744
7797
  name: "Claude Haiku 4.5",
@@ -7905,7 +7958,7 @@ export const MODELS = {
7905
7958
  api: "openai-completions",
7906
7959
  provider: "opencode",
7907
7960
  baseUrl: "https://opencode.ai/zen/v1",
7908
- compat: { "maxTokensField": "max_tokens", "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7961
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7909
7962
  reasoning: true,
7910
7963
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7911
7964
  input: ["text"],
@@ -7943,7 +7996,7 @@ export const MODELS = {
7943
7996
  api: "openai-completions",
7944
7997
  provider: "opencode",
7945
7998
  baseUrl: "https://opencode.ai/zen/v1",
7946
- compat: { "maxTokensField": "max_tokens", "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7999
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false, "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7947
8000
  reasoning: true,
7948
8001
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7949
8002
  input: ["text"],
@@ -8359,7 +8412,7 @@ export const MODELS = {
8359
8412
  api: "openai-completions",
8360
8413
  provider: "opencode",
8361
8414
  baseUrl: "https://opencode.ai/zen/v1",
8362
- compat: { "maxTokensField": "max_tokens" },
8415
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false },
8363
8416
  reasoning: true,
8364
8417
  input: ["text", "image"],
8365
8418
  cost: {
@@ -8377,7 +8430,7 @@ export const MODELS = {
8377
8430
  api: "openai-completions",
8378
8431
  provider: "opencode",
8379
8432
  baseUrl: "https://opencode.ai/zen/v1",
8380
- compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false, "maxTokensField": "max_tokens" },
8433
+ compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsLongCacheRetention": false },
8381
8434
  reasoning: true,
8382
8435
  input: ["text", "image"],
8383
8436
  cost: {
@@ -8431,7 +8484,7 @@ export const MODELS = {
8431
8484
  api: "openai-completions",
8432
8485
  provider: "opencode",
8433
8486
  baseUrl: "https://opencode.ai/zen/v1",
8434
- compat: { "maxTokensField": "max_tokens" },
8487
+ compat: { "maxTokensField": "max_tokens", "supportsLongCacheRetention": false },
8435
8488
  reasoning: true,
8436
8489
  input: ["text"],
8437
8490
  cost: {
@@ -8589,42 +8642,42 @@ export const MODELS = {
8589
8642
  contextWindow: 202752,
8590
8643
  maxTokens: 32768,
8591
8644
  },
8592
- "kimi-k2.5": {
8593
- id: "kimi-k2.5",
8594
- name: "Kimi K2.5",
8645
+ "kimi-k2.6": {
8646
+ id: "kimi-k2.6",
8647
+ name: "Kimi K2.6",
8595
8648
  api: "openai-completions",
8596
8649
  provider: "opencode-go",
8597
8650
  baseUrl: "https://opencode.ai/zen/go/v1",
8598
- compat: { "maxTokensField": "max_tokens" },
8651
+ compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsLongCacheRetention": false },
8599
8652
  reasoning: true,
8653
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8600
8654
  input: ["text", "image"],
8601
8655
  cost: {
8602
- input: 0.6,
8603
- output: 3,
8604
- cacheRead: 0.1,
8656
+ input: 0.95,
8657
+ output: 4,
8658
+ cacheRead: 0.16,
8605
8659
  cacheWrite: 0,
8606
8660
  },
8607
8661
  contextWindow: 262144,
8608
8662
  maxTokens: 65536,
8609
8663
  },
8610
- "kimi-k2.6": {
8611
- id: "kimi-k2.6",
8612
- name: "Kimi K2.6",
8664
+ "kimi-k2.7-code": {
8665
+ id: "kimi-k2.7-code",
8666
+ name: "Kimi K2.7 Code",
8613
8667
  api: "openai-completions",
8614
8668
  provider: "opencode-go",
8615
8669
  baseUrl: "https://opencode.ai/zen/go/v1",
8616
- compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false, "maxTokensField": "max_tokens" },
8670
+ compat: { "maxTokensField": "max_tokens" },
8617
8671
  reasoning: true,
8618
- thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8619
8672
  input: ["text", "image"],
8620
8673
  cost: {
8621
8674
  input: 0.95,
8622
8675
  output: 4,
8623
- cacheRead: 0.16,
8676
+ cacheRead: 0.19,
8624
8677
  cacheWrite: 0,
8625
8678
  },
8626
8679
  contextWindow: 262144,
8627
- maxTokens: 65536,
8680
+ maxTokens: 262144,
8628
8681
  },
8629
8682
  "mimo-v2.5": {
8630
8683
  id: "mimo-v2.5",
@@ -8662,23 +8715,6 @@ export const MODELS = {
8662
8715
  contextWindow: 1048576,
8663
8716
  maxTokens: 128000,
8664
8717
  },
8665
- "minimax-m2.5": {
8666
- id: "minimax-m2.5",
8667
- name: "MiniMax M2.5",
8668
- api: "anthropic-messages",
8669
- provider: "opencode-go",
8670
- baseUrl: "https://opencode.ai/zen/go",
8671
- reasoning: true,
8672
- input: ["text"],
8673
- cost: {
8674
- input: 0.3,
8675
- output: 1.2,
8676
- cacheRead: 0.03,
8677
- cacheWrite: 0,
8678
- },
8679
- contextWindow: 204800,
8680
- maxTokens: 65536,
8681
- },
8682
8718
  "minimax-m2.7": {
8683
8719
  id: "minimax-m2.7",
8684
8720
  name: "MiniMax M2.7",
@@ -8699,16 +8735,16 @@ export const MODELS = {
8699
8735
  },
8700
8736
  "minimax-m3": {
8701
8737
  id: "minimax-m3",
8702
- name: "MiniMax M3",
8738
+ name: "MiniMax M3 (3x usage)",
8703
8739
  api: "anthropic-messages",
8704
8740
  provider: "opencode-go",
8705
8741
  baseUrl: "https://opencode.ai/zen/go",
8706
8742
  reasoning: true,
8707
8743
  input: ["text", "image"],
8708
8744
  cost: {
8709
- input: 0.3,
8710
- output: 1.2,
8711
- cacheRead: 0.06,
8745
+ input: 0.1,
8746
+ output: 0.4,
8747
+ cacheRead: 0.02,
8712
8748
  cacheWrite: 0,
8713
8749
  },
8714
8750
  contextWindow: 512000,
@@ -8862,8 +8898,8 @@ export const MODELS = {
8862
8898
  reasoning: false,
8863
8899
  input: ["text", "image"],
8864
8900
  cost: {
8865
- input: 0.7999999999999999,
8866
- output: 3.1999999999999997,
8901
+ input: 0.8,
8902
+ output: 3.2,
8867
8903
  cacheRead: 0,
8868
8904
  cacheWrite: 0,
8869
8905
  },
@@ -8896,7 +8932,7 @@ export const MODELS = {
8896
8932
  reasoning: false,
8897
8933
  input: ["text", "image"],
8898
8934
  cost: {
8899
- input: 0.7999999999999999,
8935
+ input: 0.8,
8900
8936
  output: 4,
8901
8937
  cacheRead: 0.08,
8902
8938
  cacheWrite: 1,
@@ -8932,7 +8968,7 @@ export const MODELS = {
8932
8968
  cost: {
8933
8969
  input: 1,
8934
8970
  output: 5,
8935
- cacheRead: 0.09999999999999999,
8971
+ cacheRead: 0.1,
8936
8972
  cacheWrite: 1.25,
8937
8973
  },
8938
8974
  contextWindow: 200000,
@@ -9276,8 +9312,8 @@ export const MODELS = {
9276
9312
  reasoning: true,
9277
9313
  input: ["text", "image"],
9278
9314
  cost: {
9279
- input: 0.09999999999999999,
9280
- output: 0.39999999999999997,
9315
+ input: 0.1,
9316
+ output: 0.4,
9281
9317
  cacheRead: 0,
9282
9318
  cacheWrite: 0,
9283
9319
  },
@@ -9327,8 +9363,8 @@ export const MODELS = {
9327
9363
  reasoning: false,
9328
9364
  input: ["text"],
9329
9365
  cost: {
9330
- input: 0.20020000000000002,
9331
- output: 0.8000999999999999,
9366
+ input: 0.2002,
9367
+ output: 0.8001,
9332
9368
  cacheRead: 0,
9333
9369
  cacheWrite: 0,
9334
9370
  },
@@ -9344,12 +9380,12 @@ export const MODELS = {
9344
9380
  reasoning: false,
9345
9381
  input: ["text"],
9346
9382
  cost: {
9347
- input: 0.19999999999999998,
9383
+ input: 0.2,
9348
9384
  output: 0.77,
9349
9385
  cacheRead: 0.135,
9350
9386
  cacheWrite: 0,
9351
9387
  },
9352
- contextWindow: 131072,
9388
+ contextWindow: 163840,
9353
9389
  maxTokens: 16384,
9354
9390
  },
9355
9391
  "deepseek/deepseek-chat-v3.1": {
@@ -9362,7 +9398,7 @@ export const MODELS = {
9362
9398
  input: ["text"],
9363
9399
  cost: {
9364
9400
  input: 0.21,
9365
- output: 0.7899999999999999,
9401
+ output: 0.79,
9366
9402
  cacheRead: 0.13,
9367
9403
  cacheWrite: 0,
9368
9404
  },
@@ -9396,7 +9432,7 @@ export const MODELS = {
9396
9432
  input: ["text"],
9397
9433
  cost: {
9398
9434
  input: 0.5,
9399
- output: 2.1500000000000004,
9435
+ output: 2.15,
9400
9436
  cacheRead: 0.35,
9401
9437
  cacheWrite: 0,
9402
9438
  },
@@ -9465,13 +9501,13 @@ export const MODELS = {
9465
9501
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
9466
9502
  input: ["text"],
9467
9503
  cost: {
9468
- input: 0.098,
9469
- output: 0.196,
9504
+ input: 0.09,
9505
+ output: 0.18,
9470
9506
  cacheRead: 0.02,
9471
9507
  cacheWrite: 0,
9472
9508
  },
9473
9509
  contextWindow: 1048576,
9474
- maxTokens: 4096,
9510
+ maxTokens: 65536,
9475
9511
  },
9476
9512
  "deepseek/deepseek-v4-pro": {
9477
9513
  id: "deepseek/deepseek-v4-pro",
@@ -9521,7 +9557,7 @@ export const MODELS = {
9521
9557
  input: 0.3,
9522
9558
  output: 2.5,
9523
9559
  cacheRead: 0.03,
9524
- cacheWrite: 0.08333333333333334,
9560
+ cacheWrite: 0.083333,
9525
9561
  },
9526
9562
  contextWindow: 1048576,
9527
9563
  maxTokens: 65535,
@@ -9535,10 +9571,10 @@ export const MODELS = {
9535
9571
  reasoning: true,
9536
9572
  input: ["text", "image"],
9537
9573
  cost: {
9538
- input: 0.09999999999999999,
9539
- output: 0.39999999999999997,
9574
+ input: 0.1,
9575
+ output: 0.4,
9540
9576
  cacheRead: 0.01,
9541
- cacheWrite: 0.08333333333333334,
9577
+ cacheWrite: 0.083333,
9542
9578
  },
9543
9579
  contextWindow: 1048576,
9544
9580
  maxTokens: 65535,
@@ -9552,10 +9588,10 @@ export const MODELS = {
9552
9588
  reasoning: true,
9553
9589
  input: ["text", "image"],
9554
9590
  cost: {
9555
- input: 0.09999999999999999,
9556
- output: 0.39999999999999997,
9591
+ input: 0.1,
9592
+ output: 0.4,
9557
9593
  cacheRead: 0.01,
9558
- cacheWrite: 0.08333333333333334,
9594
+ cacheWrite: 0.083333,
9559
9595
  },
9560
9596
  contextWindow: 1048576,
9561
9597
  maxTokens: 65535,
@@ -9622,8 +9658,8 @@ export const MODELS = {
9622
9658
  cost: {
9623
9659
  input: 0.5,
9624
9660
  output: 3,
9625
- cacheRead: 0.049999999999999996,
9626
- cacheWrite: 0.08333333333333334,
9661
+ cacheRead: 0.05,
9662
+ cacheWrite: 0.083333,
9627
9663
  },
9628
9664
  contextWindow: 1048576,
9629
9665
  maxTokens: 65536,
@@ -9639,8 +9675,8 @@ export const MODELS = {
9639
9675
  cost: {
9640
9676
  input: 0.25,
9641
9677
  output: 1.5,
9642
- cacheRead: 0.024999999999999998,
9643
- cacheWrite: 0.08333333333333334,
9678
+ cacheRead: 0.025,
9679
+ cacheWrite: 0.083333,
9644
9680
  },
9645
9681
  contextWindow: 1048576,
9646
9682
  maxTokens: 65536,
@@ -9656,8 +9692,8 @@ export const MODELS = {
9656
9692
  cost: {
9657
9693
  input: 0.25,
9658
9694
  output: 1.5,
9659
- cacheRead: 0.024999999999999998,
9660
- cacheWrite: 0.08333333333333334,
9695
+ cacheRead: 0.025,
9696
+ cacheWrite: 0.083333,
9661
9697
  },
9662
9698
  contextWindow: 1048576,
9663
9699
  maxTokens: 65536,
@@ -9673,7 +9709,7 @@ export const MODELS = {
9673
9709
  cost: {
9674
9710
  input: 2,
9675
9711
  output: 12,
9676
- cacheRead: 0.19999999999999998,
9712
+ cacheRead: 0.2,
9677
9713
  cacheWrite: 0.375,
9678
9714
  },
9679
9715
  contextWindow: 1048576,
@@ -9690,7 +9726,7 @@ export const MODELS = {
9690
9726
  cost: {
9691
9727
  input: 2,
9692
9728
  output: 12,
9693
- cacheRead: 0.19999999999999998,
9729
+ cacheRead: 0.2,
9694
9730
  cacheWrite: 0.375,
9695
9731
  },
9696
9732
  contextWindow: 1048756,
@@ -9708,7 +9744,7 @@ export const MODELS = {
9708
9744
  input: 1.5,
9709
9745
  output: 9,
9710
9746
  cacheRead: 0.15,
9711
- cacheWrite: 0.08333333333333334,
9747
+ cacheWrite: 0.083333,
9712
9748
  },
9713
9749
  contextWindow: 1048576,
9714
9750
  maxTokens: 65536,
@@ -9722,7 +9758,7 @@ export const MODELS = {
9722
9758
  reasoning: false,
9723
9759
  input: ["text", "image"],
9724
9760
  cost: {
9725
- input: 0.049999999999999996,
9761
+ input: 0.05,
9726
9762
  output: 0.15,
9727
9763
  cacheRead: 0,
9728
9764
  cacheWrite: 0,
@@ -9824,9 +9860,9 @@ export const MODELS = {
9824
9860
  reasoning: false,
9825
9861
  input: ["text"],
9826
9862
  cost: {
9827
- input: 0.049999999999999996,
9828
- output: 0.09999999999999999,
9829
- cacheRead: 0.049999999999999996,
9863
+ input: 0.05,
9864
+ output: 0.1,
9865
+ cacheRead: 0.05,
9830
9866
  cacheWrite: 0,
9831
9867
  },
9832
9868
  contextWindow: 131072,
@@ -9844,7 +9880,7 @@ export const MODELS = {
9844
9880
  cost: {
9845
9881
  input: 0.25,
9846
9882
  output: 0.75,
9847
- cacheRead: 0.024999999999999998,
9883
+ cacheRead: 0.025,
9848
9884
  cacheWrite: 0,
9849
9885
  },
9850
9886
  contextWindow: 128000,
@@ -9927,8 +9963,8 @@ export const MODELS = {
9927
9963
  reasoning: false,
9928
9964
  input: ["text"],
9929
9965
  cost: {
9930
- input: 0.39999999999999997,
9931
- output: 0.39999999999999997,
9966
+ input: 0.4,
9967
+ output: 0.4,
9932
9968
  cacheRead: 0,
9933
9969
  cacheWrite: 0,
9934
9970
  },
@@ -9961,7 +9997,7 @@ export const MODELS = {
9961
9997
  reasoning: false,
9962
9998
  input: ["text"],
9963
9999
  cost: {
9964
- input: 0.09999999999999999,
10000
+ input: 0.1,
9965
10001
  output: 0.32,
9966
10002
  cacheRead: 0,
9967
10003
  cacheWrite: 0,
@@ -10012,7 +10048,7 @@ export const MODELS = {
10012
10048
  reasoning: false,
10013
10049
  input: ["text", "image"],
10014
10050
  cost: {
10015
- input: 0.09999999999999999,
10051
+ input: 0.1,
10016
10052
  output: 0.3,
10017
10053
  cacheRead: 0,
10018
10054
  cacheWrite: 0,
@@ -10029,7 +10065,7 @@ export const MODELS = {
10029
10065
  reasoning: true,
10030
10066
  input: ["text"],
10031
10067
  cost: {
10032
- input: 0.39999999999999997,
10068
+ input: 0.4,
10033
10069
  output: 2.2,
10034
10070
  cacheRead: 0,
10035
10071
  cacheWrite: 0,
@@ -10081,8 +10117,8 @@ export const MODELS = {
10081
10117
  input: ["text"],
10082
10118
  cost: {
10083
10119
  input: 0.15,
10084
- output: 0.8999999999999999,
10085
- cacheRead: 0.049999999999999996,
10120
+ output: 0.9,
10121
+ cacheRead: 0.05,
10086
10122
  cacheWrite: 0,
10087
10123
  },
10088
10124
  contextWindow: 204800,
@@ -10099,7 +10135,7 @@ export const MODELS = {
10099
10135
  cost: {
10100
10136
  input: 0.25,
10101
10137
  output: 1,
10102
- cacheRead: 0.049999999999999996,
10138
+ cacheRead: 0.05,
10103
10139
  cacheWrite: 0,
10104
10140
  },
10105
10141
  contextWindow: 204800,
@@ -10132,7 +10168,7 @@ export const MODELS = {
10132
10168
  input: ["text"],
10133
10169
  cost: {
10134
10170
  input: 0.3,
10135
- output: 0.8999999999999999,
10171
+ output: 0.9,
10136
10172
  cacheRead: 0.03,
10137
10173
  cacheWrite: 0,
10138
10174
  },
@@ -10148,7 +10184,7 @@ export const MODELS = {
10148
10184
  reasoning: false,
10149
10185
  input: ["text"],
10150
10186
  cost: {
10151
- input: 0.39999999999999997,
10187
+ input: 0.4,
10152
10188
  output: 2,
10153
10189
  cacheRead: 0.04,
10154
10190
  cacheWrite: 0,
@@ -10165,8 +10201,8 @@ export const MODELS = {
10165
10201
  reasoning: false,
10166
10202
  input: ["text", "image"],
10167
10203
  cost: {
10168
- input: 0.19999999999999998,
10169
- output: 0.19999999999999998,
10204
+ input: 0.2,
10205
+ output: 0.2,
10170
10206
  cacheRead: 0.02,
10171
10207
  cacheWrite: 0,
10172
10208
  },
@@ -10182,8 +10218,8 @@ export const MODELS = {
10182
10218
  reasoning: false,
10183
10219
  input: ["text", "image"],
10184
10220
  cost: {
10185
- input: 0.09999999999999999,
10186
- output: 0.09999999999999999,
10221
+ input: 0.1,
10222
+ output: 0.1,
10187
10223
  cacheRead: 0.01,
10188
10224
  cacheWrite: 0,
10189
10225
  },
@@ -10218,7 +10254,7 @@ export const MODELS = {
10218
10254
  cost: {
10219
10255
  input: 2,
10220
10256
  output: 6,
10221
- cacheRead: 0.19999999999999998,
10257
+ cacheRead: 0.2,
10222
10258
  cacheWrite: 0,
10223
10259
  },
10224
10260
  contextWindow: 128000,
@@ -10235,7 +10271,7 @@ export const MODELS = {
10235
10271
  cost: {
10236
10272
  input: 2,
10237
10273
  output: 6,
10238
- cacheRead: 0.19999999999999998,
10274
+ cacheRead: 0.2,
10239
10275
  cacheWrite: 0,
10240
10276
  },
10241
10277
  contextWindow: 131072,
@@ -10252,7 +10288,7 @@ export const MODELS = {
10252
10288
  cost: {
10253
10289
  input: 0.5,
10254
10290
  output: 1.5,
10255
- cacheRead: 0.049999999999999996,
10291
+ cacheRead: 0.05,
10256
10292
  cacheWrite: 0,
10257
10293
  },
10258
10294
  contextWindow: 262144,
@@ -10267,7 +10303,7 @@ export const MODELS = {
10267
10303
  reasoning: false,
10268
10304
  input: ["text", "image"],
10269
10305
  cost: {
10270
- input: 0.39999999999999997,
10306
+ input: 0.4,
10271
10307
  output: 2,
10272
10308
  cacheRead: 0.04,
10273
10309
  cacheWrite: 0,
@@ -10301,7 +10337,7 @@ export const MODELS = {
10301
10337
  reasoning: false,
10302
10338
  input: ["text", "image"],
10303
10339
  cost: {
10304
- input: 0.39999999999999997,
10340
+ input: 0.4,
10305
10341
  output: 2,
10306
10342
  cacheRead: 0.04,
10307
10343
  cacheWrite: 0,
@@ -10335,7 +10371,7 @@ export const MODELS = {
10335
10371
  reasoning: false,
10336
10372
  input: ["text"],
10337
10373
  cost: {
10338
- input: 0.19999999999999998,
10374
+ input: 0.2,
10339
10375
  output: 0.6,
10340
10376
  cacheRead: 0.02,
10341
10377
  cacheWrite: 0,
@@ -10370,7 +10406,7 @@ export const MODELS = {
10370
10406
  input: ["text", "image"],
10371
10407
  cost: {
10372
10408
  input: 0.075,
10373
- output: 0.19999999999999998,
10409
+ output: 0.2,
10374
10410
  cacheRead: 0,
10375
10411
  cacheWrite: 0,
10376
10412
  },
@@ -10388,7 +10424,7 @@ export const MODELS = {
10388
10424
  cost: {
10389
10425
  input: 2,
10390
10426
  output: 6,
10391
- cacheRead: 0.19999999999999998,
10427
+ cacheRead: 0.2,
10392
10428
  cacheWrite: 0,
10393
10429
  },
10394
10430
  contextWindow: 65536,
@@ -10403,7 +10439,7 @@ export const MODELS = {
10403
10439
  reasoning: false,
10404
10440
  input: ["text"],
10405
10441
  cost: {
10406
- input: 0.09999999999999999,
10442
+ input: 0.1,
10407
10443
  output: 0.3,
10408
10444
  cacheRead: 0.01,
10409
10445
  cacheWrite: 0,
@@ -10420,7 +10456,7 @@ export const MODELS = {
10420
10456
  reasoning: false,
10421
10457
  input: ["text"],
10422
10458
  cost: {
10423
- input: 0.5700000000000001,
10459
+ input: 0.57,
10424
10460
  output: 2.3,
10425
10461
  cacheRead: 0,
10426
10462
  cacheWrite: 0,
@@ -10489,9 +10525,26 @@ export const MODELS = {
10489
10525
  reasoning: true,
10490
10526
  input: ["text", "image"],
10491
10527
  cost: {
10492
- input: 0.67,
10493
- output: 3.39,
10494
- cacheRead: 0.14,
10528
+ input: 0.68,
10529
+ output: 3.41,
10530
+ cacheRead: 0.34,
10531
+ cacheWrite: 0,
10532
+ },
10533
+ contextWindow: 262144,
10534
+ maxTokens: 262142,
10535
+ },
10536
+ "moonshotai/kimi-k2.7-code": {
10537
+ id: "moonshotai/kimi-k2.7-code",
10538
+ name: "MoonshotAI: Kimi K2.7 Code",
10539
+ api: "openai-completions",
10540
+ provider: "openrouter",
10541
+ baseUrl: "https://openrouter.ai/api/v1",
10542
+ reasoning: true,
10543
+ input: ["text", "image"],
10544
+ cost: {
10545
+ input: 0.75,
10546
+ output: 3.5,
10547
+ cacheRead: 0.16,
10495
10548
  cacheWrite: 0,
10496
10549
  },
10497
10550
  contextWindow: 262144,
@@ -10523,8 +10576,8 @@ export const MODELS = {
10523
10576
  reasoning: true,
10524
10577
  input: ["text"],
10525
10578
  cost: {
10526
- input: 0.39999999999999997,
10527
- output: 0.39999999999999997,
10579
+ input: 0.4,
10580
+ output: 0.4,
10528
10581
  cacheRead: 0,
10529
10582
  cacheWrite: 0,
10530
10583
  },
@@ -10540,8 +10593,8 @@ export const MODELS = {
10540
10593
  reasoning: true,
10541
10594
  input: ["text"],
10542
10595
  cost: {
10543
- input: 0.049999999999999996,
10544
- output: 0.19999999999999998,
10596
+ input: 0.05,
10597
+ output: 0.2,
10545
10598
  cacheRead: 0,
10546
10599
  cacheWrite: 0,
10547
10600
  },
@@ -10592,7 +10645,7 @@ export const MODELS = {
10592
10645
  input: ["text"],
10593
10646
  cost: {
10594
10647
  input: 0.09,
10595
- output: 0.44999999999999996,
10648
+ output: 0.45,
10596
10649
  cacheRead: 0,
10597
10650
  cacheWrite: 0,
10598
10651
  },
@@ -10812,9 +10865,9 @@ export const MODELS = {
10812
10865
  reasoning: false,
10813
10866
  input: ["text", "image"],
10814
10867
  cost: {
10815
- input: 0.39999999999999997,
10816
- output: 1.5999999999999999,
10817
- cacheRead: 0.09999999999999999,
10868
+ input: 0.4,
10869
+ output: 1.6,
10870
+ cacheRead: 0.1,
10818
10871
  cacheWrite: 0,
10819
10872
  },
10820
10873
  contextWindow: 1047576,
@@ -10829,9 +10882,9 @@ export const MODELS = {
10829
10882
  reasoning: false,
10830
10883
  input: ["text", "image"],
10831
10884
  cost: {
10832
- input: 0.09999999999999999,
10833
- output: 0.39999999999999997,
10834
- cacheRead: 0.024999999999999998,
10885
+ input: 0.1,
10886
+ output: 0.4,
10887
+ cacheRead: 0.025,
10835
10888
  cacheWrite: 0,
10836
10889
  },
10837
10890
  contextWindow: 1047576,
@@ -10984,7 +11037,7 @@ export const MODELS = {
10984
11037
  cost: {
10985
11038
  input: 0.25,
10986
11039
  output: 2,
10987
- cacheRead: 0.024999999999999998,
11040
+ cacheRead: 0.025,
10988
11041
  cacheWrite: 0,
10989
11042
  },
10990
11043
  contextWindow: 400000,
@@ -10999,8 +11052,8 @@ export const MODELS = {
10999
11052
  reasoning: true,
11000
11053
  input: ["text", "image"],
11001
11054
  cost: {
11002
- input: 0.049999999999999996,
11003
- output: 0.39999999999999997,
11055
+ input: 0.05,
11056
+ output: 0.4,
11004
11057
  cacheRead: 0.01,
11005
11058
  cacheWrite: 0,
11006
11059
  },
@@ -11103,7 +11156,7 @@ export const MODELS = {
11103
11156
  cost: {
11104
11157
  input: 0.25,
11105
11158
  output: 2,
11106
- cacheRead: 0.024999999999999998,
11159
+ cacheRead: 0.025,
11107
11160
  cacheWrite: 0,
11108
11161
  },
11109
11162
  contextWindow: 400000,
@@ -11263,7 +11316,7 @@ export const MODELS = {
11263
11316
  thinkingLevelMap: { "xhigh": "xhigh" },
11264
11317
  input: ["text", "image"],
11265
11318
  cost: {
11266
- input: 0.19999999999999998,
11319
+ input: 0.2,
11267
11320
  output: 1.25,
11268
11321
  cacheRead: 0.02,
11269
11322
  cacheWrite: 0,
@@ -11708,7 +11761,7 @@ export const MODELS = {
11708
11761
  reasoning: true,
11709
11762
  input: ["text"],
11710
11763
  cost: {
11711
- input: 0.19999999999999998,
11764
+ input: 0.2,
11712
11765
  output: 1.1,
11713
11766
  cacheRead: 0,
11714
11767
  cacheWrite: 0,
@@ -11726,7 +11779,7 @@ export const MODELS = {
11726
11779
  input: ["text"],
11727
11780
  cost: {
11728
11781
  input: 0.36,
11729
- output: 0.39999999999999997,
11782
+ output: 0.4,
11730
11783
  cacheRead: 0,
11731
11784
  cacheWrite: 0,
11732
11785
  },
@@ -11744,7 +11797,7 @@ export const MODELS = {
11744
11797
  cost: {
11745
11798
  input: 0.26,
11746
11799
  output: 0.78,
11747
- cacheRead: 0.052000000000000005,
11800
+ cacheRead: 0.052,
11748
11801
  cacheWrite: 0.325,
11749
11802
  },
11750
11803
  contextWindow: 1000000,
@@ -11793,7 +11846,7 @@ export const MODELS = {
11793
11846
  reasoning: true,
11794
11847
  input: ["text"],
11795
11848
  cost: {
11796
- input: 0.09999999999999999,
11849
+ input: 0.1,
11797
11850
  output: 0.24,
11798
11851
  cacheRead: 0,
11799
11852
  cacheWrite: 0,
@@ -11810,8 +11863,8 @@ export const MODELS = {
11810
11863
  reasoning: true,
11811
11864
  input: ["text"],
11812
11865
  cost: {
11813
- input: 0.45499999999999996,
11814
- output: 1.8199999999999998,
11866
+ input: 0.455,
11867
+ output: 1.82,
11815
11868
  cacheRead: 0,
11816
11869
  cacheWrite: 0,
11817
11870
  },
@@ -11828,7 +11881,7 @@ export const MODELS = {
11828
11881
  input: ["text"],
11829
11882
  cost: {
11830
11883
  input: 0.09,
11831
- output: 0.09999999999999999,
11884
+ output: 0.1,
11832
11885
  cacheRead: 0,
11833
11886
  cacheWrite: 0,
11834
11887
  },
@@ -11844,9 +11897,9 @@ export const MODELS = {
11844
11897
  reasoning: true,
11845
11898
  input: ["text"],
11846
11899
  cost: {
11847
- input: 0.09999999999999999,
11848
- output: 0.09999999999999999,
11849
- cacheRead: 0.09999999999999999,
11900
+ input: 0.1,
11901
+ output: 0.1,
11902
+ cacheRead: 0.1,
11850
11903
  cacheWrite: 0,
11851
11904
  },
11852
11905
  contextWindow: 262144,
@@ -11896,7 +11949,7 @@ export const MODELS = {
11896
11949
  input: ["text"],
11897
11950
  cost: {
11898
11951
  input: 0.08,
11899
- output: 0.39999999999999997,
11952
+ output: 0.4,
11900
11953
  cacheRead: 0.08,
11901
11954
  cacheWrite: 0,
11902
11955
  },
@@ -11929,9 +11982,9 @@ export const MODELS = {
11929
11982
  reasoning: true,
11930
11983
  input: ["text"],
11931
11984
  cost: {
11932
- input: 0.049999999999999996,
11933
- output: 0.39999999999999997,
11934
- cacheRead: 0.049999999999999996,
11985
+ input: 0.05,
11986
+ output: 0.4,
11987
+ cacheRead: 0.05,
11935
11988
  cacheWrite: 0,
11936
11989
  },
11937
11990
  contextWindow: 131072,
@@ -11947,7 +12000,7 @@ export const MODELS = {
11947
12000
  input: ["text"],
11948
12001
  cost: {
11949
12002
  input: 0.22,
11950
- output: 1.7999999999999998,
12003
+ output: 1.8,
11951
12004
  cacheRead: 0,
11952
12005
  cacheWrite: 0,
11953
12006
  },
@@ -11998,7 +12051,7 @@ export const MODELS = {
11998
12051
  input: ["text"],
11999
12052
  cost: {
12000
12053
  input: 0.11,
12001
- output: 0.7999999999999999,
12054
+ output: 0.8,
12002
12055
  cacheRead: 0.07,
12003
12056
  cacheWrite: 0,
12004
12057
  },
@@ -12133,7 +12186,7 @@ export const MODELS = {
12133
12186
  reasoning: false,
12134
12187
  input: ["text", "image"],
12135
12188
  cost: {
12136
- input: 0.19999999999999998,
12189
+ input: 0.2,
12137
12190
  output: 0.88,
12138
12191
  cacheRead: 0.11,
12139
12192
  cacheWrite: 0,
@@ -12201,8 +12254,8 @@ export const MODELS = {
12201
12254
  reasoning: false,
12202
12255
  input: ["text", "image"],
12203
12256
  cost: {
12204
- input: 0.10400000000000001,
12205
- output: 0.41600000000000004,
12257
+ input: 0.104,
12258
+ output: 0.416,
12206
12259
  cacheRead: 0,
12207
12260
  cacheWrite: 0,
12208
12261
  },
@@ -12288,7 +12341,7 @@ export const MODELS = {
12288
12341
  cost: {
12289
12342
  input: 0.14,
12290
12343
  output: 1,
12291
- cacheRead: 0.049999999999999996,
12344
+ cacheRead: 0.05,
12292
12345
  cacheWrite: 0,
12293
12346
  },
12294
12347
  contextWindow: 262144,
@@ -12320,7 +12373,7 @@ export const MODELS = {
12320
12373
  reasoning: true,
12321
12374
  input: ["text", "image"],
12322
12375
  cost: {
12323
- input: 0.09999999999999999,
12376
+ input: 0.1,
12324
12377
  output: 0.15,
12325
12378
  cacheRead: 0,
12326
12379
  cacheWrite: 0,
@@ -12372,7 +12425,7 @@ export const MODELS = {
12372
12425
  input: ["text", "image"],
12373
12426
  cost: {
12374
12427
  input: 0.3,
12375
- output: 1.7999999999999998,
12428
+ output: 1.8,
12376
12429
  cacheRead: 0,
12377
12430
  cacheWrite: 0.375,
12378
12431
  },
@@ -12388,13 +12441,13 @@ export const MODELS = {
12388
12441
  reasoning: true,
12389
12442
  input: ["text", "image"],
12390
12443
  cost: {
12391
- input: 0.28900000000000003,
12392
- output: 2.4,
12444
+ input: 0.2885,
12445
+ output: 3.17,
12393
12446
  cacheRead: 0,
12394
12447
  cacheWrite: 0,
12395
12448
  },
12396
12449
  contextWindow: 262144,
12397
- maxTokens: 131072,
12450
+ maxTokens: 262140,
12398
12451
  },
12399
12452
  "qwen/qwen3.6-35b-a3b": {
12400
12453
  id: "qwen/qwen3.6-35b-a3b",
@@ -12407,7 +12460,7 @@ export const MODELS = {
12407
12460
  cost: {
12408
12461
  input: 0.15,
12409
12462
  output: 1,
12410
- cacheRead: 0.049999999999999996,
12463
+ cacheRead: 0.05,
12411
12464
  cacheWrite: 0,
12412
12465
  },
12413
12466
  contextWindow: 262144,
@@ -12493,7 +12546,7 @@ export const MODELS = {
12493
12546
  input: 0.32,
12494
12547
  output: 1.28,
12495
12548
  cacheRead: 0.064,
12496
- cacheWrite: 0.39999999999999997,
12549
+ cacheWrite: 0.4,
12497
12550
  },
12498
12551
  contextWindow: 1000000,
12499
12552
  maxTokens: 65536,
@@ -12507,8 +12560,8 @@ export const MODELS = {
12507
12560
  reasoning: false,
12508
12561
  input: ["text", "image"],
12509
12562
  cost: {
12510
- input: 0.09999999999999999,
12511
- output: 0.09999999999999999,
12563
+ input: 0.1,
12564
+ output: 0.1,
12512
12565
  cacheRead: 0,
12513
12566
  cacheWrite: 0,
12514
12567
  },
@@ -12575,7 +12628,7 @@ export const MODELS = {
12575
12628
  reasoning: true,
12576
12629
  input: ["text", "image"],
12577
12630
  cost: {
12578
- input: 0.19999999999999998,
12631
+ input: 0.2,
12579
12632
  output: 1.15,
12580
12633
  cacheRead: 0.04,
12581
12634
  cacheWrite: 0,
@@ -12594,7 +12647,7 @@ export const MODELS = {
12594
12647
  cost: {
12595
12648
  input: 0.063,
12596
12649
  output: 0.21,
12597
- cacheRead: 0.020999999999999998,
12650
+ cacheRead: 0.021,
12598
12651
  cacheWrite: 0,
12599
12652
  },
12600
12653
  contextWindow: 262144,
@@ -12609,7 +12662,7 @@ export const MODELS = {
12609
12662
  reasoning: false,
12610
12663
  input: ["text"],
12611
12664
  cost: {
12612
- input: 0.16999999999999998,
12665
+ input: 0.17,
12613
12666
  output: 0.43,
12614
12667
  cacheRead: 0,
12615
12668
  cacheWrite: 0,
@@ -12626,8 +12679,8 @@ export const MODELS = {
12626
12679
  reasoning: false,
12627
12680
  input: ["text"],
12628
12681
  cost: {
12629
- input: 0.39999999999999997,
12630
- output: 0.39999999999999997,
12682
+ input: 0.4,
12683
+ output: 0.4,
12631
12684
  cacheRead: 0,
12632
12685
  cacheWrite: 0,
12633
12686
  },
@@ -12662,7 +12715,7 @@ export const MODELS = {
12662
12715
  cost: {
12663
12716
  input: 1.25,
12664
12717
  output: 2.5,
12665
- cacheRead: 0.19999999999999998,
12718
+ cacheRead: 0.2,
12666
12719
  cacheWrite: 0,
12667
12720
  },
12668
12721
  contextWindow: 2000000,
@@ -12679,7 +12732,7 @@ export const MODELS = {
12679
12732
  cost: {
12680
12733
  input: 1.25,
12681
12734
  output: 2.5,
12682
- cacheRead: 0.19999999999999998,
12735
+ cacheRead: 0.2,
12683
12736
  cacheWrite: 0,
12684
12737
  },
12685
12738
  contextWindow: 1000000,
@@ -12696,7 +12749,7 @@ export const MODELS = {
12696
12749
  cost: {
12697
12750
  input: 1,
12698
12751
  output: 2,
12699
- cacheRead: 0.19999999999999998,
12752
+ cacheRead: 0.2,
12700
12753
  cacheWrite: 0,
12701
12754
  },
12702
12755
  contextWindow: 256000,
@@ -12711,7 +12764,7 @@ export const MODELS = {
12711
12764
  reasoning: true,
12712
12765
  input: ["text"],
12713
12766
  cost: {
12714
- input: 0.09999999999999999,
12767
+ input: 0.1,
12715
12768
  output: 0.3,
12716
12769
  cacheRead: 0.01,
12717
12770
  cacheWrite: 0,
@@ -12797,7 +12850,7 @@ export const MODELS = {
12797
12850
  input: ["text", "image"],
12798
12851
  cost: {
12799
12852
  input: 0.6,
12800
- output: 1.7999999999999998,
12853
+ output: 1.8,
12801
12854
  cacheRead: 0.11,
12802
12855
  cacheWrite: 0,
12803
12856
  },
@@ -12831,7 +12884,7 @@ export const MODELS = {
12831
12884
  input: ["text", "image"],
12832
12885
  cost: {
12833
12886
  input: 0.3,
12834
- output: 0.8999999999999999,
12887
+ output: 0.9,
12835
12888
  cacheRead: 0.055,
12836
12889
  cacheWrite: 0,
12837
12890
  },
@@ -12847,7 +12900,7 @@ export const MODELS = {
12847
12900
  reasoning: true,
12848
12901
  input: ["text"],
12849
12902
  cost: {
12850
- input: 0.39999999999999997,
12903
+ input: 0.4,
12851
12904
  output: 1.75,
12852
12905
  cacheRead: 0.08,
12853
12906
  cacheWrite: 0,
@@ -12865,7 +12918,7 @@ export const MODELS = {
12865
12918
  input: ["text"],
12866
12919
  cost: {
12867
12920
  input: 0.06,
12868
- output: 0.39999999999999997,
12921
+ output: 0.4,
12869
12922
  cacheRead: 0.01,
12870
12923
  cacheWrite: 0,
12871
12924
  },
@@ -12951,7 +13004,7 @@ export const MODELS = {
12951
13004
  cost: {
12952
13005
  input: 1,
12953
13006
  output: 5,
12954
- cacheRead: 0.09999999999999999,
13007
+ cacheRead: 0.1,
12955
13008
  cacheWrite: 1.25,
12956
13009
  },
12957
13010
  contextWindow: 200000,
@@ -13003,7 +13056,7 @@ export const MODELS = {
13003
13056
  input: 1.5,
13004
13057
  output: 9,
13005
13058
  cacheRead: 0.15,
13006
- cacheWrite: 0.08333333333333334,
13059
+ cacheWrite: 0.083333,
13007
13060
  },
13008
13061
  contextWindow: 1048576,
13009
13062
  maxTokens: 65536,
@@ -13019,7 +13072,7 @@ export const MODELS = {
13019
13072
  cost: {
13020
13073
  input: 2,
13021
13074
  output: 12,
13022
- cacheRead: 0.19999999999999998,
13075
+ cacheRead: 0.2,
13023
13076
  cacheWrite: 0.375,
13024
13077
  },
13025
13078
  contextWindow: 1048576,
@@ -13034,13 +13087,13 @@ export const MODELS = {
13034
13087
  reasoning: true,
13035
13088
  input: ["text", "image"],
13036
13089
  cost: {
13037
- input: 0.67,
13038
- output: 3.39,
13039
- cacheRead: 0.14,
13090
+ input: 0.68,
13091
+ output: 3.41,
13092
+ cacheRead: 0.34,
13040
13093
  cacheWrite: 0,
13041
13094
  },
13042
13095
  contextWindow: 262144,
13043
- maxTokens: 262144,
13096
+ maxTokens: 262142,
13044
13097
  },
13045
13098
  "~openai/gpt-latest": {
13046
13099
  id: "~openai/gpt-latest",
@@ -13097,6 +13150,25 @@ export const MODELS = {
13097
13150
  contextWindow: 202752,
13098
13151
  maxTokens: 131072,
13099
13152
  },
13153
+ "MiniMaxAI/MiniMax-M3": {
13154
+ id: "MiniMaxAI/MiniMax-M3",
13155
+ name: "MiniMax-M3",
13156
+ api: "openai-completions",
13157
+ provider: "together",
13158
+ baseUrl: "https://api.together.ai/v1",
13159
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "supportsLongCacheRetention": false, "thinkingFormat": "together" },
13160
+ reasoning: true,
13161
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
13162
+ input: ["text", "image"],
13163
+ cost: {
13164
+ input: 0.3,
13165
+ output: 1.2,
13166
+ cacheRead: 0.06,
13167
+ cacheWrite: 0,
13168
+ },
13169
+ contextWindow: 524288,
13170
+ maxTokens: 250000,
13171
+ },
13100
13172
  "Qwen/Qwen2.5-7B-Instruct-Turbo": {
13101
13173
  id: "Qwen/Qwen2.5-7B-Instruct-Turbo",
13102
13174
  name: "Qwen 2.5 7B Instruct Turbo",
@@ -13492,7 +13564,7 @@ export const MODELS = {
13492
13564
  reasoning: true,
13493
13565
  input: ["text", "image"],
13494
13566
  cost: {
13495
- input: 0.39999999999999997,
13567
+ input: 0.4,
13496
13568
  output: 4,
13497
13569
  cacheRead: 0,
13498
13570
  cacheWrite: 0,
@@ -13562,7 +13634,7 @@ export const MODELS = {
13562
13634
  cost: {
13563
13635
  input: 1,
13564
13636
  output: 5,
13565
- cacheRead: 0.19999999999999998,
13637
+ cacheRead: 0.2,
13566
13638
  cacheWrite: 0,
13567
13639
  },
13568
13640
  contextWindow: 1000000,
@@ -13662,7 +13734,7 @@ export const MODELS = {
13662
13734
  reasoning: true,
13663
13735
  input: ["text", "image"],
13664
13736
  cost: {
13665
- input: 0.39999999999999997,
13737
+ input: 0.4,
13666
13738
  output: 4,
13667
13739
  cacheRead: 0,
13668
13740
  cacheWrite: 0,
@@ -13679,8 +13751,8 @@ export const MODELS = {
13679
13751
  reasoning: true,
13680
13752
  input: ["text", "image"],
13681
13753
  cost: {
13682
- input: 0.09999999999999999,
13683
- output: 0.39999999999999997,
13754
+ input: 0.1,
13755
+ output: 0.4,
13684
13756
  cacheRead: 0.001,
13685
13757
  cacheWrite: 0.125,
13686
13758
  },
@@ -13696,7 +13768,7 @@ export const MODELS = {
13696
13768
  reasoning: true,
13697
13769
  input: ["text", "image"],
13698
13770
  cost: {
13699
- input: 0.39999999999999997,
13771
+ input: 0.4,
13700
13772
  output: 2.4,
13701
13773
  cacheRead: 0.04,
13702
13774
  cacheWrite: 0.5,
@@ -13714,7 +13786,7 @@ export const MODELS = {
13714
13786
  input: ["text", "image"],
13715
13787
  cost: {
13716
13788
  input: 0.6,
13717
- output: 3.5999999999999996,
13789
+ output: 3.6,
13718
13790
  cacheRead: 0,
13719
13791
  cacheWrite: 0,
13720
13792
  },
@@ -13732,7 +13804,7 @@ export const MODELS = {
13732
13804
  cost: {
13733
13805
  input: 0.5,
13734
13806
  output: 3,
13735
- cacheRead: 0.09999999999999999,
13807
+ cacheRead: 0.1,
13736
13808
  cacheWrite: 0.625,
13737
13809
  },
13738
13810
  contextWindow: 1000000,
@@ -13764,8 +13836,8 @@ export const MODELS = {
13764
13836
  reasoning: true,
13765
13837
  input: ["text", "image"],
13766
13838
  cost: {
13767
- input: 0.39999999999999997,
13768
- output: 1.5999999999999999,
13839
+ input: 0.4,
13840
+ output: 1.6,
13769
13841
  cacheRead: 0.08,
13770
13842
  cacheWrite: 0.5,
13771
13843
  },
@@ -13798,7 +13870,7 @@ export const MODELS = {
13798
13870
  reasoning: false,
13799
13871
  input: ["text", "image"],
13800
13872
  cost: {
13801
- input: 0.7999999999999999,
13873
+ input: 0.8,
13802
13874
  output: 4,
13803
13875
  cacheRead: 0.08,
13804
13876
  cacheWrite: 1,
@@ -13806,25 +13878,6 @@ export const MODELS = {
13806
13878
  contextWindow: 200000,
13807
13879
  maxTokens: 8192,
13808
13880
  },
13809
- "anthropic/claude-fable-5": {
13810
- id: "anthropic/claude-fable-5",
13811
- name: "Claude Fable 5",
13812
- api: "anthropic-messages",
13813
- provider: "vercel-ai-gateway",
13814
- baseUrl: "https://ai-gateway.vercel.sh",
13815
- compat: { "forceAdaptiveThinking": true },
13816
- reasoning: true,
13817
- thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
13818
- input: ["text", "image"],
13819
- cost: {
13820
- input: 10,
13821
- output: 50,
13822
- cacheRead: 1,
13823
- cacheWrite: 12.5,
13824
- },
13825
- contextWindow: 1000000,
13826
- maxTokens: 128000,
13827
- },
13828
13881
  "anthropic/claude-haiku-4.5": {
13829
13882
  id: "anthropic/claude-haiku-4.5",
13830
13883
  name: "Claude Haiku 4.5",
@@ -13836,7 +13889,7 @@ export const MODELS = {
13836
13889
  cost: {
13837
13890
  input: 1,
13838
13891
  output: 5,
13839
- cacheRead: 0.09999999999999999,
13892
+ cacheRead: 0.1,
13840
13893
  cacheWrite: 1.25,
13841
13894
  },
13842
13895
  contextWindow: 200000,
@@ -14029,7 +14082,7 @@ export const MODELS = {
14029
14082
  input: ["text"],
14030
14083
  cost: {
14031
14084
  input: 0.25,
14032
- output: 0.8999999999999999,
14085
+ output: 0.9,
14033
14086
  cacheRead: 0,
14034
14087
  cacheWrite: 0,
14035
14088
  },
@@ -14047,7 +14100,7 @@ export const MODELS = {
14047
14100
  cost: {
14048
14101
  input: 0.25,
14049
14102
  output: 2,
14050
- cacheRead: 0.049999999999999996,
14103
+ cacheRead: 0.05,
14051
14104
  cacheWrite: 0,
14052
14105
  },
14053
14106
  contextWindow: 256000,
@@ -14232,8 +14285,8 @@ export const MODELS = {
14232
14285
  reasoning: true,
14233
14286
  input: ["text", "image"],
14234
14287
  cost: {
14235
- input: 0.09999999999999999,
14236
- output: 0.39999999999999997,
14288
+ input: 0.1,
14289
+ output: 0.4,
14237
14290
  cacheRead: 0.01,
14238
14291
  cacheWrite: 0,
14239
14292
  },
@@ -14268,7 +14321,7 @@ export const MODELS = {
14268
14321
  cost: {
14269
14322
  input: 0.5,
14270
14323
  output: 3,
14271
- cacheRead: 0.049999999999999996,
14324
+ cacheRead: 0.05,
14272
14325
  cacheWrite: 0,
14273
14326
  },
14274
14327
  contextWindow: 1000000,
@@ -14285,7 +14338,7 @@ export const MODELS = {
14285
14338
  cost: {
14286
14339
  input: 2,
14287
14340
  output: 12,
14288
- cacheRead: 0.19999999999999998,
14341
+ cacheRead: 0.2,
14289
14342
  cacheWrite: 0,
14290
14343
  },
14291
14344
  contextWindow: 1000000,
@@ -14336,7 +14389,7 @@ export const MODELS = {
14336
14389
  cost: {
14337
14390
  input: 2,
14338
14391
  output: 12,
14339
- cacheRead: 0.19999999999999998,
14392
+ cacheRead: 0.2,
14340
14393
  cacheWrite: 0,
14341
14394
  },
14342
14395
  contextWindow: 1000000,
@@ -14386,7 +14439,7 @@ export const MODELS = {
14386
14439
  input: ["text", "image"],
14387
14440
  cost: {
14388
14441
  input: 0.14,
14389
- output: 0.39999999999999997,
14442
+ output: 0.4,
14390
14443
  cacheRead: 0,
14391
14444
  cacheWrite: 0,
14392
14445
  },
@@ -14404,7 +14457,7 @@ export const MODELS = {
14404
14457
  cost: {
14405
14458
  input: 0.25,
14406
14459
  output: 0.75,
14407
- cacheRead: 0.024999999999999998,
14460
+ cacheRead: 0.025,
14408
14461
  cacheWrite: 0,
14409
14462
  },
14410
14463
  contextWindow: 128000,
@@ -14556,7 +14609,7 @@ export const MODELS = {
14556
14609
  input: ["text", "image"],
14557
14610
  cost: {
14558
14611
  input: 0.24,
14559
- output: 0.9700000000000001,
14612
+ output: 0.97,
14560
14613
  cacheRead: 0,
14561
14614
  cacheWrite: 0,
14562
14615
  },
@@ -14572,7 +14625,7 @@ export const MODELS = {
14572
14625
  reasoning: false,
14573
14626
  input: ["text", "image"],
14574
14627
  cost: {
14575
- input: 0.16999999999999998,
14628
+ input: 0.17,
14576
14629
  output: 0.66,
14577
14630
  cacheRead: 0,
14578
14631
  cacheWrite: 0,
@@ -14726,7 +14779,7 @@ export const MODELS = {
14726
14779
  input: ["text"],
14727
14780
  cost: {
14728
14781
  input: 0.3,
14729
- output: 0.8999999999999999,
14782
+ output: 0.9,
14730
14783
  cacheRead: 0,
14731
14784
  cacheWrite: 0,
14732
14785
  },
@@ -14742,7 +14795,7 @@ export const MODELS = {
14742
14795
  reasoning: false,
14743
14796
  input: ["text"],
14744
14797
  cost: {
14745
- input: 0.39999999999999997,
14798
+ input: 0.4,
14746
14799
  output: 2,
14747
14800
  cacheRead: 0,
14748
14801
  cacheWrite: 0,
@@ -14759,7 +14812,7 @@ export const MODELS = {
14759
14812
  reasoning: false,
14760
14813
  input: ["text"],
14761
14814
  cost: {
14762
- input: 0.09999999999999999,
14815
+ input: 0.1,
14763
14816
  output: 0.3,
14764
14817
  cacheRead: 0,
14765
14818
  cacheWrite: 0,
@@ -14776,7 +14829,7 @@ export const MODELS = {
14776
14829
  reasoning: false,
14777
14830
  input: ["text"],
14778
14831
  cost: {
14779
- input: 0.09999999999999999,
14832
+ input: 0.1,
14780
14833
  output: 0.3,
14781
14834
  cacheRead: 0,
14782
14835
  cacheWrite: 0,
@@ -14793,8 +14846,8 @@ export const MODELS = {
14793
14846
  reasoning: false,
14794
14847
  input: ["text"],
14795
14848
  cost: {
14796
- input: 0.09999999999999999,
14797
- output: 0.09999999999999999,
14849
+ input: 0.1,
14850
+ output: 0.1,
14798
14851
  cacheRead: 0,
14799
14852
  cacheWrite: 0,
14800
14853
  },
@@ -14827,7 +14880,7 @@ export const MODELS = {
14827
14880
  reasoning: false,
14828
14881
  input: ["text", "image"],
14829
14882
  cost: {
14830
- input: 0.39999999999999997,
14883
+ input: 0.4,
14831
14884
  output: 2,
14832
14885
  cacheRead: 0,
14833
14886
  cacheWrite: 0,
@@ -14878,7 +14931,7 @@ export const MODELS = {
14878
14931
  reasoning: false,
14879
14932
  input: ["text", "image"],
14880
14933
  cost: {
14881
- input: 0.09999999999999999,
14934
+ input: 0.1,
14882
14935
  output: 0.3,
14883
14936
  cacheRead: 0,
14884
14937
  cacheWrite: 0,
@@ -14929,7 +14982,7 @@ export const MODELS = {
14929
14982
  reasoning: false,
14930
14983
  input: ["text"],
14931
14984
  cost: {
14932
- input: 0.5700000000000001,
14985
+ input: 0.57,
14933
14986
  output: 2.3,
14934
14987
  cacheRead: 0,
14935
14988
  cacheWrite: 0,
@@ -14965,7 +15018,7 @@ export const MODELS = {
14965
15018
  cost: {
14966
15019
  input: 0.6,
14967
15020
  output: 3,
14968
- cacheRead: 0.09999999999999999,
15021
+ cacheRead: 0.1,
14969
15022
  cacheWrite: 0,
14970
15023
  },
14971
15024
  contextWindow: 262114,
@@ -14988,6 +15041,23 @@ export const MODELS = {
14988
15041
  contextWindow: 262000,
14989
15042
  maxTokens: 262000,
14990
15043
  },
15044
+ "moonshotai/kimi-k2.7-code": {
15045
+ id: "moonshotai/kimi-k2.7-code",
15046
+ name: "Kimi K2.7 Code",
15047
+ api: "anthropic-messages",
15048
+ provider: "vercel-ai-gateway",
15049
+ baseUrl: "https://ai-gateway.vercel.sh",
15050
+ reasoning: true,
15051
+ input: ["text", "image"],
15052
+ cost: {
15053
+ input: 0.95,
15054
+ output: 4,
15055
+ cacheRead: 0.19,
15056
+ cacheWrite: 0,
15057
+ },
15058
+ contextWindow: 256000,
15059
+ maxTokens: 32768,
15060
+ },
14991
15061
  "nvidia/nemotron-3-super-120b-a12b": {
14992
15062
  id: "nvidia/nemotron-3-super-120b-a12b",
14993
15063
  name: "NVIDIA Nemotron 3 Super 120B A12B",
@@ -15031,7 +15101,7 @@ export const MODELS = {
15031
15101
  reasoning: true,
15032
15102
  input: ["text", "image"],
15033
15103
  cost: {
15034
- input: 0.19999999999999998,
15104
+ input: 0.2,
15035
15105
  output: 0.6,
15036
15106
  cacheRead: 0,
15037
15107
  cacheWrite: 0,
@@ -15049,7 +15119,7 @@ export const MODELS = {
15049
15119
  input: ["text"],
15050
15120
  cost: {
15051
15121
  input: 0.06,
15052
- output: 0.22999999999999998,
15122
+ output: 0.23,
15053
15123
  cacheRead: 0,
15054
15124
  cacheWrite: 0,
15055
15125
  },
@@ -15099,9 +15169,9 @@ export const MODELS = {
15099
15169
  reasoning: false,
15100
15170
  input: ["text", "image"],
15101
15171
  cost: {
15102
- input: 0.39999999999999997,
15103
- output: 1.5999999999999999,
15104
- cacheRead: 0.09999999999999999,
15172
+ input: 0.4,
15173
+ output: 1.6,
15174
+ cacheRead: 0.1,
15105
15175
  cacheWrite: 0,
15106
15176
  },
15107
15177
  contextWindow: 1047576,
@@ -15116,9 +15186,9 @@ export const MODELS = {
15116
15186
  reasoning: false,
15117
15187
  input: ["text", "image"],
15118
15188
  cost: {
15119
- input: 0.09999999999999999,
15120
- output: 0.39999999999999997,
15121
- cacheRead: 0.024999999999999998,
15189
+ input: 0.1,
15190
+ output: 0.4,
15191
+ cacheRead: 0.025,
15122
15192
  cacheWrite: 0,
15123
15193
  },
15124
15194
  contextWindow: 1047576,
@@ -15220,7 +15290,7 @@ export const MODELS = {
15220
15290
  cost: {
15221
15291
  input: 0.25,
15222
15292
  output: 2,
15223
- cacheRead: 0.024999999999999998,
15293
+ cacheRead: 0.025,
15224
15294
  cacheWrite: 0,
15225
15295
  },
15226
15296
  contextWindow: 400000,
@@ -15235,8 +15305,8 @@ export const MODELS = {
15235
15305
  reasoning: true,
15236
15306
  input: ["text", "image"],
15237
15307
  cost: {
15238
- input: 0.049999999999999996,
15239
- output: 0.39999999999999997,
15308
+ input: 0.05,
15309
+ output: 0.4,
15240
15310
  cacheRead: 0.005,
15241
15311
  cacheWrite: 0,
15242
15312
  },
@@ -15305,7 +15375,7 @@ export const MODELS = {
15305
15375
  cost: {
15306
15376
  input: 0.25,
15307
15377
  output: 2,
15308
- cacheRead: 0.024999999999999998,
15378
+ cacheRead: 0.025,
15309
15379
  cacheWrite: 0,
15310
15380
  },
15311
15381
  contextWindow: 400000,
@@ -15499,7 +15569,7 @@ export const MODELS = {
15499
15569
  thinkingLevelMap: { "xhigh": "xhigh" },
15500
15570
  input: ["text", "image"],
15501
15571
  cost: {
15502
- input: 0.19999999999999998,
15572
+ input: 0.2,
15503
15573
  output: 1.25,
15504
15574
  cacheRead: 0.02,
15505
15575
  cacheWrite: 0,
@@ -15587,8 +15657,8 @@ export const MODELS = {
15587
15657
  reasoning: true,
15588
15658
  input: ["text"],
15589
15659
  cost: {
15590
- input: 0.049999999999999996,
15591
- output: 0.19999999999999998,
15660
+ input: 0.05,
15661
+ output: 0.2,
15592
15662
  cacheRead: 0,
15593
15663
  cacheWrite: 0,
15594
15664
  },
@@ -15774,7 +15844,7 @@ export const MODELS = {
15774
15844
  reasoning: true,
15775
15845
  input: ["text", "image"],
15776
15846
  cost: {
15777
- input: 0.19999999999999998,
15847
+ input: 0.2,
15778
15848
  output: 1.15,
15779
15849
  cacheRead: 0.04,
15780
15850
  cacheWrite: 0,
@@ -15791,9 +15861,9 @@ export const MODELS = {
15791
15861
  reasoning: false,
15792
15862
  input: ["text", "image"],
15793
15863
  cost: {
15794
- input: 0.19999999999999998,
15864
+ input: 0.2,
15795
15865
  output: 0.5,
15796
- cacheRead: 0.049999999999999996,
15866
+ cacheRead: 0.05,
15797
15867
  cacheWrite: 0,
15798
15868
  },
15799
15869
  contextWindow: 1000000,
@@ -15808,9 +15878,9 @@ export const MODELS = {
15808
15878
  reasoning: true,
15809
15879
  input: ["text", "image"],
15810
15880
  cost: {
15811
- input: 0.19999999999999998,
15881
+ input: 0.2,
15812
15882
  output: 0.5,
15813
- cacheRead: 0.049999999999999996,
15883
+ cacheRead: 0.05,
15814
15884
  cacheWrite: 0,
15815
15885
  },
15816
15886
  contextWindow: 1000000,
@@ -15827,7 +15897,7 @@ export const MODELS = {
15827
15897
  cost: {
15828
15898
  input: 1.25,
15829
15899
  output: 2.5,
15830
- cacheRead: 0.19999999999999998,
15900
+ cacheRead: 0.2,
15831
15901
  cacheWrite: 0,
15832
15902
  },
15833
15903
  contextWindow: 2000000,
@@ -15844,7 +15914,7 @@ export const MODELS = {
15844
15914
  cost: {
15845
15915
  input: 1.25,
15846
15916
  output: 2.5,
15847
- cacheRead: 0.19999999999999998,
15917
+ cacheRead: 0.2,
15848
15918
  cacheWrite: 0,
15849
15919
  },
15850
15920
  contextWindow: 2000000,
@@ -15861,7 +15931,7 @@ export const MODELS = {
15861
15931
  cost: {
15862
15932
  input: 1.25,
15863
15933
  output: 2.5,
15864
- cacheRead: 0.19999999999999998,
15934
+ cacheRead: 0.2,
15865
15935
  cacheWrite: 0,
15866
15936
  },
15867
15937
  contextWindow: 2000000,
@@ -15878,7 +15948,7 @@ export const MODELS = {
15878
15948
  cost: {
15879
15949
  input: 1.25,
15880
15950
  output: 2.5,
15881
- cacheRead: 0.19999999999999998,
15951
+ cacheRead: 0.2,
15882
15952
  cacheWrite: 0,
15883
15953
  },
15884
15954
  contextWindow: 2000000,
@@ -15895,7 +15965,7 @@ export const MODELS = {
15895
15965
  cost: {
15896
15966
  input: 1.25,
15897
15967
  output: 2.5,
15898
- cacheRead: 0.19999999999999998,
15968
+ cacheRead: 0.2,
15899
15969
  cacheWrite: 0,
15900
15970
  },
15901
15971
  contextWindow: 2000000,
@@ -15912,7 +15982,7 @@ export const MODELS = {
15912
15982
  cost: {
15913
15983
  input: 1.25,
15914
15984
  output: 2.5,
15915
- cacheRead: 0.19999999999999998,
15985
+ cacheRead: 0.2,
15916
15986
  cacheWrite: 0,
15917
15987
  },
15918
15988
  contextWindow: 2000000,
@@ -15929,7 +15999,7 @@ export const MODELS = {
15929
15999
  cost: {
15930
16000
  input: 1.25,
15931
16001
  output: 2.5,
15932
- cacheRead: 0.19999999999999998,
16002
+ cacheRead: 0.2,
15933
16003
  cacheWrite: 0,
15934
16004
  },
15935
16005
  contextWindow: 1000000,
@@ -15946,7 +16016,7 @@ export const MODELS = {
15946
16016
  cost: {
15947
16017
  input: 1,
15948
16018
  output: 2,
15949
- cacheRead: 0.19999999999999998,
16019
+ cacheRead: 0.2,
15950
16020
  cacheWrite: 0,
15951
16021
  },
15952
16022
  contextWindow: 256000,
@@ -15961,7 +16031,7 @@ export const MODELS = {
15961
16031
  reasoning: true,
15962
16032
  input: ["text"],
15963
16033
  cost: {
15964
- input: 0.09999999999999999,
16034
+ input: 0.1,
15965
16035
  output: 0.3,
15966
16036
  cacheRead: 0.01,
15967
16037
  cacheWrite: 0,
@@ -15980,7 +16050,7 @@ export const MODELS = {
15980
16050
  cost: {
15981
16051
  input: 1,
15982
16052
  output: 3,
15983
- cacheRead: 0.19999999999999998,
16053
+ cacheRead: 0.2,
15984
16054
  cacheWrite: 0,
15985
16055
  },
15986
16056
  contextWindow: 1000000,
@@ -16046,7 +16116,7 @@ export const MODELS = {
16046
16116
  reasoning: true,
16047
16117
  input: ["text"],
16048
16118
  cost: {
16049
- input: 0.19999999999999998,
16119
+ input: 0.2,
16050
16120
  output: 1.1,
16051
16121
  cacheRead: 0.03,
16052
16122
  cacheWrite: 0,
@@ -16064,7 +16134,7 @@ export const MODELS = {
16064
16134
  input: ["text", "image"],
16065
16135
  cost: {
16066
16136
  input: 0.6,
16067
- output: 1.7999999999999998,
16137
+ output: 1.8,
16068
16138
  cacheRead: 0.11,
16069
16139
  cacheWrite: 0,
16070
16140
  },
@@ -16098,8 +16168,8 @@ export const MODELS = {
16098
16168
  input: ["text", "image"],
16099
16169
  cost: {
16100
16170
  input: 0.3,
16101
- output: 0.8999999999999999,
16102
- cacheRead: 0.049999999999999996,
16171
+ output: 0.9,
16172
+ cacheRead: 0.05,
16103
16173
  cacheWrite: 0,
16104
16174
  },
16105
16175
  contextWindow: 128000,
@@ -16149,7 +16219,7 @@ export const MODELS = {
16149
16219
  input: ["text"],
16150
16220
  cost: {
16151
16221
  input: 0.07,
16152
- output: 0.39999999999999997,
16222
+ output: 0.4,
16153
16223
  cacheRead: 0,
16154
16224
  cacheWrite: 0,
16155
16225
  },
@@ -16166,7 +16236,7 @@ export const MODELS = {
16166
16236
  input: ["text"],
16167
16237
  cost: {
16168
16238
  input: 0.06,
16169
- output: 0.39999999999999997,
16239
+ output: 0.4,
16170
16240
  cacheRead: 0.01,
16171
16241
  cacheWrite: 0,
16172
16242
  },
@@ -16183,8 +16253,8 @@ export const MODELS = {
16183
16253
  input: ["text"],
16184
16254
  cost: {
16185
16255
  input: 1,
16186
- output: 3.1999999999999997,
16187
- cacheRead: 0.19999999999999998,
16256
+ output: 3.2,
16257
+ cacheRead: 0.2,
16188
16258
  cacheWrite: 0,
16189
16259
  },
16190
16260
  contextWindow: 202800,
@@ -16822,6 +16892,24 @@ export const MODELS = {
16822
16892
  contextWindow: 200000,
16823
16893
  maxTokens: 131072,
16824
16894
  },
16895
+ "glm-5.2": {
16896
+ id: "glm-5.2",
16897
+ name: "GLM-5.2",
16898
+ api: "openai-completions",
16899
+ provider: "zai",
16900
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
16901
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
16902
+ reasoning: true,
16903
+ input: ["text"],
16904
+ cost: {
16905
+ input: 0,
16906
+ output: 0,
16907
+ cacheRead: 0,
16908
+ cacheWrite: 0,
16909
+ },
16910
+ contextWindow: 1000000,
16911
+ maxTokens: 131072,
16912
+ },
16825
16913
  "glm-5v-turbo": {
16826
16914
  id: "glm-5v-turbo",
16827
16915
  name: "GLM-5V-Turbo",
@@ -16914,6 +17002,24 @@ export const MODELS = {
16914
17002
  contextWindow: 200000,
16915
17003
  maxTokens: 131072,
16916
17004
  },
17005
+ "glm-5.2": {
17006
+ id: "glm-5.2",
17007
+ name: "GLM-5.2",
17008
+ api: "openai-completions",
17009
+ provider: "zai-coding-cn",
17010
+ baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
17011
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
17012
+ reasoning: true,
17013
+ input: ["text"],
17014
+ cost: {
17015
+ input: 0,
17016
+ output: 0,
17017
+ cacheRead: 0,
17018
+ cacheWrite: 0,
17019
+ },
17020
+ contextWindow: 1000000,
17021
+ maxTokens: 131072,
17022
+ },
16917
17023
  "glm-5v-turbo": {
16918
17024
  id: "glm-5v-turbo",
16919
17025
  name: "GLM-5V-Turbo",