MiniMax releases M4, an open-weight model with 2.74 trillion parameters
The open-weight mixture-of-experts model activates 66 billion of its 2.74 trillion parameters per token and reads up to a 1-million-token context window, MiniMax says.
MiniMax has released M4, an open-weight artificial intelligence model built on a mixture-of-experts design, according to the model’s GitHub page. The company describes M4 as natively multimodal, meaning it can handle more than one type of input, such as text and images, without separate add-on systems.
The model holds 2.74 trillion parameters in total, but its mixture-of-experts architecture means only a fraction of them switch on for any given task. MiniMax says just 66 billion parameters are active per token, a design meant to hold down computing costs compared with a dense model of the same overall size. M4 also supports a context window of 1 million tokens, letting it take in very long documents or conversations in a single pass.
To handle the memory demands of that long context, MiniMax built two systems it calls MiniMax Sparse Attention 2, or MSA2, and MFlashKV. According to the company, MFlashKV allows the model’s “runtime KV caches to be offloaded directly to SSDs without compromising latency.” A KV cache stores intermediate data a model needs to track earlier parts of a conversation; shifting that data to solid-state drives frees up costlier onboard memory.
MiniMax also describes a two-stage training approach using reinforcement learning, a method that rewards a model for producing better outputs. The company says it first spread training across multiple computing clusters, working with outside specialists to build separate expert models in parallel. It then pulled those gains back into a single system through what it calls multi-teacher on-policy distillation, or MOPD.
MiniMax says the result performs competitively on long-horizon coding and agentic tasks, meaning tasks that require working through multiple steps or using tools over an extended period, though its GitHub page does not publish the underlying benchmark scores. The company also reports a hardware advantage: deployed on Huawei’s Ascend 950DT accelerator, M4 runs with higher throughput and lower latency than several smaller open-weight models running on Nvidia’s GB300 chips, according to MiniMax.
What this means
An open-weight release of this scale gives developers access to both the code and the parameters behind a trillion-parameter model, rather than only an API. The claimed efficiency on Huawei hardware, if it holds up under outside testing, could matter for teams trying to run very large models without depending on Nvidia’s top chips.
What remains unverified is the size of the performance claims. MiniMax’s own materials assert that M4 is competitive on coding and agentic benchmarks and faster than smaller open-weight rivals, but the company has not published the comparative data outside researchers would need to check those results themselves.
MiniMax lists a model inquiry email on its GitHub page for further questions, leaving independent verification of its coding, agentic, and hardware claims to testing that has not yet been published.
Sources
GitHub
How the models rank: All leaderboards