MiniMax M4 scores 33.0% on FrontierCode-AA 2.0, ahead of Kimi K3.1 Pro at 25.5%. Turn to PMPP-Hard in the same table and Kimi leads, 86.9 to 85.5. If you're choosing a model to maintain a Python package or tune a GPU kernel, which row should you read?

Start with the job the agent had to finish. Then look up who ran it, what tools the agent had, and what counted as success. Table 2 and Appendix B of the MiniMax M4 technical report answer different parts of that question. Here is how to read them together. MiniMax technical report, pinned revision

Why 66 billion and 2.74 trillion both describe M4

M4 uses a mixture-of-experts architecture. MiniMax reports 2.74 trillion parameters in total and 66 billion active per token. The first number describes the full model. The second describes how much of it participates in processing a token. Different tokens can use different experts, so a server still needs access to weights beyond the subset used for any one token.

A separate constraint shows up in a long conversation. A server has to keep track of state from earlier tokens as it generates the next one. M4 supports a context window of one million tokens. The report describes two pieces of its serving design: MiniMax Sparse Attention 2 and MFlashKV, which allows the key/value cache to be offloaded to SSD. A context limit tells you what can fit. To find out whether an agent can use a particular file buried in that context, give it a change whose correctness depends on that file. MiniMax model overview

Read across a row before reading down a column

These are three of the models in Table 2 on page 55. MiniMax reports its own main-table results at Max reasoning effort. Other models' settings and the source of each score are described separately in the report.

Evaluation MiniMax M4 Kimi K3.1 Pro Claude Opus 5.5
FrontierCode-AA 2.0, average score 33.0% 25.5% 46.9%
PMPP-Hard, reported score 85.5 86.9 86.9

On FrontierCode, M4 leads Kimi by 7.5 percentage points and trails Opus by 13.9 percentage points. On PMPP-Hard, M4 trails both by 1.4 points. That last figure is a difference between rounded aggregate scores. The table supplies no uncertainty interval for it.

What did a FrontierCode agent actually have to do?

Artificial Analysis runs 132 private tasks drawn from real open-source repositories. The Stirrup agent gets a repository change to make. A verifier evaluates the attempt using tests and a grading rubric. A failed blocking check gives the attempt zero. An attempt that clears the blocking checks can still receive partial credit on the remaining criteria. Artificial Analysis runs each task three times. FrontierCode-AA 2.0 methodology

That scoring rule changes what 33.0% means. Imagine one patch passes the tests and earns only some of the remaining rubric credit. Another misses a blocking requirement and earns zero. Both affect the mean, but the mean doesn't tell you how many patches a maintainer would merge untouched. Multiplying 0.33 by 132 and reporting the result as “repositories fixed” would discard the partial credit and the repeated runs.

For a package maintainer, the rubric is the most useful part to borrow. Say you ask an agent to add a keyword argument. Existing callers must keep working. A patch that breaks an existing caller has failed a blocking requirement, even if the new argument passes its test. Documentation and helpful error messages can be graded separately once compatibility holds.

Why the GPU row changes the comparison

PMPP-Hard asks agents to implement and optimize GPU kernels. A kernel has to compile and produce the right values. Performance is an additional engineering concern, and the benchmark project documents its tasks and evaluation environment. Appendix B says MiniMax evaluated all the models on this row internally with Claude Code v2.1.126 and one run per task. Claude Code is the agent software in this experiment, including for the runs using M4 and Kimi. PMPP-Hard project · MiniMax report, Appendix B, p. 76

The reversal is easy to check with Python. This snippet reproduces the arithmetic on the published numbers. Running it requires no model access.

from decimal import Decimal # Each pair holds M4's score followed by Kimi's. rows = [ ("FrontierCode-AA 2.0", "33.0", "25.5", "percentage points"), ("PMPP-Hard", "85.5", "86.9", "points"), ] for name, m4, kimi, unit in rows: gap = Decimal(m4) - Decimal(kimi) print(f"{name}: M4 minus Kimi = {gap:+.1f} {unit}") 
FrontierCode-AA 2.0: M4 minus Kimi = +7.5 percentage points PMPP-Hard: M4 minus Kimi = -1.4 points 

Averaging the two gaps would give equal weight to two different workloads, with different graders and repeat counts. A team that never writes a GPU kernel has little reason to give that row half its decision weight. A team maintaining numerical kernels has good reason to run its own correctness and timing checks before choosing either model.

How much reasoning did the score take?

Figure 28 on page 56 varies M4's reasoning effort while keeping the model fixed. On MiniMax's internal Code++ evaluation, moving from Low to Max raises the score by 18.3 points with 1.5 times the output tokens. On FrontierFinance, the gain is 7.4 points with 5.7 times the output tokens. Those multipliers describe output length. They don't directly measure elapsed time on your machine or predict the gain on another benchmark. Figure 28, p. 56

For an interactive review tool, the difference matters even if both patches pass. If a maintainer waits for each suggestion before starting the next change, record time until the first usable patch. For an overnight batch, counting completed tasks before a fixed deadline may be more useful. Neither measurement is in the main benchmark table.

A small test you can run on your own repository

Pick a previously fixed bug with an executable regression test. Check out the commit immediately before the fix. Give each agent the issue description and the same environment. Keep the reference patch and regression test out of the agent's workspace. A useful first case is a bug where the common input succeeds and one supported edge case fails.

Before running either model, decide which outcomes earn a pass. For example, require the new regression test and the existing suite to pass, and reject changes to the tests themselves. Record cleanup or documentation separately. Start each attempt from the same clean commit. Keep the tool permissions, time limit and retry policy identical. If one run times out, record that outcome alongside the successful attempts.

For each attempt, save the model identifier, reasoning setting, actual elapsed time, reported output tokens, test results and patch. If the patch passes, inspect what changed. A one-line boundary fix and a rewrite of the surrounding module can both pass today's suite while imposing very different review work. Keeping both patches makes that discussion concrete.

If you repeat only one task, your result is evidence about that task. Add a task from a different part of the repository before drawing a wider conclusion. When M4 saves review time on the change you make every week, that observation can matter more than a small published lead on work your team rarely does.

You can try MiniMax M4 at minimaxm4.net. New accounts receive 100 free credits after email verification or Google sign-in.

AI disclosure. An AI assistant drafted this article, checked the reported scores against the linked sources and ran the Python arithmetic example. The article reports published model evaluations.