Skip to content
AI.info

The Pulse

MiniMax puts M4 on its API with model weights still to come

MiniMax M4 is available through the company’s API at $0.80 per million input tokens and $3.10 per million output tokens. MiniMax says it will release the model weights soon and reports higher throughput from its new architecture.

MiniMax puts M4 on its API with model weights still to come

MiniMax’s M4 model is available through its API for $0.80 per million input tokens and $3.10 per million output tokens, with the model weights still to come. The company’s December 4 post describes an architecture designed to reduce memory requirements and increase inference throughput across different chips.

The weights have yet to be released: MiniMax says in the model’s GitHub repository that it will publish them soon. M4 is a natively multimodal mixture-of-experts model with 2.74 trillion total parameters, 66 billion active parameters per token and a 1-million-token context window.

Pricing and access

Cached input tokens cost $0.05 per million through the API. M4 is also available through M Plan and MiniMax Code, the company’s coding product.

The company is offering a limited-time 2× off-peak night bonus in MiniMax Code and says there is no five-hour usage cap on the new model or new tiers. MiniMax says it offers the most competitive pricing among flagship models.

Memory and throughput

All 68 of M4’s attention layers use a sparse attention mechanism called MiniMax Sparse Attention 2, or MSA2. MiniMax says the design reduces per-token key-value cache requirements by 4× compared with the previous version, while increasing prefilling throughput by 4.48× and decoding throughput by 8×.

The companion MFlashKV system moves most of the cache to solid-state drives during decoding, retaining frequently used blocks and indices in high-bandwidth memory. A lookahead mechanism handles blocks that must be read from storage in real time.

At an output speed of 100 tokens per second, M4 on Huawei’s 950DT delivered three times the throughput of Kimi K3.1 on Nvidia’s GB300, MiniMax says, citing SemiAnalysis for the Kimi benchmark data. The comparison uses different models and chips; the company says the 950DT has 50% of the GB300’s high-bandwidth memory capacity and 13% of its compute.

Training and demonstrations

For reinforcement learning, MiniMax says it used the equivalent of 20% of the compute spent on pre-training. It trained specialist models across 28 domains and merged them into a single model. For future versions, it plans to increase reinforcement learning’s share of compute to 50%.

MiniMax says early M4 versions also participated in development work, including reinforcement-learning data construction, infrastructure optimization and training analysis. The company reports that using those versions to help iterate on M4 and future models accounted for roughly 15% of total research and development compute during M4’s post-training work.

In one company demonstration, the model was given an empty directory and a 24-hour window to build a graphical desktop browser without an existing engine. MiniMax says the model made more than 4,000 tool calls and wrote 120,000 lines of Rust. The resulting browser scored 100/100 on the Acid3 compatibility test, according to the company.

Cybersecurity edition

MiniMax says that during development it observed M4 uncover previously unknown high-severity vulnerabilities in production-grade open-source codebases and chain vulnerabilities to escape sandboxes and obtain host privileges. It also reports that the model broke multiple peer-reviewed cryptographic schemes for which attacks had not previously been published.

The company says it reduced some cybersecurity capabilities in the publicly released general-purpose version because of the potential risks. A separate Cyber edition will be offered to compliant security research institutions.

Sources

Checked against these pages · 2

This story

  1. Original source · Blog post MiniMax “MiniMax M4: The Intelligence Frontier Under Compute Constraints” minimax.io

Other pages read

  1. MiniMax “GitHub” github.com

Related stories

Explore

More articles