MiniMax M4 Takes the Open-Model Crown

Jump to comments

Close-up of an AMD Fiji GPU package: a large silver graphics die in the center flanked by four smaller stacks of high-bandwidth memory on a shared interposer, inside a black tray
An AMD graphics processor with four stacks of high-bandwidth memory placed beside the main chip.
Photo: C. Spille/pcgameshardware.de, 2015, via Wikimedia Commons (CC BY-SA 4.0)

Shanghai’s MiniMax released M4 on Thursday, Dec. 3, a 2.74-trillion-parameter model that the company says can be served on Huawei accelerators with half the high-bandwidth memory of Nvidia’s flagship chip. Within the hour, independent leaderboards ranked it the strongest open model available. The catch is that nobody outside MiniMax can download it yet.

M4 uses a mixture-of-experts design: only 66 billion of its parameters are active for any given token, and it accepts up to 1 million tokens of context, enough for a large codebase or a stack of financial filings. It takes images and video as well as text. The launch post on X, published at 7:15 a.m. Pacific time, had been viewed more than 1.2 million times by Friday morning.

For now M4 is sold through MiniMax’s API at $0.80 per million input tokens and $3.10 per million output tokens, and inside the company’s own coding tools. The weights, MiniMax says, will follow once internal and third-party safety evaluations are finished, which it hopes will take "the next few weeks."

The new leader among open models

The first outside verdicts came quickly. Arena, the crowd-voted ranking site, put M4 at 1,194 points on its Agent Arena Index, making it the No. 1 open model, 27 points ahead of Hy4 at 1,167 and 48 ahead of Moonshot AI’s Kimi K3.1 Pro. That is 149 points above MiniMax’s own previous model, M3.1 Flash. On Arena’s WebDev coding board it scored 1,731, again first among open models. Vals AI placed it first among open-weight models on the Vals Index too, though by just 0.8 points over Kimi K3.1 Pro.

Against the closed frontier, the picture is more mixed, and MiniMax’s own 78-page technical report does not hide it. On FrontierCode-AA 2.0, a hard agentic coding test, M4 scores 33.0. Anthropic’s Claude Opus 5.5 scores 46.9 and Claude Fable 5.2 scores 48.8, while Google’s Gemini 4 Neon and OpenAI’s GPT-6.2 Sol both reach 44.4.

Its better results come in narrower work. On the Finance Agent benchmark M4 posts 66.7, ahead of GPT-6.2 Sol’s 58.9. On Frontier Finance it scores 64.1, above Opus 5.5 (57.2) and GPT-6.2 Sol (47.0) and behind only Gemini 4 Neon (66.6). On Razavi-Bench, an analog circuit design test, it scores 94.3, ahead of GPT-6.2 Sol’s 92.7 but behind Opus 5.5, Fable 5.2 and Gemini 4 Neon.

In the report’s closing section, MiniMax writes that "a capability gap relative to frontier proprietary models remains," particularly in software development. The launch blog is blunter, saying "a substantial gap remains compared with the very best overseas models."

Built around a memory shortage

Most of the report’s engineering is about one problem: high-bandwidth memory, or HBM, the fast memory stacked beside an AI chip. A model’s weights sit there, and so does its KV cache, the running record of every token in a conversation. In long agent sessions that cache keeps growing, and once HBM is full, a server can handle fewer users at once. MiniMax says HBM capacity was "a primary constraint" throughout development, "given the relatively limited HBM resources available domestically."

Sparse attention that reads from SSDs

The fix has two parts. The first is a new attention method, MiniMax Sparse Attention 2, used in all 68 of M4’s layers. Instead of looking back over the entire context for every new token, the model scores small blocks of earlier text and reads only the most relevant ones. At a full 1 million tokens, M4 picks 128 of 65,536 blocks per query, about 0.2% of the context, according to MiniMax. The company says the per-token cache is four times smaller than in its previous design, with prefill 4.48 times faster and decoding eight times faster.

A Samsung 990 PRO 4TB M.2 NVMe solid-state drive, a slim black circuit board with a product label, resting in a white plastic retail tray
A Samsung 990 PRO NVMe solid-state drive in its retail tray.
Photo: Dinkun Chen, 2024, via Wikimedia Commons (CC BY-SA 4.0)

The second part, called MFlashKV, moves most of that cache off the chip entirely and onto solid-state drives, keeping only "hot" blocks in HBM. The pieces were sized to fit each other: each 16-token block of the 8-bit cache fills exactly one 4 KiB SSD page, so pulling a block back takes a single read. A two-layer lookahead predicts which blocks upcoming layers will need, so the drive reads happen while the chip is still busy with the layer before. MiniMax says this hides the latency completely.

Huawei’s 950DT instead of Nvidia’s GB300

The payoff shows up on hardware that should be outgunned. According to the report, Huawei’s Ascend 950DT carries 144 GB of HBM with 4 TB/s of bandwidth, half of what Nvidia’s GB300 offers, and about 13% of the GB300’s peak FP4 compute. Running on the 950DT, M4 produced 1,589 tokens per second per chip while serving each user at 100 tokens per second. MiniMax says that matches smaller open models running on GB300s, using comparison data from SemiAnalysis, and the launch blog claims three times the throughput of Kimi K3.1 on Nvidia’s chip.

