MiMo V2

MiMo-V2-Flash

by Xiaomi HyperAI · Open-weight; legacy hosted API model; original weights and inference code remain publicly available

MiMo-V2-Flash is Xiaomi’s open-weight Mixture-of-Experts model for coding, technical reasoning, long-context processing, and software-engineering agents. It combines 309 billion total parameters with approximately 15 billion active parameters per token, hybrid attention, and multi-token prediction. The model supports up to 256K tokens, uses text input and output, and was historically priced at $0.10 per million input tokens and $0.30 per million output tokens through Xiaomi’s API. Its released weights and inference code support self-hosting, although deployment is infrastructure-intensive and current hosted availability is uncertain.

Text Reasoning Coding
MiMo-V2-Flash is Xiaomi’s open-weight language model for fast reasoning, coding, long-context work, and software-engineering agents. It combines sparse expert activation with hybrid attention and multi-token prediction, making it better suited to high-throughput inference than its 309-billion-parameter headline figure might suggest. The model is primarily a self-hosting option today: Xiaomi released its weights and inference code under the MIT license, while the original API pricing and endpoint should be treated as historical or availability-dependent.
Outputs

What MiMo-V2-Flash can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Tool use Streaming Fine-tuning Prompt caching
Model profile

Performance characteristics

8/10 Reasoning
9/10 Coding
9/10 Speed
9/10 Cost efficiency
Specifications

Technical details

Family MiMo V2
Type General Purpose
Context window 256K tokens
Max output tokens tokens
Release date 2025-12-16
Status Open-weight; legacy hosted API model; original weights and inference code remain publicly available
Knowledge cutoff notes

No authoritative Xiaomi source located that states a specific knowledge cutoff date for MiMo-V2-Flash.

Model notes

MiMo-V2-Flash is a verified Xiaomi model released on December 16, 2025. Official materials describe a 309B-total-parameter and 15B-active-parameter MoE architecture, 27T-token pretraining, 128-token sliding-window attention, a 5:1 sliding-window/global-attention pattern, three MTP layers, and a context length extended from native 32K to 256K. Xiaomi released the model weights and inference code under the MIT license. The original overseas API pricing notice listed $0.10 per 1M input tokens, $0.01 per 1M cached input tokens, and $0.30 per 1M output tokens. Xiaomi's current hosted catalog as of October 27, 2026 focuses on MiMo-V2.6 models, so current hosted availability for the original MiMo-V2-Flash endpoint is not confirmed. Tool use, streaming, caching, and fine-tuning are supported or enabled by particular serving implementations; they should not be treated as universal properties of every self-hosted deployment. Editorial scores are comparative estimates, not official Xiaomi benchmarks.

COST

Pricing

Input $0.10 per 1M input tokens; $0.01 per 1M cached input tokens
Output $0.30 per 1M output tokens
Model guide

MiMo-V2-Flash: Xiaomi’s Fast Open-Weight Model for Coding and Agents

MiMo-V2-Flash is Xiaomi’s open-weight Mixture-of-Experts language model for reasoning, software engineering, coding, and tool-oriented agent workflows. Its 309 billion total parameters include approximately 15 billion active parameters per token, helping reduce inference cost compared with a dense model of similar total size. It supports a context window of up to 256K tokens, hybrid sliding-window and global attention, and three multi-token-prediction layers intended to accelerate generation. The model is text-only, released with weights and inference code under the MIT license, and originally offered through Xiaomi’s API at $0.10 per million input tokens and $0.30 per million output tokens. Its original hosted endpoint may now be legacy or availability-dependent because Xiaomi’s current catalog emphasizes the newer MiMo-V2.6 family.

What is MiMo-V2-Flash?

MiMo-V2-Flash is an open-weight, text-only language model developed by Xiaomi and released on December 16, 2025. It is designed for tasks that benefit from strong technical reasoning without requiring native image, audio, or video generation. Its intended uses include code generation, mathematical and general reasoning, software-engineering agents, long-context text processing, and tool-oriented workflows.

The model uses a Mixture-of-Experts, or MoE, architecture. Rather than activating every parameter for every token, an MoE model routes each token through a smaller group of specialized neural-network components called experts. MiMo-V2-Flash has approximately 309 billion total parameters, but only about 15 billion are active per token. This distinction is important: the total size affects storage and deployment requirements, while the active count is more closely related to the computation needed for each generated token.

MiMo-V2-Flash was released with model weights and inference code under the MIT license through XiaomiMiMo repositories and Xiaomi’s Hugging Face organization. That makes it materially different from a hosted-only model: organizations can evaluate or deploy the released model themselves, subject to their own infrastructure and serving choices.

