MiniMax M4 Review: Benchmarks, Pricing and Our Tests vs Claude Opus 5.5

MiniMax released M4 on December 3, 2026. It is a 2.74-trillion-parameter model with a 1M-token context window, and on AI/ML API it costs $0.80 per 1M input tokens and $3.10 per 1M output tokens under the ID minimax/minimax-m4. That is 6.5 times cheaper per output token than Claude Opus 5.5.
We ran M4 through 7 tasks next to Claude Opus 5.5 and its predecessor MiniMax M3: code with hidden tests, a chart and a dense table as images, JSON extraction and tool calls. M4 passed all 83 code tests and read every chart value right. The problem is the default max effort. On one cron function M4 wrote 16,466 tokens and Opus wrote 1,878, so that task cost more on M4. At low, M4 passed the same tests for a quarter of the price.
We checked all prices, benchmark numbers and model IDs on December 3, 2026.
MiniMax M4 at a glance
| MiniMax M4 | |
|---|---|
| Developer | MiniMax (Shanghai) |
| Release date | December 3, 2026 |
| Architecture | Mixture-of-Experts, 2.74T total parameters, 66B active per token |
| Context window | 1,000,000 tokens |
| Max output | 262,144 tokens |
| Input | Text, images, video |
| Output | Text |
| Reasoning | Always on. Effort levels: low, medium, high, xhigh, max (default max) |
| Tool calling | Yes |
| Weights | "Open-weight", but not published yet. The GitHub repo says "We will release the weights soon" |
| AI/ML API model ID | minimax/minimax-m4 |
| AI/ML API price | $0.80 input, $0.05 cached input, $3.10 output per 1M tokens |
The AI/ML API price is the same as MiniMax's own launch price.
What is new in M4
M4 has 2.74 trillion parameters, but each token only uses 66 billion of them. A large part of the 78-page technical report is about one problem: how to train and serve a model this big on chips with less memory than Nvidia's best.
- All 68 attention layers use MSA2, a new sparse attention design. MiniMax says it needs 4 times less KV-cache memory per token than its previous attention design, with 4.48 times faster prefill and 8 times faster decoding.
- A system called MFlashKV keeps most of the KV cache on SSDs and only the hot blocks in GPU memory. That is how a 1M-token context fits on cheaper hardware.
- M4 is built to run on Chinese chips. MiniMax says M4 on Huawei's Ascend 950DT reaches 1,589 tokens per second per chip at 100 tokens per second per user. Its own chart claims 3 times the throughput of Kimi K3.1 on Nvidia GB300. These are vendor numbers.
- MiniMax trained 28 separate expert models for coding, finance, chip design and other areas, then merged them with on-policy distillation. Reinforcement learning took about 20% of pre-training compute.
- The public model is weaker at security work on purpose. MiniMax says an internal M4 found unknown high-severity bugs in open-source code and escaped sandboxes. Those skills are "attenuated" in the public release, and a separate Cyber edition goes to approved security labs.
The launch post shows long agent runs: a desktop web browser written from scratch in 120,000 lines of Rust over 24 hours and 4,000+ tool calls, Unreal Engine 5 games, Blender models and short films rendered in code. You cannot reproduce any of them from the post, so we treat them as demos.
MiniMax M4 benchmarks
What MiniMax reports
MiniMax compared M4 with three open-weight models and four closed ones on 30 benchmarks. M4 ran at max effort. Selected rows:
| Benchmark | MiniMax M4 | Kimi K3.1 Pro | GLM-5.3 | Claude Opus 5.5 | Claude Fable 5.2 | GPT-6.2 Sol | Gemini 4 Neon |
|---|---|---|---|---|---|---|---|
| FrontierCode-AA 2.0 | 33.0 | 25.5 | 21.6 | 46.9 | 48.8 | 44.4 | 44.4 |
| Terminal Bench 4.1 | 56.6 | 68.2 | 40.9 | 59.1 | 61.6 | 60.1 | 65.2 |
| SWE-Marathon v1.2 | 44.0 | 39.2 | 32.9 | 72.5 | 73.3 | 69.2 | 58.3 |
| ProgramBench | 40.0 | 31.5 | 19.0 | 65.0 | 63.5 | n/a | n/a |
| DesignArena (HTML) | 1440 | 1402 | 1335 | 1445 | 1460 | 1466 | 1437 |
| OSWorld v2.1 | 80.0 | 79.6 | n/a | 81.8 | 89.3 | n/a | n/a |
| Frontier Finance | 64.1 | 56.8 | n/a | 57.2 | n/a | 47.0 | 66.6 |
| Tax Agent Bench | 44.5 | 24.9 | 43.3 | 44.5 | 32.1 | 24.8 | 54.9 |
| GDPx v1.0 | 5.3 | 6.3 | 2.8 | 11.9 | 16.4 | 11.5 | 10.1 |
Source: MiniMax M4 technical report, Table 2. n/a means the report gives no score.

