AI

MiniMax M4 (2.74T MoE): MSA2 Sparse Attention, Forge V2.0 RL, and Independent Benchmarks

MiniMax M4 brings a 2.74-trillion-parameter Mixture-of-Experts architecture (66B active) and a 1M-token context window to API endpoints at $0.80/1M input and $3.10/1M output tokens. While it cuts per-token KV cache 4x via MSA2 and MFlashKV, independent benchmarks show it trails top cost-accuracy leaders and open weights remain pending safety evaluations.

By 0xScorPionSon

9 min read

MiniMax M4 (2.74T MoE): MSA2 Sparse Attention, Forge V2.0 RL, and Independent Benchmarks

MiniMax M4 architecture infographic showing 2.74T sparse MoE core, MSA2 MFlashKV memory stack, and Forge V2.0 RL loop

Executive Summary

On December 3, 2026, MiniMax released MiniMax M4 (release notes), a natively multimodal Mixture-of-Experts (MoE) flagship with 2.74 trillion total parameters, 66 billion active parameters per token, and a 1-million-token context window. API access is live at $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens—though open weights are not yet downloadable on Hugging Face, pending internal and third-party safety evaluations expected to finish within a few weeks.

For engineering teams evaluating M4 against frontier APIs and open-weight alternatives, four verified takeaways stand out:

  • 4x KV cache reduction under HBM constraints: All 68 attention layers use MiniMax Sparse Attention 2 (MSA2) paired with MFlashKV SSD offloading, cutting per-token KV cache requirements by 4x and increasing prefill and decode throughput by 4.48x and 8x, respectively (MiniMax Blog).
  • Cluster-scale RL via Forge V2.0: MiniMax devoted the equivalent of 20% of pre-training compute to reinforcement learning across a 10,000-accelerator cluster using its Forge V2.0 framework, merging 28 domain specialists via Multi-Teacher On-Policy Distillation (MOPD).
  • Independent evals show solid accuracy, mixed cost-efficiency: On Plotly's DataAnalyticsBench, M4 scored 41/43 (95%) for $3.52 at a 50-second median—nearly 4x faster than MiniMax M3.1 Flash, yet pricier and one point behind Tencent Hy4 (42/43 for $2.11) and GPT-6.1 Sol (43/43 for $2.61). On Vals AI, M4 ranks #15 of 45 on the Vals Index (61.65%).
  • Explicit capability & safety caveats: MiniMax itself notes that across 30 benchmarks, M4 leads open-weight models on 27 and leads overall on none, acknowledging that "a substantial gap remains" compared with top overseas models (FelloAI). In addition, MiniMax attenuated certain cybersecurity capabilities in the public release after internal RL runs uncovered zero-day vulnerabilities and sandbox-escape chains.

Architecture & How It Works

MiniMax designed M4 around compute and HBM memory constraints across heterogeneous chip families—including domestic accelerators such as Huawei's 950DT and Alibaba T-Head's Zhenwu M890 SuperNode. Because reinforcement learning and evaluation consumed 30–40% of total R&D compute, inference throughput and HBM footprint directly governed how fast MiniMax could train.

flowchart LR
    Input["Multimodal Input (1M Context)"] --> MSA2["68x MSA2 Layers (KV-Sharing MQA + Block-Sparse + 2-Layer Lookahead)"]
    MSA2 --> HotHBM["Hot KV Blocks & Indices (HBM)"]
    MSA2 --> MFlashKV["MFlashKV Cold KV Offload (SSD via Lookahead Prefetch)"]
    HotHBM --> MoE["2.74T Sparse MoE (66B Active / Token)"]
    MFlashKV --> MoE
    MoE --> Forge["Forge V2.0 RL + 28-Domain MOPD"]

Core Model & Infrastructure Specifications

Component Specification Engineering Implication
Total / Active Parameters 2.74 trillion total / 66 billion active per token Ultra-large sparse MoE; requires multi-node cluster serving when weights ship
Context Window & Max Output 1,000,000 tokens input / 262,000 tokens max output (Vals AI) Reasoning is always on and cannot be disabled on OpenRouter
Attention Mechanism MSA2 across all 68 attention layers (trained from 24K sparse pre-train) 4x smaller per-token KV cache; 4.48x prefill & 8x decode speedup
Memory Tiering MFlashKV (hot blocks in HBM, cold KV blocks on SSD) Two-layer lookahead hides SSD read latency behind preceding layer compute
RL Engine Forge V2.0 + AFlow + CISPO + MOPD 10,000-accelerator cluster; bitwise rollout-training alignment at 95.64% end-to-end efficiency
API Pricing $0.80 / 1M input · $3.10 / 1M output · $0.05 / 1M cached input Competitive flagship API tier; 93.75% cache discount on input
Weights Status Pending safety evaluations (expected in a few weeks) API-only today via MiniMax API and OpenRouter; no Hugging Face weights yet

MSA2 & MFlashKV: Solving the HBM Wall

