Enter opens the highlighted result. Esc closes.

Gemma 4 26B A4B vs GLM 5.2

GLM 5.2 leads Gemma 4 26B A4B on the Artificial Analysis Intelligence Index, 33.7 to 16.7, and Gemma 4 26B A4B costs 7.3x less per output token ($0.60 vs $4.40 per million). Updated October 22, 2026; 44 benchmarks have a result for both.

Gemma 4 26B A4BGoogle
Coding
No data
Overall
54.7
Output $/M
$0.60
0
GLM 5.2Z.ai
Coding
61.1
Overall
62.5
Output $/M
$4.40
44
vs boards won of 44 shared

Gemma 4 26B A4B or GLM 5.2: which to pick

Only GLM 5.2 has a coding score, 61.1 on the Vibe Coding Index; Gemma 4 26B A4B has none, so the two cannot be ranked on coding.

Pick Gemma 4 26B A4B for output tokens 7.3x cheaper ($0.60 vs $4.40 per million).

Shared results
44
Gemma 4 26B A4B only
11
GLM 5.2 only
54
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.

At a glance

Coding index
Gemma 4 26B A4B not benchmarked, GLM 5.2 61.1 from 4 benchmarks.
Widest category
Agentic work, 45.5 points apart on average over 2 shared benchmarks.
Widest single gap
τ²-Bench Telecom: Gemma 4 26B A4B 43.6% against GLM 5.2 99.1%, 55.6 points apart on a 0 to 100 scale.
Output price
Gemma 4 26B A4B $0.60 against GLM 5.2 $4.40 per million output tokens, 7.3x apart.
Context window
Gemma 4 26B A4B takes 262K tokens, GLM 5.2 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 4 26B A4BBarsGLM 5.2Ties
Coding010
Intelligence02
Agentic work02
Reasoning06
Math03
Knowledge04
General017
All shared boards044
CodingLike-for-likeSix of these boards feed the Vibe Coding Index010
Coding benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
LMArena WebDev13601604GLM 5.2
AA Coding Index39.368.8GLM 5.2
LiveCodeBench (Vals AI)Not measured69.5%Only GLM 5.2 measured
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Vibe Code Bench (Vals AI)Not measured64.0%Only GLM 5.2 measured
Code migration (Vals AI)Not measured37.9%Only GLM 5.2 measured
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
SciCode40.0%51.2%GLM 5.2
Terminal-Bench Hard (Artificial Analysis run)25.0%50.8%GLM 5.2
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdML35.2%70.1%GLM 5.2
ALE-Bench927.21047.0GLM 5.2
LMArena Text: coding14461487GLM 5.2
LMArena Text: software and IT14541486GLM 5.2
LMArena WebDev: React13511617GLM 5.2
LMArena WebDev: HTML13621565GLM 5.2
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
AA Intelligence Index16.733.7GLM 5.2
Epoch Capabilities Index141.9151.9GLM 5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
AA Agentic Index2.938.4GLM 5.2
Design Arena: agents building web appsNot measured1222Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1241Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1159Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1178Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1125Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1170Only GLM 5.2 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)Not measured49.7%Only GLM 5.2 measured
Legal Research Bench (Vals AI)Not measured31.3%Only GLM 5.2 measured
Excel Modeling Benchmark (Vals AI)Not measured61.5%Only GLM 5.2 measured
τ²-Bench Telecom43.6%99.1%GLM 5.2
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
Neither model has a result on the other 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
GPQA DiamondNot measured85.6%Only GLM 5.2 measured
GPQA Diamond (Artificial Analysis run)79.2%89.5%GLM 5.2
Humanity's Last Exam (Artificial Analysis run)19.3%41.1%GLM 5.2
GPQA Diamond (Epoch AI run)73.2%91.9%GLM 5.2
ARC-AGINot measured77.0%Only GLM 5.2 measured
ARC-AGI-2Not measured22.8%Only GLM 5.2 measured
SimpleBenchNot measured58.8%Only GLM 5.2 measured
Chess puzzlesNot measured22.0%Only GLM 5.2 measured
Mystery game puzzlesNot measured19.0%Only GLM 5.2 measured
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard prompts14381481GLM 5.2
LMArena Text: expert14471487GLM 5.2
LMArena Text: hard prompts in English14481481GLM 5.2
LMArena Vision: diagrams1264Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: homework1293Not measuredOnly Gemma 4 26B A4B measured
Kagi LLM BenchmarkNot measured62.6%Only GLM 5.2 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
OTIS Mock AIME82.2%86.4%GLM 5.2
FrontierMath, tiers 1 to 3Not measured59.2%Only GLM 5.2 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.2 measured
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: math14701483GLM 5.2
LMArena Text: mathematical work14751489GLM 5.2
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
MMLU ProNot measured86.7%Only GLM 5.2 measured
LegalBench (Vals AI)Not measured84.1%Only GLM 5.2 measured
CorpFin (Vals AI)Not measured66.1%Only GLM 5.2 measured
TaxEval (Vals AI)Not measured73.3%Only GLM 5.2 measured
MedCode (Vals AI)Not measured40.8%Only GLM 5.2 measured
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: science14461489GLM 5.2
LMArena Text: medicine and healthcare14281475GLM 5.2
LMArena Text: legal and government14571486GLM 5.2
LMArena Text: business and finance14291451GLM 5.2
FACTS Benchmark Suite42.7%Not measuredOnly Gemma 4 26B A4B measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
Design Arena: websitesNot measured1285Only GLM 5.2 measured
Design Arena: UI componentsNot measured1294Only GLM 5.2 measured
Design Arena: game devNot measured1268Only GLM 5.2 measured
Design Arena: data vizNot measured1285Only GLM 5.2 measured
Design Arena: 3DNot measured1287Only GLM 5.2 measured
Design Arena: all code categoriesNot measured1287Only GLM 5.2 measured
Design Arena: SVGNot measured1213Only GLM 5.2 measured
Design Arena: ASCII artNot measured1191Only GLM 5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
MedScribe (Vals AI)Not measured83.5%Only GLM 5.2 measured
IFBench72.4%73.3%GLM 5.2
Long context reasoning (AA-LCR)65.7%78.3%GLM 5.2
DTBench74.9%93.6%GLM 5.2
LMCA29.7%45.8%GLM 5.2
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena Text14341470GLM 5.2
LMArena Text: instruction following14201466GLM 5.2
LMArena Text: creative writing14001463GLM 5.2
LMArena Vision1260Not measuredOnly Gemma 4 26B A4B measured
LMArena Text: English14441475GLM 5.2
LMArena Text: non-English14211459GLM 5.2
LMArena Text: Chinese14951522GLM 5.2
LMArena Text: GermanNot measured1470Only GLM 5.2 measured
LMArena Text: JapaneseNot measured1450Only GLM 5.2 measured
LMArena Text: KoreanNot measured1440Only GLM 5.2 measured
LMArena Text: French14601479GLM 5.2
LMArena Text: Spanish14151478GLM 5.2
LMArena Text: Russian14341468GLM 5.2
LMArena Text: PolishNot measured1456Only GLM 5.2 measured
LMArena Text: multi-turn14411469GLM 5.2
LMArena Text: longer queries14271480GLM 5.2
LMArena Text: writing and language14051463GLM 5.2
LMArena Text: entertainment and media14031450GLM 5.2
LMArena Vision: English1256Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: Chinese1312Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: reading text1268Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: humor1272Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: captioning1297Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: recognizing things1191Not measuredOnly Gemma 4 26B A4B measured
LMArena Vision: creative writing1256Not measuredOnly Gemma 4 26B A4B 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
Image generation benchmarks for Gemma 4 26B A4B and GLM 5.2
BenchmarkGemma 4 26B A4BGLM 5.2Leader
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 4 26B A4B$0.0004Fits in one request
GLM 5.2$0.0036Fits in one request

