Hy4 flash vs GLM 5.4

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

Overview

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

Analysis

Hy4 flash vs GLM 5.4 at a glance

Hy4 flash
Input price
$0.05/M tokens
GLM 5.4
Input price
$0.40/M tokens
Hy4 flash
Output price
$0.20/M tokens
GLM 5.4
Output price
$2.464/M tokens
Hy4 flash
Context window
1,048,576 tokens
GLM 5.4
Context window
1,048,576 tokens
Hy4 flash
Latency (p50)
2.95 s
GLM 5.4
Latency (p50)
0.58 s
Hy4 flash
Throughput (p50)
19.0 tok/s
GLM 5.4
Throughput (p50)
132.0 tok/s
Hy4 flash
Provided by
tencent
GLM 5.4
Provided by
Z.ai

Frequently asked questions

Is Hy4 flash cheaper than GLM 5.4?

Hy4 flash is cheaper than GLM 5.4 on OpenRouter: Hy4 flash costs $0.05/M tokens input and $0.20/M tokens output, while GLM 5.4 costs $0.40/M tokens input and $2.464/M tokens output.

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

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

Which is faster, Hy4 flash or GLM 5.4?

GLM 5.4 is faster on OpenRouter, generating a median 132.0 tokens per second compared with 19.0 tokens per second for Hy4 flash.