- Chip Output: In MiniMax’s test, its M4 coding model on Huawei chips roughly matched some Nvidia systems’ text output per chip at equal answer speeds.
- Hosted Access: Developers can use M4 through MiniMax’s hosted service while awaiting the downloadable model weights needed to run it independently.
- Coding Work: M4 outscored several rivals on a test of changes to open-source software and trailed Anthropic’s Fable 5.2.
MiniMax made M4, its new AI model for long coding tasks, available on Dec. 3 through a service developers can call from their own software. The company also tested M4 on Huawei’s Ascend 950DT chips. With the speed of each user’s answer held constant, the Huawei setup generated text across requests at roughly the same rate per chip as selected Nvidia systems running other models. MiniMax leaves the hardware behind its public M4 service unspecified.
MiniMax also ran the finished model on a second Chinese accelerator, the Zhenwu M890 from Alibaba’s chip design unit T-Head. MiniMax says it used several computing clusters for part of M4’s training and leaves the training chip models unspecified.
What MiniMax Measured on Huawei Chips
The Huawei system generated 1,589 output tokens per second per chip across requests while each answer streamed at 100 tokens per second. Tokens are the chunks of text the model writes. It roughly matched the selected Nvidia GB300 systems and came out ahead of the GB200 entries in the comparison. MiniMax took the Nvidia figures from SemiAnalysis’s InferenceX benchmarks, where those systems were running other models. The figures compare complete setups for running AI models.
The comparison lists 144 GB of fast chip memory for the Ascend 950DT and 288 GB for the GB300. That memory can fill up as each request builds a record of the tokens the model has already processed. M4’s serving software can keep the full records on solid-state drives and fetch selected parts before the model needs them. It starts those reads while the chips are doing other work. A late read can hold up the next calculation. Storing the full records on drives leaves room in fast memory for more requests.
DeepSeek describes running its V4.1 Flash model in production on both Huawei and Nvidia hardware. On Nov. 28 it updated its DeepInfer software with optimizations for Huawei’s 950DT. In October, libraries from DeepSeek and Huawei kept interfaces familiar to developers using Nvidia hardware while doing the work on specific Ascend 950 systems. One library required Huawei’s CANN runtime software. The other needed a specific connection between Ascend chips.
What M4 Can Do on Coding Tasks
When MiniMax launched M3 in June, the model could accept text, images and video as input and hold up to 1 million tokens of material in view. M4 retains that capacity for developers working with large repositories and visual materials.
Artificial Analysis’s FrontierCode-AA 2.0 tests whether changes to real open-source software would meet a maintainer’s criteria for accepting them. Artificial Analysis ran M4 at its highest reasoning setting and MiniMax published its score of 33.0. DeepSeek V4.1 Flash scored 28.2, Moonshot’s Kimi K3.1 Pro scored 25.5 and Anthropic’s Fable 5.2 scored 48.8.
Kimi finished ahead of M4 in MiniMax’s compiled results for Terminal-Bench 4.1, a separate test of complex tasks that require issuing commands to a computer. Kimi scored 68.2 to M4’s 56.6. Artificial Analysis ran Kimi with software that carries out the model’s commands. MiniMax leaves open whether M4 used the same software.
In one of MiniMax’s own experiments, M4 built a Mont Blanc ski simulator from elevation data and used the slope of the terrain to calculate downhill motion. The company checked elevations from the game’s 10-meter grid against a 4-meter grid derived from laser surveys, using the same 2,002 points along the Vallée Blanche route. The median absolute difference was 0.30 meters and the largest was 14.1 meters.
Hosted Access and Self-Hosting
Developers can call M4 from coding tools and other software through MiniMax’s application programming interface, or API. M3.1 Flash is the lower-priced option on the same platform for coding work that mixes text with images or video. Both models can take that combination as input. The listed rates for M4 are $0.80 per million input tokens and $3.10 per million output tokens. M3.1 Flash lists at $0.15 and $0.60, respectively. Reading a prompt the service has already cached costs $0.05 per million tokens on M4 and $0.015 on Flash.
Both models use tokens to work through problems before answering. On MiniMax’s Anthropic-compatible interface, reasoning stays on and defaults to the highest effort setting. Developers can lower the effort. The reasoning tokens count toward the generation limit and can use it up before the model returns any text. In MiniMax’s internal Code++ benchmark, M4 scored 50.3% at maximum effort, up from 32.0% at low effort, and generated about 1.5 times as many output tokens per attempt.
Developers who want to run a model on their own hardware need its weights, the trained values that govern what it generates. Downloadable weights are available for Moonshot’s Kimi K3.1 Pro and MiniMax M3.1 Flash. MiniMax says it will release M4’s weights. The company has given no date.


