Gemini 4 Hydrogen vs GLM 5.4

Compare Gemini 4 Hydrogen from Google and GLM 5.4 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for google
Gemini 4 Hydrogen
Favicon for z-ai
GLM 5.4

Overview

Gemini 4 Hydrogen
Author
Google
GLM 5.4
Author
Z.ai
Gemini 4 Hydrogen
Context length
1.05Mtokens
GLM 5.4
Context length
1.05Mtokens
Gemini 4 Hydrogen
Reasoning
Yes
GLM 5.4
Reasoning
Yes
Gemini 4 Hydrogen
Input modalities
Text, Image, Audio, Video, File
GLM 5.4
Input modalities
Text, Image, Video
Gemini 4 Hydrogen
Output modalities
Text
GLM 5.4
Output modalities
Text

Analysis

Gemini 4 Hydrogen vs GLM 5.4 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Gemini 4 Hydrogen
Input price
$1.50/M tokens
GLM 5.4
Input price
$0.40/M tokens
Gemini 4 Hydrogen
Output price
$7.50/M tokens
GLM 5.4
Output price
$2.464/M tokens
Gemini 4 Hydrogen
Context window
1,048,576 tokens
GLM 5.4
Context window
1,048,576 tokens
Gemini 4 Hydrogen
Intelligence Index Artificial Analysis, best published result
54.1
GLM 5.4
Intelligence Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Finance & Accounting Index Artificial Analysis, best published result
58.1
GLM 5.4
Finance & Accounting Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Strategy & Ops Index Artificial Analysis, best published result
57.7
GLM 5.4
Strategy & Ops Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Legal Index Artificial Analysis, best published result
56.7
GLM 5.4
Legal Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Healthcare & Medical Index Artificial Analysis, best published result
53.3
GLM 5.4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Engineering Index Artificial Analysis, best published result
60.2
GLM 5.4
Engineering Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Economics Index Artificial Analysis, best published result
55.0
GLM 5.4
Economics Index Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
FrontierCode-AA 2.0 Artificial Analysis, best published result
39.0%
GLM 5.4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Gemini 4 Hydrogen
Latency (p50)
2.68 s
GLM 5.4
Latency (p50)
0.77 s
Gemini 4 Hydrogen
Throughput (p50)
118.0 tok/s
GLM 5.4
Throughput (p50)
122.0 tok/s
Gemini 4 Hydrogen
Provided by
Google
GLM 5.4
Provided by
Z.ai

Benchmark data updated

Frequently asked questions

Is Gemini 4 Hydrogen cheaper than GLM 5.4?

GLM 5.4 is cheaper than Gemini 4 Hydrogen on OpenRouter: GLM 5.4 costs $0.40/M tokens input and $2.464/M tokens output, while Gemini 4 Hydrogen costs $1.50/M tokens input and $7.50/M tokens output.

Which has the longer context window, Gemini 4 Hydrogen or GLM 5.4?

Gemini 4 Hydrogen and GLM 5.4 have the same context window of 1,048,576 tokens.

Which is faster, Gemini 4 Hydrogen or GLM 5.4?

GLM 5.4 is faster on OpenRouter, generating a median 122.0 tokens per second compared with 118.0 tokens per second for Gemini 4 Hydrogen.