The DeepSeek whale and a Space Bunny astronaut with a MiniMax badge sit on a perfectly level balance scale with gold coins, while the Atomic Agent mascot holds up an alarm clock split into a sun half and a moon half
Models

DeepSeek V4.1 Flash vs MiniMax M3.1 Flash: Which Is Cheaper per Fixed Bug?

Published
Updated
Reading time
9 min read
Tag

DeepSeek V4.1 Flash vs MiniMax M3.1 Flash on the same coding task, three runs each: tests passed, cost per fixed bug at peak and off-peak, speed, and loops.

Two low-cost “Flash” models launched within two days of each other. DeepSeek V4.1 Flash 1017 arrived on October 17, 2026 with open MIT weights. MiniMax M3.1 Flash, the model OpenRouter users knew as Space Bunny Alpha, followed on October 19. On paper MiniMax is half the price per token. We wanted to know what that means per task.

So we ran both as coding agents on the same bug-fixing task, three runs each, next to Claude Haiku 5.5, GLM 5.3 Flash, and Claude Sonnet 5.5. For the other end of the price list, see our Claude Fable 5.1 benchmarks and pricing.

DeepSeek V4.1 Flash 1017MiniMax M3.1 Flash
Our task, hidden tests96/9696/96 (low and max effort)
Time per task27 s48 s low, 9.5 min max
Cost per task$0.016 peak, ~$0.008 off-peak~$0.012 low, ~$0.086 max
Price per 1M tokens (in / cached / out)$0.30 / $0.006 / $1.20 peak, half off-peak$0.15 / $0.015 / $0.60
Open weightsYes, MITYes since Oct 23, MiniMax Community License
Free optionOpenCode free tier (OpenCode app only)None; the OpenRouter free route ended

Which is better for coding, DeepSeek V4.1 Flash or MiniMax M3.1 Flash?

On our task, neither: both passed all 32 hidden tests in every run. DeepSeek was faster, 27 seconds and 14 steps against 48 seconds and 17 steps for MiniMax at low effort. On most of the benchmarks that have scores for both, DeepSeek is ahead, though the harnesses differ.

How we tested

We used the same task as in our Claude Sonnet 5.5 test: a small Python package with five planted bugs and two missing features (a settlement function and a command-line tool), plus 32 hidden tests the agent never sees. The prompt is one line: read the task file, complete it, run the tests until they pass. Each setup ran three times in Atomic Agent v0.6.9 through OpenRouter on October 19, 2026, with approvals off.

We pinned each model to one provider: Together for DeepSeek, which charges the same as DeepSeek’s peak price, MiniMax for MiniMax, and Z.AI for GLM. MiniMax ran twice, once at its default max effort and once with OpenRouter’s reasoning.effort: low. Everything else used default settings.

Results

SetupHidden testsAvg timeCost per taskAvg stepsOutput tokensReasoning tokens
DeepSeek V4.1 Flash 101796/9627 s$0.016146.4K0.9K
MiniMax M3.1 Flash, low effort96/9648 s~$0.012175.5K1.3K
MiniMax M3.1 Flash, max effort (default)96/969.5 min~$0.0866176.8K60.6K
Claude Haiku 5.596/9636 s$0.01187.7K1.7K
GLM 5.3 Flash96/9614.1 min$0.0593437.9K26.7K
Claude Sonnet 5.596/9649 s$0.18366.6K0.7K

Three runs per setup, averages shown. Token counts are the provider’s native counts from OpenRouter’s generation records. MiniMax ran on the free OpenRouter route that was live at launch, so its cost is estimated from those token counts at MiniMax’s list price; all other costs are what OpenRouter billed.

Every setup solved the task every time, so this table doesn’t rank intelligence. It shows how much work each model does to get there, and that work is what you pay for.

Limits of this test. One small, well-specified Python task, three runs per setup, on one day. It shows cost and speed on a task both models can solve. It can’t tell you which model handles hard, long, messy work better. For that, the vendor benchmarks below are the only data so far, and neither vendor’s numbers are independent.

Which is cheaper per task?

The one that’s cheaper at the moment you run it. At low effort both models spent almost the same tokens on our task, on average about 316,000 (DeepSeek) and 376,000 (MiniMax) input tokens per run, most of it cached, and 5,500 to 6,400 output. So the bill follows the price list: MiniMax ~$0.012, DeepSeek $0.016 at peak, DeepSeek ~$0.008 off-peak.

Here is the arithmetic. We priced each model’s actual token counts at each price list:

Our token counts priced atDeepSeek tokensMiniMax low-effort tokens
DeepSeek peak ($0.30 / $0.006 / $1.20)$0.016 (billed)$0.016
DeepSeek off-peak ($0.15 / $0.003 / $0.60)$0.008$0.008
MiniMax list ($0.15 / $0.015 / $0.60)$0.012~$0.012

