DEV Community

Cover image for 10 chips minimum: MiniMax M4's 2.74T at FP4, checked
frank chu
frank chu

Posted on

10 chips minimum: MiniMax M4's 2.74T at FP4, checked

MiniMax M4's routed experts alone need about 1.35 TB at FP4, which means a minimum of 10 Ascend 950DT chips (144 GB HBM each) just to hold them — before attention weights, embeddings, or a single token of KV cache. The "1,589 tokens/sec per chip" headline is real arithmetic, but it is per-chip throughput on a model that cannot fit on one chip, or nine.

MiniMax announced M4 on December 3: 2.74 trillion total parameters, 66B active per token, 1M-token context, weights "soon," API live now at $0.80/$3.10 per million tokens. Since there are no weights to load, I did the next best thing: reconstructed the parameter count from the published architecture and checked whether the headline numbers agree with each other.

Rebuilding 2.74T from the spec sheet

The technical report's architecture, as reported from it: 68 layers (first 4 dense, 64 MoE), hidden size 7,168, 384 routed experts per MoE layer with top-4 routing plus 1 shared expert, expert FFN size 5,120.

hidden, ffn = 7168, 5120
experts, moe_layers = 384, 64

per_expert = 3 * hidden * ffn          # gated FFN: gate, up, down
routed = per_expert * experts * moe_layers
shared = per_expert * moe_layers
active_expert = per_expert * 5 * moe_layers   # top-4 + shared

print(f"per expert:      {per_expert:,}")
print(f"routed experts:  {routed/1e12:.3f}T")
print(f"shared experts:  {shared/1e9:.2f}B")
print(f"experts total:   {(routed+shared)/1e12:.3f}T of 2.74T claimed")
print(f"active experts:  {active_expert/1e9:.2f}B of 66B claimed")
Enter fullscreen mode Exit fullscreen mode
per expert:      110,100,480
routed experts:  2.706T
shared experts:  7.05B
experts total:   2.713T of 2.74T claimed
active experts:  35.23B of 66B claimed
Enter fullscreen mode Exit fullscreen mode

That is a clean check. Experts account for 2.713T of the claimed 2.74T — 99.0% — leaving roughly 27B for attention, the 4 dense layers, embeddings, and the 631M-parameter vision encoder. And it confirms the FFN shape: if each expert were a plain 2-matrix FFN instead of gated, the total would land near 1.81T and the headline would be fiction. It is not.

The active side is more interesting. Experts contribute only 35.2B of the 66B active parameters — 53%. The other ~31B per token is attention projections, dense layers, and shared machinery that fires on every token no matter how the router votes. "66B active" sounds sparse next to 2.74T (2.41%), but more than half of what actually computes is the always-on part. MoE sparsity buys you capacity; it does not make the per-token bill small.

The 10-chip floor

MiniMax trains routed experts in block-scaled FP4, so the most generous storage math is:

routed experts at FP4:  2.706T x 0.5 bytes = 1.353 TB
Ascend 950DT HBM:       144 GB
1,353 / 144 = 9.4  ->  10 chips minimum, experts only
Enter fullscreen mode Exit fullscreen mode

Shared experts run FP8 (another ~7 GB), attention and embeddings are on top, and then KV cache. None of this contradicts MiniMax — they never claimed one chip; the 1,589 tok/s figure is explicitly per chip, at 100 tok/s per user, which works out to about 15.9 concurrent users per chip. But "per chip" throughput on a model with a 10-chip memory floor is a serving-cluster statistic, not a hardware-efficiency proof by itself. The honest unit is tokens/sec per 10+ chip replica, and that number is not in the announcement.

The KV cache math also checks

The other headline is MSA2 + MFlashKV: KV cache offloaded to SSD. All 128 query heads share a single 256-dimensional KV vector per layer, stored at 8 bits:

per token:   68 layers x 256 bytes = 17,408 bytes
1M context:  17.4 GB of main KV cache per full-length session
per layer:   16 tokens x 256 bytes = 4,096 bytes = one SSD page
Enter fullscreen mode Exit fullscreen mode

The 4 KiB alignment is exact, per layer, which is what makes SSD paging clean — no read amplification on the blocks the indexer selects. But note the unit: a 16-token block across all 68 layers is 272 KiB. The design is elegant; it is also moving real bytes. 17.4 GB per maxed-out session is why the cache cannot live in HBM next to 1.35 TB of experts, and why the two-layer-lookahead indexer is load-bearing rather than decorative. (The index cache itself is extra; I could not verify its size from the report summaries, so it is not in my numbers.)

My take

Everything I could recompute from the published spec agrees with MiniMax's headlines: 2.74T total, the expert share, the KV footprint, the SSD page alignment. That is more internal consistency than most launch posts survive.

What the arithmetic also says: this is a datacenter replica of at least 10 accelerators before redundancy, the weights and license are not public yet, and every benchmark is self-reported. "Open-weight" is currently a promise with a GitHub repo containing a PDF. When the weights land, the first thing to check is not a benchmark — it is whether any open inference engine implements MSA2, because without it, the KV-to-SSD story that justifies the whole design does not run on your hardware.

Sources: MiniMax M4 announcement, MiniMax-M4 repo, VentureBeat coverage, architecture summary.

Top comments (0)