Two open-weight models. Two Chinese AI labs. Two radically different bets on what "budget coding" means in 2026. MiniMax M2.7 (March 2026) is a 230B MoE with just 10B active parameters — a self-evolving agent model that nearly matches Claude Opus 4.6 on SWE-bench Pro at 1/20th the cost. DeepSeek V4 Flash (April 2026) is a 284B MoE with 13B active — the cost-optimized sibling of the record-breaking V4 Pro, delivering 91.6% LiveCodeBench at $0.14/$0.28 per million tokens. Both are open-weight. Both are absurdly cheap. But they're optimized for very different things. Here's the data.
⚡ TL;DR
- DeepSeek V4 Flash wins on raw coding benchmarks. 79.0% SWE-bench Verified vs M2.7's 75.4%, 91.6% LiveCodeBench vs M2.7's ~65%, and a 3052 Codeforces rating. For pure code generation and algorithmic work, Flash is clearly ahead.
- MiniMax M2.7 wins on agentic coding value. 56.22% SWE-bench Pro — slightly ahead of DeepSeek V4 Flash's 52.6%. And at $0.72/M output (OpenRouter), it delivers 78.1 SWE-bench Pro points per dollar — the best value of any model on the market.
- DeepSeek V4 Flash is cheaper and faster. $0.14/$0.28 per 1M tokens vs M2.7's $0.30/$1.20. Flash is 2x cheaper on input and 4.3x cheaper on output. Plus a massive 1M context window vs M2.7's 205K.
- Both are open-weight but with different licenses. DeepSeek V4 Flash: MIT license (truly open). MiniMax M2.7: Modified-MIT (commercial use requires authorization).
Specifications at a Glance
| Specification | MiniMax M2.7 | DeepSeek V4 Flash |
|---|---|---|
| Provider | MiniMax | DeepSeek |
| Release Date | March 18, 2026 | April 24, 2026 |
| Architecture | MoE — 230B total / 10B active | MoE — 284B total / 13B active |
| Context Window | 205,000 tokens | 1,048,576 tokens |
| Max Output | ~197,000 tokens | ~66,000 tokens |
| Input Modalities | Text only | Text only |
| License | Modified-MIT (commercial auth required) | MIT (fully open) |
| API ID | minimax-m2.7 | deepseek-v4-flash |
Pricing: DeepSeek V4 Flash Is 2-4x Cheaper
This is the most lopsided category. DeepSeek V4 Flash costs $0.14 per million input tokens and $0.28 per million output. MiniMax M2.7 costs $0.30 in / $1.20 out. That makes Flash 2.1x cheaper on input and 4.3x cheaper on output. With prompt caching, Flash's cache-hit input drops to an absurd $0.0028/M — a 98% discount. M2.7's cache read is $0.06/M.
| Pricing (per 1M tokens) | MiniMax M2.7 | DeepSeek V4 Flash | Delta |
|---|---|---|---|
| Input (cache miss) | $0.30 | $0.14 | Flash 2.1x cheaper |
| Output | $1.20 | $0.28 | Flash 4.3x cheaper |
| Cached Input | $0.06 | $0.0028 | Flash 21x cheaper |
| Cache Write | $0.375 | N/A (included) | — |
| OpenRouter (best price) | $0.18 / $0.72 | $0.09 / $0.18 | Flash 2-4x cheaper |
On OpenRouter, the gap widens further: Flash can be accessed for as low as $0.09/$0.18 via some providers, while M2.7 bottoms out around $0.18/$0.72. For high-volume production workloads, Flash's pricing is essentially unbeatable in the open-weight tier.
Speed: Flash Is Faster, M2.7 Has More Output Headroom
| Speed Metric | MiniMax M2.7 | DeepSeek V4 Flash |
|---|---|---|
| Output Speed (AA) | ~50 tok/s (standard) / ~100 tok/s (HighSpeed) | ~96 tok/s (standard) / ~104 tok/s (reasoning max) |
| TTFT (median) | 1.33s | 0.94s |
| OpenRouter p50 Latency | 1.71s | — (faster) |
| OpenRouter p50 Throughput | 122 tok/s | — |
| Max Output Tokens | ~197K | ~66K |
DeepSeek V4 Flash is consistently faster on first-token latency and standard output speed. But MiniMax M2.7 offers nearly 3x the maximum output tokens (197K vs 66K) — important for long-form code generation, full-file rewrites, and extended agent sessions. On OpenRouter, M2.7 actually shows higher peak throughput (122 tok/s), suggesting it can burst faster under certain provider configurations.
Coding Benchmarks: Flash Leads on Raw Code, M2.7 on Agentic Value
This is the most important section — and where the two models diverge most clearly.
| Coding Benchmark | MiniMax M2.7 | DeepSeek V4 Flash | Winner |
|---|---|---|---|
| SWE-bench Verified (Bug-fix coding) | 75.4% (Arcee harness) | 79.0% (vendor) | Flash +3.6 |
| SWE-bench Pro (Hard agentic coding) | 56.22% | 52.6% (vendor) | M2.7 +3.6 |
| LiveCodeBench (Algorithmic coding) | ~65.0% | 91.6% | Flash +26.6 |
| Codeforces Rating | — | 3052 | Flash |
| Terminal-Bench 2.0 (Agentic CLI) | 57.0% | 56.9% | M2.7 +0.1 (tie) |
| SWE-bench Multilingual | — | 73.3% | Flash |
| AA Coding Index | 52.6 | 38.7 | M2.7 +13.9 |
| HumanEval (Base, Pass@1) | — | 69.5% | Flash |
| BigCodeBench (Base) | — | 56.8% | Flash |
The pattern is clear: DeepSeek V4 Flash dominates on raw code generation and algorithmic benchmarks — 91.6% LiveCodeBench is near the top of the entire market, and 79.0% SWE-bench Verified is just 1.6 points behind V4 Pro. Its 3052 Codeforces rating places it among elite competitive programmers. For "write this function" or "solve this algorithm" tasks, Flash is the stronger model.
But MiniMax M2.7 fights back on agentic coding. Its 56.22% SWE-bench Pro edges Flash's 52.6%, and its 57.0% Terminal-Bench 2.0 is essentially tied. The Artificial Analysis Coding Index — which measures real-world coding agent performance — gives M2.7 a 52.6 vs Flash's 38.7, a significant 13.9-point gap. This suggests M2.7 may be better at the kind of multi-step, tool-using coding workflows that matter in production.
The Value Equation: SWE-bench Pro Points Per Dollar
This is where MiniMax M2.7 makes its strongest case. When you divide SWE-bench Pro score by output token cost, M2.7 delivers 78.1 points per dollar — the highest of any model on the market. DeepSeek V4 Flash delivers approximately 187.9 points per dollar at its official pricing (52.6 / $0.28), but that's using the vendor-reported Pro score which may not be directly comparable.
| Value Metric | MiniMax M2.7 | DeepSeek V4 Flash | Context |
|---|---|---|---|
| SWE-bench Pro Score | 56.22% | 52.6% (vendor) | Different harnesses — not directly comparable |
| Output Cost per 1M tokens | $1.20 (official) / $0.72 (OpenRouter) | $0.28 (official) / $0.18 (OpenRouter) | Flash always cheaper |
| Pro Points per Output Dollar | 46.9 (official) / 78.1 (OR) | 187.9 (official) / 292.2 (OR) | Flash wins on raw math, but scores aren't comparable |
| AA Coding Index | 52.6 | 38.7 | Independent, comparable benchmark |
The honest take: on the one independent benchmark where both models have published scores (AA Coding Index), M2.7 leads by 13.9 points. But Flash's raw coding benchmarks (LiveCodeBench, HumanEval, Codeforces) are dramatically higher. These measure different things — algorithmic skill vs agentic coding capability — and the "right" model depends on which matters more for your workload.
Agentic & Tool-Use Benchmarks
| Agentic Benchmark | MiniMax M2.7 | DeepSeek V4 Flash | Winner |
|---|---|---|---|
| Terminal-Bench 2.0 | 57.0% | 56.9% | Tie |
| VIBE-Pro (Full project delivery) | 55.6% | — | M2.7 only |
| GDPval-AA (Knowledge work Elo) | 1495 | 1395 | M2.7 +100 |
| Toolathon (Tool use accuracy) | 46.3% | — | M2.7 only |
| MMClaw Skill Compliance | 97% | — | M2.7 only |
MiniMax M2.7 has more published agentic benchmarks, and they're consistently strong. Its 97% MMClaw skill compliance (40 complex skills over 2000+ tokens each) suggests reliable tool-use behavior. The 1495 GDPval-AA Elo — a measure of real-world knowledge work quality — beats Flash's 1395 by 100 points. M2.7 was literally designed as an agent model, with a "self-evolving" training loop where it optimized its own agent scaffold over 100+ autonomous rounds.
Reasoning & Knowledge Benchmarks
| Benchmark | MiniMax M2.7 | DeepSeek V4 Flash | Winner |
|---|---|---|---|
| AA Intelligence Index | 50 | 47 (non-reasoning) / — (reasoning max) | M2.7 |
| GPQA Diamond | 87.4 | 71.6 (non-reasoning) / 88.1 (Think Max) | M2.7 (standard) / Flash (max reasoning) |
| HMMT 2026 Feb | — | 94.8% (Think Max) | Flash |
| BrowseComp | — | 73.2% (Think Max) | Flash |
MiniMax M2.7 scores higher on the AA Intelligence Index (50 vs 47) and standard GPQA Diamond (87.4 vs 71.6), suggesting stronger general reasoning out of the box. But DeepSeek V4 Flash in "Think Max" mode — with extended reasoning — pulls ahead on GPQA Diamond (88.1) and posts elite math scores (94.8% HMMT 2026). The key caveat: Think Max mode burns significantly more tokens, eroding Flash's cost advantage.
Context Window: Flash's 5x Advantage
This is the most underrated differentiator. DeepSeek V4 Flash has a 1,048,576-token context window — roughly 5x MiniMax M2.7's 205,000 tokens. For coding workflows that involve entire codebases, long conversation histories, or large documentation contexts, this is a decisive advantage. M2.7's 205K context is adequate for most single-file tasks but becomes a bottleneck for repository-scale work.
However, M2.7 compensates with a much larger maximum output: ~197,000 tokens vs Flash's ~66,000. If your workflow generates long outputs (full-file rewrites, extensive documentation, multi-file generations), M2.7's output headroom is valuable.
Verdict: Which Should You Choose?
| Use Case | Winner | Why |
|---|---|---|
| Pure code generation & algorithms | DeepSeek V4 Flash | 91.6% LiveCodeBench, 3052 Codeforces — elite algorithmic coding |
| Agentic coding (multi-step, tool-using) | MiniMax M2.7 | 56.22% SWE-bench Pro, 52.6 AA Coding Index — purpose-built agent |
| Lowest cost per token | DeepSeek V4 Flash | $0.14/$0.28 — 2-4x cheaper than M2.7, 98% cache discount |
| Best coding value (Pro points per $) | MiniMax M2.7 | 78.1 Pro points per output dollar (OpenRouter) — market leader |
| Large codebase / long context work | DeepSeek V4 Flash | 1M context window — 5x M2.7's 205K |
| Long-form output generation | MiniMax M2.7 | ~197K max output vs 66K — 3x headroom |
| General reasoning & knowledge work | MiniMax M2.7 | AA Intelligence Index 50, GDPval-AA 1495 Elo |
| Truly open license (MIT) | DeepSeek V4 Flash | MIT license — no commercial restrictions |
| Self-hosting / local deployment | MiniMax M2.7 | 10B active params — easier to run locally than Flash's 13B |
| Production agent pipelines | MiniMax M2.7 | 97% MMClaw skill compliance, self-evolving scaffold optimization |
The Bottom Line
These two models represent the best of open-weight budget coding in 2026, but they're optimized for fundamentally different things.
DeepSeek V4 Flash is the algorithmic specialist. If you need raw code generation — "write a function that does X," "solve this LeetCode problem," "implement this algorithm" — Flash delivers near-Pro quality at absurdly low prices. Its 1M context window, MIT license, and 91.6% LiveCodeBench make it the default choice for most coding tasks. At $0.14/$0.28, it's essentially free compared to frontier models.
MiniMax M2.7 is the agent specialist. It was literally trained by optimizing its own agent scaffold over 100+ autonomous rounds. Its SWE-bench Pro score (56.22%) edges Flash, its AA Coding Index (52.6) is significantly higher, and its value proposition — 78.1 Pro points per dollar — is unmatched. For multi-step coding workflows, tool-using agents, and production pipelines where reliability matters more than raw algorithmic skill, M2.7 is the smarter choice.
The practical answer: use both. Flash for the high-volume code generation and algorithmic work, M2.7 for the agentic orchestration and complex multi-step tasks. At these prices, there's no reason to choose.
MiniMax M2.7 and DeepSeek V4 Flash — plus 40+ other models. Free to start.
Sources: Kilo Blog — M2.7 vs Claude Opus 4.6 | Digital Applied — M2.7 Release Guide | MarkTechPost — M2.7 Open Source | Morph — DeepSeek V4 Guide | DeepSeek AI Guide — Benchmarks 2026 | Fireworks — Best LLMs for Coding 2026 | Converge — DeepSeek V4 for Coding | Artificial Analysis — Flash vs M2.7 | OpenRouter — Model Comparison | BenchLM — V4 Pro vs M2.7 | Morph — SWE-bench Pro Leaderboard | OFOX — MiniMax M2.7 Pricing | Apidog — DeepSeek V4 Pricing.