MiniMax launched M4 on December 4. It is a natively multimodal mixture-of-experts model with 2.74 trillion total parameters, 66 billion of them active per token, and a 1M-token context window. The size stands out, but much of MiniMax's announcement deals with a narrower constraint: high-bandwidth memory (HBM). Long agent sessions fill accelerator memory with KV cache, the keys and values a model keeps for every earlier token. MiniMax says HBM capacity was a primary obstacle to fully using its compute during development, especially given the relatively limited HBM supply in China.
How M4 stretches limited memory
All 68 of M4's attention layers use MiniMax Sparse Attention 2 (MSA2). A lightweight indexer scores blocks of earlier context, and the main attention step computes exact attention only over the blocks it selects. Because 128 query heads share a single key-value head, each token's cached state is four times smaller than under the original MSA, according to the technical report.
A companion system, MFlashKV, moves most of that cache off the accelerator. During decoding, complete histories sit on local or remote SSDs, while HBM holds compressed indices and the most frequently used blocks. The indexer chooses blocks for each layer two layers in advance, so SSD reads overlap with computation. MiniMax says this completely hides the loading time.
On the training side, M4 used sparse attention from the start of pre-training, at a 24K sequence length, and mid-training extended the context window to 192K and then 1M tokens. For post-training, MiniMax trained 28 domain-specialized reinforcement-learning (RL) experts in parallel and merged them into one model through multi-teacher on-policy distillation. RL used compute equal to about a fifth of the pre-training budget.
Throughput on Huawei's Ascend 950DT
MiniMax deploys M4 on Chinese accelerators, including Huawei's Ascend 950DT and T-Head's Zhenwu M890 supernode. Its headline efficiency figure comes from the 950DT: at 100 output tokens per second per user, M4 reaches 1,589 tokens per second per chip. MiniMax says that is three times the throughput of Kimi K3.1 on Nvidia's GB300, even though the 950DT has half the GB300's HBM capacity and bandwidth and 13% of its FP4 peak compute. In the report's chart, M4 on the 950DT matches smaller open-weight models running on GB300 and beats every GB200 baseline.
Treat these as vendor figures. The Nvidia numbers come from SemiAnalysis InferenceX, while the Ascend runs and the comparison are MiniMax's own. The 100 tokens-per-second figure also describes this serving test; MiniMax's API documentation does not list a guaranteed output speed.
Where M4 leads and where it doesn't
MiniMax reports that M4 posts the best score among the compared open-weight models on 27 of 30 benchmarks. M4's results use its maximum reasoning-effort setting, and the scores mix MiniMax's internal runs, third-party evaluations, and publicly reported leaderboard or vendor results. The open-weight comparison set is Kimi K3.1 Pro, DeepSeek-V4.1-Flash-1017, and GLM-5.3.
Benchmark | MiniMax M4 | Best other open-weight | Best proprietary |
|---|---|---|---|
FrontierCode-AA 2.0 | 33.0 | 28.2 | 48.8 (Claude Fable 5.2) |
SWE-Marathon v1.2 | 44.0 | 39.2 | 73.3 (Claude Fable 5.2) |
Code Arena (WebDev) | 1725 | 1682 | 1819 (Claude Fable 5.2) |
Terminal Bench 4.1 | 56.6 | 68.2 | 65.2 (Gemini 4 Neon) |
Terminal Bench Science | 42.9 | 38.1 | 74.6 (Claude Fable 5.2) |
OSWorld v2.1 | 80.0 | 79.6 | 89.3 (Claude Fable 5.2) |
Finance Agent v2 | 66.7 | 65.0 | 69.5 (Claude Fable 5.2) |
Kimi K3.1 Pro beats M4 on the other three benchmarks: Terminal Bench 4.1, PMPP-Hard, and GDPx v1.0. The Terminal Bench 4.1 gap is the widest, at 68.2 to 56.6, and Kimi's score there also tops every proprietary model in the table. Against proprietary models, some of M4's largest deficits are in software engineering and science tasks: 44.0 versus 73.3 on SWE-Marathon and 42.9 versus 74.6 on Terminal Bench Science, both against Claude Fable 5.2. Finance is closer. On Frontier Finance, M4's 64.1 beats Claude Opus 5.5 (57.2) and GPT-6.2 Sol (47.0) but trails Gemini 4 Neon (66.6). The report itself acknowledges a remaining gap to frontier proprietary models in software development.
MiniMax also points to long-running demonstrations. In one, M4 started from an empty directory and spent a 24-hour session building a desktop browser in 120,000 lines of Rust, without Chromium, WebKit, or any other existing engine. In another, it wrote the RTL and verification testbenches for a sparse-attention hardware accelerator that MiniMax then validated on two FPGA platforms. The company also says early M4 versions helped build the model, constructing RL data, optimizing infrastructure, and monitoring training. That work, together with support for future models, used roughly 15% of total R&D compute during M4's post-training. These are vendor accounts, not independent tests.
Pricing and the cost of thinking
MiniMax charges $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens, according to its pricing page. MiniMax-M3.1-Flash remains the cheaper option at $0.15 per million input tokens and $0.60 per million output tokens. Developers call M4 through the API with the model ID MiniMax-M4, and it is also included in the M Plan subscription and the MiniMax Code app.
Thinking is always on. According to the API guide, requests that try to disable it return an error, and the effort setting (reasoning_effort on the OpenAI-compatible API) defaults to max. MiniMax's own sweep shows the trade-off. Moving from low to max effort adds 18.3 points on its internal Code++ benchmark for 1.5 times the output tokens, but only 7.4 points on Frontier Finance for 5.7 times the tokens. Output tokens cost almost four times as much as input tokens, so teams watching spend should test lower effort levels rather than rely on the default.
What isn't available yet
M4 is billed as open-weight, but the weights are not out. MiniMax says it will release them once internal and third-party safety evaluations are complete, and it hopes to do so within the next few weeks. During development, the company says, M4 found previously unknown high-severity vulnerabilities in production open-source codebases and chained exploits to escape sandboxes. Citing those risks, MiniMax weakened some cybersecurity capabilities in the public version and plans a separate Cyber edition for compliant security research institutions.
Until the weights ship, outside teams can test M4 through the API but cannot reproduce the SSD-offload design or the Ascend throughput figures on their own hardware. On MiniMax's numbers, M4 leads its open-weight peers on most benchmarks and still trails the best proprietary models on hard software work. Whether its memory-first design delivers the economics MiniMax claims is something only the released weights and independent serving tests can show.
