🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat: add MiMo-V2.5 and MiMo-V2.5-Pro model cards (#14089)
YuTengjing1958a59f4e66
diff --git a/packages/model-bank/src/aiModels/lobehub/chat/xiaomimimo.ts b/packages/model-bank/src/aiModels/lobehub/chat/xiaomimimo.tsindex 05bf9a838ff..d1bd0936d93 100644--- a/packages/model-bank/src/aiModels/lobehub/chat/xiaomimimo.ts+++ b/packages/model-bank/src/aiModels/lobehub/chat/xiaomimimo.ts@@ -1,6 +1,124 @@import type { AIChatModelCard } from '../../../types/aiModel';+// Authoritative pricing + capability + RPM/TPM reference:+// https://platform.xiaomimimo.com/docs/pricing (SPA — fetch via chrome-devtools MCP, not WebFetch)+// Model detail pages:+// https://mimo.xiaomi.com/mimo-v2-5-pro (URL uses dashes for dots)+// https://mimo.xiaomi.com/mimo-v2-5+// IMPORTANT: Xiaomi's Token Plan (Credits subscription) billing and the+// per-token API billing are separate. Announcements like "unified 256K/1M+// Credit multiplier" only affect Token Plan; the per-token API billing still+// keeps context-tiered pricing (0-256K / 256K-1M). Always cross-check+// /docs/pricing when updating these rates.export const xiaomimimoChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: false,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'Xiaomi MiMo-V2.5-Pro is the flagship of the MiMo-V2.5 series. It retains the 1T total / 42B active hybrid-attention architecture with a 1M context window, and delivers major gains in general agentic capabilities, complex software engineering, and long-horizon tasks (more than a thousand tool calls per task). Performance on demanding agentic benchmarks is comparable to Claude Opus 4.6.',+ displayName: 'MiMo-V2.5 Pro',+ enabled: true,+ id: 'mimo-v2.5-pro',+ maxOutput: 131_072,+ pricing: {+ units: [+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 1, upTo: 256_000 },+ { rate: 2, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.2, upTo: 256_000 },+ { rate: 0.4, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ // Cache write is temporarily free per official announcement+ // TODO: restore actual pricing when promotion ends+ { name: 'textInput_cacheWrite', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 3, upTo: 256_000 },+ { rate: 6, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning'],+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: false,+ video: true,+ vision: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'Xiaomi MiMo-V2.5 is a native omni-modal Agent foundation model with 1M context that understands images, video, audio, and text in a unified architecture. It delivers Pro-level agentic performance at roughly half the inference cost, with stronger multimodal perception than MiMo-V2-Omni and faster inference — a strong fit for latency-sensitive, multi-step agent frameworks.',+ displayName: 'MiMo-V2.5',+ enabled: true,+ id: 'mimo-v2.5',+ maxOutput: 131_072,+ pricing: {+ units: [+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 0.4, upTo: 256_000 },+ { rate: 0.8, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.08, upTo: 256_000 },+ { rate: 0.16, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ // Cache write is temporarily free per official announcement+ // TODO: restore actual pricing when promotion ends+ { name: 'textInput_cacheWrite', rate: 0, strategy: 'fixed', unit: 'millionTokens' },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 2, upTo: 256_000 },+ { rate: 4, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning'],+ },+ type: 'chat',+ },{abilities: {functionCall: true,diff --git a/packages/model-bank/src/aiModels/xiaomimimo.ts b/packages/model-bank/src/aiModels/xiaomimimo.tsindex d06b7980624..ab1385c1310 100644--- a/packages/model-bank/src/aiModels/xiaomimimo.ts+++ b/packages/model-bank/src/aiModels/xiaomimimo.ts@@ -1,6 +1,114 @@import type { AIChatModelCard } from '../types/aiModel';const xiaomimimoChatModels: AIChatModelCard[] = [+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ "MiMo-V2.5-Pro is Xiaomi's most capable flagship model to date, delivering significant improvements in general agentic capabilities, complex software engineering, and long-horizon tasks. It retains the 1T total / 42B active hybrid-attention architecture with a 1M context window, and can sustain complex long-horizon tasks spanning more than a thousand tool calls. Performance on demanding agentic benchmarks (ClawEval, GDPVal, SWE-bench Pro) is comparable to Claude Opus 4.6.",+ displayName: 'MiMo-V2.5 Pro',+ enabled: true,+ id: 'mimo-v2.5-pro',+ maxOutput: 131_072,+ pricing: {+ currency: 'CNY',+ units: [+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 1.4, upTo: 0.256 },+ { rate: 2.8, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 7, upTo: 0.256 },+ { rate: 14, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 21, upTo: 0.256 },+ { rate: 42, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning'],+ searchImpl: 'params',+ },+ type: 'chat',+ },+ {+ abilities: {+ functionCall: true,+ reasoning: true,+ search: true,+ structuredOutput: true,+ video: true,+ vision: true,+ },+ contextWindowTokens: 1_000_000,+ description:+ 'MiMo-V2.5 is a native omni-modal Agent foundation model that understands images, video, audio, and text in a unified architecture, with a 1M context window. It delivers Pro-level agentic performance at roughly half the inference cost of MiMo-V2.5-Pro, with improved multimodal perception over MiMo-V2-Omni. Its built-in agentic capabilities (browsing, understanding, reasoning, execution) and faster inference make it well-suited to latency-sensitive and multi-step agent frameworks such as OpenClaw.',+ displayName: 'MiMo-V2.5',+ enabled: true,+ id: 'mimo-v2.5',+ maxOutput: 131_072,+ pricing: {+ currency: 'CNY',+ units: [+ {+ name: 'textInput_cacheRead',+ strategy: 'tiered',+ tiers: [+ { rate: 0.56, upTo: 0.256 },+ { rate: 1.12, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textInput',+ strategy: 'tiered',+ tiers: [+ { rate: 2.8, upTo: 0.256 },+ { rate: 5.6, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ {+ name: 'textOutput',+ strategy: 'tiered',+ tiers: [+ { rate: 14, upTo: 0.256 },+ { rate: 28, upTo: 'infinity' },+ ],+ unit: 'millionTokens',+ },+ ],+ },+ releasedAt: '2026-04-22',+ settings: {+ extendParams: ['enableReasoning'],+ searchImpl: 'params',+ },+ type: 'chat',+ },{abilities: {functionCall: true,diff --git a/packages/model-runtime/src/utils/modelParse.test.ts b/packages/model-runtime/src/utils/modelParse.test.tsindex c7b3619f7d2..41d81b2a7d6 100644--- a/packages/model-runtime/src/utils/modelParse.test.ts+++ b/packages/model-runtime/src/utils/modelParse.test.ts@@ -322,16 +322,24 @@ describe('modelParse', () => {it('xiaomimimo: should infer multimodal abilities for omni', async () => {const out = await processModelList(- [{ id: 'mimo-v2-flash' }, { id: 'mimo-v2-pro' }, { id: 'mimo-v2-omni' }],+ [+ { id: 'mimo-v2-flash' },+ { id: 'mimo-v2-pro' },+ { id: 'mimo-v2-omni' },+ { id: 'mimo-v2.5-pro' },+ { id: 'mimo-v2.5' },+ ],MODEL_LIST_CONFIGS.xiaomimimo,'xiaomimimo',);- expect(out).toHaveLength(3);+ expect(out).toHaveLength(5);const flash = out.find((m) => m.id === 'mimo-v2-flash')!;const pro = out.find((m) => m.id === 'mimo-v2-pro')!;const omni = out.find((m) => m.id === 'mimo-v2-omni')!;+ const v25Pro = out.find((m) => m.id === 'mimo-v2.5-pro')!;+ const v25 = out.find((m) => m.id === 'mimo-v2.5')!;expect(flash.functionCall).toBe(true);expect(flash.reasoning).toBe(true);@@ -345,6 +353,14 @@ describe('modelParse', () => {expect(omni.reasoning).toBe(true);expect(omni.vision).toBe(true);+ expect(v25Pro.functionCall).toBe(true);+ expect(v25Pro.reasoning).toBe(true);+ expect(v25Pro.vision).toBe(false);++ expect(v25.functionCall).toBe(true);+ expect(v25.reasoning).toBe(true);+ expect(v25.vision).toBe(true);+const tts = await processModelList([{ id: 'mimo-v2-tts' }],MODEL_LIST_CONFIGS.xiaomimimo,diff --git a/packages/model-runtime/src/utils/modelParse.ts b/packages/model-runtime/src/utils/modelParse.tsindex 4dc59cc6a57..89114714102 100644--- a/packages/model-runtime/src/utils/modelParse.ts+++ b/packages/model-runtime/src/utils/modelParse.ts@@ -130,7 +130,9 @@ export const MODEL_LIST_CONFIGS = {excludeKeywords: ['tts'],functionCallKeywords: ['mimo'],reasoningKeywords: ['mimo'],- visionKeywords: ['omni'],+ // mimo-v2.5 (non-pro) is natively omni-modal; match the exact id+ // without also catching mimo-v2.5-pro, which is text-only.+ visionKeywords: ['omni', 're:^mimo-v2\\.5$'],},zeroone: {functionCallKeywords: ['fc'],