Why the architecture is aimed at efficient inference

MiMo-V2-Flash combines sparse expert activation with a hybrid attention design. Attention is the part of a transformer model that lets each new token use information from earlier tokens. In a long conversation or codebase, storing and consulting all prior attention information can make inference expensive. Xiaomi’s design reduces that burden by combining local sliding-window attention with periodic global attention.

The documented pattern uses a 128-token sliding window and a 5:1 arrangement of sliding-window layers to global-attention layers. Most layers therefore focus on a local region, while global-attention layers periodically provide broader access to the sequence. This is intended to reduce key-value cache requirements while retaining long-context information over the full sequence.

The model also includes three multi-token-prediction, or MTP, layers. MTP allows an inference system to predict multiple future tokens in a way that can support speculative decoding. In a compatible serving implementation, a faster draft-and-verification process can increase generation throughput. This is an architectural capability rather than a guarantee of a particular tokens-per-second result: actual speed depends on hardware, quantization, batch size, inference software, and the serving endpoint.

Xiaomi reports pretraining on approximately 27 trillion tokens. The model had a native 32K sequence length during pretraining and was later extended to support up to 256K tokens. The 256K figure is the documented maximum context length, not a promise that every deployment will expose the entire window or deliver equal quality throughout it.

Coding, reasoning, and agent capabilities

MiMo-V2-Flash is primarily positioned as a technical and agentic model. Its coding focus makes it suitable for generating functions, explaining unfamiliar code, proposing fixes, writing tests, and assisting with repository-level software tasks. Xiaomi’s post-training used multi-teacher on-policy distillation and large-scale agent reinforcement learning, including training environments based on real GitHub issues and web-development verification.

For reasoning tasks, the model is intended for mathematical problem solving, technical analysis, and multi-step decision-making. Its long context can also help with large specifications, extensive logs, documentation sets, or sizeable code-related inputs, provided the deployment exposes the full context capacity and the prompt remains within the available memory budget.

The model can be used in tool-oriented workflows, but tool use should be understood as a property of the surrounding application or serving layer rather than as a universal feature of the base weights. A developer can connect the model to functions, shell commands, search systems, repository tools, or other actions when the chosen inference stack supports those integrations. The supplied research does not verify a universal web-search capability, and it does not establish one standard function-calling interface for every deployment.

  • Code generation, refactoring, debugging, and test creation
  • Software-engineering agents working with repository tasks
  • Technical and mathematical reasoning
  • Long-context analysis of text, documentation, logs, or source code
  • Self-hosted text generation where throughput and licensing flexibility matter
  • Tool-connected applications built with a compatible serving layer

Context, modalities, and output limits

SpecificationDocumented information
ProviderXiaomi
Model typeOpen-weight sparse Mixture-of-Experts language model
Total parametersApproximately 309 billion
Active parametersApproximately 15 billion per token
Context lengthUp to 256,000 tokens
Native pretraining sequence length32,000 tokens, later extended to 256,000
Input modalityText
Output modalityText
Maximum output tokensNot specified in the supplied research
LicenseMIT for the released weights and inference code

MiMo-V2-Flash does not natively generate images, audio, or video. It should therefore be evaluated as a text model even though an application could place it inside a broader multimodal product. The supplied information also does not confirm a universal JSON mode or structured-output guarantee. If an application needs schema-constrained responses, that capability must be checked in the selected API or inference server.

Pricing and current availability

The original overseas Xiaomi MiMo API pricing notice listed $0.10 per million input tokens, $0.01 per million cached input tokens, and $0.30 per million output tokens. These are usage prices rather than a recurring subscription fee, and they apply to the historical API pricing information supplied for MiMo-V2-Flash.

Hosted availability requires more caution. Xiaomi’s current model catalog, as described in the supplied research, emphasizes the newer MiMo-V2.6 series. The original MiMo-V2-Flash API endpoint should therefore be treated as legacy or availability-dependent rather than assumed to be a current flagship service. The open-weight release remains the more dependable basis for planning a self-hosted evaluation, although deploying a model with approximately 309 billion total parameters requires substantial hardware and operational resources.

Self-hosting changes the cost calculation. The model’s approximately 15 billion active parameters can reduce per-token computation relative to a dense 309-billion-parameter model, but the total weights, memory requirements, context cache, and serving infrastructure still matter. Hardware, quantization, batching, and software optimization will determine the actual cost and speed of a private deployment.

