← Models

Alicloud Glm 5 vs GLM 5.2

Compare Alicloud Glm 5 from Z.AI and GLM 5.2 from Z.AI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

Z.AIAlicloud Glm 5Z.AIGLM 5.2
Z.AI logo
Alicloud Glm 5
Z.AI · → text

GLM-5 is an advanced, open-source large language model designed for developers tackling the toughest challenges. It excels at long-context reasoning, multi-step tool orchestration, and complex systems engineering, making it the ideal choice for powering sophisticated agents and applications that require high-level cognitive tasks.

Input$0.5634 /M
Output$2.5353 /M
Cache read$0.1127 /M
Z.AI logo
GLM 5.2
Z.AI · text → text

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.

Input$1.1268 /M
Output$3.9438 /M
Cache read$0.2817 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Alicloud Glm 5
GLM 5.2
Input
$0.5634 /M
$1.1268 /M
Output
$2.5353 /M
$3.9438 /M
Cache read
$0.1127 /M
$0.2817 /M
Context length
0
1,000,000
Max output
0
131,072
Time to First Token
4.3 s
1.0 s
Throughput
41.6 tok/s
45.7 tok/s
Modalities
text
Supported Parameters
thinkingtoolsfunction callingstructured outputs
API Formats
chat_completions · claude_api
Released
-
June 16, 2026

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

alicloud-glm-5glm-5.2

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

alicloud-glm-5glm-5.2

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

LMArena Benchmarks

LMArena ratings by capability (Bradley-Terry, commonly called Elo). Higher is better.

Text
alicloud-glm-5glm-5.2
1420146015001540
Overall
14571475
Coding
14981516
Math
14431487
Hard prompts
14781496
Instruction following
14471470
Multi-turn
14731477
Creative writing
14461451
Longer query
14701486
Chinese
15241524
English
14711482
WebDev Arena
alicloud-glm-5glm-5.2
1400148015601640
Overall
14301608
React
14211621
HTML
14431567
Gaming
16491649
Simulations
16371637
Data analytics
15491549

Source: LMArena (arena.ai) leaderboard, imported by AIHubMix. Models without published ratings are omitted per chart.

Cost calculator

Estimate your monthly bill for the same workload on each model.

Alicloud Glm 5
$71.83 /mo
GLM 5.2
$127 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Alicloud Glm 5, GLM 5.2?

Alicloud Glm 5: $2.5353/M output tokens; GLM 5.2: $3.9438/M. Use the cost calculator above to estimate your own workload.

How do their coding arena scores compare?

GLM 5.2: 1516; Alicloud Glm 5: 1498 (LMArena coding leaderboard).

Which responds faster?

GLM 5.2: 1.0s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

Which one generates tokens faster?

GLM 5.2 at 45.7 tok/s and Alicloud Glm 5 at 41.6 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

Can I call Alicloud Glm 5 and GLM 5.2 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.