Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs GPT-5.2

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

Gemma 3 4BGoogle
Coding
No data
Overall
4.8
Output $/M
$0.075
0
GPT-5.2OpenAI
Coding
55.9
Overall
30.4
Output $/M
$14.00
38
vs boards won of 38 shared

Decision reading

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding.

Gemma 3 4B has the edge where output tokens cost 186.7x less.

Shared results
38
Gemma 3 4B only
1
GPT-5.2 only
73
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
Gemma 3 4B not benchmarked, GPT-5.2 55.9 from 3 benchmarks.
Widest category
Agentic work, 79.8 points apart on average over 1 shared benchmark.
Widest single gap
OTIS Mock AIME: Gemma 3 4B 7.5% against GPT-5.2 96.1%, 88.6 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against GPT-5.2 $14.00 per million output tokens, 186.7x apart.
Context window
Gemma 3 4B takes 131K tokens, GPT-5.2 400K.

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
CategoryGemma 3 4BBarsGPT-5.2Ties
Coding04
Intelligence02
Agentic work01
Reasoning06
Math05
Knowledge05
General015
All shared boards038
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2 measured
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LMArena WebDevNot measured1417Only GPT-5.2 measured
AA Coding Index2.7Not measuredOnly Gemma 3 4B measured
LiveCodeBench (Vals AI)Not measured85.4%Only GPT-5.2 measured
SWE-bench Verified (Vals AI)Not measured75.8%Only GPT-5.2 measured
Vibe Code Bench (Vals AI)Not measured53.5%Only GPT-5.2 measured
LiveCodeBench (Artificial Analysis run)11.2%89.4%GPT-5.2
Terminal-Bench Hard (Artificial Analysis run)0.8%47.0%GPT-5.2
Terminal-BenchNot measured64.9%Only GPT-5.2 measured
GSO-BenchNot measured27.5%Only GPT-5.2 measured
WeirdMLNot measured72.2%Only GPT-5.2 measured
ALE-BenchNot measured1293.5Only GPT-5.2 measured
LMArena Text: coding12301442GPT-5.2
LMArena Text: software and IT12691434GPT-5.2
LMArena WebDev: HTMLNot measured1427Only GPT-5.2 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
AA Intelligence Index4.830.4GPT-5.2
Epoch Capabilities Index115.9153.7GPT-5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
Design Arena: agents building web appsNot measured1086Only GPT-5.2 measured
Design Arena: agents building full-stack appsNot measured1043Only GPT-5.2 measured
Design Arena: agents building mobile appsNot measured1093Only GPT-5.2 measured
Design Arena: agents building Android appsNot measured1066Only GPT-5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2 measured
τ²-Bench Telecom5.0%84.8%GPT-5.2
METR time horizonsNot measured75.3%Only GPT-5.2 measured
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPvalNot measured49.7%Only GPT-5.2 measured
DeepResearch BenchNot measured41.1%Only GPT-5.2 measured
Vending-Bench 2Not measured$3,591Only GPT-5.2 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
GPQA DiamondNot measured91.7%Only GPT-5.2 measured
MMMU Pro (Vals AI)Not measured86.7%Only GPT-5.2 measured
GPQA Diamond (Artificial Analysis run)29.1%90.3%GPT-5.2
Humanity's Last Exam (Artificial Analysis run)5.3%37.7%GPT-5.2
GPQA Diamond (Epoch AI run)23.2%91.4%GPT-5.2
ARC-AGINot measured86.2%Only GPT-5.2 measured
ARC-AGI-2Not measured52.9%Only GPT-5.2 measured
SimpleBenchNot measured45.8%Only GPT-5.2 measured
Chess puzzlesNot measured48.0%Only GPT-5.2 measured
Mystery game puzzlesNot measured23.0%Only GPT-5.2 measured
EBR-benchNot measured23.0%Only GPT-5.2 measured
VPCTNot measured84.0%Only GPT-5.2 measured
LMArena Text: hard prompts12531428GPT-5.2
LMArena Text: expert12231445GPT-5.2
LMArena Text: hard prompts in English12531431GPT-5.2
LMArena Vision: diagramsNot measured1265Only GPT-5.2 measured
LMArena Vision: homeworkNot measured1276Only GPT-5.2 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
AIMENot measured96.9%Only GPT-5.2 measured
MGSM (Vals AI)Not measured94.0%Only GPT-5.2 measured
AA Math Index12.799.0GPT-5.2
AIME 2025 (Artificial Analysis run)12.7%99.0%GPT-5.2
OTIS Mock AIME7.5%96.1%GPT-5.2
FrontierMath, tiers 1 to 3Not measured67.4%Only GPT-5.2 measured
FrontierMath, tier 4Not measured31.7%Only GPT-5.2 measured
ProofBenchNot measured15.0%Only GPT-5.2 measured
LMArena Text: math12391440GPT-5.2
LMArena Text: mathematical work12561442GPT-5.2
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
MMLU ProNot measured86.2%Only GPT-5.2 measured
LegalBench (Vals AI)Not measured82.8%Only GPT-5.2 measured
CaseLaw (Vals AI)Not measured66.0%Only GPT-5.2 measured
CorpFin (Vals AI)Not measured65.9%Only GPT-5.2 measured
TaxEval (Vals AI)Not measured75.8%Only GPT-5.2 measured
MortgageTax (Vals AI)Not measured67.1%Only GPT-5.2 measured
MedQA (Vals AI)Not measured94.1%Only GPT-5.2 measured
MedCode (Vals AI)Not measured49.8%Only GPT-5.2 measured
MMLU Pro (Artificial Analysis run)41.7%87.4%GPT-5.2
SimpleQA VerifiedNot measured37.1%Only GPT-5.2 measured
LMArena Text: science13061425GPT-5.2
LMArena Text: medicine and healthcare13421425GPT-5.2
LMArena Text: legal and government13271427GPT-5.2
LMArena Text: business and finance13111414GPT-5.2
Neither model has a result on the other 3 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
Design Arena: websitesNot measured1195Only GPT-5.2 measured
Design Arena: UI componentsNot measured1190Only GPT-5.2 measured
Design Arena: game devNot measured1195Only GPT-5.2 measured
Design Arena: data vizNot measured1202Only GPT-5.2 measured
Design Arena: 3DNot measured1079Only GPT-5.2 measured
Design Arena: all code categoriesNot measured1170Only GPT-5.2 measured
Design Arena: SVGNot measured1139Only GPT-5.2 measured
Design Arena: ASCII artNot measured1152Only GPT-5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index015
General benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
SAGE (Vals AI)Not measured49.3%Only GPT-5.2 measured
MedScribe (Vals AI)Not measured84.4%Only GPT-5.2 measured
IFBench28.3%75.4%GPT-5.2
Long context reasoning (AA-LCR)6.7%82.7%GPT-5.2
DTBench50.9%90.9%GPT-5.2
LMCA2.8%43.9%GPT-5.2
CL-benchNot measured18.2%Only GPT-5.2 measured
Furniture assemblyNot measured38.3%Only GPT-5.2 measured
LMArena Text12911416GPT-5.2
LMArena Text: instruction following12391409GPT-5.2
LMArena Text: creative writing12701376GPT-5.2
LMArena VisionNot measured1246Only GPT-5.2 measured
LMArena Text: English13001422GPT-5.2
LMArena Text: non-English12731405GPT-5.2
LMArena Text: ChineseNot measured1447Only GPT-5.2 measured
LMArena Text: German12811444GPT-5.2
LMArena Text: JapaneseNot measured1420Only GPT-5.2 measured
LMArena Text: KoreanNot measured1374Only GPT-5.2 measured
LMArena Text: FrenchNot measured1454Only GPT-5.2 measured
LMArena Text: SpanishNot measured1413Only GPT-5.2 measured
LMArena Text: Russian12941415GPT-5.2
LMArena Text: PolishNot measured1426Only GPT-5.2 measured
LMArena Text: multi-turn12551419GPT-5.2
LMArena Text: longer queries12731413GPT-5.2
LMArena Text: writing and language12881392GPT-5.2
LMArena Text: entertainment and media12331378GPT-5.2
LMArena Vision: EnglishNot measured1243Only GPT-5.2 measured
LMArena Vision: ChineseNot measured1305Only GPT-5.2 measured
LMArena Vision: reading textNot measured1257Only GPT-5.2 measured
LMArena Vision: humorNot measured1227Only GPT-5.2 measured
LMArena Vision: captioningNot measured1267Only GPT-5.2 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.2 measured
LMArena Vision: creative writingNot measured1225Only GPT-5.2 measured
LMArena DocumentNot measured1405Only GPT-5.2 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 3 4B and GPT-5.2
BenchmarkGemma 3 4BGPT-5.2Leader
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 3 4B$0.0001Fits in one request
GPT-5.2$0.0088Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
GPT-5.2$0.130Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
GPT-5.2$0.490Fits in one request

Gemma 3 4B 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 Gemma 3 4B and GPT-5.2
SpecificationGoogle Gemma 3 4BOpenAI GPT-5.2
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 13, 2025December 10, 2025
Context window131K400K
Input $/Mtok$0.045$1.75
Output $/Mtok$0.075$14.00
Coding indexNot benchmarked55.9
Independent measurements behind it03
Cost per solved taskNot computable$1.91
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than GPT-5.2 for coding?

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding. Gemma 3 4B has the edge where output tokens cost 186.7x less.

Which is cheaper, Gemma 3 4B or GPT-5.2?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Cost per solved task is known for GPT-5.2 only.

Which has the bigger context window, Gemma 3 4B or GPT-5.2?

GPT-5.2, with 400K tokens against 131K.

How many benchmarks is the Gemma 3 4B vs GPT-5.2 comparison based on?

38 benchmarks have a result for both models as of October 21, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and GPT-5.2's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next