What Is MiniMax M4? Demos, Benchmarks, Pricing, and Limits
MiniMax M4 is MiniMax's 2.74T (66B active) multimodal MoE model with 1M context, MSA2 sparse attention, $0.80/$3.10 API pricing, and 80% OSWorld.

MiniMax M4 is MiniMax's flagship natively multimodal Mixture-of-Experts (MoE) reasoning model, released on December 3, 2026 PT. MiniMax M4 contains 2.74 trillion total parameters, activates 66 billion parameters per token, processes text, images, and video inside a 1,000,000-token context window, and runs adaptive thinking on every request. BeatAPI, MiniMax's direct API, and OpenRouter all price MiniMax M4 at $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens.
MiniMax M4 excels at institutional finance, desktop GUI control, and cache-heavy agent loops, while trailing proprietary flagships on long-horizon repository engineering. BeatAPI serves MiniMax M4 as model ID minimax-m4 over OpenAI-compatible POST /v1/chat/completions, sharing one API key and balance with MiniMax M3.1 Flash ($0.06 / $0.24 per 1M tokens) and MiniMax M3 ($0.12 / $0.48 per 1M tokens).
Quick answer
- Architecture and context: MiniMax M4 uses 68 MoE layers (384 routed experts top-4 plus 1 shared expert), applies MSA2 sparse attention to every attention layer, and supports a 1,000,000-token context window with native text, image, and video input.
- Benchmark standing: On MiniMax's December 3 evaluation table, MiniMax M4 leads open-weight peers on 27 of 30 rows, scoring 64.1% on Frontier Finance, 66.7% on Finance Agent v2, and 80.0% on OSWorld v2.1, while trailing Claude Opus 5.5 and Claude Fable 5.2 on SWE-Marathon v1.2 (44.0% vs 72.5% and 73.3%).
- Independent analytics speed: On Plotly's 43-question DataAnalyticsBench, MiniMax M4 scored 41/43 (95%) in a 50-second median per question for $3.52, matching MiniMax M3.1 Flash's score at less than one-third of M3.1 Flash's 185-second latency.
- Hosting and safety limits: MiniMax M4 weights are not yet downloadable on Hugging Face, self-hosting a 2.74T MXFP4 checkpoint requires multi-node enterprise clusters, and the public MiniMax M4 release attenuates offensive cybersecurity capabilities.
Availability
MiniMax M4 runs live across hosted APIs and subscriptions, while downloadable weights and the unattenuated security checkpoint remain gated.
| Surface | Status (Dec 4, 2026) | Model ID, endpoint, and limits |
|---|---|---|
| BeatAPI | Live | Model ID minimax-m4 over POST /v1/chat/completions at $0.80 input, $0.05 cached input, and $3.10 output per 1M tokens, with Playground on MiniMax M4 API. |
| MiniMax direct API | Live | Model ID MiniMax-M4 on MiniMax API over OpenAI- and Anthropic-compatible endpoints. |
| OpenRouter | Live | Model ID minimax/minimax-m4 via MiniMax as the sole provider, with up to 524,288 output tokens listed and no EU in-region routing (OpenRouter spec). |
| M Plan and MiniMax Code | Live | Included on Go ($22/mo), Explore ($55/mo), Build ($132/mo), and Scale tiers; free check-in credits in MiniMax Code do not cover MiniMax M4. |
| Reasoning control | Always on | MiniMax M4 enforces adaptive thinking on every request with max effort as the default; reasoning tokens bill at the output rate. |
| Open weights | Pending | The 78-page technical report is live on GitHub; downloadable weights await safety evaluations. |
MSA2 and MFlashKV
MiniMax M4 pairs MiniMax Sparse Attention 2 (MSA2) with MFlashKV SSD offloading to sustain a 1M-token context window under tight High-Bandwidth Memory (HBM) budgets. Every one of MiniMax M4's 68 attention layers uses MSA2.

