MiniMax Releases M4: A 2.74-Trillion-Parameter Native Multimodal Model with Million-Token Context
The company calls it its smartest model to date, reducing HBM dependence through MSA2 sparse attention and MFlashKV, and capable of running on domestic Chinese chips such as Huawei's 950DT.

Table of Contents (4)
- 012.74 Trillion Parameters and Million-Token Context: M4's Scale and Capability Positioning
- 02MSA2 and MFlashKV: Architectural Innovations That Reduce HBM Dependence
- 03From Code-Generated Animation to System-Level Software Engineering: Representative M4 Cases
- 04Pricing, Open-Source Plans, and the Road Ahead
- Industry Impact & Strategic Takeaways
- Frequently Asked Questions
Key Takeaways (TL;DR)
- 01MiniMax M4 scales to 2.74 trillion parameters with 66 billion activated per token and supports million-token context; the company calls it its smartest model to date.
- 02All 68 attention layers use MSA2 sparse attention and MFlashKV, reducing per-token KV capacity by 4x while improving prefilling and decoding throughput by 4.48x and 8x, respectively.
- 03M4 can run on Huawei 950DT and Pingtouge Zhenwu M890 super nodes; the company claims throughput on Huawei 950DT is 3x that of Kimi-K3.1 deployed on Nvidia GB300.
MiniMax has released M4, a native multimodal model with 2.74 trillion parameters, 66 billion activated per token, and support for million-token context. The model employs MSA2 sparse attention and MFlashKV, cutting per-token KV capacity by 4x and boosting decoding throughput by 8x, and can run on domestic Chinese chips such as Huawei's 950DT.
2.74 Trillion Parameters and Million-Token Context: M4's Scale and Capability Positioning
MiniMax has officially released M4, a native multimodal model with 2.74 trillion parameters, 66 billion activated per token, and support for million-token context. The company says it is the smartest model it has trained to date. On observable tasks including coding, professional knowledge, RSI, chip design, finance and business, design (3D modeling, gaming, video production), and Computer Use, M4 sits at the intelligence frontier of Chinese and open-source models.
The model continues MiniMax's exploration of scaling reinforcement learning. The company disclosed that M4 invested compute equivalent to 20% of pretraining in reinforcement learning and trained expert models for 28 distinct domains and scenarios before integrating them into a unified model. Compared with the SFT baseline, reinforcement learning significantly raised the model's performance ceiling, with particularly strong advantages in professional domains and long-horizon tasks. The company also observed that model capabilities continue to grow with additional RL compute, and future versions plan to raise that share to 50%.
The company says M4 stands at the intelligence frontier of Chinese and open-source models on most observable tasks, but still lags considerably behind the most advanced overseas models.
- M4 has 2.74 trillion parameters, 66 billion activated per token, and supports million-token context.
- Reinforcement learning compute equals 20% of pretraining, covering expert models across 28 domains.
- It scored 38.2 on Posttrain Bench v1.2, which the company says is gradually approaching the level of overseas frontier models.
Internal Observations on RSI and Safety Capabilities
During development, MiniMax observed that early versions of M4 could already participate in reinforcement learning data construction, RFT, infrastructure optimization, and training monitoring. The company disclosed that across the entire M4 post-training R&D cycle, compute used to leverage early versions to drive iteration of itself and subsequent models accounted for roughly 15% of total R&D compute, and the share is still rising. This is seen as an early sign of a positive feedback loop between model capability and R&D efficiency.
On safety, the company says that during benchmarking and reinforcement learning it found that M4 could break multiple peer-reviewed modern cryptographic schemes, discover and fix unknown high-severity vulnerabilities in production-grade open-source code, and chain vulnerabilities to escape a sandbox. Given the risks, the publicly released general version restricts these capabilities, and they will be offered separately to select compliant research institutions in China.
MSA2 and MFlashKV: Architectural Innovations That Reduce HBM Dependence
HBM capacity limits were the main constraint on fully utilizing compute during MiniMax's development, especially given relatively limited HBM resources in China. To address this, all 68 attention layers in M4 use a newly proposed sparse attention mechanism, MSA2 (MiniMax Sparse Attention 2). The mechanism combines multi-query attention with shared KV, fine-grained block sparse attention, compressed multi-head indexing, and index prediction two layers ahead, reducing per-token KV capacity by 4x compared with the previous version.
The accompanying MFlashKV places the vast majority of the KV cache on SSD during actual decoding, keeping only hot blocks and indices in HBM. For KV cache blocks that must be read from SSD in real time, the system uses a lookahead mechanism to hide index computation and loading within the previous layer's computation, greatly reducing HBM usage during decoding without introducing overhead. The company says prefilling and decoding throughput improved by 4.48x and 8x, respectively.
The company says M4 can fully leverage domestic chips, including Huawei 950DT and Pingtouge Zhenwu M890 super nodes.
- All 68 attention layers use the MSA2 sparse attention mechanism.
- Per-token KV capacity drops 4x; prefilling throughput rises 4.48x and decoding throughput 8x.
- MFlashKV places most of the KV cache on SSD and hides loading overhead through a lookahead mechanism.
Throughput Performance on Domestic Chips
MiniMax disclosed that at an output speed of 100 TPS, M4 deployed on Huawei 950DT delivers 3x the throughput of Kimi-K3.1 deployed on Nvidia's most advanced GB300. The test data is cited from SemiAnalysis. The company notes that the 950DT has only 50% of the HBM capacity and 13% of the compute of GB300, and that the throughput advantage from this model architecture enables it to scale reinforcement learning post-training at low cost.
This design philosophy runs throughout M4's development: run the model efficiently on different types of chips to accumulate as much compute as possible, squeeze maximum compute from different chips through co-design of model and system, and treat inference efficiency as equally important as training efficiency. The company says reinforcement learning and evaluation accounted for 30% to 40% of compute across the entire R&D process.
From Code-Generated Animation to System-Level Software Engineering: Representative M4 Cases
MiniMax demonstrated M4's application across several complex tasks. In code-generated animation, M4 used Three.js and GLSL shaders to produce a 64-second documentary short with seven scenes entirely in code, including visuals, camera effects, score, and sound effects. In the opening, M4 has 100,000 particles coalesce into a portrait of Alan Turing, with each particle landing with the portrait's true color and lighting.
In system-level software engineering, MiniMax gave M4 a real-world engineering deadline of 24 hours and an empty directory, tasking it with building a desktop graphical browser from scratch without using Chromium, WebKit, Gecko, V8, or any existing engine. M4 coded continuously across more than 4,000 tool calls, writing 120,000 lines of pure Rust code and independently implementing HTML5 parsing, CSS3 Flexbox and Grid layout, SVG and Canvas rendering, and more, with the JavaScript engine alone accounting for 32,000 lines and zero third-party dependencies. The browser scored a perfect 100/100 on the Acid3 compatibility test.
M4 coded continuously across more than 4,000 tool calls, independently implementing HTML5 parsing, CSS3 layout, and a JavaScript engine with zero third-party dependencies.
- M4 produced a 64-second documentary short entirely in code, covering visuals, camera work, score, and sound effects.
- It developed a complete game in UE5 using C++, Python, and Blender, spanning racing, FPS, and ACT genres.
- It built a desktop graphical browser from scratch with 120,000 lines of pure Rust code, scoring full marks on Acid3.
3D Modeling and Game Development Capabilities
In 3D modeling, M4 can build precise models from photos, drawings, and public information. In an official example, M4 completed part-level modeling of a quadruped robot dog in CAD, with the full assembly comprising 2,800 solids, 302 screws, and 22 joints; enclosed internals such as the battery pack, joint movements, and knee four-bar linkages were programmatically generated after M4 inferred their dimensions. After importing the model into Blender, M4 created an animation disassembling and reassembling all 3,097 parts one by one.
In game development, M4 can develop complete games in UE5 using C++, Python, and Blender, covering mainstream genres such as racing, FPS, and ACT. From procedurally generated scenes to vehicle physics, shooting feel, combat systems, AI opponents, and cutscene storyboards, M4 handled the entire development pipeline. After each round of changes, it also wrote and actually ran automated tests to check feel, hit detection, and frame rates.
Pricing, Open-Source Plans, and the Road Ahead
MiniMax announced API pricing for M4. China API pricing is RMB 5 per million input tokens, RMB 20 per million output tokens, and RMB 0.3 per million cached-read tokens; overseas API pricing is USD 0.8 per million input tokens, USD 3.1 per million output tokens, and USD 0.05 per million cached-read tokens. Individual developers can get multiples of usage for the same budget through M Plan, and in MiniMax Code they can stack a limited-time nighttime doubling offer; neither the new model nor the new tiers have a 5-hour limit.
On open source, MiniMax said it will continue to open model weights after completing internal and third-party safety evaluations, and hopes to do so within the coming weeks. The company also acknowledged that it is still at the starting point of the journey toward higher intelligence, that it found many areas for significant improvement during development, and that a considerable gap remains versus the most advanced overseas models; it hopes to bring stronger future versions to the public sooner.
The company says M4's pretraining and mid-training were completed 50 days ago, and R&D since then has focused mainly on post-training, online serving, and inference systems.
- China API pricing: RMB 5 per million input tokens, RMB 20 per million output tokens, RMB 0.3 per million cached-read tokens.
- Overseas API pricing: USD 0.8 per million input tokens, USD 3.1 per million output tokens, USD 0.05 per million cached-read tokens.
- Model weights will continue to be opened after safety evaluations are completed, expected within the coming weeks.
Technology Path Choices Under Compute Constraints
MiniMax describes M4's development as a technology path that continuously scales reinforcement learning under compute constraints and fully leverages multiple chip ecosystems. The company follows three design principles: run the model efficiently on different types of chips to accumulate as much compute as possible; squeeze maximum compute from different chips through co-design of model and system; and treat inference efficiency as equally important as training efficiency.
Across most of M4's R&D, including pretraining, reinforcement learning, and inference, the company says it hit power walls on multiple chips. Through architectural and infrastructure innovation, M4 achieved high throughput under limited HBM resources and validated the feasibility of large-scale deployment on domestic chips. This path offers a reference for AI research organizations in the Asia-Pacific region facing similar compute constraints.
Impact
Industry Impact & Strategic Takeaways
M4's architectural innovations show that in HBM-constrained environments, sparse attention and tiered KV cache management can still sustain high inference throughput. Its adaptation to domestic Chinese chips and its pricing strategy may influence how developers in the Asia-Pacific region weigh model selection and deployment costs, and provide a reference engineering path for reinforcement learning post-training across multi-chip ecosystems.
Frequently Asked Questions
What are MiniMax M4's parameter scale and context length?
+
M4 has 2.74 trillion parameters, 66 billion activated per token, and supports million-token context as a native multimodal model.
What do MSA2 and MFlashKV do in M4?
+
MSA2 is a sparse attention mechanism covering all 68 attention layers that reduces per-token KV capacity by 4x; MFlashKV places most of the KV cache on SSD and hides loading overhead through a lookahead mechanism, boosting decoding throughput by 8x.
Is M4 open source?
+
MiniMax says it will continue to open model weights after completing internal and third-party safety evaluations, and hopes to do so within the coming weeks.
Primary Source & Attribution
公众号:MiniMax(稀宇科技)
Related Deep Dives

Hands-On with MiniMax M4: How a 2.74T-Parameter MoE Model Performs Under Compute Constraints
78 pts · 7 min read

MiniMax Releases 2.74T-Parameter Open-Weight MoE Model M4, Designed for HBM-Constrained Hardware
72 pts · 5 min read

MiniMax Releases M4: 2.74T Total Parameters, 66B Activated, 1M Token Context
79 pts · 6 min read

MiniMax M4 Lands on OpenRouter with Video Input via Vision Encoder
67 pts · 4 min read