Enter opens the highlighted result. Esc closes.

Gemini 4 Hydrogen vs GLM 4.7

Gemini 4 Hydrogen leads GLM 4.7 on coding, 77.9 to 55.0 on the Vibe Coding Index, and GLM 4.7 costs 3.4x less per output token ($2.20 vs $7.50 per million). Updated November 14, 2026; 31 benchmarks have a result for both.

Gemini 4 HydrogenGoogle
Coding
77.9
Overall
77.1
Output $/M
$7.50
31
GLM 4.7Z.ai
Coding
55.0
Overall
62.2
Output $/M
$2.20
0
vs boards won of 31 shared

Gemini 4 Hydrogen or GLM 4.7: which to pick

Pick Gemini 4 Hydrogen for coding: it scores 77.9 on the Vibe Coding Index against 55.0 for GLM 4.7.

Pick GLM 4.7 for output tokens 3.4x cheaper ($2.20 vs $7.50 per million).

Shared results
31
Gemini 4 Hydrogen only
19
GLM 4.7 only
51
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.

At a glance

Coding index
Gemini 4 Hydrogen 77.9 from 4 benchmarks, GLM 4.7 55.0 from 2 benchmarks.
Widest category
Coding, 23.1 points apart on average over 5 shared benchmarks.
Widest single gap
LMArena WebDev: Gemini 4 Hydrogen 1704 against GLM 4.7 1435, 38.5 points apart on a 0 to 100 scale.
Output price
Gemini 4 Hydrogen $7.50 against GLM 4.7 $2.20 per million output tokens, 3.4x apart.
Context window
Gemini 4 Hydrogen takes 1.05M tokens, GLM 4.7 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
CategoryGemini 4 HydrogenBarsGLM 4.7Ties
Coding50
Reasoning30
Math20
Knowledge40
Web design40
General130
All shared boards310
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
LiveBench coding78.5%Not measuredOnly Gemini 4 Hydrogen measured
LMArena WebDev17041435Gemini 4 Hydrogen
AA Coding IndexNot measured45.3Only GLM 4.7 measured
LiveCodeBench (Vals AI)Not measured82.2%Only GLM 4.7 measured
SWE-bench Verified (Vals AI)Not measured69.4%Only GLM 4.7 measured
Terminal-Bench 4 (Vals AI)54.0%Not measuredOnly Gemini 4 Hydrogen measured
Vibe Code Bench (Vals AI)87.8%Not measuredOnly Gemini 4 Hydrogen measured
LiveCodeBench (Artificial Analysis run)Not measured89.4%Only GLM 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured31.8%Only GLM 4.7 measured
Terminal-Bench 4.0 (Artificial Analysis run)54.0%Not measuredOnly Gemini 4 Hydrogen measured
FrontierCode 2.039.0%Not measuredOnly Gemini 4 Hydrogen measured
Terminal-BenchNot measured33.4%Only GLM 4.7 measured
ALE-BenchNot measured399.5Only GLM 4.7 measured
LMArena Text: coding15161454Gemini 4 Hydrogen
LMArena Text: software and IT15131453Gemini 4 Hydrogen
LMArena WebDev: React17241415Gemini 4 Hydrogen
LMArena WebDev: HTML17431446Gemini 4 Hydrogen
Terminal-Bench 2.0Not measured33.4%Only GLM 4.7 measured
CursorBench 4.057.8%Not measuredOnly Gemini 4 Hydrogen measured
Neither model has a result on the other 33 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
Epoch Capabilities IndexNot measured143.3Only GLM 4.7 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index14 boards, none shared
Agentic work benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
Design Arena: agents building full-stack appsNot measured1024Only GLM 4.7 measured
Design Arena: agents building mobile appsNot measured1097Only GLM 4.7 measured
Design Arena: agents building Android appsNot measured1097Only GLM 4.7 measured
Design Arena: agents building Godot gamesNot measured1058Only GLM 4.7 measured
LiveBench research86.8%Not measuredOnly Gemini 4 Hydrogen measured
LiveBench browser77.1%Not measuredOnly Gemini 4 Hydrogen measured
LiveBench long agentic61.8%Not measuredOnly Gemini 4 Hydrogen measured
Tax Agent Bench (Vals AI)52.3%Not measuredOnly Gemini 4 Hydrogen measured
Legal Research Bench (Vals AI)53.8%Not measuredOnly Gemini 4 Hydrogen measured
Harvey's Legal Agent Benchmark (Vals AI)11.3%Not measuredOnly Gemini 4 Hydrogen measured
τ²-Bench TelecomNot measured95.9%Only GLM 4.7 measured
Vending-Bench 2Not measured$2,377Only GLM 4.7 measured
BrowseComp-PlusNot measured64.7%Only GLM 4.7 measured
MCP AtlasNot measured58.1%Only GLM 4.7 measured
Neither model has a result on the other 30 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
GPQA DiamondNot measured80.0%Only GLM 4.7 measured
LiveBench reasoning88.6%Not measuredOnly Gemini 4 Hydrogen measured
GPQA Diamond (Artificial Analysis run)Not measured85.9%Only GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured27.4%Only GLM 4.7 measured
HLE-Diamond (Artificial Analysis run)58.8%Not measuredOnly Gemini 4 Hydrogen measured
CritPt v2, hard subset (Artificial Analysis run)66.0%Not measuredOnly Gemini 4 Hydrogen measured
GPQA Diamond (Epoch AI run)Not measured83.3%Only GLM 4.7 measured
SimpleBenchNot measured47.7%Only GLM 4.7 measured
Chess puzzlesNot measured21.0%Only GLM 4.7 measured
LMArena Text: hard prompts15201443Gemini 4 Hydrogen
LMArena Text: expert15581424Gemini 4 Hydrogen
LMArena Text: hard prompts in English15141452Gemini 4 Hydrogen
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
AIMENot measured93.3%Only GLM 4.7 measured
MGSM (Vals AI)Not measured88.2%Only GLM 4.7 measured
AIME 2025 (Artificial Analysis run)Not measured95.0%Only GLM 4.7 measured
OTIS Mock AIMENot measured83.3%Only GLM 4.7 measured
ProofBenchNot measured6.0%Only GLM 4.7 measured
LMArena Text: math15071423Gemini 4 Hydrogen
LMArena Text: mathematical work15341413Gemini 4 Hydrogen
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
MMLU ProNot measured82.7%Only GLM 4.7 measured
LegalBench (Vals AI)Not measured83.4%Only GLM 4.7 measured
CaseLaw (Vals AI)Not measured54.9%Only GLM 4.7 measured
CorpFin (Vals AI)Not measured46.4%Only GLM 4.7 measured
TaxEval (Vals AI)Not measured68.8%Only GLM 4.7 measured
MedQA (Vals AI)Not measured93.7%Only GLM 4.7 measured
MedCode (Vals AI)Not measured32.8%Only GLM 4.7 measured
MMLU Pro (Artificial Analysis run)Not measured85.6%Only GLM 4.7 measured
AA-Omniscience46.3Not measuredOnly Gemini 4 Hydrogen measured
SimpleQA VerifiedNot measured32.2%Only GLM 4.7 measured
LMArena Text: science15191457Gemini 4 Hydrogen
LMArena Text: medicine and healthcare14881470Gemini 4 Hydrogen
LMArena Text: legal and government15321444Gemini 4 Hydrogen
LMArena Text: business and finance14861430Gemini 4 Hydrogen
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index40
Web design benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
Design Arena: websites13201217Gemini 4 Hydrogen
Design Arena: UI componentsNot measured1189Only GLM 4.7 measured
Design Arena: game dev13691178Gemini 4 Hydrogen
Design Arena: data vizNot measured1192Only GLM 4.7 measured
Design Arena: 3D14151170Gemini 4 Hydrogen
Design Arena: all code categories13331206Gemini 4 Hydrogen
Design Arena: SVGNot measured1132Only GLM 4.7 measured
Design Arena: ASCII artNot measured1160Only GLM 4.7 measured
LiveBench design77.3%Not measuredOnly Gemini 4 Hydrogen measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
Vals Index68.5%Not measuredOnly Gemini 4 Hydrogen measured
LiveBench data analysis83.2%Not measuredOnly Gemini 4 Hydrogen measured
MedScribe (Vals AI)Not measured68.6%Only GLM 4.7 measured
IFBenchNot measured67.9%Only GLM 4.7 measured
Long context reasoning (AA-LCR)Not measured71.0%Only GLM 4.7 measured
GDPval-AANot measured1021Only GLM 4.7 measured
CL-benchNot measured15.9%Only GLM 4.7 measured
CL-bench LifeNot measured10.9%Only GLM 4.7 measured
LMArena Text15021435Gemini 4 Hydrogen
LMArena Text: instruction following15191412Gemini 4 Hydrogen
LMArena Text: creative writing15091402Gemini 4 Hydrogen
LMArena Text: English14991453Gemini 4 Hydrogen
LMArena Text: non-English14951417Gemini 4 Hydrogen
LMArena Text: Chinese16311494Gemini 4 Hydrogen
LMArena Text: GermanNot measured1426Only GLM 4.7 measured
LMArena Text: JapaneseNot measured1439Only GLM 4.7 measured
LMArena Text: KoreanNot measured1399Only GLM 4.7 measured
LMArena Text: French15121430Gemini 4 Hydrogen
LMArena Text: Spanish14941435Gemini 4 Hydrogen
LMArena Text: Russian14921424Gemini 4 Hydrogen
LMArena Text: PolishNot measured1435Only GLM 4.7 measured
LMArena Text: multi-turn14851446Gemini 4 Hydrogen
LMArena Text: longer queries15241432Gemini 4 Hydrogen
LMArena Text: writing and language15001411Gemini 4 Hydrogen
LMArena Text: entertainment and media15031401Gemini 4 Hydrogen
Neither model has a result on the other 24 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 4 Hydrogen and GLM 4.7
BenchmarkGemini 4 HydrogenGLM 4.7Leader
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

