Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs GLM 5.3 Flash

GLM 5.3 Flash leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 41.8 to 4.8, and Gemma 3 4B costs 6.7x less per output token ($0.075 vs $0.50 per million). Updated October 21, 2026; 30 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
4.8
Output $/M
$0.075
0
GLM 5.3 FlashZ.ai
Coding
57.7
Overall
41.8
Output $/M
$0.50
30
vs boards won of 30 shared

Gemma 3 4B or GLM 5.3 Flash: which to pick

Only GLM 5.3 Flash has a coding score, 57.7 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding.

Pick Gemma 3 4B for output tokens 6.7x cheaper ($0.075 vs $0.50 per million).

Shared results
30
Gemma 3 4B only
9
GLM 5.3 Flash only
72
Like-for-like categories
6 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.

At a glance

Coding index
Gemma 3 4B not benchmarked, GLM 5.3 Flash 57.7 from 6 benchmarks.
Widest category
Math, 56.8 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 3 4B 7.5% against GLM 5.3 Flash 93.9%, 86.4 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against GLM 5.3 Flash $0.50 per million output tokens, 6.7x apart.
Context window
Gemma 3 4B takes 131K tokens, GLM 5.3 Flash 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 4BBarsGLM 5.3 FlashTies
Coding03
Intelligence02
Reasoning06
Math03
Knowledge04
General012
All shared boards030
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
LiveBench codingNot measured80.6%Only GLM 5.3 Flash measured
LMArena WebDevNot measured1607Only GLM 5.3 Flash measured
AA Coding Index2.771.5GLM 5.3 Flash
LiveCodeBench (Vals AI)Not measured80.5%Only GLM 5.3 Flash measured
SWE-bench Verified (Vals AI)Not measured92.0%Only GLM 5.3 Flash measured
Terminal-Bench 4 (Vals AI)Not measured37.4%Only GLM 5.3 Flash measured
Vibe Code Bench (Vals AI)Not measured30.8%Only GLM 5.3 Flash measured
Code migration (Vals AI)Not measured20.5%Only GLM 5.3 Flash measured
ProgramBench (Vals AI)Not measured0.0%Only GLM 5.3 Flash measured
IOI (Vals AI)Not measured52.5%Only GLM 5.3 Flash measured
Terminal-Bench 2.1 (Vals AI)Not measured62.9%Only GLM 5.3 Flash measured
Vibe Code Bench 1-100 (Vals AI)Not measured16.0%Only GLM 5.3 Flash measured
SkillsBench (Vals AI)Not measured40.2%Only GLM 5.3 Flash measured
CyberBench (Vals AI)Not measured67.9%Only GLM 5.3 Flash measured
LiveCodeBench (Artificial Analysis run)11.2%Not measuredOnly Gemma 3 4B measured
SciCodeNot measured51.6%Only GLM 5.3 Flash measured
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Gemma 3 4B measured
FrontierCodeNot measured31.8%Only GLM 5.3 Flash measured
FrontierSWENot measured18.1%Only GLM 5.3 Flash measured
ALE-BenchNot measured303.6Only GLM 5.3 Flash measured
LMArena Text: coding12301507GLM 5.3 Flash
LMArena Text: software and IT12691500GLM 5.3 Flash
LMArena WebDev: ReactNot measured1624Only GLM 5.3 Flash measured
LMArena WebDev: HTMLNot measured1577Only GLM 5.3 Flash measured
LMArena WebDev: from an imageNot measured1578Only GLM 5.3 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
AA Intelligence Index4.841.8GLM 5.3 Flash
Epoch Capabilities Index115.9153.1GLM 5.3 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Agentic work benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
AA Agentic IndexNot measured50.9Only GLM 5.3 Flash measured
LiveBench researchNot measured70.1%Only GLM 5.3 Flash measured
LiveBench browserNot measured84.0%Only GLM 5.3 Flash measured
LiveBench long agenticNot measured28.4%Only GLM 5.3 Flash measured
SREBench (Vals AI)Not measured0.8%Only GLM 5.3 Flash measured
Finance Agent (Vals AI)Not measured57.9%Only GLM 5.3 Flash measured
Tax Agent Bench (Vals AI)Not measured31.6%Only GLM 5.3 Flash measured
Legal Research Bench (Vals AI)Not measured45.2%Only GLM 5.3 Flash measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured10.4%Only GLM 5.3 Flash measured
Excel Modeling Benchmark (Vals AI)Not measured55.9%Only GLM 5.3 Flash measured
Terminal-Bench-Science (Vals AI)Not measured2.9%Only GLM 5.3 Flash measured
τ²-Bench Telecom5.0%Not measuredOnly Gemma 3 4B measured
APEX-AgentsNot measured52.8%Only GLM 5.3 Flash measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
GPQA DiamondNot measured86.4%Only GLM 5.3 Flash measured
LiveBench reasoningNot measured77.6%Only GLM 5.3 Flash measured
MMMU Pro (Vals AI)Not measured86.0%Only GLM 5.3 Flash measured
GPQA Diamond (Artificial Analysis run)29.1%91.2%GLM 5.3 Flash
Humanity's Last Exam (Artificial Analysis run)5.3%39.9%GLM 5.3 Flash
GPQA Diamond (Epoch AI run)23.2%90.2%GLM 5.3 Flash
ARC-AGINot measured91.0%Only GLM 5.3 Flash measured
ARC-AGI-2Not measured65.8%Only GLM 5.3 Flash measured
Chess puzzlesNot measured21.0%Only GLM 5.3 Flash measured
Mystery game puzzlesNot measured8.0%Only GLM 5.3 Flash measured
LMArena Text: hard prompts12531490GLM 5.3 Flash
LMArena Text: expert12231511GLM 5.3 Flash
LMArena Text: hard prompts in English12531488GLM 5.3 Flash
LMArena Vision: diagramsNot measured1317Only GLM 5.3 Flash measured
LMArena Vision: homeworkNot measured1318Only GLM 5.3 Flash 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 GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
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%93.9%GLM 5.3 Flash
FrontierMath, tiers 1 to 3Not measured55.8%Only GLM 5.3 Flash measured
FrontierMath, tier 4Not measured17.1%Only GLM 5.3 Flash measured
ProofBenchNot measured21.0%Only GLM 5.3 Flash measured
LMArena Text: math12391503GLM 5.3 Flash
LMArena Text: mathematical work12561497GLM 5.3 Flash
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
MMLU ProNot measured86.1%Only GLM 5.3 Flash measured
LegalBench (Vals AI)Not measured83.9%Only GLM 5.3 Flash measured
TaxEval (Vals AI)Not measured75.6%Only GLM 5.3 Flash measured
MMLU Pro (Artificial Analysis run)41.7%Not measuredOnly Gemma 3 4B measured
LMArena Text: science13061484GLM 5.3 Flash
LMArena Text: medicine and healthcare13421475GLM 5.3 Flash
LMArena Text: legal and government13271473GLM 5.3 Flash
LMArena Text: business and finance13111460GLM 5.3 Flash
Neither model has a result on the other 9 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
Design Arena: websitesNot measured1272Only GLM 5.3 Flash measured
Design Arena: UI componentsNot measured1316Only GLM 5.3 Flash measured
Design Arena: game devNot measured1278Only GLM 5.3 Flash measured
Design Arena: data vizNot measured1261Only GLM 5.3 Flash measured
Design Arena: 3DNot measured1316Only GLM 5.3 Flash measured
Design Arena: all code categoriesNot measured1282Only GLM 5.3 Flash measured
Design Arena: SVGNot measured1284Only GLM 5.3 Flash measured
Design Arena: ASCII artNot measured1268Only GLM 5.3 Flash measured
LiveBench designNot measured77.2%Only GLM 5.3 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index012
General benchmarks for Gemma 3 4B and GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
Vals IndexNot measured50.9%Only GLM 5.3 Flash measured
LiveBench data analysisNot measured76.4%Only GLM 5.3 Flash measured
MedScribe (Vals AI)Not measured88.9%Only GLM 5.3 Flash measured
IFBench28.3%Not measuredOnly Gemma 3 4B measured
Long context reasoning (AA-LCR)6.7%80.0%GLM 5.3 Flash
DTBench50.9%Not measuredOnly Gemma 3 4B measured
LMCA2.8%Not measuredOnly Gemma 3 4B measured
Surface Evolver BenchNot measured52.5%Only GLM 5.3 Flash measured
LMArena Text12911471GLM 5.3 Flash
LMArena Text: instruction following12391478GLM 5.3 Flash
LMArena Text: creative writing12701441GLM 5.3 Flash
LMArena VisionNot measured1294Only GLM 5.3 Flash measured
LMArena Text: English13001474GLM 5.3 Flash
LMArena Text: non-English12731462GLM 5.3 Flash
LMArena Text: ChineseNot measured1531Only GLM 5.3 Flash measured
LMArena Text: German12811462GLM 5.3 Flash
LMArena Text: JapaneseNot measured1444Only GLM 5.3 Flash measured
LMArena Text: KoreanNot measured1436Only GLM 5.3 Flash measured
LMArena Text: FrenchNot measured1491Only GLM 5.3 Flash measured
LMArena Text: SpanishNot measured1475Only GLM 5.3 Flash measured
LMArena Text: Russian12941465GLM 5.3 Flash
LMArena Text: PolishNot measured1450Only GLM 5.3 Flash measured
LMArena Text: multi-turn12551469GLM 5.3 Flash
LMArena Text: longer queries12731481GLM 5.3 Flash
LMArena Text: writing and language12881455GLM 5.3 Flash
LMArena Text: entertainment and media12331440GLM 5.3 Flash
LMArena Vision: EnglishNot measured1295Only GLM 5.3 Flash measured
LMArena Vision: ChineseNot measured1363Only GLM 5.3 Flash measured
LMArena Vision: reading textNot measured1299Only GLM 5.3 Flash measured
LMArena Vision: humorNot measured1279Only GLM 5.3 Flash measured
LMArena Vision: creative writingNot measured1270Only GLM 5.3 Flash measured
Neither model has a result on the other 15 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 GLM 5.3 Flash
BenchmarkGemma 3 4BGLM 5.3 FlashLeader
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
GLM 5.3 Flash$0.0004Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
GLM 5.3 Flash$0.0090Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
GLM 5.3 Flash$0.035Fits 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 GLM 5.3 Flash
SpecificationGoogle Gemma 3 4BZ.ai GLM 5.3 Flash
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025August 26, 2026
Context window131K1.05M
Input $/Mtok$0.045$0.15
Output $/Mtok$0.075$0.50
Coding indexNot benchmarked57.7
Independent measurements behind it06
Cost per solved taskNot computable$0.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than GLM 5.3 Flash for coding?

Only GLM 5.3 Flash has a coding score, 57.7 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 6.7x cheaper ($0.075 vs $0.50 per million).

Which is cheaper, Gemma 3 4B or GLM 5.3 Flash?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 per million output tokens; GLM 5.3 Flash costs $0.15 and $0.50. Cost per solved task is known for GLM 5.3 Flash only.

Which has the bigger context window, Gemma 3 4B or GLM 5.3 Flash?

GLM 5.3 Flash, with 1.05M tokens against 131K.

How many benchmarks is the Gemma 3 4B vs GLM 5.3 Flash comparison based on?

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

Compare next