Gemma 3 27B vs GLM 4.7 Flash
GLM 4.7 Flash leads Gemma 3 27B on the Artificial Analysis Intelligence Index, 14.9 to 4.9, and Gemma 3 27B costs 1.3x less per output token ($0.30 vs $0.40 per million). Updated October 21, 2026; 36 benchmarks have a result for both.
Gemma 3 27B or GLM 4.7 Flash: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Gemma 3 27B for output tokens 1.3x cheaper ($0.30 vs $0.40 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.
- Shared results
- 36
- Gemma 3 27B only
- 26
- GLM 4.7 Flash only
- 7
- Like-for-like categories
- 7 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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GLM 4.7 Flash
GLM 4.7 Flash leads, 14.9 against 4.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 3 27B has a AA Agentic Index result, 0.1.
Directional only
Web design
Design Arena: websites
No call
Only GLM 4.7 Flash has a Design Arena: websites result, 1194.
Directional only
Long documents
Listed context window
GLM 4.7 Flash
GLM 4.7 Flash takes 200K tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 27B
Gemma 3 27B $0.0002, GLM 4.7 Flash $0.0003 per turn.
List prices
At a glance
- Coding index
- Gemma 3 27B not benchmarked, GLM 4.7 Flash not benchmarked.
- Widest category
- Agentic work, 88.3 points apart on average over 1 shared benchmark.
- Widest single gap
- τ²-Bench Telecom: Gemma 3 27B 10.5% against GLM 4.7 Flash 98.8%, 88.3 points apart on a 0 to 100 scale.
- Output price
- Gemma 3 27B $0.30 against GLM 4.7 Flash $0.40 per million output tokens, 1.3x apart.
- Context window
- Gemma 3 27B takes 131K tokens, GLM 4.7 Flash 200K.
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 3 27B | Bars | GLM 4.7 Flash | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 3 | ||
| Knowledge | 4 | 0 | ||
| General | 12 | 6 | ||
| All shared boards | 16 | 20 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Aider polyglot | 4.9% | Not measured | Only Gemma 3 27B measured |
| AA Coding Index | 10.1 | Not measured | Only Gemma 3 27B measured |
| LiveCodeBench (Artificial Analysis run) | 13.7% | Not measured | Only Gemma 3 27B measured |
| SciCode | 23.3% | Not measured | Only Gemma 3 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 22.0% | GLM 4.7 Flash |
| LMArena Text: coding | 1322 | 1382 | GLM 4.7 Flash |
| LMArena Text: software and IT | 1354 | 1389 | GLM 4.7 Flash |
| Neither model has a result on the other 31 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.9 | 14.9 | GLM 4.7 Flash |
| Epoch Capabilities Index | 130.0 | Not measured | Only Gemma 3 27B measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AA Agentic Index | 0.1 | Not measured | Only Gemma 3 27B measured |
| τ²-Bench Telecom | 10.5% | 98.8% | GLM 4.7 Flash |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 42.8% | 58.1% | GLM 4.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 4.4% | 7.6% | GLM 4.7 Flash |
| GPQA Diamond (Epoch AI run) | 47.7% | 60.5% | GLM 4.7 Flash |
| LMArena Text: hard prompts | 1340 | 1356 | GLM 4.7 Flash |
| LMArena Text: expert | 1304 | 1357 | GLM 4.7 Flash |
| LMArena Text: hard prompts in English | 1353 | 1369 | GLM 4.7 Flash |
| LMArena Vision: diagrams | 1156 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: homework | 1160 | Not measured | Only Gemma 3 27B measured |
| Neither model has a result on the other 13 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| AA Math Index | 20.7 | Not measured | Only Gemma 3 27B measured |
| AIME 2025 (Artificial Analysis run) | 20.7% | Not measured | Only Gemma 3 27B measured |
| OTIS Mock AIME | 22.5% | 58.3% | GLM 4.7 Flash |
| MATH level 5 | 74.0% | Not measured | Only Gemma 3 27B measured |
| LMArena Text: math | 1312 | 1355 | GLM 4.7 Flash |
| LMArena Text: mathematical work | 1327 | 1369 | GLM 4.7 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 66.9% | Not measured | Only Gemma 3 27B measured |
| GeoBench | 52.0% | Not measured | Only Gemma 3 27B measured |
| LMArena Text: science | 1383 | 1358 | Gemma 3 27B |
| LMArena Text: medicine and healthcare | 1391 | 1343 | Gemma 3 27B |
| LMArena Text: legal and government | 1375 | 1357 | Gemma 3 27B |
| LMArena Text: business and finance | 1360 | 1343 | Gemma 3 27B |
| Neither model has a result on the other 11 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1194 | Only GLM 4.7 Flash measured |
| Design Arena: UI components | Not measured | 1208 | Only GLM 4.7 Flash measured |
| Design Arena: game dev | Not measured | 1135 | Only GLM 4.7 Flash measured |
| Design Arena: data viz | Not measured | 1123 | Only GLM 4.7 Flash measured |
| Design Arena: 3D | Not measured | 1121 | Only GLM 4.7 Flash measured |
| Design Arena: all code categories | Not measured | 1178 | Only GLM 4.7 Flash measured |
| Design Arena: SVG | Not measured | 1038 | Only GLM 4.7 Flash measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index126
| Benchmark | Gemma 3 27B | GLM 4.7 Flash | Leader |
|---|---|---|---|
| IFBench | 31.8% | 60.8% | GLM 4.7 Flash |
| Long context reasoning (AA-LCR) | 7.3% | 41.7% | GLM 4.7 Flash |
| DTBench | 52.5% | Not measured | Only Gemma 3 27B measured |
| LMCA | 12.3% | Not measured | Only Gemma 3 27B measured |
| Fiction.LiveBench | 33.3% | Not measured | Only Gemma 3 27B measured |
| Creative writing (Lech Mazur) | 79.9% | Not measured | Only Gemma 3 27B measured |
| LMArena Text | 1358 | 1351 | Gemma 3 27B |
| LMArena Text: instruction following | 1321 | 1327 | GLM 4.7 Flash |
| LMArena Text: creative writing | 1345 | 1296 | Gemma 3 27B |
| LMArena Vision | 1165 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: English | 1377 | 1373 | Gemma 3 27B |
| LMArena Text: non-English | 1334 | 1330 | Gemma 3 27B |
| LMArena Text: Chinese | 1346 | 1403 | GLM 4.7 Flash |
| LMArena Text: German | 1362 | 1336 | Gemma 3 27B |
| LMArena Text: Japanese | 1287 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: Korean | 1308 | 1283 | Gemma 3 27B |
| LMArena Text: French | 1368 | 1332 | Gemma 3 27B |
| LMArena Text: Spanish | 1349 | 1350 | GLM 4.7 Flash |
| LMArena Text: Russian | 1349 | 1333 | Gemma 3 27B |
| LMArena Text: Polish | 1345 | 1291 | Gemma 3 27B |
| LMArena Text: multi-turn | 1345 | 1342 | Gemma 3 27B |
| LMArena Text: longer queries | 1333 | 1345 | GLM 4.7 Flash |
| LMArena Text: writing and language | 1347 | 1320 | Gemma 3 27B |
| LMArena Text: entertainment and media | 1320 | 1304 | Gemma 3 27B |
| LMArena Vision: English | 1188 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: Chinese | 1164 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: reading text | 1156 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: humor | 1166 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: captioning | 1151 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: recognizing things | 1196 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: creative writing | 1177 | Not measured | Only Gemma 3 27B 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
| Benchmark | Gemma 3 27B | GLM 4.7 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
Gemma 3 27B costs less
Repository review
50K input + 3K output tokens
GLM 4.7 Flash costs less
Agent loop
200K input + 10K output tokens
GLM 4.7 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 3 27B | Z.ai GLM 4.7 Flash |
|---|---|---|
| Maker | Z.ai | |
| Weights | Open weights | Open weights |
| Released | March 12, 2025 | January 19, 2026 |
| Context window | 131K | 200K |
| Input $/Mtok | $0.08 | $0.0653 |
| Output $/Mtok | $0.30 | $0.40 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 3 27B better than GLM 4.7 Flash for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 27B for output tokens 1.3x cheaper ($0.30 vs $0.40 per million) and work measured by Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.
Which is cheaper, Gemma 3 27B or GLM 4.7 Flash?
Gemma 3 27B costs $0.08 per million input tokens and $0.30 per million output tokens; GLM 4.7 Flash costs $0.0653 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemma 3 27B or GLM 4.7 Flash?
GLM 4.7 Flash, with 200K tokens against 131K.
How many benchmarks is the Gemma 3 27B vs GLM 4.7 Flash comparison based on?
36 benchmarks have a result for both models as of October 21, 2026. Gemma 3 27B's coding index rests on 0 independent benchmarks and GLM 4.7 Flash's on 0. Where only one model has a result, the page says so instead of naming a winner.