MiniMax M4: a 2.74T open-weight MoE model with a 1M-token context
Shanghai-based MiniMax released MiniMax M4 on December 3, 2026, a natively multimodal mixture-of-experts (MoE) model with 2.74 trillion total parameters, 66 billion active per token and a 1M-token context window. It is available now on the MiniMax API under the model ID MiniMax-M4, and MiniMax calls it open-weight, but the weights are not out yet: the GitHub repository says only “We will release the weights soon.” The pitch is frontier-level agentic coding from a model built to run well on accelerators with less memory than Nvidia’s top GPUs, including Huawei’s Ascend chips.
What’s new
- Size and context. 2.74T total parameters, 66B active per token and a 1M-token context, according to the technical report. The model has 68 layers (the first four dense) and a hidden size of 7,168. Each MoE layer has 384 routed experts, of which 4 are picked per token, plus one shared expert.
- MiniMax Sparse Attention 2 (MSA2). Every attention layer is sparse: a small index branch picks which blocks of the context to read, and the main branch attends to 2,048 retrieved tokens per query, using 128 query heads that share a single KV head. That keeps the KV cache small, which is the point of the design.
- MFlashKV. A system that offloads runtime KV caches to SSDs “without compromising latency”, so long agent sessions don’t run out of accelerator memory (HBM).
- Multimodal from the start. M4 was trained on text, images and video from the beginning of pretraining, with a vision transformer that handles images and video frames at dynamic resolutions.
- Training recipe. Pretraining ran at a 24K sequence length; mid-training then extended the context to 192K and then 1M tokens. For reinforcement learning, MiniMax trained 28 domain-specialised expert models in parallel and merged them into one model with multi-teacher on-policy distillation (MOPD). Mid-training and RL used 20% and 21% of the pretraining compute.
- Speed on Huawei hardware. On Huawei’s Ascend 950DT, MiniMax reports 1,589 tokens per second per chip at 100 tokens per second per user, which it says matches peer models on Nvidia GB300 and beats every GB200 baseline it compared. The Nvidia numbers come from SemiAnalysis InferenceX, not from MiniMax’s own runs.
Benchmarks
MiniMax’s results (Table 2 of the report) put M4 ahead of the other open-weight models it tested on most coding tasks, and behind the leading proprietary models. A selection:
| Benchmark | MiniMax-M4 | Kimi K3.1 Pro | GLM-5.3 | Claude Opus 5.5 |
|---|---|---|---|---|
| FrontierCode-AA 2.0 | 33.0 | 25.5 | 21.6 | 46.9 |
| Terminal Bench 4.1 | 56.6 | 68.2 | 40.9 | 59.1 |
| SWE-Marathon v1.2 | 44.0 | 39.2 | 32.9 | 72.5 |
| OSWorld v2.1 | 80.0 | 79.6 | — | 81.8 |
| Finance Agent v2 | 66.7 | 61.5 | 65.0 | 67.9 |
Two things stand out. M4 is not the best open model everywhere: Kimi K3.1 Pro scores higher on Terminal Bench 4.1 (68.2 against 56.6). And on long-horizon software work such as SWE-Marathon, the gap to the proprietary leaders is still large. The comparison uses GLM-5.3, not the newer GLM-5.4 that Z.ai released in November. These are MiniMax’s own numbers; independent evaluations will follow once more people have access.
What it means for developers
You can call M4 today. MiniMax’s text generation guide lists MiniMax-M4 with a 1,000,000-token context and says “M4 is available on the MiniMax API, M Plan, and MiniMax Code, with model weights to follow.” The guide does not list M4’s price, so check MiniMax’s platform before moving production traffic.
Running it yourself is a different matter. With 2.74T parameters, M4 is far beyond a single workstation even once the weights ship; it is a model for inference providers and large clusters, unlike Qwen4-35B-A3B, which Hugging Face calls “a high-quality mid-sized model for local setups” and which runs locally through llama.cpp and MLX. The repository has no license, no Hugging Face link and no vLLM or SGLang instructions yet, so plan around the API until those appear.
The architecture matters beyond MiniMax. Much of its design (single-KV-head sparse attention, KV caches spilled to SSD) is meant to cut HBM use: the report puts the Ascend 950DT at half the memory capacity and bandwidth. If those numbers hold up, a 2.7T model can be served on Ascend chips about as fast as smaller models on GB300.
How it compares
M4 follows MiniMax M3, released on June 1, 2026, and M3.1 Flash from October 19, both listed in MiniMax’s release notes. M4 keeps M3’s 1M-token context and native multimodality and scales the model up sharply. Kimi K3.1, which a figure in MiniMax’s report lists at 2.8T parameters, is the closest open model in size.