
MiniMax Unveils M4 With 2.74 Trillion Parameters and a 1 Million-Token Context Window
MiniMax has unveiled MiniMax M4, a new AI model designed for advanced coding, complex workflows, and autonomous agents. Announced on December 3, 2026, the model features a total of 2.74 trillion parameters, with 66 billion active parameters per token, and supports a context window of up to 1 million tokens.
Introducing MiniMax M4: Scaling Intelligence Under Compute Constraints
2.74T parameters. 66B active. 1M context.
Beyond a Single Chip Ecosystem. A fundamentally new architecture that reduces HBM dependence and unlocks more computing power across diverse hardware ecosystems.
– MiniMax (official) (@MiniMax_AI) December 3, 2026
To reduce memory bottlenecks and improve inference efficiency, M4 introduces new architectural optimizations that help the model run across different hardware platforms, including Huawei Ascend accelerators. MiniMax has also published API pricing for M4, while its downloadable weights remain unavailable pending safety reviews.
What Is MiniMax M4?
MiniMax M4 is a multimodal mixture-of-experts (MoE) model built for demanding professional and technical tasks. By activating just 2.4% of its total parameters (66 billion out of 2.74 trillion) per token, the architecture draws on specialized sub-networks without running the entire model for every request-lowering compute costs while preserving capacity for long reasoning chains and repeated tool use.
M4 also supports a context window of up to 1 million tokens. This gives it room to process large documents, extensive codebases, and long-running work sessions without having to split the input into numerous smaller requests.
M4 is built for multimodal and agentic workloads, with an emphasis on software engineering, computer use, financial analysis, and workflows that require AI agents to interact with external tools.
MSA2 and MFlashKV: How MiniMax Reduces Memory Requirements
One of the main technical challenges in deploying large AI models is the memory required to store and access the key-value cache, commonly known as KV Cache. This becomes particularly demanding when a model handles long context windows or multiple concurrent users.
MiniMax addresses this challenge through two technologies: MiniMax Sparse Attention 2 (MSA2) and MFlashKV.
MSA2 is a sparse attention architecture used across all 68 attention layers in M4. It combines key-value sharing through Multi-Query Attention, fine-grained block-sparse attention, compressed multi-head indexing, and a two-layer lookahead index prediction mechanism.
According to MiniMax, MSA2 reduces KV Cache requirements per token by four times compared with the previous generation. The company also reports a 4.48-fold improvement in prefill throughput and an eightfold increase in decode throughput.
MFlashKV takes a different approach to memory management. It moves most of the KV Cache to SSD storage while keeping active blocks and indexes in high-bandwidth memory (HBM). This reduces pressure on expensive accelerator memory without requiring the entire cache to remain in HBM.
MiniMax M4 on Huawei Ascend Accelerators
MiniMax has also highlighted M4’s ability to run on Chinese AI hardware, including Huawei Ascend 950DT accelerators and Alibaba T-Head Zhenwu M890 SuperNodes.
In one comparison published by the company, an M4 deployment on Huawei Ascend 950DT delivered three times the throughput of Kimi K3.1 running on Nvidia GB300 at a target output speed of 100 tokens per second per user.
MiniMax also stated that the Ascend 950DT system has half the HBM capacity and approximately 13% of the computing power of the GB300 configuration used in the comparison. The company reported throughput of 1,589 tokens per second per Ascend 950DT chip.
These figures reflect MiniMax’s internal system benchmarks rather than a standardized independent evaluation of the same model across both accelerators.
Coding, Computer Use, and Professional Applications
MiniMax trained M4 for long-running software engineering workflows, autonomous agents, computer use, financial analysis, chip design, and 3D content creation.
The company allocated 21% of its pretraining compute to reinforcement learning and trained specialized models across 28 domains before merging their capabilities into a single system.
One of MiniMax’s demonstrations involved building a graphical desktop web browser from an empty project within 24 hours. The task did not rely on existing browser engines such as Chromium, WebKit, or Gecko.
According to the company, M4 completed more than 4,000 tool calls and generated approximately 120,000 lines of Rust code. The project included an independent JavaScript engine of around 32,000 lines, alongside components for HTML, CSS, and the desktop interface. MiniMax reported that the resulting browser achieved a score of 100 out of 100 on the Acid3 test.
The company has also demonstrated workflows involving Unreal Engine 5, interactive 3D websites built with Three.js and WebGL, and 3D assets generated through Blender and CAD tools.
In finance, MiniMax reported a score of 64.1 on the Frontier Finance benchmark, compared with 66.6 for Gemini 4 Neon. It also described a financial analysis workflow involving a data room containing 116 files and approximately 7,877 pages, followed by the creation of an acquisition model with 3,846 formulas in less than two hours.
MiniMax M4 Benchmarks and Performance
MiniMax says M4 achieved the best results among open-weight models in 27 out of 30 evaluations included in its published benchmark report. However, its results vary across different task categories, and the model does not outperform every leading competitor in every test.

