MiniMax has released M4, an open-source flagship AI model in the 3-trillion-parameter class. In early-access tests reported on December 4, 2026, a reviewer used M4 to write code that rendered animated scenes and synthesized their soundtracks. The reviewer observed output speeds of 120 tokens per second or more, though some small bug fixes still took more than 10 minutes.
One test produced a 25-second film of an airship crossing a polar landscape. Across four shots, the camera looked up from the ice as the airship passed overhead, circled from bow to stern, followed it through an arch and watched it recede into a fjord. M4 produced the sound effects and music as well. For a separate film about pelicans, the reviewer said M4 handled the Three.js modeling, voice-over and score without a dedicated video or music generator.
The reviewer also gave M4 a screen recording of a website and asked it to rework the design as a dusk scene inspired by The Little Prince. The resulting page used code to generate wheat heads and petal textures, along with wind and bell sounds. A more elaborate project, a paper-book rendition of Alice’s Adventures in Wonderland, ran for nine hours.
How M4 handles long inputs
In its technical report, Scaling Model Intelligence under Compute Constraints, MiniMax describes two changes aimed at making a model of this size more practical to run. Its MSA2 sparse-attention architecture reduces computation on long inputs and allows more work to run in parallel. Paired with the MFlashKV and MInfer systems, it also lets M4 store part of its key-value cache on ordinary SSDs rather than keeping it all in high-bandwidth memory. This cache holds information from earlier tokens that the model reuses as it generates new ones. MiniMax says it can move that data to SSDs without trimming the cache, while keeping response latency low.
MiniMax reported throughput of 1,589 tokens per second per chip on Chinese hardware, citing Huawei’s Ascend 950DT, and a generation rate of 100 tokens per second for a single user. The first figure measures aggregate output, not the speed of one response. The company said its aggregate throughput was four times that of a comparable model on top-end Nvidia hardware; that comparison comes from MiniMax’s testing, not the reviewer’s coding demos.
API pricing
| Per million tokens | China | International |
|---|---|---|
| Input | 5 yuan | $0.80 |
| Output | 20 yuan | $3.10 |
| Cache reads | 0.30 yuan | $0.05 |