Enter opens the highlighted result. Esc closes.

DeepSeek V4 Pro 0423 vs Gemma 4 31B

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

DeepSeek V4 Pro 0423DeepSeek
Coding
35.3
Overall
30.4
Output $/M
$1.9105
36
Gemma 4 31BGoogle
Coding
38.3
Overall
14.7
Output $/M
$0.40
5
vs boards won of 41 shared

Decision reading

Pick Gemma 4 31B for coding: it scores 38.3 on the Vibe Coding Index against 35.3 for DeepSeek V4 Pro 0423.

Pick DeepSeek V4 Pro 0423 when the context window is larger, 1.05M against 262K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

Shared results
41
DeepSeek V4 Pro 0423 only
42
Gemma 4 31B only
27
Like-for-like categories
7 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 V4 Pro 0423 35.3 from 1 benchmark, Gemma 4 31B 38.3 from 2 benchmarks.
Widest category
Agentic work, 22.1 points apart on average over 1 shared benchmark.
Widest single gap
SimpleQA Verified: DeepSeek V4 Pro 0423 47.0% against Gemma 4 31B 10.4%, 36.6 points apart on a 0 to 100 scale.
Output price
DeepSeek V4 Pro 0423 $1.9105 against Gemma 4 31B $0.40 per million output tokens, 4.8x apart.
Context window
DeepSeek V4 Pro 0423 takes 1.05M 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 V4 Pro 0423BarsGemma 4 31BTies
Coding71
Intelligence20
Agentic work10
Reasoning31
Math12
Knowledge60
General161
All shared boards365
CodingLike-for-likeFour of these boards feed the Vibe Coding Index71
Coding benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
LiveBench codingNot measured49.0%Only Gemma 4 31B measured
LMArena WebDev14471367DeepSeek V4 Pro 0423
AA Coding Index59.443.4DeepSeek V4 Pro 0423
LiveCodeBench (Vals AI)87.5%Not measuredOnly DeepSeek V4 Pro 0423 measured
SWE-bench Verified (Vals AI)77.4%Not measuredOnly DeepSeek V4 Pro 0423 measured
Terminal-Bench 4 (Vals AI)11.1%Not measuredOnly DeepSeek V4 Pro 0423 measured
Vibe Code Bench (Vals AI)49.9%Not measuredOnly DeepSeek V4 Pro 0423 measured
Code migration (Vals AI)26.2%Not measuredOnly DeepSeek V4 Pro 0423 measured
ProgramBench (Vals AI)0.0%Not measuredOnly DeepSeek V4 Pro 0423 measured
Terminal-Bench 2.1 (Vals AI)50.2%Not measuredOnly DeepSeek V4 Pro 0423 measured
SkillsBench (Vals AI)51.3%Not measuredOnly DeepSeek V4 Pro 0423 measured
SciCodeNot measured45.5%Only Gemma 4 31B measured
Terminal-Bench Hard (Artificial Analysis run)Not measured36.4%Only Gemma 4 31B measured
FrontierCode17.6%Not measuredOnly DeepSeek V4 Pro 0423 measured
WeirdML48.9%52.3%Gemma 4 31B
ALE-Bench1006.1925.5DeepSeek V4 Pro 0423
LMArena Text: coding14701459DeepSeek V4 Pro 0423
LMArena Text: software and IT14691463DeepSeek V4 Pro 0423
LMArena WebDev: React14411359DeepSeek V4 Pro 0423
LMArena WebDev: HTML14351380DeepSeek V4 Pro 0423
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
AA Intelligence Index30.414.7DeepSeek V4 Pro 0423
Epoch Capabilities Index149.1143.0DeepSeek V4 Pro 0423
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
AA Agentic Index26.34.2DeepSeek V4 Pro 0423
Design Arena: agents building web apps1000Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: agents building full-stack apps948Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: agents building Godot games1059Not measuredOnly DeepSeek V4 Pro 0423 measured
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
Finance Agent (Vals AI)44.1%Not measuredOnly DeepSeek V4 Pro 0423 measured
Tax Agent Bench (Vals AI)25.2%Not measuredOnly DeepSeek V4 Pro 0423 measured
Legal Research Bench (Vals AI)23.1%Not measuredOnly DeepSeek V4 Pro 0423 measured
Excel Modeling Benchmark (Vals AI)51.6%Not measuredOnly DeepSeek V4 Pro 0423 measured
τ²-Bench TelecomNot measured65.5%Only Gemma 4 31B measured
Vending-Bench 2$3,285Not measuredOnly DeepSeek V4 Pro 0423 measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index31
Reasoning benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
GPQA Diamond89.4%Not measuredOnly DeepSeek V4 Pro 0423 measured
LiveBench reasoningNot measured68.3%Only Gemma 4 31B measured
GPQA Diamond (Artificial Analysis run)Not measured85.7%Only Gemma 4 31B measured
Humanity's Last Exam (Artificial Analysis run)Not measured23.6%Only Gemma 4 31B measured
GPQA Diamond (Epoch AI run)90.9%75.8%DeepSeek V4 Pro 0423
Chess puzzles19.0%Not measuredOnly DeepSeek V4 Pro 0423 measured
Mystery game puzzles17.0%Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text: hard prompts14611448DeepSeek V4 Pro 0423
LMArena Text: expert14631464Gemma 4 31B
LMArena Text: hard prompts in English14661456DeepSeek V4 Pro 0423
LMArena Vision: diagramsNot measured1283Only Gemma 4 31B measured
LMArena Vision: homeworkNot measured1310Only 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 index12
Math benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
OTIS Mock AIME96.7%73.3%DeepSeek V4 Pro 0423
FrontierMath, tiers 1 to 345.3%Not measuredOnly DeepSeek V4 Pro 0423 measured
FrontierMath, tier 42.4%Not measuredOnly DeepSeek V4 Pro 0423 measured
ProofBench16.0%Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text: math14431463Gemma 4 31B
LMArena Text: mathematical work14551465Gemma 4 31B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
Knowledge benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
MMLU Pro87.3%Not measuredOnly DeepSeek V4 Pro 0423 measured
LegalBench (Vals AI)80.3%Not measuredOnly DeepSeek V4 Pro 0423 measured
CaseLaw (Vals AI)59.4%52.6%DeepSeek V4 Pro 0423
CorpFin (Vals AI)61.4%Not measuredOnly DeepSeek V4 Pro 0423 measured
TaxEval (Vals AI)72.1%Not measuredOnly DeepSeek V4 Pro 0423 measured
MortgageTax (Vals AI)Not measured61.4%Only Gemma 4 31B measured
MedCode (Vals AI)40.5%Not measuredOnly DeepSeek V4 Pro 0423 measured
SimpleQA Verified47.0%10.4%DeepSeek V4 Pro 0423
LMArena Text: science14701457DeepSeek V4 Pro 0423
LMArena Text: medicine and healthcare14661451DeepSeek V4 Pro 0423
LMArena Text: legal and government14641438DeepSeek V4 Pro 0423
LMArena Text: business and finance14431430DeepSeek V4 Pro 0423
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
Design Arena: websites1235Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: UI components1221Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: game dev1229Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: data viz1203Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: 3D1254Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: all code categories1240Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: SVG1139Not measuredOnly DeepSeek V4 Pro 0423 measured
Design Arena: ASCII art1148Not measuredOnly DeepSeek V4 Pro 0423 measured
LiveBench designNot measured58.4%Only Gemma 4 31B measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index161
General benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 4 31BLeader
LiveBench data analysisNot measured53.3%Only Gemma 4 31B measured
Public Benefits Bench (Vals AI)62.9%Not measuredOnly DeepSeek V4 Pro 0423 measured
SAGE (Vals AI)Not measured55.0%Only Gemma 4 31B measured
MedScribe (Vals AI)75.1%Not measuredOnly DeepSeek V4 Pro 0423 measured
IFBenchNot measured75.6%Only Gemma 4 31B measured
Long context reasoning (AA-LCR)Not measured69.7%Only Gemma 4 31B measured
DTBench90.7%82.7%DeepSeek V4 Pro 0423
LMCA41.2%39.3%DeepSeek V4 Pro 0423
Surface Evolver Bench40.0%30.6%DeepSeek V4 Pro 0423
CL-bench Life13.5%Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text14511443DeepSeek V4 Pro 0423
LMArena Text: instruction following14451433DeepSeek V4 Pro 0423
LMArena Text: creative writing14461417DeepSeek V4 Pro 0423
LMArena VisionNot measured1276Only Gemma 4 31B measured
LMArena Text: English14591451DeepSeek V4 Pro 0423
LMArena Text: non-English14391430DeepSeek V4 Pro 0423
LMArena Text: Chinese14811475DeepSeek V4 Pro 0423
LMArena Text: German1458Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text: Japanese1446Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text: Korean1409Not measuredOnly DeepSeek V4 Pro 0423 measured
LMArena Text: French14731436DeepSeek V4 Pro 0423
LMArena Text: Spanish14571442DeepSeek V4 Pro 0423
LMArena Text: Russian14531460Gemma 4 31B
LMArena Text: Polish14611433DeepSeek V4 Pro 0423
LMArena Text: multi-turn14681452DeepSeek V4 Pro 0423
LMArena Text: longer queries14581446DeepSeek V4 Pro 0423
LMArena Text: writing and language14471432DeepSeek V4 Pro 0423
LMArena Text: entertainment and media14311405DeepSeek V4 Pro 0423
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 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V4 Pro 0423 and Gemma 4 31B
BenchmarkDeepSeek V4 Pro 0423Gemma 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 V4 Pro 0423$0.0019Fits in one request
Gemma 4 31B$0.0004Fits in one request

