Gemma 2 27B vs GLM 5.3 Flash
GLM 5.3 Flash costs 1.3x less per output token than Gemma 2 27B ($0.50 vs $0.65 per million). Updated October 21, 2026; 32 benchmarks have a result for both.
Gemma 2 27B 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 2 27B has none, so the two cannot be ranked on coding.
Compare them on price, context and the boards below.
- Shared results
- 32
- Gemma 2 27B only
- 4
- GLM 5.3 Flash only
- 70
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GLM 5.3 Flash has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only GLM 5.3 Flash has a AA Intelligence Index result, 41.8.
Directional only
Agentic work
AA Agentic Index
No call
Only GLM 5.3 Flash has a AA Agentic Index result, 50.9.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.3 Flash has a GPQA Diamond result, 86.4%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.3 Flash has a MMLU Pro result, 86.1%.
Directional only
Web design
Design Arena: websites
No call
Only GLM 5.3 Flash has a Design Arena: websites result, 1272.
Directional only
General
Vals Index
No call
Only GLM 5.3 Flash has a Vals Index result, 50.9%.
Directional only
Long documents
Listed context window
GLM 5.3 Flash
GLM 5.3 Flash takes 1.05M tokens against 8K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3 Flash
Gemma 2 27B $0.0010, GLM 5.3 Flash $0.0004 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.3 Flash has the number, $0.02.
Directional only
At a glance
- Coding index
- Gemma 2 27B not benchmarked, GLM 5.3 Flash 57.7 from 6 benchmarks.
- Widest category
- Math, 62.3 points apart on average over 3 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: Gemma 2 27B 1.4% against GLM 5.3 Flash 93.9%, 92.5 points apart on a 0 to 100 scale.
- Output price
- Gemma 2 27B $0.65 against GLM 5.3 Flash $0.50 per million output tokens, 1.3x apart.
- Context window
- Gemma 2 27B takes 8K 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.
| Category | Gemma 2 27B | Bars | GLM 5.3 Flash | Ties |
|---|---|---|---|---|
| Coding | 0 | 2 | ||
| Intelligence | 0 | 1 | ||
| Reasoning | 0 | 4 | ||
| Math | 0 | 3 | ||
| Knowledge | 0 | 5 | ||
| General | 0 | 17 | ||
| All shared boards | 0 | 32 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 80.6% | Only GLM 5.3 Flash measured |
| LMArena WebDev | Not measured | 1607 | Only GLM 5.3 Flash measured |
| AA Coding Index | Not measured | 71.5 | Only GLM 5.3 Flash measured |
| LiveCodeBench (Vals AI) | Not measured | 80.5% | Only GLM 5.3 Flash measured |
| SWE-bench Verified (Vals AI) | Not measured | 92.0% | Only GLM 5.3 Flash measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 37.4% | Only GLM 5.3 Flash measured |
| Vibe Code Bench (Vals AI) | Not measured | 30.8% | Only GLM 5.3 Flash measured |
| Code migration (Vals AI) | Not measured | 20.5% | Only GLM 5.3 Flash measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only GLM 5.3 Flash measured |
| IOI (Vals AI) | Not measured | 52.5% | Only GLM 5.3 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 62.9% | Only GLM 5.3 Flash measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 16.0% | Only GLM 5.3 Flash measured |
| SkillsBench (Vals AI) | Not measured | 40.2% | Only GLM 5.3 Flash measured |
| CyberBench (Vals AI) | Not measured | 67.9% | Only GLM 5.3 Flash measured |
| SciCode | Not measured | 51.6% | Only GLM 5.3 Flash measured |
| FrontierCode | Not measured | 31.8% | Only GLM 5.3 Flash measured |
| FrontierSWE | Not measured | 18.1% | Only GLM 5.3 Flash measured |
| ALE-Bench | Not measured | 303.6 | Only GLM 5.3 Flash measured |
| LMArena Text: coding | 1211 | 1507 | GLM 5.3 Flash |
| LMArena Text: software and IT | 1228 | 1500 | GLM 5.3 Flash |
| LMArena WebDev: React | Not measured | 1624 | Only GLM 5.3 Flash measured |
| LMArena WebDev: HTML | Not measured | 1577 | Only GLM 5.3 Flash measured |
| LMArena WebDev: from an image | Not measured | 1578 | Only GLM 5.3 Flash measured |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 41.8 | Only GLM 5.3 Flash measured |
| Epoch Capabilities Index | 122.1 | 153.1 | GLM 5.3 Flash |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 50.9 | Only GLM 5.3 Flash measured |
| LiveBench research | Not measured | 70.1% | Only GLM 5.3 Flash measured |
| LiveBench browser | Not measured | 84.0% | Only GLM 5.3 Flash measured |
| LiveBench long agentic | Not measured | 28.4% | Only GLM 5.3 Flash measured |
| SREBench (Vals AI) | Not measured | 0.8% | Only GLM 5.3 Flash measured |
| Finance Agent (Vals AI) | Not measured | 57.9% | Only GLM 5.3 Flash measured |
| Tax Agent Bench (Vals AI) | Not measured | 31.6% | Only GLM 5.3 Flash measured |
| Legal Research Bench (Vals AI) | Not measured | 45.2% | Only GLM 5.3 Flash measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 10.4% | Only GLM 5.3 Flash measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 55.9% | Only GLM 5.3 Flash measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 2.9% | Only GLM 5.3 Flash measured |
| APEX-Agents | Not measured | 52.8% | Only GLM 5.3 Flash measured |
| Neither model has a result on the other 29 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 86.4% | Only GLM 5.3 Flash measured |
| LiveBench reasoning | Not measured | 77.6% | Only GLM 5.3 Flash measured |
| MMMU Pro (Vals AI) | Not measured | 86.0% | Only GLM 5.3 Flash measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 91.2% | Only GLM 5.3 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 39.9% | Only GLM 5.3 Flash measured |
| GPQA Diamond (Epoch AI run) | 36.5% | 90.2% | GLM 5.3 Flash |
| ARC-AGI | Not measured | 91.0% | Only GLM 5.3 Flash measured |
| ARC-AGI-2 | Not measured | 65.8% | Only GLM 5.3 Flash measured |
| Chess puzzles | Not measured | 21.0% | Only GLM 5.3 Flash measured |
| Mystery game puzzles | Not measured | 8.0% | Only GLM 5.3 Flash measured |
| LMArena Text: hard prompts | 1198 | 1490 | GLM 5.3 Flash |
| LMArena Text: expert | 1171 | 1511 | GLM 5.3 Flash |
| LMArena Text: hard prompts in English | 1206 | 1488 | GLM 5.3 Flash |
| LMArena Vision: diagrams | Not measured | 1317 | Only GLM 5.3 Flash measured |
| LMArena Vision: homework | Not measured | 1318 | Only GLM 5.3 Flash measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| OTIS Mock AIME | 1.4% | 93.9% | GLM 5.3 Flash |
| FrontierMath, tiers 1 to 3 | Not measured | 55.8% | Only GLM 5.3 Flash measured |
| FrontierMath, tier 4 | Not measured | 17.1% | Only GLM 5.3 Flash measured |
| ProofBench | Not measured | 21.0% | Only GLM 5.3 Flash measured |
| MATH level 5 | 27.9% | Not measured | Only Gemma 2 27B measured |
| LMArena Text: math | 1212 | 1503 | GLM 5.3 Flash |
| LMArena Text: mathematical work | 1221 | 1497 | GLM 5.3 Flash |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.1% | Only GLM 5.3 Flash measured |
| LegalBench (Vals AI) | 68.0% | 83.9% | GLM 5.3 Flash |
| TaxEval (Vals AI) | Not measured | 75.6% | Only GLM 5.3 Flash measured |
| MMLU | 75.7% | Not measured | Only Gemma 2 27B measured |
| LMArena Text: science | 1228 | 1484 | GLM 5.3 Flash |
| LMArena Text: medicine and healthcare | 1198 | 1475 | GLM 5.3 Flash |
| LMArena Text: legal and government | 1241 | 1473 | GLM 5.3 Flash |
| LMArena Text: business and finance | 1208 | 1460 | GLM 5.3 Flash |
| Neither model has a result on the other 10 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1272 | Only GLM 5.3 Flash measured |
| Design Arena: UI components | Not measured | 1316 | Only GLM 5.3 Flash measured |
| Design Arena: game dev | Not measured | 1278 | Only GLM 5.3 Flash measured |
| Design Arena: data viz | Not measured | 1261 | Only GLM 5.3 Flash measured |
| Design Arena: 3D | Not measured | 1316 | Only GLM 5.3 Flash measured |
| Design Arena: all code categories | Not measured | 1282 | Only GLM 5.3 Flash measured |
| Design Arena: SVG | Not measured | 1284 | Only GLM 5.3 Flash measured |
| Design Arena: ASCII art | Not measured | 1268 | Only GLM 5.3 Flash measured |
| LiveBench design | Not measured | 77.2% | Only GLM 5.3 Flash measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| Vals Index | Not measured | 50.9% | Only GLM 5.3 Flash measured |
| LiveBench data analysis | Not measured | 76.4% | Only GLM 5.3 Flash measured |
| MedScribe (Vals AI) | Not measured | 88.9% | Only GLM 5.3 Flash measured |
| Long context reasoning (AA-LCR) | Not measured | 80.0% | Only GLM 5.3 Flash measured |
| DTBench | 48.0% | Not measured | Only Gemma 2 27B measured |
| LMCA | 7.1% | Not measured | Only Gemma 2 27B measured |
| Surface Evolver Bench | Not measured | 52.5% | Only GLM 5.3 Flash measured |
| LMArena Text | 1231 | 1471 | GLM 5.3 Flash |
| LMArena Text: instruction following | 1206 | 1478 | GLM 5.3 Flash |
| LMArena Text: creative writing | 1240 | 1441 | GLM 5.3 Flash |
| LMArena Vision | Not measured | 1294 | Only GLM 5.3 Flash measured |
| LMArena Text: English | 1242 | 1474 | GLM 5.3 Flash |
| LMArena Text: non-English | 1217 | 1462 | GLM 5.3 Flash |
| LMArena Text: Chinese | 1221 | 1531 | GLM 5.3 Flash |
| LMArena Text: German | 1209 | 1462 | GLM 5.3 Flash |
| LMArena Text: Japanese | 1175 | 1444 | GLM 5.3 Flash |
| LMArena Text: Korean | 1174 | 1436 | GLM 5.3 Flash |
| LMArena Text: French | 1248 | 1491 | GLM 5.3 Flash |
| LMArena Text: Spanish | 1228 | 1475 | GLM 5.3 Flash |
| LMArena Text: Russian | 1234 | 1465 | GLM 5.3 Flash |
| LMArena Text: Polish | 1277 | 1450 | GLM 5.3 Flash |
| LMArena Text: multi-turn | 1224 | 1469 | GLM 5.3 Flash |
| LMArena Text: longer queries | 1230 | 1481 | GLM 5.3 Flash |
| LMArena Text: writing and language | 1249 | 1455 | GLM 5.3 Flash |
| LMArena Text: entertainment and media | 1212 | 1440 | GLM 5.3 Flash |
| LMArena Vision: English | Not measured | 1295 | Only GLM 5.3 Flash measured |
| LMArena Vision: Chinese | Not measured | 1363 | Only GLM 5.3 Flash measured |
| LMArena Vision: reading text | Not measured | 1299 | Only GLM 5.3 Flash measured |
| LMArena Vision: humor | Not measured | 1279 | Only GLM 5.3 Flash measured |
| LMArena Vision: creative writing | Not measured | 1270 | Only GLM 5.3 Flash measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 2 27B | GLM 5.3 Flash | Leader |
|---|---|---|---|
| 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
GLM 5.3 Flash costs less
Repository review
50K input + 3K output tokens
GLM 5.3 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 Flash 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.
| Specification | Google Gemma 2 27B | Z.ai GLM 5.3 Flash |
|---|---|---|
| Maker | Z.ai | |
| Weights | Open weights | Open weights |
| Released | July 13, 2024 | August 26, 2026 |
| Context window | 8K | 1.05M |
| Input $/Mtok | $0.65 | $0.15 |
| Output $/Mtok | $0.65 | $0.50 |
| Coding index | Not benchmarked | 57.7 |
| Independent measurements behind it | 0 | 6 |
| Cost per solved task | Not computable | $0.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 2 27B 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 2 27B has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.
Which is cheaper, Gemma 2 27B or GLM 5.3 Flash?
Gemma 2 27B costs $0.65 per million input tokens and $0.65 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 2 27B or GLM 5.3 Flash?
GLM 5.3 Flash, with 1.05M tokens against 8K.
How many benchmarks is the Gemma 2 27B vs GLM 5.3 Flash comparison based on?
32 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 Flash's on 6. Where only one model has a result, the page says so instead of naming a winner.