Gemma 4 26B A4B costs less

Repository review

50K input + 3K output tokens

Gemma 4 26B A4B$0.0093Fits in one request
GLM 5.2$0.083Fits in one request

Gemma 4 26B A4B costs less

Agent loop

200K input + 10K output tokens

Gemma 4 26B A4B$0.036Fits in one request
GLM 5.2$0.324Fits in one request

Gemma 4 26B A4B 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 4 26B A4B and GLM 5.2
SpecificationGoogle Gemma 4 26B A4BZ.ai GLM 5.2
MakerGoogleZ.ai
WeightsOpen weightsOpen weights
ReleasedApril 3, 2026June 16, 2026
Context window262K1.05M
Input $/Mtok$0.15$1.40
Output $/Mtok$0.60$4.40
Coding indexNot benchmarked61.1
Independent measurements behind it14
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 4 26B A4B better than GLM 5.2 for coding?

Only GLM 5.2 has a coding score, 61.1 on the Vibe Coding Index; Gemma 4 26B A4B has none, so the two cannot be ranked on coding. Pick Gemma 4 26B A4B for output tokens 7.3x cheaper ($0.60 vs $4.40 per million).

Which is cheaper, Gemma 4 26B A4B or GLM 5.2?

Gemma 4 26B A4B costs $0.15 per million input tokens and $0.60 per million output tokens; GLM 5.2 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.2 only.

Which has the bigger context window, Gemma 4 26B A4B or GLM 5.2?

GLM 5.2, with 1.05M tokens against 262K.

How many benchmarks is the Gemma 4 26B A4B vs GLM 5.2 comparison based on?

44 benchmarks have a result for both models as of October 22, 2026. Gemma 4 26B A4B's coding index rests on 1 independent benchmark and GLM 5.2's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next