MiniMax M4 API Pricing & Real Token Cost Calculator
Official MiniMax M4 API pricing is $0.80 / MTok input, $3.10 / MTok output, and $0.05 / MTok cache read across a 1M-token context window. Compare apples-to-apples list bills across 22 first-party models, inspect our 218-run empirical coding costs, or size 2.74T VRAM clusters below.
$0.80 in / $3.10 out / $0.05 cache read.max effort = $0.0534/task (90% pass); effort="medium" = $0.0290/task (88.9% pass, vs Claude Opus 5.5 $0.0446/task).Interactive API Cost & 2.74T VRAM Calculator
50.0 MTok/mo input (50% cached) · 10.0 MTok/mo visible output · Prices verified 2026-12-05.
| Model & Provider | Ctx | In / Out / Cache ($/MTok) | Est. Monthly Bill | vs M4 | Notes |
|---|---|---|---|---|---|
| Claude Haiku 5.5 (Anthropic) | 1M | $0.10/$0.50/$0.01 | $7.75 | -85% | ≤100K tier · 50% Batch |
| GPT-6 Luna (OpenAI) | 1.05M | $0.10/$0.50/$0.01 | $7.75 | -85% | Routing · 50% Flex |
| GLM 5.3 Flash (Z.AI) | 1M | $0.15/$0.50/$0.03 | $9.50 | -82% | 1M budget tier |
| DeepSeek V4.1 Flash (DeepSeek) | 1M | $0.15/$0.60/$0.003 | $9.82 | -81% | Off-peak (2× peak) |
| MiniMax M3.1 Flash (MiniMax) | 1M | $0.15/$0.60/$0.015 | $10.13 | -81% | High-speed budget |
| MiniMax M3 (MiniMax) | 524K | $0.30/$1.20/$0.06 | $21.00 | -60% | Prior flagship |
| DeepSeek V4 Pro (DeepSeek) | 1M | $0.66/$1.98/$0.022 | $36.85 | -29% | Off-peak (2× peak) |
| MiniMax M4 (Official API) (MiniMax) Benchmarked | 1M | $0.80/$3.10/$0.05 | $52.25 | Baseline | 88.9% pass · $0.029/task |
| Gemini 3.8 Flash (Google) | 1M | $0.75/$3.75/$0.075 | $58.13 | +11% | Intro thru Dec 31 |
| GPT-6.1 Terra (OpenAI) | 1.05M | $1.00/$5.00/$0.05 | $76.25 | +46% | 50% Flex/Batch |
| Qwen4 Max (Alibaba) | 1M | $1.43/$4.28/$0.071 | $80.16 | +53% | Official 1M flagship |
| GLM 5.4 (Z.AI) Benchmarked | 1M | $1.40/$4.40/$0.26 | $85.50 | +64% | 100% pass · $0.043/task |
| Gemini 4 Hydrogen (Google) | 1M | $1.50/$7.50/$0.075 | $114.38 | +119% | 50% Flex/Batch |
| Grok 4.7 (xAI) | 500K | $2.00/$6.00/$0.50 | $122.50 | +134% | 20% Batch · ZDR avail. |
| Claude Sonnet 5.5 (Anthropic) | 1M | $2.00/$10.00/$0.10 | $152.50 | +192% | 50% Batch API |
| GPT-6.2 Sol (OpenAI) Benchmarked | 1.05M | $2.00/$10.00/$0.10 | $152.50 | +192% | 100% pass · $0.011/task |
| Kimi K3.1 Pro (Moonshot AI) | 1M | $2.00/$10.00/$0.20 | $155.00 | +197% | Official 1M flagship |
| Gemini 4 Neon (Google) | 1M | $3.00/$15.00/$0.15 | $228.75 | +338% | 50% Flex/Batch |
| Claude Opus 5.5 (Anthropic) Benchmarked | 1M | $4.00/$20.00/$0.20 | $305.00 | +484% | 90.0% pass · 18.8s |
| Gemini 4 Argon (Google) | 1M | $4.00/$20.00/$0.20 | $305.00 | +484% | 50% Flex/Batch |
| Claude Fable 5.2 (Anthropic) | 1M | $8.00/$40.00/$0.20 | $605.00 | +1058% | Top tier · 50% Batch |
| GPT-6.2 Astra (OpenAI) | 1.05M | $8.00/$40.00/$0.40 | $610.00 | +1067% | Frontier · 50% Batch |
Default table compares all 22 models strictly on 1× official list rates (apples-to-apples, zero mixed multipliers). Switch Table Mode above to compare only our 5 benchmarked reasoning configs with measured multipliers. DeepSeek shows official off-peak rates (2× peak); OpenRouter adds a 5.5% credit fee.
Verified MiniMax M4 Specs & Observed Behavior (218 Runs)
| Parameter | Observed Value | Measured Notes |
|---|---|---|
| Reasoning Mode | Always-On (effort levels) | Supports effort: "low" | "medium" | "max"; reasoning: {"enabled": false} returned HTTP 400. |
| Output Token Budget | Recommend ≥ 32,768 | Default reasoning used 7,174–15,787 tokens/task (37.5% pass at 8K cap vs 90.0% at 32K cap). |
| 1M Context Recall | 3/3 at 974,288 tok | 22.57s TTFT ($0.78/call). Dense code measured +26.8% tokens vs prose; >1M returned HTTP 502. |
| Prefix Caching | 99.9% Auto-Hit (-90.7%) | Zero-config caching on 30,709 tokens cut turn-2 cost from $0.0252 to $0.0023 and TTFT by 35%. |
| Self-Hosting Footprint | ~1.56 TB (FP4/FP8) | Native FP4/FP8 weights size to ≥12× Ascend 950DT (144 GB) or H200 (141 GB); checkpoints remain in pre-release safety review. |
| Multimodal Scope | Image/Video In → Text | 631M ViT reads text, images, and video natively with text/code output (media synthesis is handled by MiniMax H3). |
Official first-party routes (9–10 runs each). Default reasoning vs effort="medium" at max_tokens=32768.
MSA2 (1 shared KV head) + MFlashKV NVMe prefetch up to 974,288 verified tokens.
1. What Is MiniMax M4? 2.74T MoE Architecture & Context
Released December 3, 2026, MiniMax M4 is a 1M-context reasoning and coding model with 2.74T total / 66B active parameters (~2.4%). Its 68-layer backbone pairs 4 dense layers with 64 MoE layers (384 routed experts, top-4 active + 1 shared; h = 7,168, f = 5,120) and a 631M ViT encoder. MSA2 shares one KV head (d_h = 256) across 128 query heads (18.7 GB FP8 KV per 1M tokens) while MFlashKV prefetches cold KV blocks from NVMe two layers ahead.
2. MiniMax M4 Pricing: Sticker Rates vs Real API Cost
Pay-as-you-go rates are $0.80 / MTok input, $3.10 / MTok output (reasoning included), and $0.05 / MTok cached input (93.75% discount). Across our 218 official-route coding benchmarks (max_tokens=32768), default (max) effort recorded 90.0% pass (9/10, 15,787 avg thinking tokens, $0.0534/task, 209.9s), while effort: "medium" recorded 88.9% pass (8/9, 8,053 thinking tokens, $0.0290/task, 124.7s vs Claude Opus 5.5 at $0.0446/task, 18.8s).
3. MiniMax M4 API Quick-Start, Claude Code & M Plan
- Official API & Coding Tools: Connects via Anthropic-compatible (
https://api.minimax.io/anthropic) or OpenAI-compatible (https://api.minimax.io/v1) endpoints. See full Claude Code & Cursor setup guide → - M Plan (
Go $22·Explore $55·Build $132·Scale $200/mo): Fixed coding subscriptions where M4 counts only against weekly quotas (exempt from 5-hour limits). Compare M Plan vs PAYG API → - OpenRouter (
minimax/minimax-m4): Pin first-party weights with the recommended cost-saving config below:
{
"model": "minimax/minimax-m4",
"max_tokens": 32768,
"reasoning": { "effort": "medium" },
"provider": { "only": ["minimax"], "allow_fallbacks": false }
}
4. Local Deployment, Weights & 2.74T VRAM Math
As of 2026-12-05, the technical report is public while open-weight checkpoints remain in pre-release safety review. Native FP4 routed experts (~1.52 TB) plus FP8 attention/shared layers (~40–68 GB) require ~1.56 TB (~1,420 GiB) before activations—sizing to 12×–16× Ascend 950DT (144 GB) or NVIDIA H200 (141 GB) GPUs (or ≥10× B200 192 GB). Open full 2.74T VRAM & hardware guide →
5. MiniMax M4 Multi-Tier P50 / P95 Latency Benchmarks
Live streaming latency percentiles across 218 first-party API calls (official report scores were measured at max effort):
| Input Tier | M4 TTFT (P50 / P95) | M4 TTFA (P50 / P95) | M4 Total (P50 / P95) | M4 tok/s | Think Share | Opus TTFA | GLM TTFA |
|---|---|---|---|---|---|---|---|
| Short (~250 tok) | 3.05s / 4.38s | 7.83s / 10.60s | 10.71s / 13.31s | 68.3 | 81.2% | 5.93s / 8.93s | 10.49s / 11.63s |
| Medium (~8K tok) | 3.26s / 3.82s | 5.18s / 7.32s | 5.30s / 7.78s | 104.4 | 87.0% | 5.70s / 6.71s | 6.69s / 7.62s |
| Long (~32K tok) | 4.66s / 5.57s | 5.61s / 6.83s | 5.80s / 6.99s | 133.3 | 81.9% | 4.67s / 5.58s | 5.70s / 7.22s |
| XLong (~128K tok) | 6.42s / 7.44s | 7.13s / 8.12s | 7.60s / 8.20s | 103.7 | 76.6% | 5.03s / 5.35s | 11.43s / 12.50s |
| 1M probe (974,288 tok, single run) | 22.57s | 23.86s | 23.97s · 3/3 needles · $0.78 | — | 89% (100 of 112 tok) | not tested | not tested |
6. Release Status & Official Pricing Sources (December 2026)
- 2026-12-03: M4 launched on MiniMax Official Platform, M Plan, and OpenRouter alongside the 78-page technical report.
- 2026-12-04: MTok Price completed 218 first-party probes verifying 974K recall, 99.9% cache hits, and
effort="medium"cost savings (full methodology). - 2026-12-05 Primary Sources Verified: Anthropic, OpenAI, Google Gemini, DeepSeek, Z.AI, xAI, and Moonshot AI.
Deep-Dive Guides & Head-to-Head Comparisons
M Plan vs M4 API →
Quantitative break-even across Go ($22), Explore ($55), Build ($132), Scale ($200) & 5h/weekly quotas.
Developer SetupClaude Code & Cursor Setup →
Copyable settings.json, effort="medium" cost config, Cursor routing, and prefix cache checks.
Hardware Sizing2.74T VRAM Requirements →
FP4/FP8 weights, 18.7 GB MSA2 KV cache, and H200 / B200 / Mac Studio / 5090 compatibility.
Coding Deep DiveMiniMax M4 vs Claude Opus 5.5 →
Per-task coding cost, reasoning tokens, and latency ($0.0534 / $0.0290 vs $0.0446).
1M Context FlagshipsMiniMax M4 vs GLM 5.4 →
128K latency, decode speed, reasoning token usage, and coding pass rates.
Interactive FilterMiniMax M4 Alternatives →
Filter measured frontier models & compare verified 2026 API price tiers.
Frequently Asked Questions (MiniMax M4 API & Pricing)
How much does the MiniMax M4 API cost per million tokens (December 2026)?
Official MiniMax M4 pay-as-you-go API pricing is $0.80 per 1M input tokens, $3.10 per 1M output tokens (including internal reasoning tokens), and $0.05 per 1M implicit cached input tokens across a 1,000,000-token context window. Use the interactive calculator above to model your exact traffic and cache hit rate.
Is MiniMax M4 cheaper than Claude Opus 5.5, Sonnet 5.5, or DeepSeek V4 for coding?
On 1× list rates, MiniMax M4 ($0.80/$3.10) is lower than Claude Opus 5.5 ($4/$20), Claude Sonnet 5.5 ($2/$10), and GLM 5.4 ($1.40/$4.40), and slightly above DeepSeek V4 Pro off-peak ($0.66/$1.98). Because M4 uses always-on reasoning tokens, our 218-run coding suite measured $0.0534/task at default max effort vs $0.0290/task with effort='medium' (vs $0.0446/task on Claude Opus 5.5).
How much VRAM is needed to run MiniMax M4 locally?
MiniMax M4 has 2.74T total / 66B active parameters. Native QAT FP4/FP8 weights require ~1.56 TB (~1,420 GiB) before activations, plus 18.7 GB FP8 KV cache per 1M stream via MSA2—sizing to at least 12× Ascend 950DT (144 GB), 12× NVIDIA H200 (141 GB), or 10× B200 (192 GB). See our dedicated 2.74T VRAM Requirements page for full cluster math.
Is MiniMax M Plan worth it compared to pay-as-you-go API?
M Plan offers fixed monthly tiers—Go ($22/mo), Explore ($55/mo), Build ($132/mo), and Scale ($200/mo)—where MiniMax M4 usage counts toward the 7-day weekly quota (exempt from the 5-hour window). Interactive coding agents exceeding ~$22–$55/mo in API spend typically benefit from M Plan, while backend automation uses PAYG API. Model your break-even on our M Plan vs API calculator.
Why do I see ~190 cached tokens on a tiny 10-word API call?
The official API automatically prepends an internal ~180–192 token reasoning header on every completion and serves it from implicit cache ($0.05/MTok). It is not cross-user context leakage.
Does M4 support tool_choice: 'required' or forced function calling?
Yes. Despite outdated third-party catalogs listing it as false, our live official-route probe returned HTTP 200 and emitted valid tool_calls for both 'required' and named functions.
Does M4 train on paid API prompts or offer Zero Data Retention (ZDR)?
Paid official API requests accept data_collection: 'deny' (prompts are excluded from training). In our 2026-12-04 probe, passing zdr: true returned HTTP 404.
Why did an 800K-character code log trigger HTTP 502?
Dense source code and JSON measured ~2.76 characters per token on M4 (+26.8% above prose estimates). Requests exceeding the 1,000,000-token context limit returned HTTP 502 (~6.5s) in our probe.
MiniMax M4 Raw Benchmark Dataset & Repro Kit
Download all 218 first-party benchmark logs (JSONL + CSV with allow_fallbacks: false),
1M-context needle outputs, Python benchmark scripts, and our computed FinOps cost sheet.
Preview sample CSV rows.
MiniMax-M4-218-Run-Benchmark-Dataset-2026-12.zip (59.5 KB · SHA-256 514b81ca16b93204…) · 30-day re-download pass.