Enter opens the highlighted result. Esc closes.

DeepSeek V3 0324 vs Gemma 4 31B

Updated October 21, 2026. 15 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

DeepSeek V3 0324DeepSeek
Coding
42.0
Overall
9.7
Output $/M
$1.14
0
Gemma 4 31BGoogle
Coding
38.3
Overall
14.7
Output $/M
$0.40
15
vs boards won of 15 shared

Decision reading

Pick DeepSeek V3 0324 for coding: it scores 42.0 on the Vibe Coding Index against 38.3 for Gemma 4 31B, though on 1 benchmark against 2.

Pick Gemma 4 31B when output tokens cost 2.8x less, or when the context window is larger, 262K against 164K tokens.

Shared results
15
DeepSeek V3 0324 only
20
Gemma 4 31B only
53
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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.

At a glance

Coding index
DeepSeek V3 0324 42.0 from 1 benchmark, Gemma 4 31B 38.3 from 2 benchmarks.
Widest category
Math, 35.6 points apart on average over 1 shared benchmark.
Widest single gap
OTIS Mock AIME: DeepSeek V3 0324 37.8% against Gemma 4 31B 73.3%, 35.6 points apart on a 0 to 100 scale.
Output price
DeepSeek V3 0324 $1.14 against Gemma 4 31B $0.40 per million output tokens, 2.8x apart.
Context window
DeepSeek V3 0324 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.

Boards won, where both have a result
CategoryDeepSeek V3 0324BarsGemma 4 31BTies
Coding04
Intelligence01
Agentic work02
Reasoning03
Math01
General04
All shared boards015
CodingLike-for-likeFour of these boards feed the Vibe Coding Index04
Coding benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
SWE-bench Verified42.0%Not measuredOnly DeepSeek V3 0324 measured
LiveBench codingNot measured49.0%Only Gemma 4 31B measured
LMArena WebDevNot measured1367Only Gemma 4 31B measured
AA Coding Index21.243.4Gemma 4 31B
LiveCodeBench (Vals AI)65.5%Not measuredOnly DeepSeek V3 0324 measured
LiveCodeBench (Artificial Analysis run)40.5%Not measuredOnly DeepSeek V3 0324 measured
SciCode39.0%45.5%Gemma 4 31B
Terminal-Bench Hard (Artificial Analysis run)15.2%36.4%Gemma 4 31B
WeirdML36.1%52.3%Gemma 4 31B
ALE-BenchNot measured925.5Only Gemma 4 31B measured
LMArena Text: codingNot measured1459Only Gemma 4 31B measured
LMArena Text: software and ITNot measured1463Only Gemma 4 31B measured
LMArena WebDev: ReactNot measured1359Only Gemma 4 31B measured
LMArena WebDev: HTMLNot measured1380Only Gemma 4 31B measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
AA Intelligence Index9.714.7Gemma 4 31B
Epoch Capabilities IndexNot measured143.0Only Gemma 4 31B measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
AA Agentic Index0.84.2Gemma 4 31B
LiveBench researchNot measured44.4%Only Gemma 4 31B measured
LiveBench browserNot measured4.0%Only Gemma 4 31B measured
LiveBench long agenticNot measured13.3%Only Gemma 4 31B measured
τ²-Bench Telecom47.1%65.5%Gemma 4 31B
METR time horizons49.6%Not measuredOnly DeepSeek V3 0324 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
GPQA Diamond61.6%Not measuredOnly DeepSeek V3 0324 measured
LiveBench reasoningNot measured68.3%Only Gemma 4 31B measured
GPQA Diamond (Artificial Analysis run)65.5%85.7%Gemma 4 31B
Humanity's Last Exam (Artificial Analysis run)4.7%23.6%Gemma 4 31B
GPQA Diamond (Epoch AI run)67.6%75.8%Gemma 4 31B
SimpleBench27.2%Not measuredOnly DeepSeek V3 0324 measured
LMArena Text: hard promptsNot measured1448Only Gemma 4 31B measured
LMArena Text: expertNot measured1464Only Gemma 4 31B measured
LMArena Text: hard prompts in EnglishNot measured1456Only Gemma 4 31B measured
LMArena Vision: diagramsNot measured1283Only Gemma 4 31B measured
LMArena Vision: homeworkNot measured1310Only Gemma 4 31B measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index01
Math benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
AIME52.2%Not measuredOnly DeepSeek V3 0324 measured
MATH 500 (Vals AI)88.6%Not measuredOnly DeepSeek V3 0324 measured
MGSM (Vals AI)91.7%Not measuredOnly DeepSeek V3 0324 measured
AA Math Index41.0Not measuredOnly DeepSeek V3 0324 measured
AIME 2025 (Artificial Analysis run)41.0%Not measuredOnly DeepSeek V3 0324 measured
OTIS Mock AIME37.8%73.3%Gemma 4 31B
MATH level 575.5%Not measuredOnly DeepSeek V3 0324 measured
LMArena Text: mathNot measured1463Only Gemma 4 31B measured
LMArena Text: mathematical workNot measured1465Only Gemma 4 31B measured
Neither model has a result on the other 4 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Knowledge benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
MMLU Pro79.5%Not measuredOnly DeepSeek V3 0324 measured
LegalBench (Vals AI)77.7%Not measuredOnly DeepSeek V3 0324 measured
CaseLaw (Vals AI)Not measured52.6%Only Gemma 4 31B measured
CorpFin (Vals AI)54.7%Not measuredOnly DeepSeek V3 0324 measured
TaxEval (Vals AI)71.1%Not measuredOnly DeepSeek V3 0324 measured
MortgageTax (Vals AI)Not measured61.4%Only Gemma 4 31B measured
MedQA (Vals AI)82.0%Not measuredOnly DeepSeek V3 0324 measured
MMLU Pro (Artificial Analysis run)81.9%Not measuredOnly DeepSeek V3 0324 measured
SimpleQA VerifiedNot measured10.4%Only Gemma 4 31B measured
LMArena Text: scienceNot measured1457Only Gemma 4 31B measured
LMArena Text: medicine and healthcareNot measured1451Only Gemma 4 31B measured
LMArena Text: legal and governmentNot measured1438Only Gemma 4 31B measured
LMArena Text: business and financeNot measured1430Only 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 index1 board, none shared
Web design benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
LiveBench designNot measured58.4%Only Gemma 4 31B measured
Neither model has a result on the other 8 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
LiveBench data analysisNot measured53.3%Only Gemma 4 31B measured
SAGE (Vals AI)Not measured55.0%Only Gemma 4 31B measured
IFBench41.0%75.6%Gemma 4 31B
Long context reasoning (AA-LCR)40.7%69.7%Gemma 4 31B
DTBench64.8%82.7%Gemma 4 31B
LMCA15.5%39.3%Gemma 4 31B
Fiction.LiveBench50.0%Not measuredOnly DeepSeek V3 0324 measured
Creative writing (Lech Mazur)77.0%Not measuredOnly DeepSeek V3 0324 measured
Surface Evolver BenchNot measured30.6%Only Gemma 4 31B measured
LMArena TextNot measured1443Only Gemma 4 31B measured
LMArena Text: instruction followingNot measured1433Only Gemma 4 31B measured
LMArena Text: creative writingNot measured1417Only Gemma 4 31B measured
LMArena VisionNot measured1276Only Gemma 4 31B measured
LMArena Text: EnglishNot measured1451Only Gemma 4 31B measured
LMArena Text: non-EnglishNot measured1430Only Gemma 4 31B measured
LMArena Text: ChineseNot measured1475Only Gemma 4 31B measured
LMArena Text: FrenchNot measured1436Only Gemma 4 31B measured
LMArena Text: SpanishNot measured1442Only Gemma 4 31B measured
LMArena Text: RussianNot measured1460Only Gemma 4 31B measured
LMArena Text: PolishNot measured1433Only Gemma 4 31B measured
LMArena Text: multi-turnNot measured1452Only Gemma 4 31B measured
LMArena Text: longer queriesNot measured1446Only Gemma 4 31B measured
LMArena Text: writing and languageNot measured1432Only Gemma 4 31B measured
LMArena Text: entertainment and mediaNot measured1405Only Gemma 4 31B measured
LMArena Vision: EnglishNot measured1271Only Gemma 4 31B measured
LMArena Vision: ChineseNot measured1326Only Gemma 4 31B measured
LMArena Vision: reading textNot measured1282Only Gemma 4 31B measured
LMArena Vision: humorNot measured1280Only Gemma 4 31B measured
LMArena Vision: captioningNot measured1218Only Gemma 4 31B measured
LMArena Vision: recognizing thingsNot measured1226Only Gemma 4 31B measured
LMArena Vision: creative writingNot measured1285Only Gemma 4 31B measured
LMArena DocumentNot measured1425Only Gemma 4 31B measured
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V3 0324 and Gemma 4 31B
BenchmarkDeepSeek V3 0324Gemma 4 31BLeader
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 V3 0324$0.0009Fits in one request
Gemma 4 31B$0.0004Fits in one request

