MiMo M2.5
MiMo M2.5 is the mid-tier model in Xiaomi's MiMo v2.5 family, a Mixture-of-Experts (MoE) stack with reasoning, tool use, and multimodal input. It supports a context window of 1.1M tokens and 131.1K tokens max output tokens.
import { streamText } from 'ai'
const result = streamText({ model: 'xiaomi/mimo-v2.5', prompt: 'Why is the sky blue?'})Frequently Asked Questions
How does MiMo M2.5 differ from
mimo-v2.5-pro?MiMo M2.5 is the standard tier.
mimo-v2.5-proactivates a larger share of a larger parameter pool per step, so it costs more but reasons further on harder math, code, and agentic problems.What architecture does MiMo M2.5 use?
A Mixture-of-Experts (MoE) stack with hybrid attention. Each token activates a subset of expert blocks, and sliding-window plus full attention combine to keep KV cache manageable at long context lengths.
What's the context window for MiMo M2.5?
1.1M tokens. Hybrid attention keeps KV-cache memory in check so long-context runs stay practical.
Does MiMo M2.5 support tool calling and reasoning modes?
Yes. MiMo M2.5 supports tool calling and a reasoning mode, both exposed through AI Gateway. Use them through the AI SDK, the Chat Completions API, the Responses API, or any other supported format.
How do I authenticate requests to MiMo M2.5 through AI Gateway?
Add your API key in AI Gateway project settings. Use
xiaomi/mimo-v2.5in API calls. AI Gateway routes, retries, and fails over across xiaomi.What does MiMo M2.5 cost?
See the pricing section on this page for today's rates. AI Gateway tracks each provider's pricing for MiMo M2.5, so the numbers shown stay current.
Does MiMo M2.5 support zero data retention?
Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.
Is MiMo M2.5 available under an open-source license?
Yes. The MiMo v2.5 line is released under the MIT license, which allows commercial use, modification, and redistribution.