AnthropicvsZ.ai·Updated Nov 2026
anthropic/claude-haiku-4.5 logovsz-ai/glm-5 logo

anthropic/claude-haiku-4.5 vs z-ai/glm-5

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
Tie · $1.00/1M

Equal

Cheaper Output
z-ai/glm-5 logoz-ai/glm-5-36%

$3.20 vs $5.00 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
z-ai/glm-5 logoz-ai/glm-51×

205K vs 200K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5Pending
z-ai/glm-5 logoz-ai/glm-5Pending
AA Engineering
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5Pending
z-ai/glm-5 logoz-ai/glm-5Pending
Core Capability Profile
Metricanthropic/claude-haiku-4.5z-ai/glm-5
ReasoningYesYes
Input Modalitiestext, image, filetext
Tools & JSONToolsTools
Prompt Caching$0.10/1M$0.20/1M
Open-WeightProprietaryOpen

Side-by-side specification matrix

USD ·
Metricanthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5z-ai/glm-5 logoz-ai/glm-5Compare
Input / 1M$1.00$1.00Equal
Output / 1M$5.00$3.20z-ai/glm-5 -36%
5m Cache Write / 1M$1.25$1.00z-ai/glm-5 -20%
1h Cache Write / 1M———
Cache Read$0.10$0.20anthropic/claude-haiku-4.5 -50%
Web Search / Call———
Context200K (200,000)205K (204,800)z-ai/glm-5 1×
Max Output64K (64,000)131K (131,100)z-ai/glm-5 2×
AA Intelligence(Artificial Analysis)———
AA Engineering———
Capabilitiestext, image, filetextanthropic/claude-haiku-4.5
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightProprietary APIOpen-Weightz-ai/glm-5

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with z-ai/glm-5 $46.50/mo ($558.00)
-20%
anthropic/claude-haiku-4.5 logoanthropic/claude-haiku-4.5
$232.50/mo
In: $75.00
Cache: $7.50
Out: $150.00
Search: N/A
z-ai/glm-5 logoz-ai/glm-5Best Value
$186.00/mo
In: $75.00
Cache: $15.00
Out: $96.00
Search: N/A

Frequently Asked Questions

Is anthropic/claude-haiku-4.5 or z-ai/glm-5 cheaper per API token?

Both anthropic/claude-haiku-4.5 and z-ai/glm-5 charge an identical $1.00 per 1M input tokens. For output tokens, z-ai/glm-5 costs 36% less ($3.20 vs $5.00 per 1M).

How do anthropic/claude-haiku-4.5 and z-ai/glm-5 prompt caching discounts compare?

anthropic/claude-haiku-4.5 offers 50% cheaper cache reads at $0.10/1M compared to $0.20/1M for z-ai/glm-5. anthropic/claude-haiku-4.5 5m write: $1.25/1M; z-ai/glm-5 5m write: $1.00/1M.

Which model has a larger context window: anthropic/claude-haiku-4.5 or z-ai/glm-5?

z-ai/glm-5 provides a 1× larger context window (205K vs 200K tokens). For single-turn output generation, anthropic/claude-haiku-4.5 caps at 64K tokens and z-ai/glm-5 caps at 131K tokens.

How do anthropic/claude-haiku-4.5 and z-ai/glm-5 compare on benchmarks and capabilities?

anthropic/claude-haiku-4.5 adds native vision/image input support, and z-ai/glm-5 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons