Hy4 vs GLM 5.4

Compare Hy4 from tencent 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 tencent
Hy4
Favicon for z-ai
GLM 5.4

Overview

Hy4
Author
tencent
GLM 5.4
Author
Z.ai
Hy4
Context length
1.05Mtokens
GLM 5.4
Context length
1.05Mtokens
Hy4
Reasoning
Yes
GLM 5.4
Reasoning
Yes
Hy4
Input modalities
Text, Image
GLM 5.4
Input modalities
Text, Image, Video
Hy4
Output modalities
Text
GLM 5.4
Output modalities
Text

Analysis

Hy4 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.

Hy4
Input price
$0.417/M tokens
GLM 5.4
Input price
$0.40/M tokens
Hy4
Output price
$1.251/M tokens
GLM 5.4
Output price
$2.464/M tokens
Hy4
Context window
1,048,576 tokens
GLM 5.4
Context window
1,048,576 tokens
Hy4
Intelligence Index Artificial Analysis, best published result
34.6
GLM 5.4
Intelligence Index Artificial Analysis, best published result
Not available
Hy4
Finance & Accounting Index Artificial Analysis, best published result
38.0
GLM 5.4
Finance & Accounting Index Artificial Analysis, best published result
Not available
Hy4
Strategy & Ops Index Artificial Analysis, best published result
48.7
GLM 5.4
Strategy & Ops Index Artificial Analysis, best published result
Not available
Hy4
Legal Index Artificial Analysis, best published result
35.4
GLM 5.4
Legal Index Artificial Analysis, best published result
Not available
Hy4
Healthcare & Medical Index Artificial Analysis, best published result
42.9
GLM 5.4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Hy4
Engineering Index Artificial Analysis, best published result
41.1
GLM 5.4
Engineering Index Artificial Analysis, best published result
Not available
Hy4
Economics Index Artificial Analysis, best published result
38.3
GLM 5.4
Economics Index Artificial Analysis, best published result
Not available
Hy4
Cyber Index Artificial Analysis, best published result
58.00.0% of tasks refused
GLM 5.4
Cyber Index Artificial Analysis, best published result
Not available
Hy4
Openness Index Artificial Analysis, best published result
33.3
GLM 5.4
Openness Index Artificial Analysis, best published result
Not available
Hy4
FrontierCode-AA 2.0 Artificial Analysis, best published result
31.2%
GLM 5.4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Hy4
Latency (p50)
3.17 s
GLM 5.4
Latency (p50)
0.77 s
Hy4
Throughput (p50)
66.0 tok/s
GLM 5.4
Throughput (p50)
122.0 tok/s
Hy4
Provided by
tencent
GLM 5.4
Provided by
Z.ai

Benchmark data updated

Frequently asked questions

Is Hy4 cheaper than GLM 5.4?

Hy4 and GLM 5.4 trade off on price: Hy4 costs $0.417/M tokens input and $1.251/M tokens output, while GLM 5.4 costs $0.40/M tokens input and $2.464/M tokens output, so GLM 5.4 is cheaper for input tokens and Hy4 is cheaper for output tokens.

Which has the longer context window, Hy4 or GLM 5.4?

Hy4 and GLM 5.4 have the same context window of 1,048,576 tokens.

Which is faster, Hy4 or GLM 5.4?

GLM 5.4 is faster on OpenRouter, generating a median 122.0 tokens per second compared with 66.0 tokens per second for Hy4.