Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs GPT-5.4

Updated October 21, 2026. 35 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.4OpenAI
Coding
64.4
Overall
39.0
Output $/M
$15.00
35
vs boards won of 35 shared

Decision reading

Only GPT-5.4 has a coding score, 64.4 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 200.0x less.

Shared results
35
Gemma 3 4B only
4
GPT-5.4 only
74
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.4 64.4 from 3 benchmarks.
Widest category
Agentic work, 82.2 points apart on average over 1 shared benchmark.
Widest single gap
OTIS Mock AIME: Gemma 3 4B 7.5% against GPT-5.4 97.8%, 90.3 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against GPT-5.4 $15.00 per million output tokens, 200.0x apart.
Context window
Gemma 3 4B takes 131K tokens, GPT-5.4 1.05M.

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.4Ties
Coding04
Intelligence02
Agentic work01
Reasoning06
Math03
Knowledge04
General015
All shared boards035
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Gemma 3 4B and GPT-5.4
BenchmarkGemma 3 4BGPT-5.4Leader
LMArena WebDevNot measured1464Only GPT-5.4 measured
AA Coding Index2.771.1GPT-5.4
LiveCodeBench (Vals AI)Not measured84.1%Only GPT-5.4 measured
SWE-bench Verified (Vals AI)Not measured78.2%Only GPT-5.4 measured
Vibe Code Bench (Vals AI)Not measured67.4%Only GPT-5.4 measured
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%57.6%GPT-5.4
Terminal-BenchNot measured81.8%Only GPT-5.4 measured
GSO-BenchNot measured31.4%Only GPT-5.4 measured
WeirdMLNot measured77.7%Only GPT-5.4 measured
MirrorCodeNot measured15.6%Only GPT-5.4 measured
ALE-BenchNot measured1607.0Only GPT-5.4 measured
LMArena Text: coding12301496GPT-5.4
LMArena Text: software and IT12691491GPT-5.4
LMArena WebDev: ReactNot measured1454Only GPT-5.4 measured
LMArena WebDev: HTMLNot measured1478Only GPT-5.4 measured
LMArena WebDev: from an imageNot measured1436Only GPT-5.4 measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and GPT-5.4
BenchmarkGemma 3 4BGPT-5.4Leader
AA Intelligence Index4.839.0GPT-5.4
Epoch Capabilities Index115.9157.3GPT-5.4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and GPT-5.4
BenchmarkGemma 3 4BGPT-5.4Leader
Design Arena: agents building web appsNot measured1059Only GPT-5.4 measured
Design Arena: agents building full-stack appsNot measured1017Only GPT-5.4 measured
Design Arena: agents building mobile appsNot measured1087Only GPT-5.4 measured
Design Arena: agents building Android appsNot measured1038Only GPT-5.4 measured
Design Arena: agents building Godot gamesNot measured1135Only GPT-5.4 measured
τ²-Bench Telecom5.0%87.1%GPT-5.4
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizonsNot measured74.3%Only GPT-5.4 measured
DeepResearch BenchNot measured35.1%Only GPT-5.4 measured
PostTrainBenchNot measured19.0%Only GPT-5.4 measured
Vending-Bench 2Not measured$6,144Only GPT-5.4 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.4
BenchmarkGemma 3 4BGPT-5.4Leader
GPQA DiamondNot measured91.7%Only GPT-5.4 measured
MMMU Pro (Vals AI)Not measured87.5%Only GPT-5.4 measured
GPQA Diamond (Artificial Analysis run)29.1%92.0%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)5.3%43.7%GPT-5.4
GPQA Diamond (Epoch AI run)23.2%93.3%GPT-5.4
ARC-AGINot measured93.7%Only GPT-5.4 measured
ARC-AGI-2Not measured74.0%Only GPT-5.4 measured
Chess puzzlesNot measured48.0%Only GPT-5.4 measured
Mystery game puzzlesNot measured37.0%Only GPT-5.4 measured
EBR-benchNot measured25.4%Only GPT-5.4 measured
LMArena Text: hard prompts12531485GPT-5.4
LMArena Text: expert12231507GPT-5.4
LMArena Text: hard prompts in English12531479GPT-5.4
LMArena Vision: diagramsNot measured1327Only GPT-5.4 measured
LMArena Vision: homeworkNot measured1336Only GPT-5.4 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 3 4B and GPT-5.4
BenchmarkGemma 3 4BGPT-5.4Leader
AIMENot measured96.7%Only GPT-5.4 measured
AA Math Index12.7Not measuredOnly Gemma 3 4B measured
AIME 2025 (Artificial Analysis run)12.7%Not measuredOnly Gemma 3 4B measured
OTIS Mock AIME7.5%97.8%GPT-5.4
FrontierMath, tiers 1 to 3Not measured78.6%Only GPT-5.4 measured
FrontierMath, tier 4Not measured49.0%Only GPT-5.4 measured
ProofBenchNot measured56.0%Only GPT-5.4 measured
LMArena Text: math12391488GPT-5.4
LMArena Text: mathematical work12561497GPT-5.4
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 3 4B and GPT-5.4
BenchmarkGemma 3 4BGPT-5.4Leader
MMLU ProNot measured87.5%Only GPT-5.4 measured
LegalBench (Vals AI)Not measured86.0%Only GPT-5.4 measured
CaseLaw (Vals AI)Not measured63.8%Only GPT-5.4 measured
CorpFin (Vals AI)Not measured65.3%Only GPT-5.4 measured
TaxEval (Vals AI)Not measured74.0%Only GPT-5.4 measured
MortgageTax (Vals AI)Not measured68.3%Only GPT-5.4 measured
MedQA (Vals AI)Not measured96.1%Only GPT-5.4 measured
MedCode (Vals AI)Not measured41.3%Only GPT-5.4 measured
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
SimpleQA VerifiedNot measured45.1%Only GPT-5.4 measured
LMArena Text: science13061479GPT-5.4
LMArena Text: medicine and healthcare13421458GPT-5.4
LMArena Text: legal and government13271486GPT-5.4
LMArena Text: business and finance13111474GPT-5.4
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.4
BenchmarkGemma 3 4BGPT-5.4Leader
Design Arena: websitesNot measured1199Only GPT-5.4 measured
Design Arena: UI componentsNot measured1215Only GPT-5.4 measured
Design Arena: game devNot measured1195Only GPT-5.4 measured
Design Arena: data vizNot measured1195Only GPT-5.4 measured
Design Arena: 3DNot measured1065Only GPT-5.4 measured
Design Arena: all code categoriesNot measured1180Only GPT-5.4 measured
Design Arena: SVGNot measured1142Only GPT-5.4 measured
Design Arena: ASCII artNot measured1188Only GPT-5.4 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.4
BenchmarkGemma 3 4BGPT-5.4Leader
SAGE (Vals AI)Not measured43.3%Only GPT-5.4 measured
MedScribe (Vals AI)Not measured77.5%Only GPT-5.4 measured
IFBench28.3%73.9%GPT-5.4
Long context reasoning (AA-LCR)6.7%82.0%GPT-5.4
DTBench50.9%94.4%GPT-5.4
LMCA2.8%52.0%GPT-5.4
CL-benchNot measured27.9%Only GPT-5.4 measured
Furniture assemblyNot measured37.5%Only GPT-5.4 measured
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena Text12911469GPT-5.4
LMArena Text: instruction following12391469GPT-5.4
LMArena Text: creative writing12701439GPT-5.4
LMArena VisionNot measured1303Only GPT-5.4 measured
LMArena Text: English13001467GPT-5.4
LMArena Text: non-English12731465GPT-5.4
LMArena Text: ChineseNot measured1520Only GPT-5.4 measured
LMArena Text: German12811472GPT-5.4
LMArena Text: JapaneseNot measured1485Only GPT-5.4 measured
LMArena Text: KoreanNot measured1449Only GPT-5.4 measured
LMArena Text: FrenchNot measured1493Only GPT-5.4 measured
LMArena Text: SpanishNot measured1452Only GPT-5.4 measured
LMArena Text: Russian12941480GPT-5.4
LMArena Text: PolishNot measured1472Only GPT-5.4 measured
LMArena Text: multi-turn12551482GPT-5.4
LMArena Text: longer queries12731473GPT-5.4
LMArena Text: writing and language12881458GPT-5.4
LMArena Text: entertainment and media12331438GPT-5.4
LMArena Vision: EnglishNot measured1301Only GPT-5.4 measured
LMArena Vision: ChineseNot measured1354Only GPT-5.4 measured
LMArena Vision: reading textNot measured1312Only GPT-5.4 measured
LMArena Vision: humorNot measured1284Only GPT-5.4 measured
LMArena Vision: recognizing thingsNot measured1251Only GPT-5.4 measured
LMArena Vision: creative writingNot measured1283Only GPT-5.4 measured
LMArena DocumentNot measured1471Only GPT-5.4 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.4
BenchmarkGemma 3 4BGPT-5.4Leader
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.4$0.010Fits 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.4$0.170Fits 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.4$0.650Fits 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.4
SpecificationGoogle Gemma 3 4BOpenAI GPT-5.4
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedMarch 13, 2025March 5, 2026
Context window131K1.05M
Input $/Mtok$0.045$2.50
Output $/Mtok$0.075$15.00
Coding indexNot benchmarked64.4
Independent measurements behind it03
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GPT-5.4 has a coding score, 64.4 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 200.0x less.

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

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

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

GPT-5.4, with 1.05M tokens against 131K.

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

35 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.4's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next