Claude Haiku 4.5 vs GLM 5.2

Put models side by side on price, context, capabilities, and benchmarks.

Claude Haiku 4.5 is Anthropic's fast, affordable small model in the Claude 4 generation, balancing strong instruction-following and coding ability with low latency. It is designed for high-throughput agentic and chat applications where speed and cost efficiency are priorities.

Document analysis#44Mathematical#125Software & IT Services#126Writing, Literature, & Language#137
Learn more
AuthorAnthropic
CountryπŸ‡ΊπŸ‡Έ United States
ReleasedOct 15, 2025
Overview
Cost rate
1x
Context
200K
Input
Output
Reasoning
Tool calling
Structured outputs
Pricing/M tokens
Input$1.00
Cached input$0.10
Output$5.00
Context
Context length200,000
Max output tokens64,000
Knowledge cutoff-
Performance
Throughput98 tok/s
Latency1.08s

GLM-5.2 is Z.ai's flagship open-source model, shipping with a 1M-token context window, two selectable reasoning effort levels, and an unrestricted MIT license. It is competitive with top closed models on demanding software-engineering benchmarks, trailing Claude Opus-class models only narrowly while outperforming several rivals on coding tasks.

Life, Physical, & Social Science#30Legal & Government#32Mathematical#33Medicine & Healthcare#33
Learn more
AuthorZ.AI
CountryπŸ‡¨πŸ‡³ China
ReleasedJun 16, 2026
Overview
Cost rate
0.5x
Context
1M
Input
Output
Reasoning
Tool calling
Structured outputs
Pricing/M tokens
Input$0.62
Cached input$0.14
Output$2.42
Context
Context length1,048,576
Max output tokens943,718
Knowledge cutoff-
Performance
Throughput59 tok/s
Latency2.41s

Benchmarks

Head-to-head reasoning, coding and agentic scores, plus per-domain rankings.

Intelligence

64.6
Claude Fable 5.2 (Max, Default Fallback)
62.1
GPT-6.2 Astra (Max)
61.4
Gemini 4 Neon (Xhigh)
60.0
Gemini 4 Carbon (High)
59.1
Claude Opus 5.5 (Max, Default Fallback)
7.4
Claude Haiku 4.5

GLM 5.2 has no data

Source: Artificial Analysis

Coding

1824
Claude Fable 5.2 (xHigh)
1819
Claude Opus 5.5 (Max)
1772
Claude Sonnet 5.5 (xHigh)
1769
Gemini 4 Carbon (High)
1608
GLM 5.2
1330
Claude Haiku 4.5

Source: Code Arena

Automation & Tool Use

0.27
Claude Fable 5.2 (Max)
0.19
Claude Opus 5.5 (Max)
0.18
Gemini 4 Neon (High)
0.16
Gemini 4 Carbon (High)
0.16
Claude Sonnet 5.5 (Max)
-0.00
GLM 5.2

Claude Haiku 4.5 has no data

Source: Agent Arena

Software & IT Services

arena.ai
1549
Gemini 4 Carbon (High)
1547
Gemini 4 Argon (High)
1546
Muse Wonder (Max)
1541
Gemini 4 Neon (High)
1540
Claude Opus 4.7 (High)
1538
Claude Fable 5 (High)
1537
Claude Opus 4.6 (High)
1534
Claude Opus 5.5 (High)
1508
GLM 5.2
1464
Claude Haiku 4.5

Popular comparisons