From a783dc808de8f511a3eceb3340580900173c7c46 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Apr 2026 23:07:40 +0800 Subject: [PATCH 1/5] providers(opencode-go): add mimo v2.5 models and separate v2 families --- packages/core/src/family.ts | 4 +++ .../opencode-go/models/mimo-v2-omni.toml | 2 +- providers/opencode-go/models/mimo-v2-pro.toml | 2 +- .../opencode-go/models/mimo-v2.5-omni.toml | 31 +++++++++++++++++++ .../opencode-go/models/mimo-v2.5-pro.toml | 31 +++++++++++++++++++ 5 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 providers/opencode-go/models/mimo-v2.5-omni.toml create mode 100644 providers/opencode-go/models/mimo-v2.5-pro.toml diff --git a/packages/core/src/family.ts b/packages/core/src/family.ts index 32d8268d7..781494289 100644 --- a/packages/core/src/family.ts +++ b/packages/core/src/family.ts @@ -207,6 +207,10 @@ export const ModelFamilyValues = [ "mimo", "mimo-pro", "mimo-omni", + "mimo-v2-pro", + "mimo-v2-omni", + "mimo-v2.5-pro", + "mimo-v2.5-omni", "mimo-pro-free", "mimo-omni-free", "mimo-flash-free", diff --git a/providers/opencode-go/models/mimo-v2-omni.toml b/providers/opencode-go/models/mimo-v2-omni.toml index 21a07cc20..f16b8861b 100644 --- a/providers/opencode-go/models/mimo-v2-omni.toml +++ b/providers/opencode-go/models/mimo-v2-omni.toml @@ -1,5 +1,5 @@ name = "MiMo V2 Omni" -family = "mimo-omni" +family = "mimo-v2-omni" release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true diff --git a/providers/opencode-go/models/mimo-v2-pro.toml b/providers/opencode-go/models/mimo-v2-pro.toml index 19035f8e0..bb2b80276 100644 --- a/providers/opencode-go/models/mimo-v2-pro.toml +++ b/providers/opencode-go/models/mimo-v2-pro.toml @@ -1,5 +1,5 @@ name = "MiMo V2 Pro" -family = "mimo-pro" +family = "mimo-v2-pro" release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true diff --git a/providers/opencode-go/models/mimo-v2.5-omni.toml b/providers/opencode-go/models/mimo-v2.5-omni.toml new file mode 100644 index 000000000..de7716936 --- /dev/null +++ b/providers/opencode-go/models/mimo-v2.5-omni.toml @@ -0,0 +1,31 @@ +name = "MiMo V2.5 Omni" +family = "mimo-v2.5-omni" +release_date = "2026-04-22" +last_updated = "2026-04-22" +attachment = true +reasoning = true +temperature = true +tool_call = true +knowledge = "2024-12" +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.40 +output = 2.00 +cache_read = 0.08 + +[cost.context_over_200k] +input = 0.80 +output = 4.00 +cache_read = 0.16 + +[limit] +context = 262_144 +output = 64_000 + +[modalities] +input = ["text", "image", "audio", "pdf"] +output = ["text"] diff --git a/providers/opencode-go/models/mimo-v2.5-pro.toml b/providers/opencode-go/models/mimo-v2.5-pro.toml new file mode 100644 index 000000000..53ae8fcc1 --- /dev/null +++ b/providers/opencode-go/models/mimo-v2.5-pro.toml @@ -0,0 +1,31 @@ +name = "MiMo V2.5 Pro" +family = "mimo-v2.5-pro" +release_date = "2026-04-22" +last_updated = "2026-04-22" +attachment = true +reasoning = true +temperature = true +tool_call = true +knowledge = "2024-12" +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 1.00 +output = 3.00 +cache_read = 0.20 + +[cost.context_over_200k] +input = 2.00 +output = 6.00 +cache_read = 0.40 + +[limit] +context = 1_048_576 +output = 64_000 + +[modalities] +input = ["text"] +output = ["text"] From c73bab2e7ed70877196e21b9509c2b9483b3f49f Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Apr 2026 23:14:27 +0800 Subject: [PATCH 2/5] providers(opencode-go): rename mimo-v2.5-omni to mimo-v2.5 --- packages/core/src/family.ts | 2 +- providers/opencode-go/models/mimo-v2.5.toml | 31 +++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 providers/opencode-go/models/mimo-v2.5.toml diff --git a/packages/core/src/family.ts b/packages/core/src/family.ts index 781494289..4f2c10763 100644 --- a/packages/core/src/family.ts +++ b/packages/core/src/family.ts @@ -210,7 +210,7 @@ export const ModelFamilyValues = [ "mimo-v2-pro", "mimo-v2-omni", "mimo-v2.5-pro", - "mimo-v2.5-omni", + "mimo-v2.5", "mimo-pro-free", "mimo-omni-free", "mimo-flash-free", diff --git a/providers/opencode-go/models/mimo-v2.5.toml b/providers/opencode-go/models/mimo-v2.5.toml new file mode 100644 index 000000000..eaf89f017 --- /dev/null +++ b/providers/opencode-go/models/mimo-v2.5.toml @@ -0,0 +1,31 @@ +name = "MiMo V2.5" +family = "mimo-v2.5" +release_date = "2026-04-22" +last_updated = "2026-04-22" +attachment = true +reasoning = true +temperature = true +tool_call = true +knowledge = "2024-12" +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0.40 +output = 2.00 +cache_read = 0.08 + +[cost.context_over_200k] +input = 0.80 +output = 4.00 +cache_read = 0.16 + +[limit] +context = 262_144 +output = 64_000 + +[modalities] +input = ["text", "image", "audio", "pdf"] +output = ["text"] From 95632ad376fb06d36d5cb72b2a09e49a163a3ad5 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Apr 2026 23:15:00 +0800 Subject: [PATCH 3/5] remove mimo-v2.5-omni (renamed to mimo-v2.5) --- .../opencode-go/models/mimo-v2.5-omni.toml | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 providers/opencode-go/models/mimo-v2.5-omni.toml diff --git a/providers/opencode-go/models/mimo-v2.5-omni.toml b/providers/opencode-go/models/mimo-v2.5-omni.toml deleted file mode 100644 index de7716936..000000000 --- a/providers/opencode-go/models/mimo-v2.5-omni.toml +++ /dev/null @@ -1,31 +0,0 @@ -name = "MiMo V2.5 Omni" -family = "mimo-v2.5-omni" -release_date = "2026-04-22" -last_updated = "2026-04-22" -attachment = true -reasoning = true -temperature = true -tool_call = true -knowledge = "2024-12" -open_weights = true - -[interleaved] -field = "reasoning_content" - -[cost] -input = 0.40 -output = 2.00 -cache_read = 0.08 - -[cost.context_over_200k] -input = 0.80 -output = 4.00 -cache_read = 0.16 - -[limit] -context = 262_144 -output = 64_000 - -[modalities] -input = ["text", "image", "audio", "pdf"] -output = ["text"] From b9b354ada0d764815a29f38ad514709039dd646e Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Apr 2026 23:17:40 +0800 Subject: [PATCH 4/5] update mimo v2.5 output limits to 128k --- providers/opencode-go/models/mimo-v2.5-pro.toml | 2 +- providers/opencode-go/models/mimo-v2.5.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/opencode-go/models/mimo-v2.5-pro.toml b/providers/opencode-go/models/mimo-v2.5-pro.toml index 53ae8fcc1..56f348c6a 100644 --- a/providers/opencode-go/models/mimo-v2.5-pro.toml +++ b/providers/opencode-go/models/mimo-v2.5-pro.toml @@ -24,7 +24,7 @@ cache_read = 0.40 [limit] context = 1_048_576 -output = 64_000 +output = 128_000 [modalities] input = ["text"] diff --git a/providers/opencode-go/models/mimo-v2.5.toml b/providers/opencode-go/models/mimo-v2.5.toml index eaf89f017..06ab15434 100644 --- a/providers/opencode-go/models/mimo-v2.5.toml +++ b/providers/opencode-go/models/mimo-v2.5.toml @@ -24,7 +24,7 @@ cache_read = 0.16 [limit] context = 262_144 -output = 64_000 +output = 128_000 [modalities] input = ["text", "image", "audio", "pdf"] From 70d8f9cc6ecbccbb05aa2670a83a354a33150dae Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Apr 2026 23:32:16 +0800 Subject: [PATCH 5/5] update mimo v2 output limits to 128k --- providers/opencode-go/models/mimo-v2-omni.toml | 2 +- providers/opencode-go/models/mimo-v2-pro.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/opencode-go/models/mimo-v2-omni.toml b/providers/opencode-go/models/mimo-v2-omni.toml index f16b8861b..02e37c18b 100644 --- a/providers/opencode-go/models/mimo-v2-omni.toml +++ b/providers/opencode-go/models/mimo-v2-omni.toml @@ -19,7 +19,7 @@ cache_read = 0.08 [limit] context = 262_144 -output = 64_000 +output = 128_000 [modalities] input = ["text", "image", "audio", "pdf"] diff --git a/providers/opencode-go/models/mimo-v2-pro.toml b/providers/opencode-go/models/mimo-v2-pro.toml index bb2b80276..5f8d7b103 100644 --- a/providers/opencode-go/models/mimo-v2-pro.toml +++ b/providers/opencode-go/models/mimo-v2-pro.toml @@ -24,7 +24,7 @@ cache_read = 0.40 [limit] context = 1_048_576 -output = 64_000 +output = 128_000 [modalities] input = ["text"]