MiniMax unveils M4, a 2.74 trillion parameter MoE model featuring a 1-million-token context window and optimized performance on domestic Chinese accelerators.
On December 3, 2026, MiniMax announced the release of M4, a milestone in multimodal AI development. As a natively multimodal mixture-of-experts (MoE) model, M4 represents a significant leap in architectural efficiency and intelligence, designed to process text, image, and video inputs seamlessly to produce high-fidelity text outputs.
This release marks a historical shift for the industry, as MiniMax has engineered the model to excel even under hardware constraints, demonstrating that massive scale can be paired with extreme efficiency. While the model's weights are not yet available for download—the official GitHub repository (MiniMax-AI/MiniMax-M4) currently states 'We will release the weights soon'—the hosted API is live and accessible via OpenRouter as of 15:24 UTC on the release date.
The technical backbone of M4 is its sophisticated attention mechanism. All 68 attention layers utilize MiniMax Sparse Attention 2 (MSA2), which incorporates KV-sharing multi-query attention, fine-grained block-sparse attention, and compressed multi-head indexing. This architecture, combined with a two-layer lookahead index prediction, allows for a 4x reduction in per-token KV cache requirements compared to the previous version, with prefilling throughput up 4.48x and decoding throughput up 8x.
To manage the massive memory footprint of a 2.74T parameter model, MiniMax introduced MFlashKV. This companion system intelligently offloads the majority of the KV cache to SSDs during decoding, keeping only 'hot' blocks and indices in High Bandwidth Memory (HBM). A specialized lookahead mechanism further optimizes this process by hiding index computation and loading behind the computation of the preceding layer.
M4's performance is characterized by its dominance in open-weight benchmarks, though it faces stiff competition from proprietary giants. In self-reported results, M4 leads other open-weight models across six key benchmarks. Notably, it achieved a score of 33.0 on FrontierCode-AA 2.0, significantly outperforming DeepSeek V4.1 (28.2) and Kimi K3.1 (25.5). It also showed exceptional strength in agentic and web development tasks, scoring 1725 on Code Arena WebDev and 1194 on Agent Arena.
However, the model is not the absolute leader in all categories. When compared to top-tier proprietary models, M4 is behind on most benchmarks, including FrontierCode-AA 2.0, where it scores 33.0 against 44.4 for Gemini 4 Neon, 44.4 for GPT-6.2 Sol and 46.9 for Claude Opus 5.5. It is ahead of GPT-6.2 Sol on Finance Agent v2.1 (66.7 against 58.9) and of Gemini 4 Neon on Design Arena (1440 against 1437). The model was evaluated using a rigorous suite of benchmarks including Posttrain Bench v1.2, where it scored 38.2, and specialized arenas for coding, design, and finance.
The training process was equally intensive, utilizing reinforcement learning (RL) equivalent to 20% of the total pre-training compute. This involved training specialist models across 28 distinct domains which were then merged into the unified M4 architecture. MiniMax has indicated that future iterations will increase the RL compute share to 50%.
The practical capabilities of M4 are staggering. In a demonstration of its coding prowess, M4 generated a graphical desktop browser in Rust from an empty directory within 24 hours. This included 120,000 lines of code, a 32,000-line JavaScript engine, and over 4,000 tool calls, ultimately scoring 100/100 on the Acid3 test. Other demos include the creation of Unreal Engine 5 games and complex CAD models like a 3,000-part robot dog.
During its development, M4 demonstrated advanced cybersecurity capabilities, including the ability to break peer-reviewed cryptographic schemes and find high-severity vulnerabilities in production-grade code. Due to these capabilities, some of the model's offensive cyber capabilities have been attenuated in the public version, and a dedicated 'Cyber edition' will be released specifically for compliant security research institutions.
MiniMax has positioned M4 as one of the most cost-effective flagship models on the market. The pricing structure is designed to reward high-volume users and those utilizing efficient caching strategies. For developers building RAG-based applications or long-context agents, the cached input pricing offers a massive reduction in operational costs.
Additionally, MiniMax Code offers a limited-time incentive: a 2x off-peak night bonus on the new model, with no 5-hour usage cap, making it an ideal time for heavy batch processing or large-scale data synthesis.
Given its massive 1-million-token context window and multimodal inputs, M4 is uniquely suited for complex, long-form reasoning and agentic workflows. Its ability to process video and images alongside text makes it a premier choice for advanced video analysis, automated content creation, and sophisticated visual reasoning tasks.
For software engineers, M4's performance in FrontierCode-AA 2.0 and its ability to handle massive codebases make it an exceptional tool for automated refactoring, large-scale system architecture design, and complex debugging. Furthermore, its high scores in Finance and Design arenas suggest strong utility for specialized professional agents in those sectors.
Developers can access MiniMax M4 immediately through the official MiniMax hosted API. The model is also integrated into OpenRouter, allowing for easy integration into existing workflows using standard OpenAI-compatible API formats. While the weights are pending release, the API provides full access to the model's 2.74T parameter intelligence.
To begin, developers should check the MiniMax documentation for specific endpoint configurations and SDK support. For those interested in the technical specifics of the architecture, the technical report is available on the MiniMax-AI GitHub repository.
API Pricing — Input: $0.80 per million tokens / Output: $3.10 per million tokens / Context: 1,000,000 tokens