GLM-5 vs Hy4-preview

Specs, VRAM requirements and download trends — updated 25 October 2026.

zai-org · A · Open weights
Params
753.9 B
Context
202,752
30d
1.1 M
mit · commercial OK
tencent · B · Open weights
Params
780.0 B
Context
1,048,576
30d
18 K
apache-2.0 · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification GLM-5 Hy4-preview
Deployment Open weights · also via API Open weights · also via API
Parameters 753.9 B 780.0 B
Architecture GlmMoeDsaForCausalLM HYV4ForCausalLM
Context length 202,752 1,048,576
Licence mit apache-2.0
Commercial use Allowed Allowed
Languages 2 —
Downloads 30d 1,138,007 18,369
Downloads all time 2.5 M 39 K
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2026-02-11 2026-08-27
API input price / 1M tokens $1.00 $0.83
API output price / 1M tokens $3.20 $2.50
Est. cost per 1M input + 1M output tokens $4.20 $3.34
Cached input / 1M tokens $0.20 $0.042
AA Intelligence Index 27.9 —
AA Coding Index — —
AA Agentic Index — —
Max output tokens 131,072 64,000
API providers 8 5
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

GLM-5 $4.20
Hy4-preview $3.34

Hy4-preview is 1.3× cheaper at list price.

Download trend

Daily snapshots, last 90 days (28 Jul – 25 Oct)

1.1 M18 K
GLM-5 Hy4-preview

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

GLM-5 · fp16 @ 198K ctx 4,457.7 GB / 24 GB
❌ Won’t fit
Hy4-preview · fp16 @ 1024K ctx 16,691.7 GB / 24 GB
❌ Won’t fit

Adjacent comparisons