Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GLM 5.3

Gemma 2 27B costs 6.8x less per output token than GLM 5.3 ($0.65 vs $4.40 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
GLM 5.3Z.ai
Coding
70.6
Overall
67.9
Output $/M
$4.40
34
vs boards won of 34 shared

Gemma 2 27B or GLM 5.3: which to pick

Only GLM 5.3 has a coding score, 70.6 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding.

Pick Gemma 2 27B for output tokens 6.8x cheaper ($0.65 vs $4.40 per million).

Shared results
34
Gemma 2 27B only
2
GLM 5.3 only
66
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 2 27B not benchmarked, GLM 5.3 70.6 from 6 benchmarks.
Widest category
Math, 60.9 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against GLM 5.3 91.1%, 89.7 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GLM 5.3 $4.40 per million output tokens, 6.8x apart.
Context window
Gemma 2 27B takes 8K tokens, GLM 5.3 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 2 27BBarsGLM 5.3Ties
Coding02
Intelligence01
Reasoning04
Math03
Knowledge05
General019
All shared boards034
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
LiveBench codingNot measured82.8%Only GLM 5.3 measured
LMArena WebDevNot measured1621Only GLM 5.3 measured
AA Coding IndexNot measured74.8Only GLM 5.3 measured
LiveCodeBench (Vals AI)Not measured80.5%Only GLM 5.3 measured
SWE-bench Verified (Vals AI)Not measured95.4%Only GLM 5.3 measured
Terminal-Bench 4 (Vals AI)Not measured38.9%Only GLM 5.3 measured
Vibe Code Bench (Vals AI)Not measured78.1%Only GLM 5.3 measured
Code migration (Vals AI)Not measured44.2%Only GLM 5.3 measured
ProgramBench (Vals AI)Not measured1.5%Only GLM 5.3 measured
IOI (Vals AI)Not measured68.4%Only GLM 5.3 measured
Terminal-Bench 2.1 (Vals AI)Not measured71.5%Only GLM 5.3 measured
Vibe Code Bench 1-100 (Vals AI)Not measured20.0%Only GLM 5.3 measured
SkillsBench (Vals AI)Not measured47.5%Only GLM 5.3 measured
CyberBench (Vals AI)Not measured72.1%Only GLM 5.3 measured
SciCodeNot measured59.0%Only GLM 5.3 measured
FrontierCodeNot measured40.1%Only GLM 5.3 measured
FrontierSWENot measured30.2%Only GLM 5.3 measured
WeirdMLNot measured75.4%Only GLM 5.3 measured
ALE-BenchNot measured1317.4Only GLM 5.3 measured
LMArena Text: coding12111497GLM 5.3
LMArena Text: software and IT12281493GLM 5.3
LMArena WebDev: ReactNot measured1641Only GLM 5.3 measured
LMArena WebDev: HTMLNot measured1595Only GLM 5.3 measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
AA Intelligence IndexNot measured44.8Only GLM 5.3 measured
Epoch Capabilities Index122.1156.0GLM 5.3
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
AA Agentic IndexNot measured53.1Only GLM 5.3 measured
Design Arena: agents building mobile appsNot measured1194Only GLM 5.3 measured
Design Arena: HTML slidesNot measured1189Only GLM 5.3 measured
Design Arena: PowerPoint slidesNot measured1254Only GLM 5.3 measured
LiveBench researchNot measured73.2%Only GLM 5.3 measured
LiveBench browserNot measured0.0%Only GLM 5.3 measured
LiveBench long agenticNot measured35.9%Only GLM 5.3 measured
SREBench (Vals AI)Not measured9.2%Only GLM 5.3 measured
Finance Agent (Vals AI)Not measured55.8%Only GLM 5.3 measured
Tax Agent Bench (Vals AI)Not measured39.7%Only GLM 5.3 measured
Legal Research Bench (Vals AI)Not measured49.0%Only GLM 5.3 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured14.6%Only GLM 5.3 measured
Excel Modeling Benchmark (Vals AI)Not measured56.3%Only GLM 5.3 measured
Terminal-Bench-Science (Vals AI)Not measured5.7%Only GLM 5.3 measured
APEX-AgentsNot measured56.6%Only GLM 5.3 measured
Vending-Bench 2Not measured$8,164Only GLM 5.3 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
GPQA DiamondNot measured88.1%Only GLM 5.3 measured
LiveBench reasoningNot measured85.8%Only GLM 5.3 measured
MysteryMechanism (Vals AI)Not measured23.0%Only GLM 5.3 measured
GPQA Diamond (Artificial Analysis run)Not measured91.7%Only GLM 5.3 measured
Humanity's Last Exam (Artificial Analysis run)Not measured42.3%Only GLM 5.3 measured
GPQA Diamond (Epoch AI run)36.5%90.9%GLM 5.3
Chess puzzlesNot measured37.0%Only GLM 5.3 measured
Mystery game puzzlesNot measured33.0%Only GLM 5.3 measured
LMArena Text: hard prompts11981490GLM 5.3
LMArena Text: expert11711514GLM 5.3
LMArena Text: hard prompts in English12061496GLM 5.3
Neither model has a result on the other 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
OTIS Mock AIME1.4%91.1%GLM 5.3
FrontierMath, tiers 1 to 3Not measured68.8%Only GLM 5.3 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.3 measured
ProofBenchNot measured49.0%Only GLM 5.3 measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math12121495GLM 5.3
LMArena Text: mathematical work12211497GLM 5.3
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
MMLU ProNot measured86.8%Only GLM 5.3 measured
LegalBench (Vals AI)68.0%84.8%GLM 5.3
TaxEval (Vals AI)Not measured72.4%Only GLM 5.3 measured
MedCode (Vals AI)Not measured42.9%Only GLM 5.3 measured
SimpleQA VerifiedNot measured41.0%Only GLM 5.3 measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281498GLM 5.3
LMArena Text: medicine and healthcare11981481GLM 5.3
LMArena Text: legal and government12411473GLM 5.3
LMArena Text: business and finance12081459GLM 5.3
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
Design Arena: websitesNot measured1295Only GLM 5.3 measured
Design Arena: UI componentsNot measured1314Only GLM 5.3 measured
Design Arena: game devNot measured1311Only GLM 5.3 measured
Design Arena: data vizNot measured1259Only GLM 5.3 measured
Design Arena: 3DNot measured1332Only GLM 5.3 measured
Design Arena: all code categoriesNot measured1304Only GLM 5.3 measured
Design Arena: SVGNot measured1293Only GLM 5.3 measured
Design Arena: ASCII artNot measured1213Only GLM 5.3 measured
LiveBench designNot measured77.3%Only GLM 5.3 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
Vals IndexNot measured59.7%Only GLM 5.3 measured
LiveBench data analysisNot measured70.2%Only GLM 5.3 measured
Public Benefits Bench (Vals AI)Not measured68.5%Only GLM 5.3 measured
MedScribe (Vals AI)Not measured88.8%Only GLM 5.3 measured
Long context reasoning (AA-LCR)Not measured79.7%Only GLM 5.3 measured
DTBench48.0%87.7%GLM 5.3
LMCA7.1%55.5%GLM 5.3
LMArena Text12311474GLM 5.3
LMArena Text: instruction following12061479GLM 5.3
LMArena Text: creative writing12401458GLM 5.3
LMArena Text: English12421482GLM 5.3
LMArena Text: non-English12171459GLM 5.3
LMArena Text: Chinese12211532GLM 5.3
LMArena Text: German12091488GLM 5.3
LMArena Text: Japanese11751460GLM 5.3
LMArena Text: Korean11741460GLM 5.3
LMArena Text: French12481503GLM 5.3
LMArena Text: Spanish12281462GLM 5.3
LMArena Text: Russian12341469GLM 5.3
LMArena Text: Polish12771466GLM 5.3
LMArena Text: multi-turn12241472GLM 5.3
LMArena Text: longer queries12301483GLM 5.3
LMArena Text: writing and language12491469GLM 5.3
LMArena Text: entertainment and media12121447GLM 5.3
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 2 27B and GLM 5.3
BenchmarkGemma 2 27BGLM 5.3Leader
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 2 27B$0.0010Fits in one request
GLM 5.3$0.0036Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GLM 5.3$0.083Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GLM 5.3$0.324Fits in one request

Gemma 2 27B 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 2 27B and GLM 5.3
SpecificationGoogle Gemma 2 27BZ.ai GLM 5.3
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedJuly 13, 2024August 18, 2026
Context window8K1.05M
Input $/Mtok$0.65$1.40
Output $/Mtok$0.65$4.40
Coding indexNot benchmarked70.6
Independent measurements behind it06
Cost per solved taskNot computable$0.36
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than GLM 5.3 for coding?

Only GLM 5.3 has a coding score, 70.6 on the Vibe Coding Index; Gemma 2 27B has none, so the two cannot be ranked on coding. Pick Gemma 2 27B for output tokens 6.8x cheaper ($0.65 vs $4.40 per million).

Which is cheaper, Gemma 2 27B or GLM 5.3?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GLM 5.3 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.3 only.

Which has the bigger context window, Gemma 2 27B or GLM 5.3?

GLM 5.3, with 1.05M tokens against 8K.

How many benchmarks is the Gemma 2 27B vs GLM 5.3 comparison based on?

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

Compare next