For example, M4 scored 44.0 on SWE-Marathon v1.2, while Claude Opus 5.5 scored 72.5 and Claude Fable 5.2 reached 73.3. On Terminal Bench 4.1, M4 recorded 56.6, compared with 68.2 for Kimi K3.1 Pro.
Its performance was stronger in some other areas. M4 achieved 80.0 on OSWorld v2.1, a benchmark focused on computer-use tasks, compared with 81.8 for Claude Opus 5.5.
Early independent evaluations reflect a similar standing. On Vals.ai’s Vals Index v2.2, M4 scored 61.66%, narrowly edging out open-weight peers Kimi K3.1 Pro (61.65%) and DeepSeek V4.1 Flash (60.88%), while trailing closed models such as Claude Fable 5.2 (70.06%) and Gemini 4 Neon (69.23%). In agentic coding on FrontierCode-AA 2.0, M4 recorded 33.0 points-ahead of Kimi K3.1 Pro (25.5) and DeepSeek V4.1 Flash (28.2), though behind Claude Opus 5.5 (46.9) and Claude Fable 5.2 (48.8).
These numbers position M4 as a high-efficiency generalist relative to its API pricing, even though it trails Claude and Kimi models on extended software engineering tasks.
MiniMax M4 API Pricing and Availability
MiniMax has introduced the following API prices for M4:
- Input tokens: $0.80 per million tokens.
- Output tokens: $3.10 per million tokens.
- Cached input: $0.05 per million tokens.
The cached-input rate is particularly relevant for applications that repeatedly use the same instructions or context, such as AI agents and multi-step workflows.
Actual API costs depend on input/output volume, cache hit rates, and reasoning depth. M4 uses adaptive thinking across five effort levels-Low, Medium, High, XHigh, and Max-with Max enabled by default. Higher reasoning levels consume extra internal thinking tokens, increasing both request costs and latency, which makes the default configuration expensive for simple prompts.
Developers can access M4 through the MiniMax API, MiniMax Code, and M Plan subscriptions. The API model identifier is MiniMax-M4, and the service supports OpenAI-compatible and Anthropic-compatible interfaces.
Can You Download and Run MiniMax M4 Locally?
Despite being described as an open-weight model, M4’s downloadable weights were not available at launch. MiniMax said it plans to release them in the coming weeks, following internal and external safety evaluations.
Storing M4’s 2.74 trillion parameters requires roughly 1.4 TB of memory even when quantized to 4-bit precision, restricting local deployment to multi-GPU enterprise servers.
MiniMax has not yet announced the final license for M4’s weights. As a result, the terms of its previous models should not be assumed to apply to this release.
The company has also discussed cybersecurity capabilities observed during development, including vulnerability discovery and attempts to exploit weaknesses in software environments. MiniMax says it reduced some of these capabilities in the public version and plans to offer a separate Cyber edition for approved security research organizations.
What Makes MiniMax M4 Important?
MiniMax M4 bets on aggressive API pricing and memory-saving architecture to challenge frontier closed models in coding, finance, and computer-use workflows. Whether it delivers on those claims in production still hinges on the public release of its weights, final licensing terms, and broader independent benchmarks across long-horizon engineering tasks.