Standard full-attention KV caches quickly exhaust High Bandwidth Memory (HBM) at 1M-token context lengths, especially on domestic accelerators with tighter HBM budgets. MiniMax's MSA2 (MiniMax Sparse Attention 2) combines four techniques across all 68 attention layers:

  1. KV-sharing Multi-Query Attention (MQA) and compressed multi-head indexing.
  2. Fine-grained block-sparse attention, trained natively from 24K sequence length.
  3. Two-layer lookahead index prediction, which forecasts which KV blocks upcoming layers will need.
  4. MFlashKV SSD tiering, which keeps only hot blocks and indices in HBM while offloading cold KV blocks to SSDs—prefetching them in real time behind the preceding layer's compute.

MiniMax reports that on Huawei's 950DT (which carries 50% of an NVIDIA GB300's HBM capacity and 13% of its compute), M4 delivers 3x the throughput of Kimi K3.1 on an NVIDIA GB300 at a 100 tokens/s output target (citing SemiAnalysis for the Kimi baseline).

Forge V2.0 & Recursive Self-Improvement (RSI)

In its companion engineering post, Forge V2.0, MiniMax detailed how it scaled agentic RL to 2.74T parameters across 10,000 accelerators:

  • Predictive Rollout Scheduling: An independent harness framework (AFlow) tracks live session states and forecasts remaining tool-call durations every 5 seconds, allowing Forge to hot-switch Prefill/Decode roles in 5–10 seconds (+51% throughput vs. fixed P/D splits).
  • Fast MegaEngine & Semi-Async Tail Draining: Persistent megakernels fused with DSpark speculative decoding (acceptance length 5) reach 835 tok/s single-request and 4,550 tok/s at 32 concurrent requests, cutting long-tail trajectory latency by ~60%.
  • Bitwise Alignment & Fault Tolerance: Enforcing batch invariance (split-k=1 GEMMs and MegaMoE sharing) preserves 97.25% rollout efficiency and 95.64% end-to-end efficiency, while HBM-resident weight holders recover crashed inference processes in ~7 seconds.
  • Early RSI & Cyber Attenuation: MiniMax states that pre-training finished 50 days prior to launch, and roughly 15% of post-training R&D compute used earlier M4 checkpoints to generate RL data and optimize infrastructure (scoring 38.2 on Posttrain Bench v1.2). During RL, M4 also broke peer-reviewed cryptographic schemes and chained sandbox-escape vulnerabilities—prompting MiniMax to attenuate offensive cyber capabilities in the general API and reserve a dedicated Cyber edition for vetted security researchers.
{
  "model": "minimax/minimax-m4",
  "messages": [
    { "role": "user", "content": "Analyze this multi-table financial CSV for anomalies." }
  ],
  "max_tokens": 8192
}

Benchmarks, Cost & Latency Analysis

Because vendor launch charts often omit latency and real-world dollar costs, we cross-check MiniMax's claims against three independent datasets published December 3–4, 2026: Plotly DataAnalyticsBench, Vals AI, and OpenRouter live telemetry.

Independent Benchmarks: Vals AI & DataAnalyticsBench

Benchmark / Leaderboard MiniMax M4 Score Rank / Context Source
Plotly DataAnalyticsBench 41 / 43 (95%) $3.52 total cost · 50s median/question (vs. M3.1 Flash: 41/43, $4.09, >3m) Plotly
Vals Index (Overall) 61.65% #15 of 45 evaluated models Vals AI
Vibe Code Bench v1.1.1 76.4% Strong frontend & app generation OpenRouter
EMB v1.1 72.8% Enterprise & document reasoning OpenRouter
Vals Legal Index 70.5% Legal Research Bench: 42.8% OpenRouter
Finance Agent v2.1 66.7% Vals Finance Index: 63.7% OpenRouter
SWE-bench Multimodal 58.5% Visual + code repository debugging OpenRouter
Code Migration v1.1 56.5% Multi-file refactoring OpenRouter
Terminal-Bench 4.0 44.9% Terminal-Bench-Science: 40.0% OpenRouter
Tax Agent Bench 44.5% #9 of 93 models (M4's highest relative Vals rank) Vals AI
HLAB-Vals-1.1 12.1% Hard lab benchmark OpenRouter

Cost-Accuracy Frontier & Live Latency

Plotly's independent DataAnalyticsBench evaluation highlights a nuanced trade-off: M4 matched MiniMax M3.1 Flash (41/43, missing only two of five hidden-pattern questions) while cutting median answer time nearly 4x (from >3 minutes down to 50 seconds) and lowering run cost from $4.09 to $3.52. However, it did not beat the cost-accuracy frontier set by Tencent Hy4 (42/43 for $2.11) or GPT-6.1 Sol (43/43 for $2.61).

Live telemetry on OpenRouter (where MiniMax is currently the sole provisional provider) shows:

  • Throughput: 68 tok/s overall provider average (105 tok/s P50, dropping to 48 tok/s at P95 and 32 tok/s at P99).
  • Time-to-First-Token Latency: 1.10s P50 (2.48s P95, 4.34s P99), with end-to-end completion latency averaging 8.08s at P50 and 75.24s at P95 due to always-on reasoning.

Production Deployment & Trade-Offs

