Enter opens the highlighted result. Esc closes.

GLM 5.4 vs Hy4 flash

GLM 5.4 leads Hy4 flash on coding, 72.7 to 44.5 on the Vibe Coding Index, and Hy4 flash costs 15.7x less per output token ($0.281 vs $4.40 per million). Updated December 3, 2026; no benchmark has tested both models yet.

GLM 5.4Z.ai
Coding
72.7
Overall
No data
Output $/M
$4.40
Hy4 flashTencent
Coding
44.5
Overall
No data
Output $/M
$0.281
vs $4.40 vs $0.281 per 1M output tokens. Hy4 flash is 15.7x cheaper.

GLM 5.4 or Hy4 flash: which to pick

GLM 5.4 scores 72.7 and Hy4 flash 44.5 on the Vibe Coding Index, but no coding benchmark measured both, so the gap is directional, not a ranking.

Pick Hy4 flash for output tokens 15.7x cheaper ($0.281 vs $4.40 per million).

No benchmark has tested both yet. GLM 5.4 has results on LiveBench coding, LMArena WebDev and LMArena WebDev: React; Hy4 flash on Terminal-Bench 4 (Vals AI), Vibe Code Bench (Vals AI) and GameBench 2. Compare them on price and context instead.

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
GLM 5.4 72.7 from 2 benchmarks, Hy4 flash 44.5 from 2 benchmarks.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
GLM 5.4 $4.40 against Hy4 flash $0.281 per million output tokens, 15.7x apart.
Context window
Both take 1.05M tokens.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index7 boards measured
Coding benchmarks for GLM 5.4 and Hy4 flash
BenchmarkGLM 5.4Hy4 flashLeader
LiveBench coding74.5%Not measuredOnly GLM 5.4 measured
LMArena WebDev1690Not measuredOnly GLM 5.4 measured
Terminal-Bench 4 (Vals AI)Not measured15.2%Only Hy4 flash measured
Vibe Code Bench (Vals AI)Not measured74.8%Only Hy4 flash measured
LMArena WebDev: React1739Not measuredOnly GLM 5.4 measured
LMArena WebDev: HTML1675Not measuredOnly GLM 5.4 measured
GameBench 2Not measured50.6Only Hy4 flash measured
Neither model has a result on the other 45 boards here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Agentic work benchmarks for GLM 5.4 and Hy4 flash
BenchmarkGLM 5.4Hy4 flashLeader
LiveBench research86.0%Not measuredOnly GLM 5.4 measured
LiveBench browser64.5%Not measuredOnly GLM 5.4 measured
LiveBench long agentic41.3%Not measuredOnly GLM 5.4 measured
Tax Agent Bench (Vals AI)Not measured23.3%Only Hy4 flash measured
Legal Research Bench (Vals AI)Not measured38.5%Only Hy4 flash measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured5.4%Only Hy4 flash measured
Neither model has a result on the other 38 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Reasoning benchmarks for GLM 5.4 and Hy4 flash
BenchmarkGLM 5.4Hy4 flashLeader
LiveBench reasoning85.2%Not measuredOnly GLM 5.4 measured
Neither model has a result on the other 25 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Web design benchmarks for GLM 5.4 and Hy4 flash
BenchmarkGLM 5.4Hy4 flashLeader
Design Arena: websitesNot measured1270Only Hy4 flash measured
Design Arena: UI componentsNot measured1223Only Hy4 flash measured
Design Arena: game devNot measured1189Only Hy4 flash measured
Design Arena: 3DNot measured1222Only Hy4 flash measured
Design Arena: all code categoriesNot measured1275Only Hy4 flash measured
LiveBench design74.2%Not measuredOnly GLM 5.4 measured
Neither model has a result on the other 3 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
General benchmarks for GLM 5.4 and Hy4 flash
BenchmarkGLM 5.4Hy4 flashLeader
Vals IndexNot measured49.2%Only Hy4 flash measured
LiveBench data analysis72.2%Not measuredOnly GLM 5.4 measured
Neither model has a result on the other 47 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

GLM 5.4$0.0036Fits in one request
Hy4 flash$0.0002Fits in one request

Hy4 flash costs less

Repository review

50K input + 3K output tokens

GLM 5.4$0.083Fits in one request
Hy4 flash$0.0043Fits in one request

Hy4 flash costs less

Agent loop

200K input + 10K output tokens

GLM 5.4$0.324Fits in one request
Hy4 flash$0.017Fits in one request

Hy4 flash 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 GLM 5.4 and Hy4 flash
SpecificationZ.ai GLM 5.4Tencent Hy4 flash
MakerZ.aiTencent
WeightsOpen weightsOpen weights
ReleasedDecember 2, 2026November 16, 2026
Context window1.05M1.05M
Input $/Mtok$1.40$0.07
Output $/Mtok$4.40$0.281
Coding index72.744.5
Independent measurements behind it22
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.4 better than Hy4 flash for coding?

GLM 5.4 scores 72.7 and Hy4 flash 44.5 on the Vibe Coding Index, but no coding benchmark measured both, so the gap is directional, not a ranking. Pick Hy4 flash for output tokens 15.7x cheaper ($0.281 vs $4.40 per million).

Which is cheaper, GLM 5.4 or Hy4 flash?

GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; Hy4 flash costs $0.07 and $0.281. Cost per solved task is known for neither of them.

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

Neither: both take 1.05M tokens.

Has any benchmark tested both GLM 5.4 and Hy4 flash?

No benchmark has tested both yet. GLM 5.4 has results on LiveBench coding, LMArena WebDev and LMArena WebDev: React; Hy4 flash on Terminal-Bench 4 (Vals AI), Vibe Code Bench (Vals AI) and GameBench 2. Compare them on price and context instead. Data as of December 3, 2026.

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/glm-5-4-vs-tencent-hy4-flash" title="GLM 5.4 vs Hy4 flash, 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/glm-5-4-vs-tencent-hy4-flash">LLMBenchmark.ai, GLM 5.4 vs Hy4 flash</a></p>