MiniMax has released MiniMax M4, a natively multimodal Mixture-of-Experts model with 2.74T total parameters, 66B active per token, and a 1M-token context. For developers, M4 is built to run well on accelerators with far less HBM than NVIDIA’s flagships. It is live on the MiniMax API at $0.80 input and $3.10 output per 1M tokens.
TL;DR
- Size: 2.74T total parameters, 66B active per token, 1M-token context.
- Runs on: Datacenter supernodes (Huawei Ascend 950DT, Zhenwu M890). FP4 routed experts. KV cache can live on SSD. No minimum VRAM published.
- Performance: Best open-weight score on 27 of 30 reported benchmarks; still behind top proprietary models on coding.
- Best: Frontier Finance 64.1, above Claude Opus 5.5 (57.2) and GPT-6.2 Sol (47.0).
- Worst: Terminal Bench 4.1 at 56.6, behind open-weight Kimi K3.1 Pro (68.2).
What is MiniMax M4?
MiniMax M4 is an open-weight MoE model from MiniMax designed to scale intelligence under compute constraints. The research team frames the problem directly. Many accelerators have limited HBM. Long agent sessions grow the KV cache per request. Larger models leave even less memory for active requests.
M4 has 68 layers with a hidden size of 7,168. The first 4 layers are dense. Each MoE layer has 384 routed experts with top-4 routing, and 1 shared expert.
How does MiniMax Sparse Attention 2 work?
M4 uses MiniMax Sparse Attention 2 (MSA2) in every attention layer. A lightweight Index Branch scores context in 16-token blocks. It selects 128 blocks, a 2,048-token budget per query. A Main Branch then runs exact softmax attention over only those tokens.
The main branch uses 128 query heads sharing a single KV head of dimension 256. MiniMax says this cuts per-token KV memory 4x versus the original MSA. The indexer runs 2 layers ahead.
That lookahead powers MFlashKV. Full session histories sit on local or remote SSDs. HBM keeps compressed indices and hot blocks. Because block selection is known 2 layers early, SSD reads overlap with computation.
Routed experts use block-scaled FP4 through quantization-aware training. Training, rollouts and deployment share one scheme.
How was MiniMax M4 trained?
Pre-training ran sparse attention from scratch at a 24K sequence length. Mid-training extended context to 192K, then 1M tokens. Post-training trained 28 domain-specialized RL experts in parallel across clusters. Multi-teacher on-policy distillation (MOPD) then merged them into one model. The report puts mid-training and RL at 20% and 21% of pre-training compute.
How does MiniMax M4 perform on benchmarks?
All scores are self-reported by MiniMax, at Max reasoning effort.
- Coding: FrontierCode-AA 2.0 33.0, SWE-Marathon v1.2 44.0, ProgramBench 40.0.
- Web and design: Code Arena (WebDev) 1725, DesignArena (HTML) 1440, near Claude Opus 5.5 (1445).
- Computer use: OSWorld v2.1 80.0, 1.8 points below Claude Opus 5.5.
- Finance: Finance Agent v2 66.7; YC-Bench net worth $2.9M, matching Claude Opus 5.5.
Claude Fable 5.2 scores 73.3 on SWE-Marathon v1.2 versus M4’s 44.0. Kimi K3.1 Pro leads M4 on Terminal Bench 4.1, 68.2 to 56.6.
M4 supports 5 effort levels: low, medium, high, xhigh and max. Moving from low to max adds 18.3 points on internal Code++ at 1.5x the output tokens.
‘+n+’
‘+(v[i]==null?’n/r’:v[i].toFixed(1))+’
‘;bw.appendChild(r);var f=r.querySelector(‘.fl’);setTimeout(function(){f.style.width=(v[i]==null?0:v[i])+’%’},40+i*70)});setTimeout(post,60)}
/* serving */
var C=[[‘HBM capacity’,’144 GB’,’288 GB’,50],[‘HBM bandwidth’,’4 TB/s’,’8 TB/s’,50],[‘FP8 peak’,’1 PF’,’5 PF’,20],[‘FP4 peak’,’2 PF’,’15 PF’,13]];
var cw=document.getElementById(‘mcmp’);
function cmp(){cw.innerHTML=”;C.forEach(function(c,i){var r=document.createElement(‘div’);r.className=”r”;r.innerHTML=’
‘+c[0]+’
‘;cw.appendChild(r);var f=r.querySelectorAll(‘.f2′);setTimeout(function(){f[0].style.width=c[3]+’%’;f[1].style.width=”100%”},60+i*120)})}
var rin=document.getElementById(‘rin’),rout=document.getElementById(‘rout’);
function calc(){document.getElementById(‘min’).textContent=rin.value;document.getElementById(‘mout’).textContent=rout.value;document.getElementById(‘mcost’).textContent=”$”+(rin.value*0.8+rout.value*3.1).toFixed(2)}
rin.oninput=calc;rout.oninput=calc;calc();
window.addEventListener(‘load’,post);window.addEventListener(‘resize’,post);setTimeout(post,300);
})();