Gemma 4 31B costs less

Repository review

50K input + 3K output tokens

DeepSeek V4 Pro 0423$0.053Fits in one request
Gemma 4 31B$0.011Fits in one request

Gemma 4 31B costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4 Pro 0423$0.210Fits in one request
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 V4 Pro 0423 and Gemma 4 31B
SpecificationDeepSeek V4 Pro 0423Google Gemma 4 31B
MakerDeepSeekGoogle
WeightsOpen weightsOpen weights
ReleasedApril 24, 2026April 2, 2026
Context window1.05M262K
Input $/Mtok$0.9553$0.20
Output $/Mtok$1.9105$0.40
Coding index35.338.3
Independent measurements behind it12
Cost per solved task$0.57Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4 Pro 0423 better than Gemma 4 31B for coding?

Pick Gemma 4 31B for coding: it scores 38.3 on the Vibe Coding Index against 35.3 for DeepSeek V4 Pro 0423. Pick DeepSeek V4 Pro 0423 when the context window is larger, 1.05M against 262K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

Which is cheaper, DeepSeek V4 Pro 0423 or Gemma 4 31B?

DeepSeek V4 Pro 0423 costs $0.9553 per million input tokens and $1.9105 per million output tokens; Gemma 4 31B costs $0.20 and $0.40. Cost per solved task is known for DeepSeek V4 Pro 0423 only.

Which has the bigger context window, DeepSeek V4 Pro 0423 or Gemma 4 31B?

DeepSeek V4 Pro 0423, with 1.05M tokens against 262K.

How many benchmarks is the DeepSeek V4 Pro 0423 vs Gemma 4 31B comparison based on?

41 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4 Pro 0423'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