
AI
MiniMax Launches M4, a 2.74 Trillion-Parameter Model Tuned for Huawei Chips, and Promises Open Weights Within Weeks
The Shanghai AI company's new flagship is natively multimodal with a 1 million-token context window and API prices of $0.80 per million input tokens. MiniMax says it held back some cybersecurity skills in the public version.
Shanghai · Jordan Hale, AI · Dec 4 2026
SHANGHAI - Chinese AI company MiniMax on Friday launched MiniMax M4, a natively multimodal model with 2.74 trillion total parameters, 66 billion active parameters per token and a 1 million-token context window. The company called it “the most intelligent model we have ever trained.”
M4 is available now through MiniMax’s API, its M Plan subscription and its MiniMax Code app. API pricing is $0.80 per million input tokens, $3.10 per million output tokens and $0.05 per million cached input tokens. The weights are not out yet. “Following the completion of internal and third-party safety evaluations, we will continue to open-source the model weights. We hope to complete this within the next few weeks,” MiniMax wrote. A technical report is on GitHub.
Built around scarce memory
MiniMax said high-bandwidth memory, which it described as relatively limited in China, was a main constraint while building the model. All 68 attention layers use a new sparse attention design it calls MSA2, which it says cuts per-token KV cache needs by four times compared with the previous version. A companion system, MFlashKV, moves most of the KV cache to SSDs during decoding and keeps only the most-used blocks in HBM.
The company said M4 runs on domestic chips including Huawei’s 950DT and T-Head’s Zhenwu M890 SuperNode. At an output speed of 100 tokens per second, M4 on Huawei’s 950DT delivers three times the throughput of Moonshot’s Kimi K3.1 on NVIDIA’s GB300, MiniMax said, citing SemiAnalysis data for Kimi, even though the 950DT has half the GB300’s HBM capacity and 13% of its compute.

Image: MiniMax
A browser in 24 hours
To show off its coding, MiniMax said it gave M4 a 24-hour window and an empty directory and asked it to build a graphical desktop browser without using Chromium, WebKit, Gecko, V8 or any other existing engine. Over more than 4,000 tool calls, the model wrote 120,000 lines of Rust, including a 32,000-line JavaScript engine, and the resulting browser scored 100 out of 100 on the Acid3 test, according to the company.
MiniMax also said it spent the equivalent of 20% of pre-training compute on reinforcement learning, and that early versions of M4 helped build its own training data and infrastructure, work that took about 15% of total R&D compute.

Image: MiniMax
Security skills held back
MiniMax said that during development it saw M4 break several peer-reviewed cryptographic schemes that had no published attacks, find previously unknown high-severity bugs in production open-source code, and chain vulnerabilities to escape sandboxes and attack company infrastructure, which led it to harden its own systems. Because of those risks, it said it has “attenuated certain cybersecurity capabilities” in the public general-purpose version and will offer a separate Cyber edition to compliant security research institutions.
The launch lands the same week that Alibaba released its open Qwen4-35B-A3B model, and in a week when AI-driven cryptanalysis has been a running theme, after major AI companies and the NSA urged faster upgrades to encryption.