You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ebf63c5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(opencode-go): add MiMo V2.6 Flash and Pro model configurations (#2246)
What: add mimo-v2.6-flash and mimo-v2.6-pro to the curated OpenCode Go
registry in packages/types, with their own context/output limits, input
modalities, reasoning preservation, and Go pricing.
Why: both IDs are served by the live Go catalog but were uncurated, so the
fetcher fell back to 200,000 context / 32,768 output, no image support, no
pricing, and no reasoning preservation. Issue #1997 asks for independently
confirmed V2.6 metadata rather than a copy of the V2.5 limits.
Impact: the two models now report 1,048,576 context / 131,072 output, accept
image input, preserve reasoning across tool-call continuations, and price at
0.14/0.28/0.0028 (Flash) and 0.435/0.87/0.003625 (Pro) per 1M tokens. Routing
is unchanged: both stay on Chat Completions. No other model is affected.
Fixes#1997
"MiMo V2 Omni is Xiaomi's multimodal reasoning model with a 256k context window. Available via the Opencode Go plan.",
278
278
},
279
+
"mimo-v2.6-flash": {
280
+
maxTokens: 131_072,
281
+
contextWindow: 1_048_576,
282
+
supportsImages: true,
283
+
supportsPromptCache: false,
284
+
preserveReasoning: true,
285
+
inputPrice: 0.14,
286
+
outputPrice: 0.28,
287
+
cacheReadsPrice: 0.0028,
288
+
description:
289
+
"MiMo V2.6 Flash is Xiaomi's fast full-modal model (text, image, audio, video) with 1M context and deep thinking. Available via the Opencode Go plan.",
290
+
},
291
+
"mimo-v2.6-pro": {
292
+
maxTokens: 131_072,
293
+
contextWindow: 1_048_576,
294
+
supportsImages: true,
295
+
supportsPromptCache: false,
296
+
preserveReasoning: true,
297
+
inputPrice: 0.435,
298
+
outputPrice: 0.87,
299
+
cacheReadsPrice: 0.003625,
300
+
description:
301
+
"MiMo V2.6 Pro is Xiaomi's stronger full-modal reasoning model with 1M context and deep thinking. Available via the Opencode Go plan.",
0 commit comments