Sulat.com / Writing on AISunday, December 6, 2026
Enter →
Artificial Intelligence/6 December 2026

MiniMax’s M4 technical report

MiniMax has published the 78-page technical report for its 2.74 trillion parameter M4. I read all of it, checked its arithmetic and ran its effort levels on the API.

3D MiniMax logo above a fanned stack of report pages and glowing server chips
Illustration: Sulat, featuring the MiniMax logo

At a glance

  • MiniMax's 78-page M4 report describes a 2.74 trillion parameter mixture of experts model that uses 66 billion parameters per token and handles 1 million tokens of context.
  • A new attention design and an SSD-backed KV cache let M4 serve long sessions on Huawei's Ascend 950DT, which MiniMax says reaches 1,589 tokens a second per chip at 100 tokens a second per user.
  • MiniMax claims the top open-weight score on 27 of 30 benchmarks, but the closed models still lead most rows.
  • In my effort test on a hard counting puzzle, thinking ran 17K to 40K tokens at every setting and 4 of 10 answers were right, with no steady gain from the higher levels.

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

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.

M4 stores 2.74 trillion parameters but uses 66 billion per token
M4 stores 2.74 trillion parameters and uses 66 billion of them for each token.

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.

Chain from small shared cache to 4 KiB blocks to SSD reads started two layers early
How M4’s cache ends up on SSDs without slowing attention.

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.

Ascend 950DT with 144 GB memory reaches 1,589 tokens per second per chip, GB300 has 288 GB
The Ascend 950DT has half the memory of a GB300 and still reaches the same serving speed, by MiniMax’s account.

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.

28 domain experts trained separately then distilled into one M4 model
28 experts, one model: the specialists teach the final M4.

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.

BenchmarkM4Kimi K3.1 ProClaude Fable 5.2GPT-6.2 SolGemini 4 Neon
FrontierCode-AA 2.033.025.548.844.444.4
Terminal Bench 4.156.668.261.660.165.2
SWE-Marathon v1.244.039.273.369.258.3
Code Arena (WebDev)17251682181917521759
DesignArena (HTML)14401402146014661437
OSWorld v2.180.079.689.3not reportednot reported
Vals Index v2.261.760.970.165.169.2
Scores as MiniMax reports them in Table 2 of its technical report. The full table adds DeepSeek V4.1 Flash, GLM-5.3 and Claude Opus 5.5.

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.

M4 leads open-weight models on 27 of 30 benchmarks but closed models score higher on most
M4 leads the open-weight field on 27 of 30 benchmarks, and the closed models still lead most rows.

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:

Code
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:

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

Thinking tokens per run for each effort level on the hard puzzle, 4 of 10 correct
Thinking tokens per run at each effort level on the hard puzzle. The setting didn’t change how long M4 thought or whether it got the answer.

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

Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.