MSA2 combines KV-sharing Multi-Query Attention, block-sparse attention, compressed multi-head indexing, and two-layer lookahead index prediction. Compared with MiniMax's previous attention design, MSA2 cuts per-token KV cache memory by 4x, raises prefill throughput by 4.48x, and raises decode throughput by 8x (MiniMax M4 technical blog).
MFlashKV moves most runtime KV cache blocks onto SSD storage and keeps only hot blocks and indices inside chip HBM. Two-layer lookahead prediction fetches required SSD blocks while the preceding layer computes, hiding storage latency during decoding. On Huawei Ascend 950DT clusters, MiniMax M4 reaches 1,589 tokens/s per chip at 100 tokens/s per user, which is 3x the throughput of Kimi K3.1 on Nvidia GB300 using SemiAnalysis InferenceX baselines.
Post-training consumed roughly 20% of pre-training compute equivalent through MiniMax's CISPO reinforcement learning algorithm. MiniMax trained 28 domain-specialist models and merged them into the unified MiniMax M4 checkpoint, with early M4 checkpoints supplying about 15% of post-training R&D compute.
Demos and real tests
MiniMax M4's strongest demonstrations combine multi-hour tool execution with visual verification of rendered output. The three videos below come from MiniMax's December 3 launch showcase (not reproduced by BeatAPI), followed by independent analytics and security-audit results.
Rust web browser
MiniMax M4 built a graphical desktop web browser from an empty directory in 24 hours across more than 4,000 tool calls, writing 120,000 lines of pure Rust without Chromium, WebKit, Gecko, or V8. The codebase includes HTML5 parsing, CSS3 Flexbox and Grid layout, SVG and Canvas rendering, and a 32,000-line ES2022 JavaScript engine that passes 100/100 on Acid3 and runs React 18 apps.
CAD and 3D assembly
MiniMax M4 scripted a parametric CAD robot dog containing more than 3,000 parts, including 302 screws, 22 articulated joints, a battery pack, and knee linkages, then imported the assembly into Blender to animate a full exploded view.
Unreal Engine 5 combat
MiniMax M4 built a playable Unreal Engine 5 martial arts combat prototype in C++, Python, and Blender, implementing combos, dodges, parries, synchronized two-character finishers, and a boss cutscene, then wrote automated tests for hit detection and frame rate.
An independent early tester (@analogalok on X) observed similar multi-hour self-correction on early preview M78 inside MiniMax Agent. Given one prompt to build a single-HTML zoom from Earth to the Statue of Liberty, MiniMax M4 ran unattended for 2 hours 40 minutes across 295+ tool calls and 173 thinking turns, packed 70,441 NYC and New Jersey building footprints from public datasets, replaced a stalled sculpting sub-agent with a decimated 299K-triangle 3D scan, and inspected its own frames in headless Chromium to output a 4.39 MB HTML file.
Plotly DataAnalyticsBench
Plotly evaluated MiniMax M4 on December 3 on its private 43-question DataAnalyticsBench inside Plotly Studio Embedded via OpenRouter at default settings. MiniMax M4 passed 41/43 questions (95%) with zero provider errors and zero retries.
| Model | Score (43 Qs) | Hidden needles | Median time / Q | Total tokens | Full run cost |
|---|---|---|---|---|---|
| MiniMax M4 | 41 / 43 (95%) | 3 / 5 | 50s | 29.8M | $3.52 |
| MiniMax M3.1 Flash | 41 / 43 (95%) | 5 / 5 | 185s | 182.7M | $4.09 |
| Hunyuan HY4 | 42 / 43 (98%) | 4 / 5 | 117s | — | $2.11 |
| GLM 5.4 | 39 / 43 (91%) | 2 / 5 | 21s | — | $6.40 |
| GPT-6.1 Sol | 43 / 43 (100%) | 5 / 5 | 18s | — | $2.61 |
MiniMax M4 solved all 20 standard analytics questions, all 5 ambiguous prompts, all 5 impossible requests, all 3 data-quality audits, and all 5 statistics traps. Both misses occurred on hidden-pattern questions: MiniMax M4 made a median of 45 tool calls on hidden-pattern prompts (versus 13 on other questions), flagged an unexplained gap or low confidence, and stopped without checking the final dimension that isolated the cause.
Token discipline improved sharply over MiniMax M3.1 Flash. MiniMax M4 consumed 29.8M total tokens across the 43-question exam compared with 182.7M tokens for MiniMax M3.1 Flash, hit a 96% prompt-cache read rate at $0.05/1M, wrote about 700 output tokens per call at 156 tokens/s, and finished the exam in 58 minutes rather than nearly three hours.
Open-source code audits
Across 556 confirmed vulnerabilities in 10 open-source projects (including httpd, django, and rails) evaluated inside Claude Code, MiniMax M4 located and patched over 48.2% of vulnerabilities in one pass and over 70.9% across three passes (MiniMax M4 technical report).
Benchmarks
MiniMax M4 holds the highest open-weight score on 27 of 30 rows in MiniMax's launch table, while trailing top proprietary models on long-horizon coding. All MiniMax M4 scores below ran at max reasoning effort on December 3, 2026:

