DeepSeek V4 Flash 0731 vs Gemma 2 27B
DeepSeek V4 Flash 0731 costs 2.3x less per output token than Gemma 2 27B ($0.28 vs $0.65 per million). Updated October 21, 2026; 6 benchmarks have a result for both.
DeepSeek V4 Flash 0731 or Gemma 2 27B: which to pick
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding.
Compare them on price, context and the boards below.
- Shared results
- 6
- DeepSeek V4 Flash 0731 only
- 49
- Gemma 2 27B only
- 30
- Like-for-like categories
- 5 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only DeepSeek V4 Flash 0731 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only DeepSeek V4 Flash 0731 has a AA Intelligence Index result, 34.3.
Directional only
Agentic work
AA Agentic Index
No call
Only DeepSeek V4 Flash 0731 has a AA Agentic Index result, 41.0.
Directional only
Reasoning
GPQA Diamond
No call
Only DeepSeek V4 Flash 0731 has a GPQA Diamond result, 89.9%.
Directional only
Knowledge
MMLU Pro
No call
Only DeepSeek V4 Flash 0731 has a MMLU Pro result, 86.2%.
Directional only
Web design
Design Arena: websites
No call
Only DeepSeek V4 Flash 0731 has a Design Arena: websites result, 1238.
Directional only
Long documents
Listed context window
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 takes 1.05M tokens against 8K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 $0.0003, Gemma 2 27B $0.0010 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only DeepSeek V4 Flash 0731 has the number, $0.01.
Directional only
At a glance
- Coding index
- DeepSeek V4 Flash 0731 51.8 from 4 benchmarks, Gemma 2 27B not benchmarked.
- Widest category
- Math, 93.1 points apart on average over 1 shared benchmark.
- Widest single gap
- OTIS Mock AIME: DeepSeek V4 Flash 0731 94.4% against Gemma 2 27B 1.4%, 93.1 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4 Flash 0731 $0.28 against Gemma 2 27B $0.65 per million output tokens, 2.3x apart.
- Context window
- DeepSeek V4 Flash 0731 takes 1.05M tokens, Gemma 2 27B 8K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | DeepSeek V4 Flash 0731 | Bars | Gemma 2 27B | Ties |
|---|---|---|---|---|
| Intelligence | 1 | 0 | ||
| Reasoning | 1 | 0 | ||
| Math | 1 | 0 | ||
| Knowledge | 1 | 0 | ||
| General | 2 | 0 | ||
| All shared boards | 6 | 0 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index17 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| AA Coding Index | 69.1 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LiveCodeBench (Vals AI) | 87.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SWE-bench Verified (Vals AI) | 88.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 4 (Vals AI) | 18.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Vibe Code Bench (Vals AI) | 74.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Code migration (Vals AI) | 38.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| IOI (Vals AI) | 32.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SkillsBench (Vals AI) | 50.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| CyberBench (Vals AI) | 72.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SciCode | 50.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| FrontierCode | 18.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| WeirdML | 63.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ALE-Bench | 1306.1 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: coding | Not measured | 1211 | Only Gemma 2 27B measured |
| LMArena Text: software and IT | Not measured | 1228 | Only Gemma 2 27B measured |
| Neither model has a result on the other 22 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | 34.3 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Epoch Capabilities Index | 154.8 | 122.1 | DeepSeek V4 Flash 0731 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| AA Agentic Index | 41.0 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Finance Agent (Vals AI) | 49.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Tax Agent Bench (Vals AI) | 28.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Legal Research Bench (Vals AI) | 30.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Excel Modeling Benchmark (Vals AI) | 57.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| BioMysteryBench (Vals AI) | 64.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| GPQA Diamond | 89.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| GPQA Diamond (Artificial Analysis run) | 90.8% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Humanity's Last Exam (Artificial Analysis run) | 38.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| GPQA Diamond (Epoch AI run) | 91.0% | 36.5% | DeepSeek V4 Flash 0731 |
| ARC-AGI | 89.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ARC-AGI-2 | 61.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SimpleBench | 61.1% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Chess puzzles | 32.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Mystery game puzzles | 34.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LMArena Text: hard prompts | Not measured | 1198 | Only Gemma 2 27B measured |
| LMArena Text: expert | Not measured | 1171 | Only Gemma 2 27B measured |
| LMArena Text: hard prompts in English | Not measured | 1206 | Only Gemma 2 27B measured |
| Neither model has a result on the other 10 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| OTIS Mock AIME | 94.4% | 1.4% | DeepSeek V4 Flash 0731 |
| FrontierMath, tiers 1 to 3 | 57.5% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| FrontierMath, tier 4 | 24.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| ProofBench | 56.0% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MATH level 5 | Not measured | 27.9% | Only Gemma 2 27B measured |
| LMArena Text: math | Not measured | 1212 | Only Gemma 2 27B measured |
| LMArena Text: mathematical work | Not measured | 1221 | Only Gemma 2 27B measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| LegalBench (Vals AI) | 77.7% | 68.0% | DeepSeek V4 Flash 0731 |
| CorpFin (Vals AI) | 61.9% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| TaxEval (Vals AI) | 70.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MedCode (Vals AI) | 41.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| SimpleQA Verified | 33.6% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| MMLU | Not measured | 75.7% | Only Gemma 2 27B measured |
| LMArena Text: science | Not measured | 1228 | Only Gemma 2 27B measured |
| LMArena Text: medicine and healthcare | Not measured | 1198 | Only Gemma 2 27B measured |
| LMArena Text: legal and government | Not measured | 1241 | Only Gemma 2 27B measured |
| LMArena Text: business and finance | Not measured | 1208 | Only Gemma 2 27B measured |
| Neither model has a result on the other 7 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| Design Arena: websites | 1238 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: UI components | 1235 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: game dev | 1208 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: data viz | 1180 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: 3D | 1209 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: all code categories | 1230 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: SVG | 1185 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Design Arena: ASCII art | 1090 | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 80.4% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| Long context reasoning (AA-LCR) | 79.7% | Not measured | Only DeepSeek V4 Flash 0731 measured |
| DTBench | 90.9% | 48.0% | DeepSeek V4 Flash 0731 |
| LMCA | 41.7% | 7.1% | DeepSeek V4 Flash 0731 |
| LMArena Text | Not measured | 1231 | Only Gemma 2 27B measured |
| LMArena Text: instruction following | Not measured | 1206 | Only Gemma 2 27B measured |
| LMArena Text: creative writing | Not measured | 1240 | Only Gemma 2 27B measured |
| LMArena Text: English | Not measured | 1242 | Only Gemma 2 27B measured |
| LMArena Text: non-English | Not measured | 1217 | Only Gemma 2 27B measured |
| LMArena Text: Chinese | Not measured | 1221 | Only Gemma 2 27B measured |
| LMArena Text: German | Not measured | 1209 | Only Gemma 2 27B measured |
| LMArena Text: Japanese | Not measured | 1175 | Only Gemma 2 27B measured |
| LMArena Text: Korean | Not measured | 1174 | Only Gemma 2 27B measured |
| LMArena Text: French | Not measured | 1248 | Only Gemma 2 27B measured |
| LMArena Text: Spanish | Not measured | 1228 | Only Gemma 2 27B measured |
| LMArena Text: Russian | Not measured | 1234 | Only Gemma 2 27B measured |
| LMArena Text: Polish | Not measured | 1277 | Only Gemma 2 27B measured |
| LMArena Text: multi-turn | Not measured | 1224 | Only Gemma 2 27B measured |
| LMArena Text: longer queries | Not measured | 1230 | Only Gemma 2 27B measured |
| LMArena Text: writing and language | Not measured | 1249 | Only Gemma 2 27B measured |
| LMArena Text: entertainment and media | Not measured | 1212 | Only Gemma 2 27B measured |
| Neither model has a result on the other 25 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4 Flash 0731 | Gemma 2 27B | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
DeepSeek V4 Flash 0731 costs less
Repository review
50K input + 3K output tokens
DeepSeek V4 Flash 0731 costs less
Agent loop
200K input + 10K output tokens
DeepSeek V4 Flash 0731 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | DeepSeek V4 Flash 0731 | Google Gemma 2 27B |
|---|---|---|
| Maker | DeepSeek | |
| Weights | Open weights | Open weights |
| Released | July 31, 2026 | July 13, 2024 |
| Context window | 1.05M | 8K |
| Input $/Mtok | $0.14 | $0.65 |
| Output $/Mtok | $0.28 | $0.65 |
| Coding index | 51.8 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | $0.01 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4 Flash 0731 better than Gemma 2 27B for coding?
Only DeepSeek V4 Flash 0731 has a coding score, 51.8 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.
Which is cheaper, DeepSeek V4 Flash 0731 or Gemma 2 27B?
DeepSeek V4 Flash 0731 costs $0.14 per million input tokens and $0.28 per million output tokens; Gemma 2 27B costs $0.65 and $0.65. Cost per solved task is known for DeepSeek V4 Flash 0731 only.
Which has the bigger context window, DeepSeek V4 Flash 0731 or Gemma 2 27B?
DeepSeek V4 Flash 0731, with 1.05M tokens against 8K.
How many benchmarks is the DeepSeek V4 Flash 0731 vs Gemma 2 27B comparison based on?
6 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4 Flash 0731's coding index rests on 4 independent benchmarks and Gemma 2 27B's on 0. Where only one model has a result, the page says so instead of naming a winner.