MiniMax's new flagship costs $0.80 per million input tokens and $3.10 per million output tokens. That is about a third of the $10 output median for models in its price tier on Artificial Analysis. The catch is in the API docs: thinking is always on, and the default effort level is max.

M4 went live on December 3, 2026, announced in an X post titled "Scaling Intelligence Under Compute Constraints". MiniMax's GitHub page calls it open-weight. You can't download the weights yet.

What shipped on December 3

MiniMax's launch post describes a natively multimodal model with "2.74 trillion total parameters, 66 billion active parameters per token" and "a 1-million-token context window." It is available three ways: the API, the M Plan subscription, and MiniMax Code, the company's coding agent.

The prices on MiniMax's pricing page:

Model Input / 1M Output / 1M Cache read / 1M
MiniMax-M4 $0.80 $3.10 $0.05
MiniMax-M3.1-Flash $0.15 $0.60 $0.015

For subscribers, the launch post promises "no 5-hour usage cap on the new model or new tiers" and a limited-time "2× off-peak night bonus" in MiniMax Code. It gives no numeric limits for the plans.

The headline demo is self-reported. MiniMax says that, given an empty directory and 24 hours, M4 built a desktop browser without Chromium, WebKit, Gecko or V8: over 4,000 tool calls, about 120,000 lines of Rust, and 100/100 on Acid3 (MiniMax). Nobody outside the company has reproduced it.

The weights wait on a safety review

The GitHub repository says "We will release the weights soon." The launch post is a little more specific: "We hope to complete this within the next few weeks," after safety evaluations (MiniMax). No license has been posted, and TechTimes notes that earlier MiniMax models needed a separate agreement for commercial use.

The reason for the wait is in the same post. MiniMax writes that during development M4 broke "multiple peer-reviewed modern cryptographic schemes with no previously published attacks," and that the public version has "attenuated certain cybersecurity capabilities." A separate Cyber edition will go to "compliant security research institutions" (MiniMax). Those are the company's claims, without a public write-up of the findings.

So today, M4 is a hosted model. Artificial Analysis lists it as proprietary until the weights land. If you were planning to self-host it, plan around "a few weeks", which is not a date.

What independent scores say

Two outside leaderboards had M4 within days. On the Vals Index it scores 61.65% (±1.28), 15th of 45 models, at $2.351 per test. Its best-ranked coding row there is SWE-bench Multimodal: 58.54%, 4th of 24. On Terminal-Bench 4.0 it scores 44.95%, 19th of 72.

Artificial Analysis gives it 47 on its Intelligence Index, 41st of 99, above the tier median of 43. MiniMax itself is candid about the ceiling: "a substantial gap remains compared with the very best overseas models" (MiniMax).

The same Artificial Analysis page shows where the low price goes:

  • 143M output tokens to run the index, against a tier median of 71.1M
  • 63.32 seconds to the first answer token, against a median of 12.89 seconds
  • 16.6 minutes per index task, against a median of 12.5

The low price still wins on cost: Artificial Analysis puts M4 at $1.74 per index task, 38th of 98. Just don't read $3.10 as the cost of an answer. An answer costs $3.10 per million output tokens times however many tokens M4 decides to think for.

Thinking can't be switched off, and effort starts at max

MiniMax's text generation guide is explicit. Thinking is on by default and can't be disabled. Send thinking: {"type": "disabled"} or effort: "none" and you get a 400: model "MiniMax-M4" requires adaptive thinking. The levels are low, medium, high, xhigh and max, and the default is max.

The API speaks both the Anthropic and OpenAI protocols. MiniMax recommends the Anthropic-compatible endpoint at https://api.minimax.io/anthropic. Here is a version adapted from the docs' example, with effort set to medium instead of the default (it needs a recent anthropic SDK):

import os import anthropic client = anthropic.Anthropic( base_url="https://api.minimax.io/anthropic", api_key=os.environ["MINIMAX_API_KEY"], ) message = client.messages.create( model="MiniMax-M4", output_config={"effort": "medium"}, max_tokens=4096, messages=[{"role": "user", "content": "Hi"}], ) print(message.usage) 

On the OpenAI-compatible route the field is reasoning_effort, and on the Responses route it is reasoning.effort (MiniMax docs). Print usage on a few real prompts at two effort levels before you put M4 in a cost spreadsheet. I haven't run M4 myself.

Trying it in Claude Code

MiniMax documents a Claude Code setup with an M Plan key. Its sample settings.json sets CLAUDE_CODE_EFFORT_LEVEL to max, and the page warns that while that variable is set, /effort has no effect. Leave it out if you want to change effort per session.

The docs also warn that ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in your environment override the settings file. You can use that to keep M4 out of your global config: put the variables in a small launcher instead.

#!/usr/bin/env bash # claude-m4: Claude Code on MiniMax-M4 export ANTHROPIC_BASE_URL="https://api.minimax.io/anthropic" export ANTHROPIC_AUTH_TOKEN="$MINIMAX_API_KEY" export CLAUDE_CODE_AUTO_COMPACT_WINDOW="524288" export ANTHROPIC_MODEL="MiniMax-M4[1m]" export ANTHROPIC_DEFAULT_OPUS_MODEL="MiniMax-M4[1m]" export ANTHROPIC_DEFAULT_SONNET_MODEL="MiniMax-M4[1m]" export ANTHROPIC_DEFAULT_HAIKU_MODEL="MiniMax-M4[1m]" exec claude --effort high "$@" 

The model IDs, the compact window and --effort come from MiniMax's page. Run /status and /model to confirm the session points at api.minimax.io and MiniMax-M4.

I build Hermes IDE, so weigh this with that in mind. Hermes runs any command-line agent you add in its own terminal, and ⌘N (Ctrl+Shift+N on Windows and Linux) starts each task on its own hermes/<name> branch and worktree. That makes claude-m4 and your usual Claude Code easy to put on the same ticket side by side. It is free to download, source-available (BSL 1.1), and on macOS, Windows and Linux; download it here.

Where M4 fits

One data-handling note before you send it code. TechTimes points out that China's National Intelligence Law and Data Security Law could apply to a Chinese-hosted service, and calls that "a legal condition, not a proven practice." Your legal team may want to weigh in before production repos go through the hosted API.

If price per task is what you buy on, M4 is worth a measured trial today, with effort set by you. If you need the weights, wait for the release and the license text. Would you put a model whose thinking can't be turned off behind a production feature? Tell me in the comments.

If this was useful

The lesson in M4's numbers is that per-token prices say little until you measure tokens per task, latency and quality on your own prompts. Observability for LLM Applications is the book I wrote for that work: tracing every call, putting evals in front of model swaps, and catching cost and quality regressions before your users do. Hermes IDE can run the comparison, with each model on its own branch.

Observability for LLM Applications — the book