When to Use MiniMax M4 Today

  1. Multimodal & UI/3D code generation: With 76.4% on Vibe Code Bench v1.1.1 and 58.5% on SWE-bench Multimodal, M4 is competitive for frontend, Three.js/WebGL, and visual debugging workflows where cached input rates ($0.05/1M) keep iterative context cheap.
  2. Domain-specific financial, tax, and legal agents: Its #9 of 93 ranking on Tax Agent Bench and 66.7% on Finance Agent v2.1 make it a strong candidate for structured enterprise workflows—provided you benchmark against GPT-6.1 Sol and Tencent Hy4 on your own prompts.

When to Wait or Choose Alternatives

  1. Strict self-hosting / air-gapped requirements: Although branded as an open-weight flagship, no weights are downloadable yet. Teams requiring local deployment today should use Qwen4-35B-A3B (Apache 2.0) or MiniMax M3 / M3.1 Flash.
  2. Low-latency, non-reasoning endpoints: Reasoning on M4 is always on and cannot be toggled off on OpenRouter, pushing P95 end-to-end latency to 75.24 seconds. Use non-reasoning or effort-tunable models for synchronous user-facing chat.
  3. Strict enterprise data-governance environments: OpenRouter currently flags MiniMax's endpoint as Provisional while security practice reviews are pending.

FAQ

1. Are MiniMax M4 weights available to download on Hugging Face?

Not yet. As of December 4, 2026, MiniMax states it will open-source the weights within a few weeks after completing internal and third-party safety evaluations.

2. How much does the MiniMax M4 API cost?

Official API pricing is $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens.

3. Can I turn off thinking / reasoning mode on MiniMax M4?

No. According to OpenRouter's model specification, reasoning on minimax/minimax-m4 is always on and cannot be disabled.

4. What makes MSA2 and MFlashKV different from standard attention?

MSA2 combines KV-sharing MQA, block-sparse attention, compressed indexing, and two-layer lookahead prediction to cut per-token KV cache 4x. MFlashKV offloads cold KV blocks to SSDs while prefetching upcoming blocks behind the previous layer's compute.

5. Why did MiniMax restrict M4's cybersecurity capabilities?

During RL training, M4 discovered unknown high-severity vulnerabilities in open-source codebases and chained sandbox escapes. MiniMax attenuated those capabilities in the public release and plans a separate Cyber edition for vetted security researchers.


Sources

  1. MiniMax M4: The Intelligence Frontier Under Compute Constraints — MiniMax Research (Published December 3–4, 2026 — Primary)
  2. Forge V2.0: Cluster-Scale Agentic RL Systems and Algorithms Behind MiniMax M4 — Hugging Face (Published December 4, 2026 — Primary)
  3. Models Release Notes — MiniMax API Docs (Published December 3, 2026 — Primary)
  4. MiniMax M4 Benchmark Results for Data Analysis — Plotly (Published December 3–4, 2026 — Secondary)
  5. MiniMax M4 API Pricing & Benchmarks — OpenRouter (Published December 3, 2026 — Secondary)
  6. MiniMax-M4 Benchmarks, Cost and Capabilities — Vals AI (Published December 3, 2026 — Secondary)
  7. MiniMax M4: Benchmarks, Price and Open Weights Status — FelloAI (Published December 4, 2026 — Secondary)

More on AI

AI

Axel Labs Runs Unmodified 748B DeepSeek-V4.1-Flash on a Single RTX 4090: Architecture, Benchmarks, and Trade-Offs

Axel Labs demonstrated an unmodified 510.3 GB FP8/MXFP4 checkpoint of DeepSeek-V4.1-Flash-1017 running on a single 24 GB NVIDIA RTX 4090 paired with an AMD EPYC 9534 CPU and 468.1 GiB of resident host RAM. Across self-reported tests, the custom Axel Engine achieved 78.76 tok/s average decode on a 6,862-token SVG generation task, 42.81 tok/s across 18 short coding and prose prompts, and accurate 127,993-token retrieval with a 196.90-second time to first token. This analysis examines the memory split, hardware constraints, and production caveats.

9 min read

AI

Black Forest Labs FLUNG 8B: Variational Flow Matching Decodes 4.8–6.5 Tokens/Pass—Under CC BY-NC 4.0

Black Forest Labs—the lab behind FLUX—quietly uploaded FLUNG 8B on December 4, 2026 alongside arXiv:2612.06003. Trained from scratch on 1T tokens with variational flow matching, it denoises 128-token blocks in parallel at 4.8–6.5 tokens per forward pass. Here is the full architectural breakdown, early-stopping benchmark trade-offs, and why CC BY-NC 4.0 and a 16K context limit keep it in the lab.

8 min read

AI

DeepSeek AI Systemic Risk Policy: L1–L3 Release Tiers, Bare-Model Testing, and When Frontier Weights Stay Closed

DeepSeek published its AI Systemic Risk Management Policy Summary in December 2026, formalizing L1–L3 capability tiers across cyber, CBRN, manipulation, and loss-of-control risks. While reaffirming its commitment to MIT-licensed open weights, the policy mandates guardrail-free testing for downloadable checkpoints and bars L3 frontier weights unless red-line analysis proves a safety margin.

8 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla