MiniMax M4 targets long code projects with a context of one million tokens

MiniMax deploys M4, a 3T-class open-weight model accessible via API and paid plans. The tool focuses on long-duration code, with a context of one million tokens and an enforced reasoning mode.

MiniMax deploys M4, a 3T-class open-weight model accessible via its API, M Plan, and paid MiniMax Code offers. According to the publisher's documentation, it combines 3 trillion total parameters with a context window of one million tokens, making it mainly suited for long and complex tasks. The model weights are not yet published, but MiniMax indicates they will arrive later. For technical teams, the challenge is clear: to keep massive projects in memory without losing track after a few interactions.

Un modèle pensé pour tenir la distance

MiniMax presents M4 as a cutting-edge model designed for long-horizon coding, that is, sessions where the AI must work for hours on the same codebase. The publisher states it relies on large-scale reinforcement learning to improve this behavior. In its documentation, M4 is also described as capable of producing videos, 3D models, games, and websites, with targeted applications in cybersecurity, finance, and embodied AI.

The technical promise does not stop at size. The model sheet also highlights inference efficiency close to that of M3.1-Flash, the faster model in the range. In other words, MiniMax tries to offer a powerful engine without turning every request into a pit stop. The bet is ambitious, as very large models often cost a lot to run and integrate into product uses.

Ce que les développeurs voient déjà dans l’interface

On MiniMax Code, M4 appears at the top of the model selector, above M3.1-Flash, which remains the default, and M3. Developers can call it with the identifier MiniMax-M4 via Anthropic- or OpenAI-compatible endpoints. The documentation also specifies an effort parameter to adjust the depth of reasoning, with options low, medium, high, xhigh, and max; max is the default value. Reasoning cannot be disabled, and a request attempting to turn it off returns an error.

This constraint is not trivial. It brings M4 closer to a generation of tools where the model's internal behavior becomes less negotiable for the user, while many teams prefer to keep control over cost, latency, or computation depth. MiniMax still keeps M3.1-Flash and M3 in its offer, allowing M4 to be reserved for the heaviest use cases.

Une tarification nettement plus élevée que M3.1-Flash

The price published in the documentation places M4 in a different budget category. MiniMax charges $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cache read tokens. By comparison, M3.1-Flash is priced at $0.15, $0.60, and $0.015 on the same lines. M4 thus costs about five times more at input and output.

This difference matters for high-volume uses, notably in software development and autonomous agents. Early feedback shared by testers on X mentions long runs, including a session of about 2 hours and 40 minutes on an autonomous task, but these observations remain anecdotal and unverified at scale [to be verified]. Meanwhile, MiniMax has not yet published a detailed official announcement or complete release notes for this launch.

Ce que ce lancement dit du marché des modèles géants

M4 is part of a rapid release sequence at MiniMax: M2.5 in February, M2.7 in March, M3 in June, then M3.1-Flash in October, before this new model. The publisher moves fast, but the interest of the maneuver will depend on two very concrete points: the effective availability of weights and the model's ability to keep its promises without exploding the bill. In AI, big numbers often make headlines; the real test comes when they have to work in a production application.

For product teams and developers, M4 could become a serious candidate for long programming tasks, multi-step generation, and complex technical content creation. For the rest of the market, it mainly reminds us that the model battle is no longer just about raw size, but about the mix of context, cost, latency, and fine control of reasoning.

Key points

  • M4 is available on API, M Plan, and paid MiniMax Code.
  • 3 trillion parameters and 1 million tokens of context.
  • Reasoning is enforced via the effort parameter.
  • M3.1-Flash remains the default option in MiniMax Code.
  • MiniMax has not yet published M4 weights.
  • The entry price is five times higher than M3.1-Flash.

By the numbers

  • 3 trillion parameters — total size of M4, according to MiniMax.
  • 1 million tokens — announced context window for M4.
  • $0.80 / million tokens — M4 input price.
  • $3.10 / million tokens — M4 output price.
  • $0.15 / million tokens — M3.1-Flash input price, according to the same scale.

To read