TechCompare LogoTechCompare

How much VRAM does MiniMax-M3 428B (MoE) need at Q4_K_M? MiniMax 1M block-sparse

MiniMax-M3 428B at Q4_K_M is a 405 GB resident deployment for 1M context. Active-only only gets you to 156 GB because the full-resolution key-value cache at 1M context is the binding constraint.

MiniMax-M3 428B at Q4_K_M with native 1M context needs about 405 GB of VRAM with all experts resident. MiniMax's third generation activates 23B parameters per token from a 428B total pool. The architecture uses block-sparse MSA for attention compute, but stores the key-value cache at full resolution. Active-expert offload drops the resident footprint to roughly 156 GB.

By TechCompare · Updated

Total VRAM required
405 GB
MiniMax-M3 428B (MoE) at Q4_K_M
Weights
240 GB
428B params
KV cache
129 GB
1024K tokens, FP16 KV

Calculator

Estimated VRAM required

405 GB

428B params at Q4_K_M, 1,048,576 token context, batch 1, inference.

Weights
240 GB
KV cache
129 GB
Overhead
36.9 GB

Estimate accuracy: Weights within ~2%. KV cache within ~5% for standard GQA models, ~10% for MLA or hybrid state estimates. Real VRAM may vary with framework (vLLM vs llama.cpp vs Transformers), Flash Attention, and driver overhead.

Hardware that fits

Apple entries show installed unified memory separately from a model budget based on an 8 GB reserve. That budget is a planning heuristic, not a fixed hardware limit.

No single GPU in our catalog has enough memory. Multi-GPU or CPU offload required.

How this is calculated

The 428B parameter pool requires 240 GB of weights at Q4_K_M. The 60-layer architecture consists of 3 dense layers plus 57 MoE layers, using group-query attention with 4 KV heads at head_dim 128. Block-sparse MSA is an attention compute optimization that attends to the top-16 blocks of 128 tokens, not a storage compression, so the key-value cache is stored full-resolution. At the full 1M context the FP16 key-value cache uses a significant 129 GB. Activation and software overhead adds about 37 GB. In active-only mode the resident weights shrink to 13 GB, but the 129 GB cache stays, which drops total usage to 156 GB.

Verdict

The 405 GB resident total splits as 240 GB of Q4 weights, 129 GB of FP16 KV cache at the full 1M context (4 KV heads at head_dim 128 across 57 MoE layers plus 3 dense layers), and 37 GB of overhead. Hardware-wise resident mode needs six H100 80GB cards or three H200 141GB cards with NVLink. Active-only loading shrinks the weights to about 13 GB, but the cache stays at 129 GB and drives the total to roughly 156 GB, which fits dual 80 GB cards or a 192 GB unified-memory workstation. Block-sparse MSA is the architectural note: it speeds attention compute by attending only to top-16 128-token blocks, but the cache is stored at full sequence resolution so future queries can attend anywhere, which is why capping context rather than active-offload is the actual footprint lever. At 256K the active-only total drops to about 60 GB.

More MiniMax scenarios

DeepSeek V4 Pro 1.6T (MoE) at Q4_K_M
DeepSeek V4 Pro 1.6T at Q4_K_M with the full 1M-token context needs about 1012 GB of VRAM with every expert resident - this is the real shape of the model and the number to plan a deployment against.
View details ➜
Llama 4 Scout (17B/109B) at Q4_K_M
At Q4_K_M and 10,485,760 tokens, this model estimates 2335 GB with all 109B parameters resident.
View details ➜
gpt-oss 20B (MoE) at Q4_K_M
gpt-oss 20B at Q4_K_M with native 128K context needs about 19.4 GB of VRAM with all experts resident, dropping to roughly 9.3 GB with active-only weight loading.
View details ➜

Frequently asked questions

Does block-sparse MSA reduce the key-value cache?
No. Block-sparse MSA optimizes attention compute by attending only to the top-16 blocks of 128 tokens, which speeds up the attention pass. The key-value cache is still stored at full sequence resolution so future queries can attend to any past token. The cache size is the same as standard group-query attention.
How does MiniMax-M3 compare to M2.7?
M3 has a 428B total pool with 23B active across 60 layers versus M2.7's 230B pool across 64 layers. M3 upgrades to a native 1M context window and block-sparse MSA compute. The M2.7 cache at 256K context was smaller. The M3 cache at 1M context is about 129 GB due to the longer window, not the architecture.
What is block-sparse MSA?
A sparse attention variant that computes attention only over selected blocks of the sequence instead of every token pair, shrinking the KV cache and the compute quadratically-ish rather than linearly as context grows. It trades a bit of fine-grained attention fidelity for much better long-context memory economics, which is exactly the trade you want at the context lengths agentic workloads run.