M4 has the best open-weight score on 27 of the 30 rows. It loses three to Kimi K3.1 Pro: Terminal Bench 4.1, PMPP-Hard and GDPx.
Against Claude, the gap on long software work is big. On SWE-Marathon, M4 scores 44.0 and Opus 5.5 scores 72.5. On FrontierCode-AA, Opus leads by 13.9 points. Finance goes the other way: M4 beats Opus 5.5 by 6.9 points on Frontier Finance and ties it on Tax Agent Bench.
Some rows do not compare like with like. The report's Appendix B lists different harnesses for some models, Fable's OSWorld score uses a different task set, and Code++ is MiniMax's internal test.
What independent leaderboards show
Two public leaderboards had M4 on launch day:
| Leaderboard | M4 result | For context |
|---|---|---|
| Vals Index v2.2 | 61.65%, #15 of 45 | Claude Fable 5.2: 70.06%. Kimi K3.1 Pro: 60.88%. M4 cost $2.35 per test |
| Arena Agent Index | 1,194, top open model | #5 in the ranking by lab. Fable 5.2 leads with 1,435. Median cost per task: $0.48 |
The Vals number matches MiniMax's own claim (61.7). Arena's sub-scores are uneven: M4 was 11th of 77 models on task completion, but 52nd on Bash reliability, meaning its terminal commands failed more often than its overall rank suggests.
Artificial Analysis had not scored M4 when we checked.
MiniMax M4 price compared with other models
Prices on AI/ML API per 1M tokens, checked December 3, 2026:
| Model | Input | Output | Output vs M4 |
|---|---|---|---|
| DeepSeek V4.1 Flash | $0.0675 | $0.27 | 0.09x |
| MiniMax M3 | $0.30 | $1.20 | 0.39x |
| MiniMax M4 | $0.80 | $3.10 | 1x |
| Qwen4-Max | $1.20 | $3.60 | 1.2x |
| GPT-6.2 Sol | $2.00 | $10.00 | 3.2x |
| Gemini 4 Neon | $3.00 | $15.00 | 4.8x |
| Claude Opus 5.5 | $4.00 | $20.00 | 6.5x |
| Claude Fable 5.2 | $8.00 | $40.00 | 12.9x |
M4 output costs 2.6 times more than M3. The real bill depends on how many tokens the model writes, and our tests show M4 writes a lot at its default setting.
Our tests
How we tested
We tested MiniMax M4 (minimax/minimax-m4), MiniMax M3 (minimax/minimax-m3) and Claude Opus 5.5 (anthropic/claude-opus-5-5), all through AI/ML API, on December 3, 2026. Each model ran at its default effort, which for M4 is max. On the code tasks we also ran M4 at low.
Every model got the same prompt, one request per task, with no retries. A script checked the answers: code ran against hidden tests we wrote, JSON was compared field by field with a known answer, and the chart and table questions had answers we computed in advance. All 26 paid calls cost $0.27.
Results
| Task | MiniMax M4 (max) | MiniMax M3 | Claude Opus 5.5 |
|---|---|---|---|
| Split a bill in cents (42 hidden tests) | 42/42 | 42/42 | 42/42 |
| Sort semantic versions (20 hidden tests) | 20/20 | 20/20 | 20/20 |
| Next cron run time (21 hidden tests) | 21/21 | 21/21 | 21/21 |
| Read a bar chart with no value labels | 12/12 values, 3/3 answers | 12/12, 3/3 | 12/12, 3/3 |
| Read a dense benchmark table from an image | 14/15 (one typo) | 15/15 + 1 wrong item | 15/15 |
| Messy email to JSON | All fields right | Right values, broken JSON | All fields right |
| Refund policy with tools (2 turns) | Correct | Correct | Correct (turn 1 only) |
| Cost of the 7 tasks all three did | $0.076 | $0.038 | $0.132 |
On tasks with a clear right answer, M4 did as well as Opus 5.5. Where it lost was token count at max, not accuracy.
Test 1: code with hidden tests
We asked for three Python functions where the spec has traps: a bill splitter that must hand out leftover cents by largest remainder and break ties by index, a Semantic Versioning 2.0.0 sorter (pre-release rules, build metadata, leading zeros), and a cron parser with the classic "day-of-month OR day-of-week" rule.
The cron prompt, as sent:
Write this Python function.
next_run(expr: str, after: str) -> str
expr is a standard 5-field cron expression: minute hour day-of-month month day-of-week.
Each field supports "*", single numbers, comma lists, ranges "a-b" and steps "*/n" or "a-b/n".
day-of-week is 0-6 with 0 = Sunday (7 also means Sunday). Use the classic cron rule:
if both day-of-month and day-of-week are restricted (neither is "*"), a day matches when
EITHER field matches; otherwise both must match. after is an ISO string "YYYY-MM-DDTHH:MM".
Return the first matching minute strictly after `after`, in the same format.
No time zones, no seconds. Raise ValueError for invalid expressions or values out of range.
Return only Python 3 code in a single ```python block, no explanations. Standard library only.Every model passed every test, including leap-day crons like 30 2 29 2 * and 0 0 13 * 5 (the 13th or any Friday). The difference was in the bill:
| Code task | M4 max tokens | M4 low tokens | Opus 5.5 tokens | M4 max cost | M4 low cost | Opus cost |
|---|---|---|---|---|---|---|
| Bill splitter | 986 | 315 | 449 | $0.0033 | $0.0011 | $0.0099 |
| SemVer sort | 2,436 | 1,123 | 1,011 | $0.0077 | $0.0036 | $0.0214 |
| Cron parser | 16,466 | 4,204 | 1,878 | $0.0512 | $0.0132 | $0.0388 |
| Total | 19,888 | 5,642 | 3,338 | $0.062 | $0.018 | $0.070 |
At max, M4 wrote 16,466 tokens for the cron function, 15,300 of them hidden reasoning. Opus wrote 1,878. Same tests passed. On these three tasks, M4 at max cost almost as much as Opus 5.5 despite the 6.5x lower token price. At low, M4 passed the same 83 tests for a quarter of the price.
MiniMax's report says the same thing in its own way: going from low to max added 18.3 points on its internal coding test for 1.5x the tokens, but on Frontier Finance it added 7.4 points for 5.7x the tokens.
Test 2: reading images
M4 accepts images and video. We gave all three models two images by URL.
A bar chart with no numbers on the bars. Three products over four quarters, values readable only from the gridlines. We asked for all 12 values, the Q4 total, the first quarter where one product overtakes another, and the largest quarter-over-quarter growth in percent.

All three models got all 12 values and all three answers right, including Orbit's 61.1% growth in Q2.
The benchmark table from M4's own report. We gave the models page 55 of the technical report as a PNG and asked four questions that need the whole table: where Kimi beats M4, where M4 is at or above Opus 5.5, where Fable has no score, and the SWE-Marathon gap to Fable.
Opus 5.5 got 15 of 15. M4 got every comparison right but wrote "SWE-SWEP" instead of "SWE-SWEEP", so a script that matches names exactly would miss that row. M3 got all 15 and added one wrong item: it said Fable has no FrontierRSI score, but Fable has 28.1.
Test 3: messy email to JSON
We gave the models a customer email with an order change: keep 2 of 3 shoes, swap a size, add socks, ignore a headlamp, a new address with an old one to avoid, and a discount code.
We asked for JSON with the field list written into the prompt. M4 returned valid JSON with every field right: final quantity 2, one cancelled unit, the headlamp in not_ordered, Apt 3B on its own line.
M3 had the right values too, but its reply began with a <think>...</think> block before the JSON, so json.loads() failed. M3 leaked its reasoning like this in most of our tests. M4 never did.
Test 4: tool calls and a refund rule
We gave the models four tools (get_order, issue_refund, create_ticket, update_address) and one rule: read the order before any refund, and send refunds above €100 to a manager ticket instead.
- Turn 1: all three called
get_orderfirst. Opus also updated the address in the same turn. - Turn 2: we returned an order where one pair costs €129. M4 called
create_ticketwith a clear summary ("129.00 EUR, which exceeds the 100 EUR limit") andupdate_addressin parallel. It never calledissue_refund. M3 did the same.
How to call MiniMax M4 through AI/ML API
M4 works with the OpenAI SDK. Set reasoning_effort and a token limit:
from openai import OpenAI
client = OpenAI(
base_url="https://api.aimlapi.com/v1",
api_key="<YOUR_AIMLAPI_KEY>",
)
response = client.chat.completions.create(
model="minimax/minimax-m4",
reasoning_effort="low", # low | medium | high | xhigh | max (default)
max_completion_tokens=32000, # reasoning tokens count toward this limit
messages=[
{"role": "user", "content": "Write a Python function that ..."}
],
)
print(response.choices[0].message.content)
print(response.usage) # check completion_tokens_details.reasoning_tokensYou can also call it with the Anthropic Messages format or the OpenAI Responses API. The full parameter list is in the M4 API docs.
Prompting tips for M4
Based on our runs:
- Start at
lowormedium. For well-specified code,lowpassed every test we had. Move up only when a task fails. - Set
max_completion_tokenson purpose. Reasoning tokens count toward it, so it is your spending cap per call. - Always check
finish_reason. If it sayslength, the model ran out of tokens and the answer is cut off. - Write the JSON fields into the prompt and validate the result in code. M4 got every field right this way.
- Ask for exact names when you need them. M4's one vision mistake was a typo in a copied label, not a wrong reading.
- Split big generation jobs. Ask for a plan first, then one file or one part at a time, rather than one huge single-file answer.
Pros and cons
Pros
- Passed all 83 hidden code tests, at
maxand atlow - Read a chart without labels and a 30-row table almost perfectly
- No reasoning text leaked into answers (M3 did this in most tests)
- Followed a tool-use business rule correctly
- 1M context and image/video input
- Strong finance and agent scores, top open model on the Arena Agent Index
- 6.5x cheaper per output token than Claude Opus 5.5
Cons
- Default
maxeffort burns tokens: 16,466 for one cron function, almost 9 times more than Opus - Well behind Claude on long software tasks in MiniMax's own table (44.0 vs 72.5 on SWE-Marathon)
- Weights are promised but not released, with no license yet
- 52nd on Arena's Bash reliability signal
Who should use MiniMax M4
M4 fits work where you can check the answer: code with tests, data extraction, reading documents and charts, finance workflows. At low or medium it gave the same results as Opus 5.5 on our tasks for much less money. It also suits agents on a budget. It followed our refund rule without mistakes, and Arena reports a median of $0.48 per agent task.
We would not pick it yet for very long autonomous coding runs, where Claude leads by a wide margin in MiniMax's own table. If you need to self-host, wait for the weights.
If you use M3 now, M4 gives cleaner answers with no leaked reasoning, but its output tokens cost 2.6 times more. Run both on a few of your own prompts before you switch.
FAQ
What is MiniMax M4?
MiniMax M4 is MiniMax's flagship model, released December 3, 2026. It is a Mixture-of-Experts model with 2.74 trillion parameters (66 billion active per token), a 1M-token context window, image and video input, and built-in reasoning.
How much does MiniMax M4 cost?
On AI/ML API it costs $0.80 per 1M input tokens, $0.05 per 1M cached input tokens and $3.10 per 1M output tokens. Reasoning tokens are billed as output.
Is MiniMax M4 open source?
MiniMax calls it open-weight, but on December 3, 2026 the weights were not published. The GitHub repo says they will be released "soon". No license file was available.
Is MiniMax M4 better than Claude Opus 5.5?
Not overall. MiniMax's own table shows Opus ahead on most coding and agent benchmarks, for example by 28.5 points on SWE-Marathon. M4 is ahead on Frontier Finance. In our 7 tests, M4 matched Opus on code, charts, JSON and tool calls.
What reasoning effort should I use with MiniMax M4?
Start with low. In our code tests, low passed the same 83 hidden tests as max with 72% fewer output tokens. Use high or max for hard, open-ended problems, and set a token limit.
What is the MiniMax M4 model ID on AI/ML API?
minimax/minimax-m4. The alias MiniMax-M4 also works.
Can MiniMax M4 read images?
Yes. It accepts text, images and video as input. In our tests it read all 12 values from a bar chart without labels.
Key Takeaways
- MiniMax M4 is the strongest open-weight model on paper today, at $0.80 / $3.10 per 1M tokens.
- In our tests it matched Claude Opus 5.5 on almost every task with a clear right answer.
- Its default
maxeffort is the trap: on long reasoning it can cost as much as Opus per task. - Use
lowormedium, capmax_completion_tokens, and checkfinish_reason. - For long autonomous coding, Claude is still well ahead.



