DeepSeek V3.2 vs Gemma 4 31B
Gemma 4 31B leads DeepSeek V3.2 on coding, 39.0 to 30.0 on the Vibe Coding Index, and Gemma 4 31B costs 2.2x less per output token ($0.40 vs $0.88 per million). Updated October 21, 2026; 40 benchmarks have a result for both.
DeepSeek V3.2 or Gemma 4 31B: which to pick
Pick Gemma 4 31B for coding: it scores 39.0 on the Vibe Coding Index against 30.0 for DeepSeek V3.2, though on 2 benchmarks against 3.
Pick DeepSeek V3.2 for work measured by AA Coding Index or AA Intelligence Index, where it leads.
- Shared results
- 40
- DeepSeek V3.2 only
- 35
- Gemma 4 31B only
- 31
- Like-for-like categories
- 7 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
Gemma 4 31B
Gemma 4 31B scores 39.0 against 30.0.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
DeepSeek V3.2
DeepSeek V3.2 leads, 21.5 against 14.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 4 31B has a AA Agentic Index result, 4.2.
Directional only
Reasoning
GPQA Diamond
No call
Only DeepSeek V3.2 has a GPQA Diamond result, 80.3%.
Directional only
Math
AIME
No call
Only DeepSeek V3.2 has a AIME result, 84.6%.
Directional only
Knowledge
MMLU Pro
No call
Only DeepSeek V3.2 has a MMLU Pro result, 84.9%.
Directional only
Web design
Design Arena: websites
No call
Only DeepSeek V3.2 has a Design Arena: websites result, 1175.
Directional only
Long documents
Listed context window
Gemma 4 31B
Gemma 4 31B takes 262K tokens against 164K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 31B
DeepSeek V3.2 $0.0007, Gemma 4 31B $0.0003 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only DeepSeek V3.2 has the number, $0.99.
Directional only
At a glance
- Coding index
- DeepSeek V3.2 30.0 from 3 benchmarks, Gemma 4 31B 39.0 from 2 benchmarks.
- Widest category
- Agentic work, 25.1 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: DeepSeek V3.2 90.6% against Gemma 4 31B 65.5%, 25.1 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V3.2 $0.88 against Gemma 4 31B $0.40 per million output tokens, 2.2x apart.
- Context window
- DeepSeek V3.2 takes 164K tokens, Gemma 4 31B 262K.
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 V3.2 | Bars | Gemma 4 31B | Ties |
|---|---|---|---|---|
| Coding | 1 | 6 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 1 | 4 | ||
| Math | 0 | 2 | ||
| Knowledge | 1 | 4 | ||
| General | 2 | 16 | ||
| All shared boards | 8 | 32 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index16
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| SWE-bench Verified | 70.0% | Not measured | Only DeepSeek V3.2 measured |
| SWE-bench Multilingual | 59.0% | Not measured | Only DeepSeek V3.2 measured |
| LiveBench coding | Not measured | 49.0% | Only Gemma 4 31B measured |
| LMArena WebDev | 1362 | 1367 | Gemma 4 31B |
| AA Coding Index | 44.2 | 43.4 | DeepSeek V3.2 |
| LiveCodeBench (Vals AI) | 80.7% | Not measured | Only DeepSeek V3.2 measured |
| SWE-bench Verified (Vals AI) | 67.6% | Not measured | Only DeepSeek V3.2 measured |
| Vibe Code Bench (Vals AI) | 5.1% | Not measured | Only DeepSeek V3.2 measured |
| LiveCodeBench (Artificial Analysis run) | 86.2% | Not measured | Only DeepSeek V3.2 measured |
| SciCode | Not measured | 45.5% | Only Gemma 4 31B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 35.6% | 36.4% | Gemma 4 31B |
| Terminal-Bench | 39.6% | Not measured | Only DeepSeek V3.2 measured |
| WeirdML | Not measured | 52.3% | Only Gemma 4 31B measured |
| ALE-Bench | Not measured | 925.5 | Only Gemma 4 31B measured |
| LMArena Text: coding | 1453 | 1459 | Gemma 4 31B |
| LMArena Text: software and IT | 1449 | 1463 | Gemma 4 31B |
| LMArena WebDev: React | 1350 | 1359 | Gemma 4 31B |
| LMArena WebDev: HTML | 1371 | 1380 | Gemma 4 31B |
| SciCode | Not measured | 8.9% | Only Gemma 4 31B measured |
| Neither model has a result on the other 20 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| AA Intelligence Index | 21.5 | 14.7 | DeepSeek V3.2 |
| Epoch Capabilities Index | 146.1 | 143.0 | DeepSeek V3.2 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 4.2 | Only Gemma 4 31B measured |
| LiveBench research | Not measured | 44.4% | Only Gemma 4 31B measured |
| LiveBench browser | Not measured | 4.0% | Only Gemma 4 31B measured |
| LiveBench long agentic | Not measured | 13.3% | Only Gemma 4 31B measured |
| τ²-Bench Telecom | 90.6% | 65.5% | DeepSeek V3.2 |
| APEX-Agents | 21.3% | Not measured | Only DeepSeek V3.2 measured |
| Vending-Bench 2 | $1,034 | Not measured | Only DeepSeek V3.2 measured |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index14
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| GPQA Diamond | 80.3% | Not measured | Only DeepSeek V3.2 measured |
| LiveBench reasoning | Not measured | 68.3% | Only Gemma 4 31B measured |
| GPQA Diamond (Artificial Analysis run) | 84.0% | 85.7% | Gemma 4 31B |
| Humanity's Last Exam (Artificial Analysis run) | 24.6% | 23.6% | DeepSeek V3.2 |
| GPQA Diamond (Epoch AI run) | Not measured | 75.8% | Only Gemma 4 31B measured |
| ARC-AGI | 57.0% | Not measured | Only DeepSeek V3.2 measured |
| ARC-AGI-2 | 4.0% | Not measured | Only DeepSeek V3.2 measured |
| LMArena Text: hard prompts | 1434 | 1448 | Gemma 4 31B |
| LMArena Text: expert | 1436 | 1464 | Gemma 4 31B |
| LMArena Text: hard prompts in English | 1446 | 1456 | Gemma 4 31B |
| LMArena Vision: diagrams | Not measured | 1283 | Only Gemma 4 31B measured |
| LMArena Vision: homework | Not measured | 1310 | Only Gemma 4 31B measured |
| Kagi LLM Benchmark | Not measured | 63.5% | Only Gemma 4 31B measured |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| AIME | 84.6% | Not measured | Only DeepSeek V3.2 measured |
| MGSM (Vals AI) | 86.0% | Not measured | Only DeepSeek V3.2 measured |
| AA Math Index | 92.0 | Not measured | Only DeepSeek V3.2 measured |
| AIME 2025 (Artificial Analysis run) | 92.0% | Not measured | Only DeepSeek V3.2 measured |
| OTIS Mock AIME | Not measured | 73.3% | Only Gemma 4 31B measured |
| LMArena Text: math | 1435 | 1463 | Gemma 4 31B |
| LMArena Text: mathematical work | 1440 | 1465 | Gemma 4 31B |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index14
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| MMLU Pro | 84.9% | Not measured | Only DeepSeek V3.2 measured |
| LegalBench (Vals AI) | 76.1% | Not measured | Only DeepSeek V3.2 measured |
| CaseLaw (Vals AI) | 55.4% | 52.6% | DeepSeek V3.2 |
| CorpFin (Vals AI) | 51.0% | Not measured | Only DeepSeek V3.2 measured |
| TaxEval (Vals AI) | 68.2% | Not measured | Only DeepSeek V3.2 measured |
| MortgageTax (Vals AI) | Not measured | 61.4% | Only Gemma 4 31B measured |
| MedQA (Vals AI) | 93.9% | Not measured | Only DeepSeek V3.2 measured |
| MMLU Pro (Artificial Analysis run) | 86.2% | Not measured | Only DeepSeek V3.2 measured |
| SimpleQA Verified | Not measured | 10.4% | Only Gemma 4 31B measured |
| LMArena Text: science | 1446 | 1457 | Gemma 4 31B |
| LMArena Text: medicine and healthcare | 1440 | 1451 | Gemma 4 31B |
| LMArena Text: legal and government | 1425 | 1438 | Gemma 4 31B |
| LMArena Text: business and finance | 1410 | 1430 | Gemma 4 31B |
| FACTS Benchmark Suite | Not measured | 45.3% | Only Gemma 4 31B measured |
| Neither model has a result on the other 4 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| Design Arena: websites | 1175 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: UI components | 1149 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: game dev | 1132 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: data viz | 1158 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: 3D | 1133 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: all code categories | 1164 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: SVG | 1032 | Not measured | Only DeepSeek V3.2 measured |
| Design Arena: ASCII art | 1083 | Not measured | Only DeepSeek V3.2 measured |
| LiveBench design | Not measured | 58.4% | Only Gemma 4 31B measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index216
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 53.3% | Only Gemma 4 31B measured |
| SAGE (Vals AI) | Not measured | 55.0% | Only Gemma 4 31B measured |
| IFBench | 60.7% | 75.6% | Gemma 4 31B |
| Long context reasoning (AA-LCR) | 73.3% | 69.7% | DeepSeek V3.2 |
| DTBench | 85.6% | 82.7% | DeepSeek V3.2 |
| LMCA | 28.8% | 39.3% | Gemma 4 31B |
| CL-bench | 12.4% | Not measured | Only DeepSeek V3.2 measured |
| Surface Evolver Bench | Not measured | 30.6% | Only Gemma 4 31B measured |
| CL-bench Life | 7.4% | Not measured | Only DeepSeek V3.2 measured |
| LMArena Text | 1425 | 1443 | Gemma 4 31B |
| LMArena Text: instruction following | 1413 | 1433 | Gemma 4 31B |
| LMArena Text: creative writing | 1400 | 1417 | Gemma 4 31B |
| LMArena Vision | Not measured | 1276 | Only Gemma 4 31B measured |
| LMArena Text: English | 1439 | 1451 | Gemma 4 31B |
| LMArena Text: non-English | 1409 | 1430 | Gemma 4 31B |
| LMArena Text: Chinese | 1455 | 1475 | Gemma 4 31B |
| LMArena Text: German | 1413 | Not measured | Only DeepSeek V3.2 measured |
| LMArena Text: Japanese | 1374 | Not measured | Only DeepSeek V3.2 measured |
| LMArena Text: Korean | 1370 | Not measured | Only DeepSeek V3.2 measured |
| LMArena Text: French | 1429 | 1436 | Gemma 4 31B |
| LMArena Text: Spanish | 1424 | 1442 | Gemma 4 31B |
| LMArena Text: Russian | 1424 | 1460 | Gemma 4 31B |
| LMArena Text: Polish | 1419 | 1433 | Gemma 4 31B |
| LMArena Text: multi-turn | 1427 | 1452 | Gemma 4 31B |
| LMArena Text: longer queries | 1428 | 1446 | Gemma 4 31B |
| LMArena Text: writing and language | 1407 | 1432 | Gemma 4 31B |
| LMArena Text: entertainment and media | 1395 | 1405 | Gemma 4 31B |
| LMArena Vision: English | Not measured | 1271 | Only Gemma 4 31B measured |
| LMArena Vision: Chinese | Not measured | 1326 | Only Gemma 4 31B measured |
| LMArena Vision: reading text | Not measured | 1282 | Only Gemma 4 31B measured |
| LMArena Vision: humor | Not measured | 1280 | Only Gemma 4 31B measured |
| LMArena Vision: captioning | Not measured | 1218 | Only Gemma 4 31B measured |
| LMArena Vision: recognizing things | Not measured | 1226 | Only Gemma 4 31B measured |
| LMArena Vision: creative writing | Not measured | 1285 | Only Gemma 4 31B measured |
| LMArena Document | Not measured | 1425 | Only Gemma 4 31B measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V3.2 | Gemma 4 31B | 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
Gemma 4 31B costs less
Repository review
50K input + 3K output tokens
Gemma 4 31B costs less
Agent loop
200K input + 10K output tokens
Gemma 4 31B 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 V3.2 | Google Gemma 4 31B |
|---|---|---|
| Maker | DeepSeek | |
| Weights | Open weights | Open weights |
| Released | December 1, 2025 | April 2, 2026 |
| Context window | 164K | 262K |
| Input $/Mtok | $0.29 | $0.14 |
| Output $/Mtok | $0.88 | $0.40 |
| Coding index | 30.0 | 39.0 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $0.99 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V3.2 better than Gemma 4 31B for coding?
Pick Gemma 4 31B for coding: it scores 39.0 on the Vibe Coding Index against 30.0 for DeepSeek V3.2, though on 2 benchmarks against 3. Pick DeepSeek V3.2 for work measured by AA Coding Index or AA Intelligence Index, where it leads.
Which is cheaper, DeepSeek V3.2 or Gemma 4 31B?
DeepSeek V3.2 costs $0.29 per million input tokens and $0.88 per million output tokens; Gemma 4 31B costs $0.14 and $0.40. Cost per solved task is known for DeepSeek V3.2 only.
Which has the bigger context window, DeepSeek V3.2 or Gemma 4 31B?
Gemma 4 31B, with 262K tokens against 164K.
How many benchmarks is the DeepSeek V3.2 vs Gemma 4 31B comparison based on?
40 benchmarks have a result for both models as of October 21, 2026. DeepSeek V3.2's coding index rests on 3 independent benchmarks and Gemma 4 31B's on 2. Where only one model has a result, the page says so instead of naming a winner.