How MiniMax M4 Masters Domestic Chips for Frontier AI Performance
MiniMax M4 achieves frontier-level AI performance on domestic Chinese chips (Huawei Ascend 950DT, Pingtouge Zhenwu M890) through software-hardware co-design including MSA2 sparse attention and MFlashKV offloading, 3T-parameter MoE architecture, RL scaling with 28 expert models distilled via MOPD, and recursive self-improvement consuming 15% of compute.
Reading font

01 Breaking Through with Domestic Compute
Large model training and inference today hinge on GPU availability. Conventional wisdom holds that a 3T-parameter model (MoE, 2.74T total parameters) requires NVIDIA's top-tier GPUs. MiniMax took a different route: they deployed M4 on Huawei Ascend 950DT and Pingtouge Zhenwu M890 super-nodes.
Despite hardware constraints — Ascend HBM capacity and bandwidth ~0.5x GB300, FP4 peak compute ~0.13x — M4 delivers 1,589 tokens/s per chip and 100 tokens/s per user , matching smaller models on NVIDIA flagships and exceeding many baselines on GB300.
To squeeze performance from diverse domestic chips, MiniMax built a deep software-hardware co-design stack centered on two core technologies: MSA2 (MiniMax Sparse Attention 2) and MFlashKV .
02 Software-Hardware Co-Design
MSA2: Sparse Attention with Shared KV and Block-Sparse Selection
In long-context and agent tasks, KV cache explodes. MSA2 modifies standard attention in two ways:
Shared KV Multi-Query Attention: 128 query heads share 1 KV head, reducing per-token KV footprint by 4x versus MSA.
Fine-Grained Block-Sparse Attention: Long context is split into 16-token blocks; only the top 128 most relevant blocks are computed. A lookahead mechanism pre-computes indices two layers early, moving address lookup and data transfer off the critical decoding path.
MFlashKV: SSD Offloading Without Latency Penalty
MFlashKV offloads runtime KV cache to SSDs, avoiding memory pressure. The author analogizes it to "adding an external storage room to a fridge." The execution timeline shows overlapped compute and I/O, keeping decode latency low.
03 Scaling Up: 3T Parameters and RL with 28 Expert Models
A 3T-scale parameter base raises the intelligence ceiling for complex science and industry problems. M4 adopts an expand-then-contract RL strategy :
Train 28 vertical-domain expert models in parallel across multiple clusters.
Distill them into a single unified model using MOPD (Multi-Teacher Online Policy Distillation).
The 28 experts cover 7+ domains : coding, terminal & agent, computer operation, design, science, cybersecurity, finance.
This yields a high-intelligence, cost-controlled, fast model that more people can actually use for massive complex problems. Human-only scaling cannot keep pace — data must be synthesized, infra tuned, training monitored.
04 The RSI Moment for Chinese Models
MiniMax's answer: let the model participate in its own development. Pre-training and mid-training finished 50 days before release; during those 50 days, early M4 versions:
Generated RL training data.
Optimized underlying infrastructure.
Assisted next-generation model training.
Compute dedicated to this Recursive Self-Improvement (RSI) loop reached 15% of total R&D compute .
While Anthropic's Dario Amodei warns RSI is too powerful and slows frontier progress for safety, MiniMax has turned RSI into production productivity. On Posttrain Bench v1.2 , M4 scores 38.2 , nearing overseas frontier models. Model capability gains directly translate into next-gen R&D throughput, creating a positive feedback loop.
As RL compute investment continues, M4's comprehensive capability index rises without clear saturation, implying untapped potential for the next generation.
Conclusion
The playbook: first expand compute, then lower its cost, then use cheap compute to buy capability — finally let the model drive its own R&D. MiniMax-M4 demonstrates a viable path for sustained large-model development under compute constraints. Deep adaptation to domestic chips plus indigenous innovation reduces reliance on high-end imported GPUs. Existing compute reserves support current applications and leave headroom for future larger models. This signals that external containment cannot halt Chinese AI advancement; the gap with global frontier models will keep narrowing. MiniMax-M4 is a beginning.
https://github.com/MiniMax-AI/MiniMax-M4/blob/main/docs/MiniMax_M4_Technical_Report.pdfAbout this article
For attribution, corrections or content rights, contact




