MiniMax released MiniMax M4on December 3, 2026. The flagship has 2.74 trillion total parameters, 66 billion active parameters per token, and a 1 million-token context window. It accepts text, images, and video through MiniMax’s Messages API and targets complex coding and tool-driven work. In MiniMax’s launch comparison, It leads most open-weight Chinese models on reported benchmarks at aggressive pricing ($0.80 input / $3.10 output per million tokens). Open weights are forthcoming. Developers can access it today via MiniMax’s API, M Plan, MiniMax Code, and unified gateways such as CometAPI.
Key Takeaways
The launch puts repository-scale coding, research and systems engineering, and computer use at the center of the release.
The 1M-token window carries over from M3.1 Flash. M4’s changes include substantially more model capacity, a new sparse attention mechanism, and a system that moves much of its decoding cache to SSDs.
The benchmarksfavor M4 on several coding tests among the open-weight contenders in MiniMax’s chart. The comparison also shows clear advantages for Kimi K3.1 Pro on Terminal Bench 4.1 and Claude Fable 5.2 on SWE-Marathon v1.2.
M3.1 Flash is the lower-cost starting point for frequent requests. At MiniMax’s posted rates, M4 costs about 5.3 times as much per uncached input token and 5.2 times as much per output token.
Pricing and access: $0.80 / $3.10 per million input/output tokens (cached input $0.05). Available immediately on MiniMax platform and already live on CometAPI (model ID minimax-m4,CometAPI has discount). Open weights promised soon.
Practical edge: Strong for long-horizon agents, software engineering, finance workflows, chip design, and creative code-to-everything pipelines. Five reasoning-effort levels (low to max) let users trade cost for quality.
What Is MiniMax M4?
MiniMax M4 is the latest flagship from Shanghai-based MiniMax, positioned as “the most intelligent model we have ever trained” and “the intelligence frontier under compute constraints.” It is a natively multimodal Mixture-of-Experts model that processes text, images, and video natively and generates text. Key specifications include:
Total parameters: 2.74 trillion
Active parameters per token: 66 billion
Context window: 1 million tokens
Architecture: MoE with 68 attention layers using the new MSA2 sparse attention mechanism
Vision component: 631-million-parameter Vision Transformer with 3D rotary position embeddings and spatiotemporal compression (4× reduction for images, 8× for video frame pairs)
Released on December 3, 2026 (roughly 45 days after MiniMax M3.1-Flash), M4 represents a major jump in scale from the prior M3 / M3.1-Flash generation (approximately 428B total / 23B active). It targets long-horizon agentic tasks, professional knowledge work, recursive self-improvement (RSI) signals, chip design, finance, computer use, and creative workflows such as 3D modeling, game development, and code-driven video production.
Always-on thinking with controllable effort: Reasoning is always enabled, with five levels (low, medium, high, xhigh, max; max is default). Users can tune the trade-off between quality and token/cost.
What’s New in MiniMax M4 and how it work
M4 represents a substantial leap from the M3 series (M3 launched June 1, 2026; M3.1-Flash on October 19, 2026). The most important advances fall into three categories: scale + efficiency, architecture for hardware diversity, and training methodology.
Scale and Multimodality
Parameter count increased roughly 6.4× in total size and nearly 3× in active parameters. A dedicated 631-million-parameter Vision Transformer encodes images and video natively from pre-training, using 3D rotary position embeddings and spatiotemporal compression (4× token reduction for images, 8× for video frame pairs). The 1M context window remains, but practical long-context performance improves dramatically thanks to the new attention system.
MSA2 and MFlashKV – The Core Innovation
All 68 attention layers use MiniMax Sparse Attention 2. Key techniques include:
KV-sharing Multi-Query Attention
Fine-grained block-sparse attention
Compressed multi-head indexing
Two-layer lookahead index prediction
Result: Per-token KV cache requirements drop 4× versus the previous version. Prefilling throughput rises 4.48× and decoding throughput 8×. MFlashKV complements this by offloading the majority of the KV cache to SSDs at runtime, keeping only hot blocks and indices in HBM. Lookahead mechanisms hide index computation and loading latency behind preceding-layer computation. This design sharply reduces HBM pressure—the primary bottleneck on many non-NVIDIA platforms—while preserving latency.
Hardware-Agnostic Efficiency
M4 is explicitly engineered to run well on domestic Chinese accelerators, including Huawei’s Ascend 950DT and T-Head’s Zhenwu M890 SuperNode. At 100 tokens per second per user, M4 on 950DT reportedly delivers 3× the throughput of Kimi K3.1 on NVIDIA’s GB300, despite the 950DT having only ~50% of the GB300’s HBM capacity and ~13% of its compute (comparison data cited via SemiAnalysis). This architecture-level efficiency is central to MiniMax’s claim of “scaling intelligence under compute constraints.”
Reinforcement Learning and Specialization
MiniMax allocated the equivalent of ~20% of pre-training compute to RL for M4 (planning to raise this to 50% in future versions). They used the CISPO algorithm for stability, trained specialist models across 28 domains with domain experts, then consolidated them via multi-teacher on-policy distillation (MOPD). Early versions of M4 itself participated in RL data construction, RFT, infrastructure optimization, and monitoring—demonstrating emerging recursive self-improvement (RSI) loops. On PostTrainBench v1.2, M4 scores 38.2.
During development the model exhibited advanced capabilities (including breaking certain cryptographic schemes and discovering novel high-severity vulnerabilities). MiniMax attenuated some cybersecurity abilities in the public general-purpose release and plans a separate Cyber edition for qualified research institutions.
Benchmark Performance of MiniMax M4
MiniMax reports that M4 achieves the best open-weight score on 27 of 30 benchmarks when compared with Kimi K3.1 Pro, DeepSeek V4.1 Flash-1017, and GLM-5.3. It remains behind the strongest proprietary models (Claude Opus 5.5 / Fable 5.2, GPT-6.x variants, Gemini 4 Neon) on the most demanding long-horizon coding tasks, while closing or surpassing gaps on many agentic, finance, and computer-use evaluations.
Benchmark
MiniMax M4
Kimi K3.1 Pro
DeepSeek V4.1 Flash 1017
Claude Fable 5.2
GPT-6.2 Sol
Gemini 4 Neon
FrontierCode-AA 2.0
33.0
25.5
28.2
48.8
44.4
44.4
Terminal Bench 4.1
56.6
68.2
32.3
61.6
60.1
65.2
SWE-Marathon v1.2
44.0
39.2
29.2
73.3
69.2
58.3
Frontier SWE-v2
38.8
34.4
33.9
69.9
—
62.4
ProgramBench
40.0
31.5
29.1
63.5
—
—
Vibe Code Bench v1.1.1
76.4
71.5
74.6
83.5
79.5
80.2
Posttrain Bench v1.2
38.2
36.5
30.5
* Claude Fable 5.2’s OSWorld figure uses the Offline Set. MiniMax ran M4 on the Full Set with Claude Code and MiniMax’s Computer-Use MCP. The two scores should be read as results on different test sets. MiniMax also notes that Gemini 4 Neon’s Terminal Bench result uses a different agent harness from other competitors. For the evaluation protocols, see the source notes and the benchmark operators.
On its comparison set of open-weight Chinese models (primarily Kimi K3.1 Pro, DeepSeek V4.1 Flash-1017, and GLM-5.3), M4 achieves the highest open-weight score on 27 of 30. The three losses were to Kimi K3.1 Pro (Terminal Bench 4.1, PMPP_Hard, GDPx).
Where M4 is most competitive
M4’s coding results are strongest relative to the open-weight comparison group on several repository and program-building tasks. It scored 8.5 points above Kimi K3.1 Pro on ProgramBench and 4.8 above it on SWE-Marathon v1.2. It also beat DeepSeek V4.1 Flash 1017 by 4.8 points on FrontierCode-AA 2.0. Claude Fable 5.2 still led by 29.3 points on SWE-Marathon v1.2, a gap worth considering when failed runs on long coding tasks create substantial review and retry costs.
Terminal Bench 4.1 shows why teams should choose a benchmark based on the work they need done. Kimi K3.1 Pro reached 68.2, or 11.6 points above M4’s 56.6, in the launch chart. When shell-based workflows make up most of your usage, run the leading candidates on the same agent scaffold, with identical time and tool budgets. Similarly, the Vals Finance Index places M4 at 63.7, close to Fable 5.2 at 63.6 and below Gemini 4 Neon at 68.3. The finance scores offer a starting point for evaluation. Spreadsheet reconciliation, data sourcing, and calculation accuracy still need checks specific to the workload.
MiniMax M4 vs MiniMax M3.1-Flash (and M3)
M3.1-Flash (October 19, 2026) was an efficiency-focused refresh of the M3 architecture (~428B total / ~23B active, 1M context). M4 is a generational scale-up.
Harder problems, complex multi-step workflows, maximum quality
For routine, well-specified tasks, M3.1-Flash (or lower effort on M4) remains highly cost-effective. For maximum intelligence on difficult agentic or domain-specific work, M4 is the clear upgrade.
Both M4 and Flash use adaptive thinking, with five effort settings from low to max. Both default to max if effort is omitted.
M4 is significantly more capable on difficult, long-horizon, and domain-specialized tasks. M3.1-Flash remains attractive for cost-sensitive or high-throughput workloads where maximum intelligence is not required. Many developers will keep both available and route by task difficulty or budget.
A larger model with the same context ceiling as Flash
Compared with the approximately 428B total and 23B active parameters documented for Flash, M4 has roughly 6.4 times as many total parameters and 2.9 times as many active parameters per token. Both models support up to 1 million tokens through the first-party API. A team upgrading from Flash should look for improvements in finding relevant details, preserving requirements across edits, and choosing effective checks. It can evaluate those behaviors with the same repository and input budget it already uses.
Do Flash’s benchmarks justify keeping it?
MiniMax reported73.7% on DeepSWE v1.1, 61.7 on OSWorld V2, and a median online output speed of 170+ tokens per second for Flash in its October announcement. Its reported 70% reduction in agentic usage costs compares Flash with its predecessor. The M4 launch chart uses Frontier SWE-v2 and OSWorld v2.1, so direct numerical deltas against those October results would mix benchmarks or versions. For an upgrade decision, compare Flash and M4 under the same settings and verify whether M4 saves enough reviewer time or reduces enough failed runs to justify the higher rate.
What can MiniMax M4 do?
A flagship built for longer engineering sessions
MiniMax’s most concrete demonstration is a graphical desktop browser built in a 24-hour engineering window. The company reports that M4 wrote about 120,000 lines of Rust over more than 4,000 tool calls, with a 32,000-line JavaScript engine and support for CSS layout, SVG, and Canvas. The browser scored 100/100 on Acid3, according to MiniMax. The demo shows the model working across rendering, language support, and debugging in one project. Acid3 covers a defined set of web standards checks. A production browser would also need separate testing for broader compatibility, security, accessibility, and ongoing maintenance.
The launch also shows why code generation and visual understanding can be useful together. MiniMax used M4 to script Blender and CAD tools, produce interactive WebGL scenes, render short films, and build a racing prototype with an 8 km course. One example used CAD and Blender to animate an assembly with more than 3,000 parts. In these workflows, the model writes code that external software executes. The resulting scene or animation can then be inspected and revised. That makes this approach relevant to teams that need reproducible outputs and editable source files.
MiniMax M4 API Pricing**
(USD, pay-as-you-go, flat across context):
Input: $0.80 per million tokens
Output: $3.10 per million tokens
Cached input: $0.05 per million tokens
This is substantially cheaper than leading proprietary frontier models (often 3–12× lower on output) while remaining competitive with other high-end open-weight offerings.
How to Access the MiniMax M4 API
Developers can start with the official Anthropic-compatible or OpenAI-compatible endpoints from MiniMax, or route through CometAPI for operational simplicity. MiniMax also offers M4 through M Plan and MiniMax Code.
Anthropic-compatible Note: MiniMax documents MiniMax-M4 as the model ID on its Anthropic-compatible Messages API. Set the Anthropic client’s base URL to https://api.minimax.io/anthropic and use an API key from the MiniMax platform. The example below uses a text prompt for the first request. Set ANTHROPIC_API_KEY to your MiniMax key in the environment before running it. You just need to change one endpoint—replace "://api.minimax.io/anthropic" with "://api.cometapi.com/v1/message" in CometAPI.
import anthropic
client = anthropic.Anthropic(base_url="https://api.minimax.io/anthropic")
response = client.messages.create(
model="MiniMax-M4",
max_tokens=4096,
output_config={"effort": "medium"},
messages=[
{
"role": "user",
"content": "Draft a test plan for a CSV import feature that accepts ""optional headers and rejects malformed rows.",
}
],
)
for block in response.content:
if block.type == "text":
print(block.text)
Check video limits before sending long recordings
MiniMax’s Messages API documents image input via URL or base64 and video input via URL, base64, or a Files API ID. The documented limits include 10 MB per URL or base64 image, 50 MB per URL or base64 video, and up to 512 MB per Files API video. Videos can be up to 30 minutes, subject to frame and pixel limits. The default sampling rate is 2 frames per second, with a supported range from 0.2 to 5. MiniMax estimates about 19 minutes for a 16:9 video at default detail and 2 fps, or about 5 minutes at high detail under the same assumptions. For a bug that appears for a single frame, send the relevant clip or timestamped stills so the model has the evidence it needs.
CometAPI recommendation
CometAPI already lists MiniMax M4 as live (model ID minimax-m4). Using a unified multi-model gateway such as CometAPI is often the practical choice for production workloads: single API key and endpoint, easy model switching or fallbacks, usage monitoring, rate-limit handling, and simplified billing across MiniMax models plus many other providers(discounts may apply relative to list rates).
Item
Official price
CometAPI price
Input
$0.80
$0.64
Output
$3.10
$2.48
Cached input (read)
$0.05
$0.04
Conclusion
MiniMax M4 is a significant step forward for open-weight (soon) frontier models under real compute and hardware constraints. By prioritizing architectural efficiency (MSA2 + MFlashKV) alongside scale and heavy RL specialization, MiniMax has produced a model that leads most of its open Chinese peers, remains highly competitive on price/performance, and runs well beyond the NVIDIA-only ecosystem. While a gap to the absolute top closed models persists on the hardest long coding tasks, M4 already delivers production-ready strength in agents, finance, computer use, and specialized domains.
For teams building agentic systems, long-context applications, or cost-sensitive frontier workloads, M4 is immediately worth evaluating — especially via convenient gateways such as CometAPI that already support it. Watch for the open-weight release and the dedicated Cyber edition in the coming weeks.