MiniMax has put the full technical report for M4 on GitHub. It runs to 78 pages and explains how the company built a 2.74 trillion parameter model, why it moved the model’s working memory onto SSDs, and how it got the model serving fast on Huawei’s Ascend 950DT chips. I read all of it, checked its numbers against each other and ran its effort levels on the API.
The weights aren’t out yet. The repository says MiniMax will release them soon. My earlier piece covers what M4 does in practice. This one covers what MiniMax says about how it was made.
- The model, checked
- Attention that reads 2,048 tokens
- The cache that lives on SSDs
- Serving on Ascend
- How it was trained
- The benchmarks
- I tried the effort levels
- What the report says M4 can’t do
The model, checked
M4 is a mixture of experts model. It stores 2.74 trillion parameters but uses 66 billion of them for each token, because only a few of its experts switch on at a time. The report gives the shape: 68 layers with the first four dense, then 384 routed experts per layer with four picked per token, plus one shared expert. It’s natively multimodal, with a vision encoder of about 631 million parameters trained from the first day of pre-training, and it handles 1 million tokens of context.
2.74T
total parameters
66B
active for each token
1M
tokens of context
384
experts per layer, 4 used per token
I checked that these add up. Each expert is three matrices of 7,168 by 5,120, about 110 million parameters. Across the 64 expert layers and 384 experts that’s 2.71 trillion. Add the shared experts at 7 billion and the 128-head attention at about 32 billion, and the total is roughly 2.745 trillion against the 2.74 trillion stated. Five experts per token across those layers is 35 billion, and with attention that makes about 67 billion at work against the 66 billion the report gives. I left out the four dense layers and the embeddings, which the report doesn’t size. The headline numbers agree with the shapes.

Attention that reads 2,048 tokens
The main architecture change is MiniMax Sparse Attention 2, which the report uses in every layer. Instead of every token looking at all earlier tokens, a small index branch scores blocks of 16 tokens and the main branch reads only the best 128 of them. That’s 2,048 tokens however long the conversation gets. All 128 query heads share a single key-value vector of 256 numbers per token per layer, which cuts the cache to a quarter of what MiniMax’s first sparse attention needed. The index also looks two layers ahead, which matters for the next part.
The cache that lives on SSDs
Long agent sessions pile up a growing cache, and on chips with limited high-bandwidth memory that caps how many requests fit at once. MiniMax’s answer, MFlashKV, keeps each request’s full history on local or remote SSDs and holds only the working set in GPU memory. Because the index looks two layers ahead, the model knows which blocks it’ll need and starts the SSD reads early, so they arrive before attention asks for them. A block of 16 tokens at 256 bytes each in the 8-bit cache comes to exactly 4 KiB, the size of an SSD page, so reads waste nothing.

Here’s my arithmetic from the report’s own figures. At 256 bytes a token in each of 68 layers, a token costs about 17 KB of cache, so a full 1 million token history is about 17 GB before the index keys. Holding that in GPU memory for every active chat is what the SSD design avoids. The report points to a companion paper on MFlashKV for the cache policies and measurements, and doesn’t include them.
Serving on Ascend
The biggest hardware claim is on the Ascend 950DT. MiniMax says M4 reaches 1,589 tokens a second per chip at 100 tokens a second per user. That beats every GB200 baseline in its chart and sits level with what NVIDIA’s GB300 manages for smaller open models. It does that on a chip with half the memory capacity and bandwidth of a GB300 and a fraction of the peak compute.

The GB200 and GB300 numbers in that chart come from SemiAnalysis InferenceX, not from MiniMax’s own runs. The peers on those chips are also smaller: the chart labels DeepSeek V4 Pro at 1.6 trillion parameters and GLM-5.3 at 0.75 trillion, and only Kimi K3.1 at 2.8 trillion is close to M4’s size. The report credits kernel and layout changes on Ascend and on a second domestic chip, the Zhenwu M890, each worth roughly 8 to 10 percent in latency or kernel time. It also splits attention from the expert layers on devices that aren’t supernodes. The overview figure labels the training clusters heterogeneous. For the wider Huawei picture, see my piece on DeepSeek on Ascend.
How it was trained
Pre-training ran at a 24K context with sparse attention from the start. Mid-training stretched the context to 192K and then to 1 million tokens while adding agent trajectories, and a supervised stage prepared the model for reinforcement learning. Mid-training and reinforcement learning took 20 and 21 percent of the pre-training compute. The experts train in 4-bit numbers from the 1 million token stage onward, so what MiniMax trains is what it serves. The optimiser is Muon. The model was also trained on dozens of outside agent harnesses, including Claude Code, Codex, OpenCode and Pi, as well as MiniMax’s own.
After that, MiniMax trained 28 domain experts separately with reinforcement learning, then merged them into one model by having the experts teach it. The report says training stayed stable with no loss spikes, and its chart shows scores still rising at 100 times the smallest reinforcement learning budget.

