Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/features/15219-mimotp-v2-6-models.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **feat(providers):** the Xiaomi MiMo Token Plan (`mimotp`) catalog now lists `mimo-v2.6-pro` and `mimo-v2.6-flash` (1M context, 128K output), ahead of Xiaomi retiring `mimo-v2.5-pro` / `mimo-v2.5` on 2026-10-21 ([#15219](https://github.com/diegosouzapw/OmniRoute/pull/15219)) — thanks @kang-heewon
7 changes: 7 additions & 0 deletions open-sse/config/providers/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,13 @@ export const CHAT_OPENAI_COMPAT_MODELS: Record<string, RegistryModel[]> = {
{ id: "mimo-v2.5", name: "MiMo-V2.5", contextLength: 1048576, maxOutputTokens: 131072 },
],
"xiaomi-mimo-token-plan": [
{ id: "mimo-v2.6-pro", name: "MiMo-V2.6-Pro", contextLength: 1048576, maxOutputTokens: 131072 },
{
id: "mimo-v2.6-flash",
name: "MiMo-V2.6-Flash",
contextLength: 1048576,
maxOutputTokens: 131072,
},
{ id: "mimo-v2.5-pro", name: "MiMo-V2.5-Pro", contextLength: 1048576, maxOutputTokens: 131072 },
{ id: "mimo-v2.5", name: "MiMo-V2.5", contextLength: 1048576, maxOutputTokens: 131072 },
],
Expand Down
10 changes: 10 additions & 0 deletions tests/unit/xiaomi-providers-registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,20 @@ test("xiaomi-mimo-token-plan esta registrado e nao colide de host com o normal",

test("xiaomi-mimo-token-plan expoe os modelos de chat", () => {
const ids = xiaomi_mimo_token_planProvider.models.map((m) => m.id);
assert.ok(ids.includes("mimo-v2.6-pro"));
assert.ok(ids.includes("mimo-v2.6-flash"));
assert.ok(ids.includes("mimo-v2.5-pro"));
assert.ok(ids.includes("mimo-v2.5"));
});

test("xiaomi-mimo-token-plan anuncia a janela de 1M e saida de 128K da geracao v2.6", () => {
for (const id of ["mimo-v2.6-pro", "mimo-v2.6-flash"]) {
const model = xiaomi_mimo_token_planProvider.models.find((m) => m.id === id);
assert.equal(model?.contextLength, 1048576, id);
assert.equal(model?.maxOutputTokens, 131072, id);
}
});

// ---------------------------------------------------------------------------
// Task 7: monthly quota plan for the Token Plan
// ---------------------------------------------------------------------------
Expand Down
Loading