Gemma 4 31B costs less

Repository review

50K input + 3K output tokens

DeepSeek V3 0324$0.018Fits in one request
Gemma 4 31B$0.011Fits in one request

Gemma 4 31B costs less

Agent loop

200K input + 10K output tokens

DeepSeek V3 0324$0.069Exceeds the context window
Gemma 4 31B$0.044Fits in one request

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.

Specifications of DeepSeek V3 0324 and Gemma 4 31B
SpecificationDeepSeek V3 0324Google Gemma 4 31B
MakerDeepSeekGoogle
WeightsOpen weightsOpen weights
ReleasedMarch 24, 2025April 2, 2026
Context window164K262K
Input $/Mtok$0.29$0.20
Output $/Mtok$1.14$0.40
Coding index42.038.3
Independent measurements behind it12
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V3 0324 better than Gemma 4 31B for coding?

Pick DeepSeek V3 0324 for coding: it scores 42.0 on the Vibe Coding Index against 38.3 for Gemma 4 31B, though on 1 benchmark against 2. Pick Gemma 4 31B when output tokens cost 2.8x less, or when the context window is larger, 262K against 164K tokens.

Which is cheaper, DeepSeek V3 0324 or Gemma 4 31B?

DeepSeek V3 0324 costs $0.29 per million input tokens and $1.14 per million output tokens; Gemma 4 31B costs $0.20 and $0.40. Cost per solved task is known for neither of them.

Which has the bigger context window, DeepSeek V3 0324 or Gemma 4 31B?

Gemma 4 31B, with 262K tokens against 164K.

How many benchmarks is the DeepSeek V3 0324 vs Gemma 4 31B comparison based on?

15 benchmarks have a result for both models as of October 21, 2026. DeepSeek V3 0324's coding index rests on 1 independent benchmark and Gemma 4 31B's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next