# MiniMax M4 Is $0.80/$3.10 by API, Weights Still Pending. Its Effort Defaults to max

> Source: <https://dev.to/gabrielanhaia/minimax-m4-is-080310-by-api-weights-still-pending-its-effort-defaults-to-max-gkn>
> Published: 2026-12-06 23:01:27+00:00

**Key takeaway:** M4's API keeps thinking always on with effort defaulting to max, so budget output tokens accordingly even though input costs $0.80 and output $3.10 per million tokens.

MiniMax's new flagship costs [$0.80 per million input tokens and $3.10 per million output tokens](https://www.minimax.io/blog/m4). That is about a third of the [$10 output median](https://artificialanalysis.ai/models/minimax-m4) 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`](https://platform.minimax.io/docs/guides/text-generation).

M4 went live on [December 3, 2026](https://vals.ai/models/minimax_MiniMax-M4), announced in an [X post titled "Scaling Intelligence Under Compute Constraints"](https://startupfortune.com/minimax-launches-274-trillion-parameter-m4-and-says-it-needs-less-hbm/). MiniMax's [GitHub page](https://github.com/MiniMax-AI/MiniMax-M4) calls it open-weight. You can't download the weights yet.

MiniMax's [launch post](https://www.minimax.io/blog/m4) 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](https://platform.minimax.io/docs/pricing/overview):

| 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](https://www.minimax.io/blog/m4)). Nobody outside the company has reproduced it.

The [GitHub repository](https://github.com/MiniMax-AI/MiniMax-M4) 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](https://www.minimax.io/blog/m4)). No license has been posted, and [TechTimes](https://www.techtimes.com/articles/332244/20261205/chinas-minimax-launches-m4-ai-model-cache-ssds-huawei-chips-no-outside-speed-test.htm) 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](https://www.minimax.io/blog/m4)). 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](https://artificialanalysis.ai/models/minimax-m4) until the weights land. If you were planning to self-host it, plan around "a few weeks", which is not a date.

Two outside leaderboards had M4 within days. On the [Vals Index](https://vals.ai/models/minimax_MiniMax-M4) 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](https://artificialanalysis.ai/models/minimax-m4) 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](https://www.minimax.io/blog/m4)).

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

The low price still wins on cost: Artificial Analysis puts M4 at [$1.74 per index task](https://artificialanalysis.ai/models/minimax-m4), 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.

MiniMax's [text generation guide](https://platform.minimax.io/docs/guides/text-generation) 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):

``` python
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](https://platform.minimax.io/docs/guides/text-generation)). 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.

MiniMax documents [a Claude Code setup](https://platform.minimax.io/docs/m-plan/claude-code.md) 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.

``` bash
#!/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](https://github.com/hermes-hq/hermes-ide) 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](https://hermes-ide.com/download).

One data-handling note before you send it code. [TechTimes](https://www.techtimes.com/articles/332244/20261205/chinas-minimax-launches-m4-ai-model-cache-ssds-huawei-chips-no-outside-speed-test.htm) 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.

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.
