Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Reader activity
0 Useful 3 Views 4 min Read — No ratings
Artificial Intelligence
4 min read

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.

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.

At 100 TPS output speed, M4 on Huawei 950DT achieves 3x the throughput of Kimi-K3.1 on NVIDIA GB300 (data from SemiAnalysis)
At 100 TPS output speed, M4 on Huawei 950DT achieves 3x the throughput of Kimi-K3.1 on NVIDIA GB300 (data from SemiAnalysis)

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

M4 overall architecture: MSA2 main branch, lookahead index branch, MoE layer with shared and routed experts
M4 overall architecture: MSA2 main branch, lookahead index branch, MoE layer with shared and routed experts

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.

Kernel throughput comparison of sparse attention implementations vs MSA; MSA2 covers BF16 training, FP8 prefill and decode
Kernel throughput comparison of sparse attention implementations vs MSA; MSA2 covers BF16 training, FP8 prefill and decode

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.

MFlashKV execution timeline
MFlashKV execution timeline

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).

MiniMax-M4 post-training and RL scaling overview
MiniMax-M4 post-training and RL scaling overview

The 28 experts cover 7+ domains : coding, terminal & agent, computer operation, design, science, cybersecurity, finance.

28 domain-specific experts covering coding, terminal & agent, computer operation, design, science, cybersecurity, finance and more
28 domain-specific experts covering coding, terminal & agent, computer operation, design, science, cybersecurity, finance and more

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 .

Anthropic CEO Dario Amodei tweet on RSI power and safety concerns
Anthropic CEO Dario Amodei tweet on RSI power and safety concerns

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.

M4 comparison across six benchmarks
M4 comparison across six benchmarks
MiniMax-M4 post-training and RL scaling overview (duplicate)
MiniMax-M4 post-training and RL scaling overview (duplicate)

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.pdf

For attribution, corrections or content rights, contactadmin@besthub.dev

Report an issue with this article

Discussion 0

Write a comment

Sign in to join the discussion

No public comments on this page. Sign in to comment