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.
Equal
$3.20 vs $5.00 / 1M
—
205K vs 200K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | anthropic/claude-haiku-4.5 | z-ai/glm-5 |
|---|---|---|
| Reasoning | Yes | Yes |
| Input Modalities | text, image, file | text |
| Tools & JSON | Tools | Tools |
| Prompt Caching | $0.10/1M | $0.20/1M |
| Open-Weight | Proprietary | Open |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for anthropic/claude-haiku-4.5 and z-ai/glm-5.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $1.00 | $1.00 | Equal |
| Output / 1M | $5.00 | $3.20 | z-ai/glm-5 -36% |
| 5m Cache Write / 1M | $1.25 | $1.00 | z-ai/glm-5 -20% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.10 | $0.20 | anthropic/claude-haiku-4.5 -50% |
| Web Search / Call | — | — | — |
| Context | 200K (200,000) | 205K (204,800) | z-ai/glm-5 1× |
| Max Output | 64K (64,000) | 131K (131,100) | z-ai/glm-5 2× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image, file | text | anthropic/claude-haiku-4.5 |
| Reasoning | Supported | Supported | Equal |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Proprietary API | Open-Weight | z-ai/glm-5 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
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
Comparisonsanthropic/claude-haiku-4.5 vs GPT-6.1 Terra
In: $1.00 vs $1.00 · Out: $5.00 vs $5.00
anthropic/claude-haiku-4.5 vs Gemini Robotics Er 2 Preview
In: $1.00 vs $1.00 · Out: $5.00 vs $5.00
anthropic/claude-haiku-4.5 vs Gemini Robotics Er 2 Streaming Preview
In: $1.00 vs $1.00 · Out: $5.00 vs $5.00
anthropic/claude-haiku-4.5 vs Moonshot V1 32k
In: $1.00 vs $1.00 · Out: $5.00 vs $3.00
z-ai/glm-5 vs GPT-6.1 Terra
In: $1.00 vs $1.00 · Out: $3.20 vs $5.00
z-ai/glm-5 vs Gemini Robotics Er 2 Preview
In: $1.00 vs $1.00 · Out: $3.20 vs $5.00