| Benchmark | MiniMax M4 | Kimi K3.1 Pro | Claude Opus 5.5 | Claude Fable 5.2 | GPT-6.2 Sol | Gemini 4 Neon |
|---|---|---|---|---|---|---|
| Frontier Finance | 64.1% | — | 57.2% | — | 47.0% | 66.6% |
| Finance Agent v2 | 66.7% | 61.5% | 67.9% | 69.5% | 58.9% | 68.6% |
| OSWorld v2.1 (Full) | 80.0% | 79.6% | 81.8% | 89.3%* | — | — |
| Vals Index v2.2 | 61.7% | 60.9% | 68.7% | 70.1% | 65.1% | 69.2% |
| Terminal Bench 4.1 | 56.6% | 68.2% | 59.1% | 61.6% | 60.1% | 65.2% |
| FrontierCode-AA 2.0 | 33.0% | 25.5% | 46.9% | 48.8% | 44.4% | 44.4% |
| SWE-Marathon v1.2 | 44.0% | 39.2% | 72.5% | 73.3% | 69.2% | 58.3% |
*Claude Fable 5.2's OSWorld score uses a different test set and is not directly comparable.
MiniMax M4 outperforms Claude Opus 5.5 (57.2%) and GPT-6.2 Sol (47.0%) on Frontier Finance (64.1%) and sits 1.8 points behind Claude Opus 5.5 on OSWorld v2.1 (80.0% vs 81.8%). On SWE-Marathon v1.2, MiniMax M4 trails Claude Opus 5.5 by 28.5 points (44.0% vs 72.5%) and trails Kimi K3.1 Pro on Terminal Bench 4.1 (56.6% vs 68.2%). MiniMax's launch table also compared MiniMax M4 against older GLM-5.3 rather than GLM 5.4; on Plotly's independent exam, MiniMax M4 beat GLM 5.4 on both accuracy (41/43 vs 39/43) and run cost ($3.52 vs $6.40).
Pricing and task bills
BeatAPI, MiniMax's direct API, and OpenRouter all price MiniMax M4 at a flat $0.80 input, $3.10 output, and $0.05 cached input per 1M tokens across the full 1M context window.
| Model | Direct price (in / out / cache) | BeatAPI price (in / out / cache) |
|---|---|---|
| MiniMax M4 | $0.80 / $3.10 / $0.05 | $0.80 / $3.10 / $0.05 (live) |
| MiniMax M3.1 Flash | $0.15 / $0.60 / $0.015 | $0.06 / $0.24 / $0.006 (live) |
| MiniMax M3 (≤512K) | $0.30 / $1.20 / $0.06 | $0.12 / $0.48 / $0.024 (live) |
| Kimi K3.1 Pro | $2.00 / $10.00 / $0.20 | $0.80 / $4.00 / $0.08 (live) |
| Claude Opus 5.5 | $4.00 / $20.00 / — | $1.40 / $7.00 / $0.07 (live) |
MiniMax's headline blended rate of $0.1173 per 1M tokens assumes a 95% cache hit rate and a 100:1 input-to-output ratio. The table below calculates actual per-task bills at $0.80 / $3.10 / $0.05 for uncached versus 90% cached agent sessions:
| Coding workload | Tokens (in / out) | MiniMax M4 (uncached) | MiniMax M4 (90% cached) | Kimi K3.1 Pro (direct) | Claude Opus 5.5 (direct) |
|---|---|---|---|---|---|
| 500-line PR review | 60K / 4K | $0.060 | $0.020 | $0.160 | $0.320 |
| Multi-turn bug-fix loop | 180K / 12K | $0.181 | $0.060 | $0.480 | $0.960 |
| Full-repo agent run | 900K / 45K | $0.860 | $0.252 | $2.250 | $4.500 |
Prompt caching drives the biggest savings on MiniMax M4: a 90% cache hit rate drops a 900K-input repository run from $0.86 to $0.25. On short uncached prompts where always-on max reasoning expands output length, the $3.10 output rate dominates total spend; lowering reasoning_effort on routine steps controls output bills.
Open weights and hosting
MiniMax M4 is announced as an open-weight model, but no weights are downloadable yet and self-hosting requires enterprise clusters. MiniMax plans to publish weights on Hugging Face within weeks of completing internal and third-party safety evaluations. Even after release, serving a 2.74T MXFP4 checkpoint requires multi-node GPU clusters comparable to four Nvidia GB200 nodes (Hacker News thread), keeping MiniMax M4 an API-first choice for small teams.
MiniMax also split cybersecurity capabilities into two checkpoints. During internal evaluation (section 6.6.2 of the technical report), MiniMax M4 broke peer-reviewed cryptographic schemes, uncovered unknown high-severity bugs in production open-source code, and chained vulnerabilities to escape sandboxes. MiniMax attenuated offensive capabilities in the public MiniMax M4 release and restricted the unattenuated Cyber edition to vetted security research institutions.
On OpenRouter, MiniMax serves minimax/minimax-m4 as the sole provider without EU in-region routing or confirmed Zero Data Retention (ZDR) terms. Teams with strict regional data-residency policies should verify provider routing before sending regulated payloads.
Model selection
- Choose MiniMax M4 (
minimax-m4) for institutional finance, spreadsheet audits, desktop GUI agents, and cache-heavy multimodal loops where $0.80/$3.10 pricing undercuts proprietary direct APIs by 4x to 6x. - Choose MiniMax M3.1 Flash for high-volume extraction, immediate open weights, or BeatAPI's lower $0.06/$0.24 per-token rate.
- Choose Claude Opus 5.5 or Claude Fable 5.2 for long-horizon multi-file engineering where SWE-Marathon accuracy outweighs token cost.
- Choose Hunyuan HY4 or GPT-6.1 Sol when pure data-analytics cost-accuracy frontier matters more than desktop computer use.
Benchmark MiniMax M4 on ten real tasks with identical tools, caching enabled, and a fixed output cap before migrating production pipelines. Test minimax-m4 in the Playground or inspect the full parameter matrix on MiniMax M4 API.
FAQ
When was MiniMax M4 released?
MiniMax released MiniMax M4 on December 3, 2026 PT on the MiniMax API, M Plan, MiniMax Code, and OpenRouter, and BeatAPI launched minimax-m4 on December 4, 2026. Downloadable open weights follow internal and third-party safety evaluations.
What are MiniMax M4's parameters and context window?
MiniMax M4 has 2.74 trillion total parameters, 66 billion active parameters per token across 68 MoE layers (384 routed experts top-4 plus 1 shared expert), and a 1,000,000-token context window with native text, image, and video input. OpenRouter lists up to 524,288 output tokens.
Can you disable thinking mode in MiniMax M4?
No. MiniMax M4 enforces always-on adaptive thinking with max reasoning effort as the default. Developers can lower reasoning_effort to trim latency and output token spend, and all reasoning tokens bill at the output rate.
How does MiniMax M4 pricing compare to MiniMax M3.1 Flash?
MiniMax M4 bills $0.80 input, $3.10 output, and $0.05 cached input per 1M tokens on BeatAPI and MiniMax's direct API, whereas BeatAPI bills MiniMax M3.1 Flash at $0.06 input, $0.24 output, and $0.006 cached input. In cache-heavy agent runs, MiniMax M4's lower token verbosity can still lower total task spend relative to direct M3.1 Flash, as in Plotly's $3.52 vs $4.09 benchmark run.
How do I call MiniMax M4 on BeatAPI?
Send requests with model ID minimax-m4 to BeatAPI's OpenAI-compatible endpoint (POST https://api.beatapi.io/v1/chat/completions) using your BeatAPI API key. You can also test minimax-m4 directly in the Playground on MiniMax M4 API.
See also
- MiniMax M3.1 Flash: What It's Good For Beyond the Price
- Muse Wonder vs MiniMax M3.1 Flash vs DeepSeek V4.1 Flash 1017
- What Is GPT-6.2 Astra? Release, Capabilities, and API Pricing
- What Is Claude Fable 5.2? Capabilities, Benchmarks, Pricing and Migration
- Claude Fable 5.2 vs Claude Mythos 5.2: Same Model, Different Access
- What Is Gemini 4 Carbon? Capabilities, Pricing, and How to Use It
