MiniMax’s new M4 combines long context and reduced dependence on HBM memory
With 2.74 trillion parameters, M4 expands MiniMax’s capabilities in code, creation, and long-context tasks. Its weights will be released later.
Now accessible via API and in MiniMax Code, M4 is the new multimodal model from the Chinese lab MiniMax. It has 2.74 trillion parameters, of which 66 billion are activated for each token processed, and accepts up to one million context tokens. This mixture-of-experts architecture mobilizes a fraction of the model at each step while retaining a large number of specialized parameters.
The launch precedes the release of the weights. Their publication is planned after internal and external safety evaluations, with an announced horizon of a few weeks, without a firm date. Access currently goes through the provider’s services, including its API, M Plan, and MiniMax Code. The pricing grid lists $0.80 per million input tokens, $3.10 for output, and $0.05 for reading inputs already in cache. SSD to reduce accelerator memory load
A significant part of the technical report concerns HBM memory, used by accelerators to quickly access data. In long tasks, the information retained over the course of exchanges takes up increasing space. It reduces the capacity to handle several requests simultaneously, even though the model weights already consume a large portion of this memory.
Two components work together to limit this constraint. The MSA2 attention mechanism selects the portions of the context to consult. Its counterpart, MFlashKV, stores the KV cache history on SSD, that is, intermediate representations reused during generation. Frequently requested blocks and indexes remain in HBM. Prefetching aims to retrieve the other blocks during previous computations in order to mask storage latency.
This setup concerns context memory during inference. It does not amount to running the entire model from an SSD. The report describes deployments on Huawei Ascend 950DT accelerators and T-Head’s Zhenwu M890 supernodes. On Ascend, MiniMax reports an aggregate throughput of 1,589 tokens per second per chip, while maintaining 100 tokens per second for each user. These are two distinct measurements. The published comparisons with Nvidia configurations also use other models: they do not establish a general superiority of one chip manufacturer. Twenty-eight specialists combined into a single model
For post-training, 28 specialist models were trained with reinforcement in parallel, across several clusters. Their domains cover software development, office tasks, interaction with a computer, and circuit design. Multi-teacher distillation then consolidates their skills into a single model. These training specialists should not be confused with the internal experts of the MoE architecture.
The report puts the compute devoted to this reinforcement phase at 21% of pretraining. Intermediate versions of M4 also took part in preparing the data and optimizing the research infrastructure. This contribution documents an AI use case in the development of its successors, without demonstrating a fully autonomous improvement process. Scores also depend on reasoning time
On FrontierCode-AA 2.0, the programming evaluation conducted by Artificial Analysis, the report gives a score of 33.0, higher than the open-weight models included in its comparison. The best-ranked proprietary models in the same table remain ahead. For computer use, the provider also reports a score of 80.0 on OSWorld v2.1, according to the configuration detailed in the report’s appendix.
The main results correspond to the maximum reasoning level. Five settings are offered, from the lightest to the most advanced, with token consumption increasing as the required effort rises. On Frontier Finance, moving from the minimum to the maximum level improves the score by 7.4 points, but multiplies output tokens by 5.7 in the lab’s tests.
The Artificial Analysis measurements also illustrate the difference between generation speed and response latency. In its maximum reasoning configuration, the evaluator measures around 150 output tokens per second, but 63 seconds before the first response token. High throughput therefore does not mean an immediate response, and the price per million tokens is not enough to determine the cost of a task. Safety tests on an internal version
The report also describes cryptanalysis and software repository auditing work, carried out with an internal version specialized in cybersecurity. For cryptography, the authors specify that their results concern non-standard proposals, reduced variants, or public challenges. According to their analysis, they affect neither standardized cryptography nor the cryptography used in production.
In its launch announcement, the provider states that it reduced certain cyber capabilities in the general-purpose version and plans a separate edition for security research organizations that meet its criteria. The results of the internal model therefore do not directly describe the capabilities available in the public API. 3D and video creation goes through code
The creative demonstrations use programming as an interface with production tools. The multimodal architecture is trained on text, images, and videos; the 3D and audiovisual works presented then pass through modeling, simulation, and rendering software. They do not constitute native video generation comparable to that of a model specialized in that format.
One example in the report reconstructs a Jacquard loom with 200 hooks, driven by 80 punched cards. The simulation links the holes in each card to the movement of the hooks and the resulting weaving. In another test, focused on a railway bogie, the same simulation data controls the animation of the suspensions in Blender and the curves added in the edit. These tasks assess the preservation of the same constraints across the stages of content production.