Gemini 4 Hydrogen$0.0053Fits in one request
GLM 4.7$0.0017Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

Gemini 4 Hydrogen$0.098Fits in one request
GLM 4.7$0.037Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

Gemini 4 Hydrogen$0.375Fits in one request
GLM 4.7$0.142Exceeds the context window

GLM 4.7 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 Gemini 4 Hydrogen and GLM 4.7
SpecificationGoogle Gemini 4 HydrogenZ.ai GLM 4.7
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedNovember 12, 2026December 22, 2025
Context window1.05M205K
Input $/Mtok$1.50$0.60
Output $/Mtok$7.50$2.20
Coding index77.955.0
Independent measurements behind it42
Cost per solved taskNot computable$0.29
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 4 Hydrogen better than GLM 4.7 for coding?

Pick Gemini 4 Hydrogen for coding: it scores 77.9 on the Vibe Coding Index against 55.0 for GLM 4.7. Pick GLM 4.7 for output tokens 3.4x cheaper ($2.20 vs $7.50 per million).

Which is cheaper, Gemini 4 Hydrogen or GLM 4.7?

Gemini 4 Hydrogen costs $1.50 per million input tokens and $7.50 per million output tokens; GLM 4.7 costs $0.60 and $2.20. Cost per solved task is known for GLM 4.7 only.

Which has the bigger context window, Gemini 4 Hydrogen or GLM 4.7?

Gemini 4 Hydrogen, with 1.05M tokens against 205K.

How many benchmarks is the Gemini 4 Hydrogen vs GLM 4.7 comparison based on?

31 benchmarks have a result for both models as of November 14, 2026. Gemini 4 Hydrogen's coding index rests on 4 independent benchmarks and GLM 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemini-4-hydrogen-vs-glm-4-7" title="Gemini 4 Hydrogen vs GLM 4.7, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemini-4-hydrogen-vs-glm-4-7">LLMBenchmark.ai, Gemini 4 Hydrogen vs GLM 4.7</a></p>