AI ShortsOpen the app
Under the Hood ยท

How MiniMax M4 runs a huge model on domestic chips

MiniMax's new M4 model has 2.74 trillion adjustable settings, but only 66 billion are used for each word it handles. The company says new memory tricks, which move part of the model's working memory to fast disk drives, let it run on Chinese-made chips. The downloadable files aren't out yet.

What it is: MiniMax M4 is a model for text and images from the Chinese company MiniMax. According to the README on its GitHub page, it is a mixture-of-experts model with 2.74 trillion total parameters, 66 billion of them active per token, and a context window of 1 million tokens.

How it works inside: The README names two techniques: MiniMax Sparse Attention 2 (MSA2), and MFlashKV, which offloads the runtime KV cache (the model's working memory of a conversation) to SSDs. For training, it says reinforcement learning scales across several clusters, with domain-expert models trained in parallel and then merged into one model through multi-teacher on-policy distillation (MOPD).

Why it was built this way: The Decoder reports the memory design cuts the scarce chip memory the model needs, so it can run on Huawei and T-Head chips. MiniMax claims M4 on Huawei's 950DT delivers three times the speed of Kimi K3.1 on Nvidia's GB300 at 100 output tokens per second. The Decoder also reports a score of 47 on the Artificial Analysis Intelligence Index, tied with Kimi K3.1 Pro.

Limits: The weights are "coming soon" and the licence isn't stated. The README gives no training data, compute, layer or expert counts. MiniMax restricted the model's cybersecurity abilities for the public release. The speed claim is MiniMax's own, and a technical report linked from the repo wasn't read for this card.

New to this? The key idea

A mixture-of-experts model is like a hospital with many specialist doctors: each patient sees only the few specialists they need, not all of them. The model holds trillions of settings in total, but for each word it routes the work to a small group of them, which keeps it faster and cheaper to run than its size suggests.

Use it at work

Use it for: Long coding and multi-step agent jobs through MiniMax's own hosted service, which the README says it targets. The Decoder reports it answers "I don't know" more often than its predecessor M3 on a factual-recall test, so expect more refusals to guess.

Copy this: Two design ideas are reusable. Park the conversation memory on fast disk instead of scarce chip memory when you serve long contexts. And train separate specialist models in parallel, then merge them into one with distillation rather than training one model on everything.

Before you roll it out: Weights not released yet, so you can't self-host today; licence not stated. Price per token not stated. Check the technical report in the repo before relying on the speed numbers.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.