Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GLM 4.7 Flash

GLM 4.7 Flash costs 1.6x less per output token than Gemma 2 27B ($0.40 vs $0.65 per million). Updated October 21, 2026; 29 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
0
GLM 4.7 FlashZ.ai
Coding
No data
Overall
42.1
Output $/M
$0.40
29
vs boards won of 29 shared

Gemma 2 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 2 27B for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
29
Gemma 2 27B only
7
GLM 4.7 Flash only
14
Like-for-like categories
5 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 4.7 Flash not benchmarked.
Widest category
Math, 35.2 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Gemma 2 27B 1.4% against GLM 4.7 Flash 58.3%, 56.9 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GLM 4.7 Flash $0.40 per million output tokens, 1.6x apart.
Context window
Gemma 2 27B takes 8K 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.

Boards won, where both have a result
CategoryGemma 2 27BBarsGLM 4.7 FlashTies
Coding02
Reasoning04
Math03
Knowledge04
General016
All shared boards029
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
Terminal-Bench Hard (Artificial Analysis run)Not measured22.0%Only GLM 4.7 Flash measured
LMArena Text: coding12111382GLM 4.7 Flash
LMArena Text: software and IT12281389GLM 4.7 Flash
Neither model has a result on the other 36 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
AA Intelligence IndexNot measured14.9Only GLM 4.7 Flash measured
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
τ²-Bench TelecomNot measured98.8%Only GLM 4.7 Flash measured
Neither model has a result on the other 40 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
GPQA Diamond (Artificial Analysis run)Not measured58.1%Only GLM 4.7 Flash measured
Humanity's Last Exam (Artificial Analysis run)Not measured7.6%Only GLM 4.7 Flash measured
GPQA Diamond (Epoch AI run)36.5%60.5%GLM 4.7 Flash
LMArena Text: hard prompts11981356GLM 4.7 Flash
LMArena Text: expert11711357GLM 4.7 Flash
LMArena Text: hard prompts in English12061369GLM 4.7 Flash
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
OTIS Mock AIME1.4%58.3%GLM 4.7 Flash
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math12121355GLM 4.7 Flash
LMArena Text: mathematical work12211369GLM 4.7 Flash
Neither model has a result on the other 9 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281358GLM 4.7 Flash
LMArena Text: medicine and healthcare11981343GLM 4.7 Flash
LMArena Text: legal and government12411357GLM 4.7 Flash
LMArena Text: business and finance12081343GLM 4.7 Flash
Neither model has a result on the other 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
Design Arena: websitesNot measured1194Only GLM 4.7 Flash measured
Design Arena: UI componentsNot measured1208Only GLM 4.7 Flash measured
Design Arena: game devNot measured1135Only GLM 4.7 Flash measured
Design Arena: data vizNot measured1123Only GLM 4.7 Flash measured
Design Arena: 3DNot measured1121Only GLM 4.7 Flash measured
Design Arena: all code categoriesNot measured1178Only GLM 4.7 Flash measured
Design Arena: SVGNot measured1038Only 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 index016
General benchmarks for Gemma 2 27B and GLM 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 FlashLeader
IFBenchNot measured60.8%Only GLM 4.7 Flash measured
Long context reasoning (AA-LCR)Not measured41.7%Only GLM 4.7 Flash measured
DTBench48.0%Not measuredOnly Gemma 2 27B measured
LMCA7.1%Not measuredOnly Gemma 2 27B measured
LMArena Text12311351GLM 4.7 Flash
LMArena Text: instruction following12061327GLM 4.7 Flash
LMArena Text: creative writing12401296GLM 4.7 Flash
LMArena Text: English12421373GLM 4.7 Flash
LMArena Text: non-English12171330GLM 4.7 Flash
LMArena Text: Chinese12211403GLM 4.7 Flash
LMArena Text: German12091336GLM 4.7 Flash
LMArena Text: Japanese1175Not measuredOnly Gemma 2 27B measured
LMArena Text: Korean11741283GLM 4.7 Flash
LMArena Text: French12481332GLM 4.7 Flash
LMArena Text: Spanish12281350GLM 4.7 Flash
LMArena Text: Russian12341333GLM 4.7 Flash
LMArena Text: Polish12771291GLM 4.7 Flash
LMArena Text: multi-turn12241342GLM 4.7 Flash
LMArena Text: longer queries12301345GLM 4.7 Flash
LMArena Text: writing and language12491320GLM 4.7 Flash
LMArena Text: entertainment and media12121304GLM 4.7 Flash
Neither model has a result on the other 25 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 4.7 Flash
BenchmarkGemma 2 27BGLM 4.7 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 2 27B$0.0010Fits in one request
GLM 4.7 Flash$0.0003Fits in one request

GLM 4.7 Flash costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GLM 4.7 Flash$0.0045Fits in one request

GLM 4.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GLM 4.7 Flash$0.017Exceeds the context window

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.

Specifications of Gemma 2 27B and GLM 4.7 Flash
SpecificationGoogle Gemma 2 27BZ.ai GLM 4.7 Flash
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedJuly 13, 2024January 19, 2026
Context window8K200K
Input $/Mtok$0.65$0.0653
Output $/Mtok$0.65$0.40
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 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 2 27B for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Gemma 2 27B or GLM 4.7 Flash?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 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 2 27B or GLM 4.7 Flash?

GLM 4.7 Flash, with 200K tokens against 8K.

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

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

Compare next