Prices per million tokens for uncached input, cached input, and output. Bold marks the price each model actually runs at.

The headline “half the price” is true for uncached input and output. It isn’t true for cached input, where MiniMax charges $0.015 per million against DeepSeek’s $0.006 at peak and $0.003 off-peak. In an agent loop the conversation is resent on every step, so 93 to 94% of input tokens were cache hits for both models, and cached input made up about 44% of MiniMax’s estimated low-effort bill.

DeepSeek’s peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays. That’s about 21% of the week. The rest, including weekends, is billed at the off-peak rate on DeepSeek’s own API. Through OpenRouter every listed price is flat, including DeepSeek’s own endpoint there; Together and Fireworks charge DeepSeek’s peak rate around the clock. The off-peak discount needs DeepSeek’s own API.

At scale, for 1,000 tasks like ours: about $8 for DeepSeek off-peak, $12 for MiniMax at low effort, $16 for DeepSeek at peak, and $86 for MiniMax at its default max effort.

Which is faster?

DeepSeek. It finished our task in 26 to 28 seconds per run. MiniMax at low effort took 32 to 62 seconds, and at its default max effort 341 to 771 seconds. The effort setting matters more for MiniMax than the choice between the two models.

MiniMax quotes fast generation. It says M3.1 Flash reaches “200+ TPS” with a median above 170 tokens per second. On our task, though, wall-clock time was driven by the number of steps and how long the model reasoned before each one, not by raw generation speed. MiniMax at max effort produced about 14 times more output than at low effort, most of it reasoning.

Which one gets stuck in loops?

MiniMax at max effort, in our runs. Atomic Agent’s loop detector logged a “no-progress loop” in all three MiniMax max-effort runs: the model kept repeating the same shell and test commands. It fired in none of the DeepSeek runs and none of the MiniMax low-effort runs.

The same warning also appeared in two of three runs for MiniMax M3 and for GLM 5.3 Flash, so it’s a sign of long reasoning in general rather than a defect unique to M3.1 Flash. The fix on our task was simple: lower the effort.

We didn’t measure tool-call error rates reliably in this test, so we’re not reporting them. OpenRouter showed a 3.16% tool-call error rate for the stealth version of MiniMax in its first days, according to CellCog’s snapshot; we have no comparable figure for DeepSeek.

What do the vendor benchmarks say?

DeepSeek is ahead on five of the six benchmarks where both have a score, and MiniMax on one. MiniMax’s Hugging Face model card, published with the weights on October 23, puts DeepSeek V4.1 Flash 1017 in the same table. For HLE we use DeepSeek’s own text-only score, because MiniMax tested on the text-only subset while the DeepSeek figure in its table is the full set.

BenchmarkDeepSeek V4.1 Flash 1017MiniMax M3.1 Flash
DeepSWE v1.177.073.7
NL2Repo-Bench68.261.2
Terminal Bench 4.042.338.1
BabyVision (with tools)92.591.0
Automation-Bench v1.0.660.562.8
HLE (text-only, without tools)44.043.4

Vendor-published, from MiniMax’s model card and DeepSeek’s Hugging Face model card. Not our tests.

The harnesses differ. On DeepSWE, DeepSeek names Mini-SWE-V2 and MiniMax names mini-SWE-agent 2.4.5 with a 512K context. On Terminal Bench, DeepSeek used Claude Code and MiniMax used Codex. Treat a gap of a few points as a hint, not a verdict.

DeepSeek also reports 35.4 on Agents’ Last Exam, against MiniMax’s 29.6. MiniMax’s table leaves DeepSeek’s cell blank there, because it only counts results from the official leaderboard, so that pair isn’t like for like. MiniMax also lists scores DeepSeek doesn’t report: 61.7 on OSWorld 2.0, 76.2 on BankerToolBench, and 82.2 on CyberGym. If you use third-party comparison tables, check which model version each number refers to.

Can you run either one locally?

Not on a typical machine. Both now have open weights, but both run to hundreds of gigabytes. DeepSeek V4.1 Flash 1017 has 552B parameters under MIT. MiniMax M3.1 Flash, with weights out since October 23, has about 428B under the MiniMax Community License.

  • DeepSeek. A 2-bit community build for the ds4 engine is a 341 GiB file that streams from SSD on a 128 GB Mac, with up to 20 tokens per second reported by its author. Mainline llama.cpp and local Ollama don’t support the model yet. Details are in our DeepSeek V4.1 Flash 1017 post.
  • MiniMax. The official weights are about a 250 GB download, with 23B parameters active per token. MiniMax recommends serving them with SGLang, vLLM, or TokenSpeed, which means a multi-GPU server. On October 23 there was no GGUF build, so Ollama and LM Studio can’t load it yet. Details are in our MiniMax M3.1 Flash post.