Main strengths and limitations

The clearest strength is the combination of technical focus and inference-oriented architecture. Sparse activation, local-plus-global attention, and multi-token prediction are all intended to improve the economics of high-throughput reasoning and coding workloads. The open-weight MIT release also gives teams more control over deployment than a model available only through a hosted endpoint.

The 256K context capacity is useful for long source files, repository documentation, issue histories, and large technical prompts. However, context size alone does not guarantee that every detail will be used equally well. Long-context workloads also increase memory and latency demands, especially when the serving configuration does not fully benefit from the model’s attention optimizations.

The main limitations are deployment complexity, uncertain current hosted access, and the absence of native non-text generation. The model is not a lightweight local assistant simply because only 15 billion parameters are active per token; its total 309-billion-parameter footprint remains significant. In addition, tool use, streaming, caching, fine-tuning, batching, and structured responses can vary by serving implementation. They should not automatically be attributed to every installation of the base model.

The research does not provide a specific knowledge-cutoff date, maximum output-token limit, confirmed universal web-search feature, or a single guaranteed JSON interface. Those omissions matter when comparing MiMo-V2-Flash with managed APIs that publish detailed endpoint-level controls.

When to choose MiMo-V2-Flash

Choose MiMo-V2-Flash when the priority is an open-weight model for coding, technical reasoning, long-context work, or software-engineering agents, and your team can operate a demanding inference stack. It is particularly relevant when deployment control, the MIT license, and the ability to modify or self-host the model are more important than turnkey API convenience.

Its architecture also makes it a reasonable candidate for high-throughput workloads where sparse computation and multi-token prediction can be supported by the serving system. The editorial assessment supplied for this page rates its coding and speed highly, but those scores are comparative estimates, not Xiaomi-published benchmark results. Real performance should be tested on the target hardware and workload.

Another option may be more appropriate when you need native image, audio, or video generation; a very small local model; a confirmed current hosted endpoint; a documented maximum output limit; guaranteed structured output; or built-in web search. A managed model may also be preferable if the team cannot provision the infrastructure needed for a 309-billion-parameter open-weight release. In contrast, MiMo-V2-Flash is most distinctive as a technically focused, self-hostable model rather than as a general consumer-facing multimodal assistant.

Overall assessment

MiMo-V2-Flash is a specialized Xiaomi model for users who want open-weight access to a large reasoning and coding system with efficiency-oriented architecture. Its 15-billion-parameter active path, hybrid attention, MTP layers, and 256K context are meaningful design choices for high-throughput technical workloads. The trade-off is that open deployment remains infrastructure-heavy, while the original hosted API may no longer represent Xiaomi’s current primary offering. For teams prepared to manage the model themselves, it offers a flexible text-generation foundation; for users seeking simple, current, multimodal, or tightly standardized API access, another option may be easier to operate.


Answers to Frequently Asked Questions

How much did the MiMo-V2-Flash API cost, and is it still available?
The original overseas Xiaomi MiMo API pricing listed $0.10 per million input tokens, $0.01 per million cached input tokens, and $0.30 per million output tokens. Hosted availability should be treated as legacy or availability-dependent because Xiaomi’s current catalog emphasizes the newer MiMo-V2.6 series. The open-weight release remains the more dependable option for self-hosted evaluation.
Is MiMo-V2-Flash open source, and what license does it use?
MiMo-V2-Flash is an open-weight model released with inference code under the MIT license through XiaomiMiMo repositories and Xiaomi’s Hugging Face organization. This allows organizations to evaluate or self-host it, although deployment requires substantial hardware and infrastructure because of its approximately 309-billion-parameter total footprint.
What is the context length of MiMo-V2-Flash?
MiMo-V2-Flash supports up to 256,000 tokens according to the documented specifications. It was pretrained with a native 32,000-token sequence length and later extended to 256,000 tokens, although actual deployment limits depend on the serving system and available memory.
What is MiMo-V2-Flash?
MiMo-V2-Flash is an open-weight, text-only language model developed by Xiaomi and released on December 16, 2025. It is designed for coding, mathematical and technical reasoning, software-engineering agents, long-context text processing, and tool-connected workflows.
How many parameters does MiMo-V2-Flash have, and how many are active per token?
MiMo-V2-Flash has approximately 309 billion total parameters, with about 15 billion active per token. Its Mixture-of-Experts architecture activates only a subset of specialized components for each token, which can reduce per-token computation compared with a dense model of the same total size.


Sources 7
AI Provider

About Xiaomi HyperAI