The benchmarks
MiniMax’s table compares M4 with three open-weight models and four closed ones. The report says M4 has the highest open-weight score on 27 of the 30 benchmarks. The three it doesn’t lead are Terminal Bench 4.1, PMPP-Hard and GDPx, where Kimi K3.1 Pro scores higher. The report says its table mixes internal runs, third-party evaluations and published leaderboard scores.
| Benchmark | M4 | Kimi K3.1 Pro | Claude Fable 5.2 | GPT-6.2 Sol | Gemini 4 Neon |
|---|---|---|---|---|---|
| FrontierCode-AA 2.0 | 33.0 | 25.5 | 48.8 | 44.4 | 44.4 |
| Terminal Bench 4.1 | 56.6 | 68.2 | 61.6 | 60.1 | 65.2 |
| SWE-Marathon v1.2 | 44.0 | 39.2 | 73.3 | 69.2 | 58.3 |
| Code Arena (WebDev) | 1725 | 1682 | 1819 | 1752 | 1759 |
| DesignArena (HTML) | 1440 | 1402 | 1460 | 1466 | 1437 |
| OSWorld v2.1 | 80.0 | 79.6 | 89.3 | not reported | not reported |
| Vals Index v2.2 | 61.7 | 60.9 | 70.1 | 65.1 | 69.2 |
The closed models are still ahead on most rows. On FrontierCode-AA 2.0 M4 scores 33.0 against 48.8 for Claude Fable 5.2, and on SWE-Marathon it scores 44.0 against 73.3. M4 gets closest on DesignArena, where its 1440 is ahead of Gemini 4 Neon’s 1437 and 20 points behind Fable 5.2.

I tried the effort levels
The report says M4 has five effort levels, low to max, and max is the default. On three of MiniMax’s own benchmarks, moving from low to max adds 18.3, 10.6 and 7.4 points and costs 1.5, 1.9 and 5.7 times the output tokens. I tried the levels through the API’s reasoning_effort field on two counting puzzles, two runs at each level. This is the easy one:
How many integers n with 1 <= n <= 5000 have a digit sum divisible by 7? Show the final answer on the last line as 'ANSWER: <number>'.
It came back right in all ten runs, at about 2K tokens whatever the setting. This is the hard one:
Count the 8-digit strings using only digits 1 to 9, where no two adjacent digits are equal and the digits sum to exactly 40. Give the final answer on the last line as 'ANSWER: <number>'.
Here the levels did something different from the report’s curves. Thinking ran from 17K to 40K tokens at every level with no steady climb, each run took between three and seven minutes, and 4 of 10 answers were right. The correct answer is 1,128,388, which I confirmed with a short script. Low and medium each got it once, xhigh once, and max once. The wrong answers ranged from 993,780 to 1,132,588.

Twenty runs can’t overturn curves drawn from much larger benchmarks, but on these two puzzles I didn’t see the setting do anything.
What the report says M4 can’t do
The report ends with its own list of limits. It names a remaining gap to the best closed models in software work, room to improve at matching effort and token use to the task, and weaker consistency between the files M4 produces and what it claims about them. It says computer use can be slower than doing a routine task by hand. It says people and animals in generated 3D and video still look wrong, and that scientific skill is at an early stage. It also says the merged model doesn’t always match the best of the specialists it learned from.
That list lines up with my earlier test, where M4’s default effort could use up a 32K output cap on thinking alone. Until the weights ship, nobody outside MiniMax can check the Ascend or SSD claims. Those, and the MFlashKV paper, are what I’m watching for next.
What I ran for this piece
I read the full 78-page report, redid its parameter and cache arithmetic, and ran the effort test against MiniMax’s API with streaming on, five levels with two runs each on two puzzles. I didn’t run the model’s weights because they’re not out.
Sources
- MiniMax-M4 on GitHub, with the technical report PDF
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