For an agent that runs fully on hardware you already own, a mid-size open model is the practical choice; we tested one in Qwen 3.8 27B as a local agent.

Which should you use?

For routine coding agent work like our task, either model is a cheap default, and the cheaper one depends on when you run. Pick by the constraint that matters most to you:

  • Lowest cost for batch jobs: DeepSeek V4.1 Flash, off-peak. About $0.008 per task in our test, and off-peak covers about 79% of the week: everything outside 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays.
  • Lowest cost during peak hours: MiniMax M3.1 Flash at low effort. About $0.012 per task. Set the effort yourself; the default max cost about 7 times more on our task.
  • Fastest turnaround: DeepSeek V4.1 Flash. 27 seconds per task, the quickest of the two.
  • Most permissive weights: DeepSeek V4.1 Flash. MIT, with no conditions on commercial use. MiniMax’s weights are open too, but its license asks for attribution and a notice for commercial use.
  • Free to try right now: DeepSeek through OpenCode’s free tier inside the OpenCode app. MiniMax’s free OpenRouter route has ended.

You don’t have to choose once. In Atomic Agent, both models are a /model switch apart through OpenRouter, and DeepSeek also has a direct preset for its own API with off-peak pricing. That’s how we produced the table above: same tools, same prompt, different model. If you are still picking the agent itself, our open-source Claude Code alternatives list and OpenCode vs Claude Code comparison cover the main options.

How to reproduce this test

Pick a small task from your own codebase that has a clear finish line, ideally a failing test suite the agent has to make pass. Run it three times per model with the same prompt, and compare time, steps, and cost rather than a single run.

In Atomic Agent:

Terminal window
curl -fsSL https://atomicagent.io/install | sh
atomic-agent

On Windows, run irm https://atomicagent.io/install.ps1 | iex in PowerShell, or download the desktop app. Connect OpenRouter in the first-run setup, then switch between deepseek/deepseek-v4.1-flash-1017 and minimax/minimax-m3.1-flash with /model. To run MiniMax at low effort, add "extraBody": { "reasoning": { "effort": "low" } } to the OpenRouter entry under llm.providers in ~/.atomic-agent/config.json. OpenRouter’s Logs page lists each request with its tokens and cost, so you can total a run yourself.

FAQ

DeepSeek V4.1 Flash vs MiniMax M3.1 Flash at a glance.

  • Which is cheaper, DeepSeek V4.1 Flash or MiniMax M3.1 Flash?

    It depends on the clock and the effort setting. In our coding task both models used almost the same tokens at low effort, so the price list decided: about $0.012 per task for MiniMax at list price, $0.016 for DeepSeek at peak hours, and about $0.008 for DeepSeek off-peak. At MiniMax's default max effort the same task cost about $0.086.

  • Which is better for coding, DeepSeek V4.1 Flash or MiniMax M3.1 Flash?

    Both solved our coding task in every run, so our test doesn't separate them on quality. DeepSeek finished faster, in 27 seconds against 48 for MiniMax at low effort. MiniMax's own model card lists both models side by side: DeepSeek scores higher on DeepSWE v1.1 (77.0 against 73.7), Terminal Bench 4.0 (42.3 against 38.1), and NL2Repo-Bench (68.2 against 61.2), and MiniMax leads on Automation-Bench v1.0.6 (62.8 against 60.5).

  • Are DeepSeek V4.1 Flash and MiniMax M3.1 Flash open source?

    Both have open weights on Hugging Face, under different licenses. DeepSeek V4.1 Flash 1017 uses the MIT License. MiniMax published M3.1 Flash on October 23, 2026 under the MiniMax Community License, which allows commercial use with attribution and a notice to MiniMax, and needs written permission above $20 million in yearly revenue. Neither runs on a typical laptop; both need hundreds of gigabytes of memory or storage.

  • Can I switch between DeepSeek and MiniMax in one agent?

    Yes. Any agent that connects to OpenRouter can use both, and Atomic Agent lets you switch the model per run with /model while the tools and prompt stay the same. That is how we ran this comparison. DeepSeek also has its own API with off-peak pricing, which Atomic Agent supports through a DeepSeek preset.

  • Is GLM 5.3 Flash better than both?

    Not in our test. GLM 5.3 Flash also passed every hidden test, but it took 14 minutes and 34 steps per task on average and cost $0.059, against 27 seconds and $0.016 for DeepSeek V4.1 Flash. Claude Haiku 5.5 had the lowest billed cost, $0.011 per task.


Get new posts
by email

One email when we post something new.

Share
Written by
Nadya Dudka Product, Atomic Agent
Andrew Dyuzhov SEO and growth

Run your local agent
in one click