Comparisons

MiniMax M3.1 Flash vs DeepSeek V4.1 Flash

Three fixed coding tasks, separate output-budget checks, and third-party tests that show why the workload and harness matter.

Reviewed Small coding samples only; large projects and long contexts remain untested

What our comparison can establish

There is no universal winner from the evidence here. We tested three small code-repair tasks, with fixed requirements and automated acceptance tests, rather than asking either model which output looked better. We also found first-hand experiments that use different workloads and reach different speed results.

Our testing — 23 October 2026. The direct-API comparison uses MiniMax-M3.1-Flash at api.minimax.cn and deepseek-flash at api.deepseek.com, from one Linux client with Node 22.23.3. DeepSeek’s documentation maps that alias to V4.1 Flash 1017 on the review date; the API alias is not an immutable checkpoint pin. MiniMax’s international route was not tested successfully with the available key.

Both receive the same task prompt, low effort and an identical output cap. Equal effort names do not guarantee equal internal reasoning budgets. Requests run sequentially, with provider order alternated between repetitions. The two vendors’ infrastructure and network paths are different.

The three coding tasks

TaskRequired behaviourFixed checks
Pagination URL repairCorrect offset, preserve repeated filters and fragments, reject invalid pagination values6
CSV parser repairQuoted commas/newlines, doubled quotes, CRLF, empty fields, blank rows and unterminated quotes8
Async retry repairAttempt limits, sync/async failures, permanent-error predicate, preserved error identity and immutable options7

The deliberately broken baselines fail their respective test suites. In the API experiment, models see the specification and broken function without the acceptance tests. Each request gets one answer, no tools and no repair feedback. A Node subprocess grades the returned CommonJS source with the original tests. This is a bounded code-repair experiment, not SWE-bench, a repository-scale agent task or a production failure rate.

Primary series: a 4,096-token output budget

Each task ran three times per model: 9 attempts per model. Reasoning consumes output budget. A length finish, an API failure or a test failure remains an unsuccessful attempt; we report the cause separately rather than silently dropping it.

Model / tested routePassed attemptsLength-truncatedComplete answers failing testsMedian request time
MiniMax (China)9/90/9016.97 s
DeepSeek4/95/9022.25 s

All five unsuccessful DeepSeek primary attempts ended at the output cap. This is an output-budget result, not evidence that five complete implementations were incorrect. Request-time medians include those truncated requests.

The pass numerator counts complete answers that pass every acceptance check; it does not count individual assertions as independent tasks. No retry replaces an original result.

Higher-budget diagnostic: 16,384 tokens

The first primary runs exposed responses truncated before code was returned. We then froze a separate diagnostic protocol: all three tasks, both providers, one attempt each, with a 16,384-token cap. Its results do not replace or combine with the original series.

Both models passed 3/3 diagnostic attempts. These are single observations per task:

TaskMiniMax (China)DeepSeek
paginationPassed, 10.59 sPassed, 49.00 s
csvPassed, 44.34 sPassed, 28.93 s
retryPassed, 8.84 sPassed, 10.36 s

This separates an output-budget issue from a claim that a model cannot solve the task. With only three diagnostic attempts per provider, a percentage would imply more precision than the sample supports.

Download and reproduce

The full test kit includes the frozen protocols, specifications, broken sources, original tests, runners, returned code, per-request timing and usage, grading output and summaries. You can also inspect primary API records and higher-budget records directly.

python3 bench.py --output /tmp/api-results.json
python3 followup.py --output /tmp/higher-budget-results.json

Supply your own MINIMAX_API_KEY for the China platform and DEEPSEEK_API_KEY as environment variables. These runners make real requests and may incur charges. The original test fixtures are hash-checked before execution. Cached prefixes were not purged; usage records retain any reported cache hits.

For total request time, first-token versus first-answer timing and native-token throughput, read the API measurement section. Agent tools add their own prompts and loops: the Claude Code test and native mcode test are separate experiments.

What other testers actually ran

Third-party testing, checked 23 October 2026. These are the publishers’ own experiments, not our reproductions. All three also sell or distribute relevant AI tools/services; their routes and incentives should be kept visible.

Primary experimentSetup and reported resultLimit that matters
Atomic AgentOne Python repair task, three runs per configuration, 32 withheld tests per run. Both models passed every run. DeepSeek averaged 27 seconds; MiniMax at low effort 48 seconds.Atomic Agent 0.6.9 through OpenRouter; different upstream providers. MiniMax ran on the launch free route, so its quoted dollar costs are list-price estimates, not paid charges.
SandBaseThree short tasks repeated three times across four configurations, 36 calls including the older M3 baseline. Both Flash models passed their small checks; MiniMax low had a 3.21-second median versus DeepSeek default at 4.27 seconds.Different effort settings and promotional service pricing; short requests cannot establish hard coding quality or agent reliability. Its weights-status text was already stale at our review.
EmpirioLabsFour single-file Canvas prompts, one response per model per prompt, max effort and a 65,536-token cap. MiniMax completed first in all four displayed tasks.One-shot frontend generation on the publisher’s paid route, not multi-turn bug fixing; completion time and animation quality are different outcomes.

The direction of the speed result changes with the task and route. We do not average these experiments together, copy their promotional rates into official pricing, or treat an animated demo as evidence of repository-scale coding quality. For scored evaluations and their provenance, see benchmarks.

Cost: use the correct platform and price window

Official. MiniMax’s international list is $0.15 input, $0.015 cache-read and $0.60 output per million tokens. Our tested China route instead lists CNY 1.00 / 0.10 / 4.00 for those same categories. DeepSeek publishes USD rates with separate peak and off-peak windows. We do not convert currencies or apply international MiniMax prices to a China-platform result.

The downloadable summary calculates token-price estimates in each route’s own currency, retaining cache counts and both DeepSeek price scenarios. These are not provider invoices. It includes failed and truncated requests when computing total estimated spend; a cheap successful example alone does not measure cost per completed task.

What changed from the earlier comparison

The earlier page called two Artificial Analysis pages a “same-run comparison” because they were extracted on the same day. That wording was too strong: a shared extraction date does not establish a shared measurement run or checkpoint, and MiniMax’s page flags its performance data as vendor-supplied. We removed the automatic “cheaper per task” and “faster long runs” winner labels. Historical AA numbers are not a substitute for matching tasks, endpoints and output budgets.

Next: API timings and token accounting, Claude Code task runs, or pricing for the assumptions behind cost estimates.

Sources and version notes

Checked October 23, 2026. We label official claims, third-party measurements, our own testing and community reports separately — see the sources policy for what each label means.

Spotted something out of date? Suggest a correction →

Your next step