What is MiMo-V2-Flash
MiMo-V2-Flash is Xiaomi's open-source high-performance language model, with 309 billion total parameters and 15 billion activated parameters. Designed specifically for agentic AI, it adopts a hybrid attention architecture, combining sliding window attention (SWA) and global attention (GA), with a window size of 128 tokens. Through learnable attention sink bias technology, it significantly reduces KV cache storage while maintaining long-text performance. In addition, it is equipped with a lightweight multi-token prediction (MTP) module, each module containing only 33 million parameters, using dense feed-forward networks (FFN) and SWA, which can significantly improve generation speed, making inference cost only 2.5% of the benchmark closed-source model Claude 4.5 Sonnet, with generation speed increased by 2 times. MiMo-V2-Flash performs excellently in multiple agentic tasks and complex reasoning tasks, such as SWE-Bench and mathematical reasoning tasks. It supports FP8 mixed-precision inference, and deployment with the SGLang framework is recommended.
Main Features of MiMo-V2-Flash
-
High-Performance Inference: Adopts a hybrid attention architecture and lightweight multi-token prediction technology, significantly improving inference efficiency, faster generation speed, and greatly reduced inference cost.
-
Long-Text Processing Capability: Through the combination of sliding window attention and global attention, it supports a context length of up to 256K, making it suitable for processing long-text tasks.
-
Agentic Task Optimization: After large-scale agentic reinforcement learning and multi-teacher online policy distillation, it is designed specifically for agentic AI and is suitable for complex reasoning and multi-turn dialogue tasks.
-
Code Generation and Understanding: Performs excellently in code generation and understanding tasks, supports multiple programming languages, and can efficiently complete code completion, generation, and debugging tasks.
-
Multilingual Support: Has multilingual capabilities and can handle text generation, translation, and understanding tasks in multiple languages.
-
Open Source and Ease of Use: Model weights and inference code are fully open source, under the MIT license, making it convenient for developers to use and conduct secondary development.
Technical Principles of MiMo-V2-Flash
-
Hybrid Attention Architecture: Adopts a hybrid design of sliding window attention (SWA) and global attention (GA), with a window size of 128 tokens. Through learnable attention sink bias technology, it reduces KV cache storage while maintaining long-text processing capability.
-
Lightweight Multi-Token Prediction (MTP): Equipped with lightweight MTP modules, using dense feed-forward networks (FFN) and sliding window attention. Each module has only 33 million parameters, significantly improving generation speed and optimizing inference efficiency.
-
Efficient Pre-training: Pre-trained with 27 trillion tokens, supports a native 32K sequence length, the context window can be extended to 256K, and adopts FP8 mixed-precision training to improve training efficiency.
-
Agentic Reinforcement Learning: Through large-scale agentic reinforcement learning and multi-teacher online policy distillation (MOPD), it performs excellently in complex reasoning and agentic tasks, improving the model's generalization ability and task adaptability.
-
Inference Optimization: Supports FP8 mixed-precision inference and, combined with the SGLang framework, provides efficient inference performance, making it suitable for large-scale deployment and applications.
Project Address of MiMo-V2-Flash
- Github Repository:https://github.com/xiaomimimo/MiMo-V2-Flash
- HuggingFace Model Library:https://huggingface.co/XiaomiMiMo/MiMo-V2-Flash
- Technical Paper:https://github.com/XiaomiMiMo/MiMo-V2-Flash/blob/main/paper.pdf
Application Scenarios of MiMo-V2-Flash
-
Agentic AI Tasks: Suitable for agentic scenarios requiring efficient reasoning and complex task handling, such as automated task execution, multi-turn dialogue management, and tool calling.
-
Long-Text Processing: Capable of handling long-text generation and understanding tasks, such as long-form content creation, document summarization, and long-text question answering.
-
Code Generation and Understanding: Supports code generation, code completion, and code understanding, suitable for developer tool integration and automated programming assistance.
-
Multilingual Applications: Possesses multilingual capabilities and can be used for cross-language translation, multilingual content generation, and internationalized application development.
-
Complex Reasoning Tasks: Performs well in complex tasks such as mathematical reasoning, logical reasoning, and scientific problem solving, suitable for the education and research fields.
-
Everyday Assistant: As a general-purpose AI assistant, it can be used for everyday question answering, information retrieval, and personalized content recommendation.