Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs GLM 4.6

Gemma 2 27B costs 3.4x less per output token than GLM 4.6 ($0.65 vs $2.20 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.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
29
vs boards won of 29 shared

Gemma 2 27B or GLM 4.6: which to pick

Only GLM 4.6 has a coding score, 8.8 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 3.4x cheaper ($0.65 vs $2.20 per million).

Shared results
29
Gemma 2 27B only
7
GLM 4.6 only
40
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.6 8.8 from 2 benchmarks.
Widest category
Reasoning, 41.2 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena Text: Chinese: Gemma 2 27B 1221 against GLM 4.6 1499, 46.3 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against GLM 4.6 $2.20 per million output tokens, 3.4x apart.
Context window
Gemma 2 27B takes 8K tokens, GLM 4.6 205K.

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.6Ties
Coding02
Reasoning03
Math02
Knowledge05
General017
All shared boards029
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
SWE-bench VerifiedNot measured68.2%Only GLM 4.6 measured
LMArena WebDevNot measured1341Only GLM 4.6 measured
AA Coding IndexNot measured45.8Only GLM 4.6 measured
LiveCodeBench (Vals AI)Not measured81.0%Only GLM 4.6 measured
Vibe Code Bench (Vals AI)Not measured3.1%Only GLM 4.6 measured
LiveCodeBench (Artificial Analysis run)Not measured69.5%Only GLM 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured28.8%Only GLM 4.6 measured
Terminal-BenchNot measured24.5%Only GLM 4.6 measured
ALE-BenchNot measured340.8Only GLM 4.6 measured
LMArena Text: coding12111449GLM 4.6
LMArena Text: software and IT12281455GLM 4.6
LMArena WebDev: HTMLNot measured1350Only GLM 4.6 measured
Neither model has a result on the other 27 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.6
BenchmarkGemma 2 27BGLM 4.6Leader
AA Intelligence IndexNot measured18.5Only GLM 4.6 measured
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Agentic work benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
Design Arena: agents building full-stack appsNot measured1029Only GLM 4.6 measured
Design Arena: agents building mobile appsNot measured1096Only GLM 4.6 measured
Design Arena: agents building Android appsNot measured1084Only GLM 4.6 measured
Design Arena: agents building Godot gamesNot measured1180Only GLM 4.6 measured
τ²-Bench TelecomNot measured76.9%Only GLM 4.6 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured72.4%Only GLM 4.6 measured
BrowseComp-PlusNot measured48.2%Only GLM 4.6 measured
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
GPQA DiamondNot measured74.5%Only GLM 4.6 measured
GPQA Diamond (Artificial Analysis run)Not measured78.0%Only GLM 4.6 measured
Humanity's Last Exam (Artificial Analysis run)Not measured14.5%Only GLM 4.6 measured
GPQA Diamond (Epoch AI run)36.5%Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts11981440GLM 4.6
LMArena Text: expert11711432GLM 4.6
LMArena Text: hard prompts in English12061445GLM 4.6
Kagi LLM BenchmarkNot measured45.7%Only GLM 4.6 measured
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
AIMENot measured92.7%Only GLM 4.6 measured
MGSM (Vals AI)Not measured89.8%Only GLM 4.6 measured
AA Math IndexNot measured86.0Only GLM 4.6 measured
AIME 2025 (Artificial Analysis run)Not measured86.0%Only GLM 4.6 measured
OTIS Mock AIME1.4%Not measuredOnly Gemma 2 27B measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math12121432GLM 4.6
LMArena Text: mathematical work12211447GLM 4.6
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
MMLU ProNot measured82.2%Only GLM 4.6 measured
LegalBench (Vals AI)68.0%79.6%GLM 4.6
CorpFin (Vals AI)Not measured56.8%Only GLM 4.6 measured
TaxEval (Vals AI)Not measured66.2%Only GLM 4.6 measured
MedQA (Vals AI)Not measured92.2%Only GLM 4.6 measured
MMLU Pro (Artificial Analysis run)Not measured82.9%Only GLM 4.6 measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281456GLM 4.6
LMArena Text: medicine and healthcare11981455GLM 4.6
LMArena Text: legal and government12411448GLM 4.6
LMArena Text: business and finance12081416GLM 4.6
Neither model has a result on the other 7 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.6
BenchmarkGemma 2 27BGLM 4.6Leader
Design Arena: websitesNot measured1174Only GLM 4.6 measured
Design Arena: UI componentsNot measured1148Only GLM 4.6 measured
Design Arena: game devNot measured1151Only GLM 4.6 measured
Design Arena: data vizNot measured1161Only GLM 4.6 measured
Design Arena: 3DNot measured1129Only GLM 4.6 measured
Design Arena: all code categoriesNot measured1166Only GLM 4.6 measured
Design Arena: SVGNot measured1109Only GLM 4.6 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for Gemma 2 27B and GLM 4.6
BenchmarkGemma 2 27BGLM 4.6Leader
IFBenchNot measured43.4%Only GLM 4.6 measured
Long context reasoning (AA-LCR)Not measured54.0%Only GLM 4.6 measured
DTBench48.0%Not measuredOnly Gemma 2 27B measured
LMCA7.1%Not measuredOnly Gemma 2 27B measured
LMArena Text12311440GLM 4.6
LMArena Text: instruction following12061410GLM 4.6
LMArena Text: creative writing12401412GLM 4.6
LMArena Text: English12421449GLM 4.6
LMArena Text: non-English12171426GLM 4.6
LMArena Text: Chinese12211499GLM 4.6
LMArena Text: German12091447GLM 4.6
LMArena Text: Japanese11751393GLM 4.6
LMArena Text: Korean11741400GLM 4.6
LMArena Text: French12481459GLM 4.6
LMArena Text: Spanish12281436GLM 4.6
LMArena Text: Russian12341418GLM 4.6
LMArena Text: Polish12771447GLM 4.6
LMArena Text: multi-turn12241427GLM 4.6
LMArena Text: longer queries12301422GLM 4.6
LMArena Text: writing and language12491415GLM 4.6
LMArena Text: entertainment and media12121409GLM 4.6
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.6
BenchmarkGemma 2 27BGLM 4.6Leader
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.6$0.0017Fits in one request

Gemma 2 27B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
GLM 4.6$0.037Fits in one request

Gemma 2 27B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
GLM 4.6$0.142Exceeds the context window

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 4.6
SpecificationGoogle Gemma 2 27BZ.ai GLM 4.6
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedJuly 13, 2024September 30, 2025
Context window8K205K
Input $/Mtok$0.65$0.60
Output $/Mtok$0.65$2.20
Coding indexNot benchmarked8.8
Independent measurements behind it02
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GLM 4.6 has a coding score, 8.8 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 3.4x cheaper ($0.65 vs $2.20 per million).

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

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; GLM 4.6 costs $0.60 and $2.20. Cost per solved task is known for neither of them.

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

GLM 4.6, with 205K tokens against 8K.

How many benchmarks is the Gemma 2 27B vs GLM 4.6 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.6's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next