Skip to content

Open models

MiniMax launches M4, a 3-trillion-parameter model

3 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: AI prices →
Image: testingcatalog.com

MiniMax has started rolling out M4, its new flagship model, on the MiniMax API, the M Plan subscription and its MiniMax Code app. According to MiniMax’s developer documentation, M4 has 3 trillion parameters and a 1 million token context window. Its main strength is long-horizon coding: working through complex engineering tasks across large codebases for hours at a time. MiniMax calls M4 open-weight, but the weights are not out yet, and the company hasn’t said when they will be.

This is a big step up for MiniMax. Its last model, M3.1 Flash, launched on October 19, and its public weights list 428B parameters in total, with 23B active per token. M3, released in June, is the same size.

What M4 is for

MiniMax says it built M4 with large-scale reinforcement learning, training the model by rewarding it for good results. The pitch is endurance on big coding jobs. Beyond code, the company says M4 can make videos, 3D models, games and websites, and take on specialized fields such as cybersecurity, finance and embodied AI, the AI that controls robots and other machines.

One early tester gave a sense of what “hours at a time” means. Alok, who had early access, wrote on X that he gave MiniMax Agent a single prompt to build a realistic zoom from Earth down to the Statue of Liberty in one HTML file, and the model worked on its own for about 2 hours and 40 minutes.

Price and access

In MiniMax Code, M4 is limited to paid plans, TestingCatalog reports. It sits at the top of the model picker, but M3.1 Flash stays the default. According to TestingCatalog, M4 costs $0.80 per million input tokens and $3.10 per million output tokens, against $0.15 and $0.60 for M3.1 Flash, so roughly five times more on both.

Developers call the model with the ID MiniMax-M4, through either an Anthropic-compatible or an OpenAI-compatible endpoint, so existing code for either SDK needs only a new address and model name. M4 always thinks before it answers, and that thinking can’t be switched off: a request that tries returns an error. What you can change is how hard it thinks, with an effort setting from low to max. Higher levels produce more output tokens and slower answers, and if you leave the setting out, M4 uses max. MiniMax’s advice for cutting latency and token use is to lower the effort level.

What isn’t known yet

MiniMax has not published a launch post or a release notes entry for M4, TestingCatalog notes, so so far the model is described only in the API documentation and the model list. The biggest open question is the weights. With M3.1 Flash, they arrived four days after launch. For M4, the documentation says only that they will follow.

Join the conversation

Sign in to leave a comment. It appears after moderation.