MiniMax also runs M4 on T-Head’s Zhenwu M890, and it worked with Inferact on vLLM deployments for Nvidia and AMD GPUs. The point, the company says, is to use every pool of compute it can get. The same design matters for training, because reinforcement learning means running the model over and over to generate practice attempts. MiniMax trained 28 specialist versions of M4 in parallel, each in its own domain, then merged them into one model through a process it calls multi-teacher on-policy distillation. Its mid-training and reinforcement learning stages used about 20% and 21% as much compute as pre-training, and the blog says MiniMax wants reinforcement learning to reach 50% in future versions.

As an Amazon Associate, Aglena earns from qualifying purchases.

What MiniMax chose to hold back

The most unusual passage in the launch post is about security. During development, MiniMax says, M4 broke "multiple peer-reviewed modern cryptographic schemes with no previously published attacks," found a large number of previously unknown high-severity bugs in widely used open-source code, and chained vulnerabilities together to escape its sandbox, gain host privileges and attack the company’s own infrastructure. MiniMax says those incidents led it to harden its systems.

Given the potential risks of these capabilities, we have attenuated certain cybersecurity capabilities in the publicly released general-purpose version, and will separately offer a dedicated Cyber edition to compliant security research institutions.

MiniMax, M4 launch post, Dec. 3, 2026

MiniMax did not name the cryptographic schemes or the projects where it found bugs. The report’s security results come from an internal cybersecurity checkpoint, not the public model. In one test described in the report and summarized by VentureBeat, that checkpoint was set loose inside Claude Code on 10 production open-source repositories, including Django, Ruby on Rails, Grafana, Apache httpd and 7-Zip, seeded with 556 verified vulnerabilities.

Labs have been walking this line for months, and attackers are already using AI hacking agents, as the FBI, Google and Amazon reported in November. What is new is a lab promising open weights for a model it has already had to tone down. Once the weights are public, anyone can fine-tune them, and MiniMax has not said how it will keep the toned-down version from being tuned back up.

A web browser in 120,000 lines of Rust

MiniMax’s showcase leans on long, unsupervised jobs. In one, the company gave M4 an empty directory and 24 hours and asked it to build a desktop web browser without 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 finished browser scored 100 out of 100 on the Acid3 compatibility test, MiniMax says.

Other demos drive Unreal Engine 5, Blender and CAD tools: a playable mountain drift racer on an 8 km course, a robot dog with more than 3,000 modeled parts, a reconstruction of St Paul’s Cathedral from 4,800 lines of Blender scripts, and an 86-part Hubble Space Telescope built from NASA’s public documentation. All of these are hand-picked by the company, and developers noticed. "Taking 3D and voxel demos with a grain of salt until people test it on real codebases," one Reddit commenter wrote, in a thread VentureBeat quoted.

The report itself lists weak spots. It says strong benchmark performance "does not yet translate into consistently efficient real-world computer use," that routine desktop tasks can take the model longer than a person, and that on Windows the agent can fight the user for keyboard and window focus. It also says M4 does not always match reasoning effort to the job, burning tokens on easy tasks.

Price, access and the weights question

At $0.80 and $3.10 per million tokens, plus $0.05 for cached input, M4 is cheap for a model of its size. MiniMax’s own pricing page lists the smaller M3.1 Flash at $0.15 and $0.60. VentureBeat put M4’s output price at about a third of GPT-6.2 Sol’s $10 and about a fifth of Gemini 4 Neon’s $15. The closest match is Amazon’s Ergo, an open model released on Dec. 1 at $1.00 and $3.00 on Bedrock.

Developers can already reach M4 through OpenRouter, Vercel’s AI Gateway, OpenCode and several other services, all of which had it on launch day. Investors liked what they saw: MiniMax shares closed up 19% in Hong Kong on Thursday, Quartz reported, citing Bloomberg. Traders pointed to positive reviews from early testers, according to Bloomberg.

What remains is the release that would make M4 an open model in practice rather than on paper. MiniMax’s GitHub page still reads "We will release the weights soon," with no date and no license file. Until then, the 1,194-point open-model crown belongs to a model that only MiniMax can run. Alibaba’s Qwen4-35B-A3B, released the same evening, shows the other end of the open-model market: small enough to download today and run on one graphics card.

Further reading

Samsung 990 PRO 2TB M.2 NVMe solid-state drive
Samsung 990 PRO 2TB PCIe 4.0 NVMe SSD

Samsung’s PCIe 4.0 M.2 drive, rated at up to 7,450 MB/s: the class of fast storage M4’s design uses to hold most of its working memory.

Cover of AI Engineering by Chip Huyen
AI Engineering: Building Applications with Foundation Models

Chip Huyen’s guide to building products on top of large models, including how to weigh evaluation, latency and inference cost.

Samsung T7 1TB portable SSD in titan gray
Samsung T7 Portable SSD 1TB

A pocket-size USB-C drive rated at up to 1,050 MB/s, handy for moving large model files and datasets between machines.

Cover of Chip War by Chris Miller
Chip War: The Fight for the World’s Most Critical Technology

Chris Miller’s history of the semiconductor business explains why memory and accelerator supply shape what AI labs can build.

Amazon Kindle Paperwhite e-reader in black showing a book page
Amazon Kindle Paperwhite 16GB (2024 model)

A 7-inch glare-free e-reader with weeks of battery life, good for long technical reports as well as books.

Aglena Best Of product picks

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Aglena