Claude Haiku 4.5 vs ERNIE 4.5: which model should you choose?
We compared Claude Haiku 4.5 and ERNIE 4.5 on price, context window and 12 benchmarks. ERNIE 4.5 has the stronger average benchmark score; ERNIE 4.5 is cheaper on a blended 3:1 basis.
Claude Haiku 4.5
Claude Haiku 4.5 is a multimodal model from Anthropic. It offers a 1,000,000-token context window, costs $13.86 per million input tokens and $74.67 per million output tokens, and averages 79.4 across the index's benchmark suite.
- Input
- $13.86 / 1M
- Output
- $74.67 / 1M
- Context
- 1,000,000
- Avg score
- 79.4
- Open weights
- No
ERNIE 4.5
ERNIE 4.5 is a multimodal model from Baidu. It offers a 65,536-token context window, costs $13.44 per million input tokens and $56.59 per million output tokens, and averages 80.0 across the index's benchmark suite.
- Input
- $13.44 / 1M
- Output
- $56.59 / 1M
- Context
- 65,536
- Avg score
- 80.0
- Open weights
- No
Specification comparison
| Spec | Claude Haiku 4.5 | ERNIE 4.5 | Edge |
|---|---|---|---|
| Input price / 1M | $13.86 | $13.44 | B |
| Output price / 1M | $74.67 | $56.59 | B |
| Context window | 1,000,000 | 65,536 | A |
| Max output | 128,000 | 32,768 | A |
| Average score | 79.4 | 80.0 | B |
| Arena Elo | 1421.8 | 1414.8 | A |
| Open weights | No | No | Tie |
Benchmark comparison
Claude Haiku 4.5 wins 7, ERNIE 4.5 wins 5, and 0 benchmarks are tied. The table shows the modelled score for each model and the gap.
| Benchmark | Claude Haiku 4.5 | ERNIE 4.5 | Gap | Winner |
|---|---|---|---|---|
| MMLU-Pro | 84.1 | 83.7 | 0.4 | Claude Haiku 4.5 |
| GPQA Diamond | 74.1 | 77.2 | 3.1 | ERNIE 4.5 |
| SWE-bench Verified | 69.2 | 68.2 | 1.0 | Claude Haiku 4.5 |
| HumanEval | 84.7 | 83.9 | 0.8 | Claude Haiku 4.5 |
| MATH-500 | 81.4 | 81.3 | 0.1 | Claude Haiku 4.5 |
| AIME 2025 | 76.5 | 75.9 | 0.6 | Claude Haiku 4.5 |
| LiveCodeBench | 71.6 | 72.9 | 1.3 | ERNIE 4.5 |
| IFEval | 85.2 | 86.4 | 1.2 | ERNIE 4.5 |
| TruthfulQA | 79.6 | 83.0 | 3.4 | ERNIE 4.5 |
| HellaSwag | 89.6 | 89.2 | 0.4 | Claude Haiku 4.5 |
| MMMU | 77.6 | 78.0 | 0.4 | ERNIE 4.5 |
| Arena Elo | 1421.8 | 1414.8 | 7.0 | Claude Haiku 4.5 |
Price analysis
On a blended 3:1 input-to-output basis, Claude Haiku 4.5 costs about $29.06 per million tokens and ERNIE 4.5 costs about $24.23. ERNIE 4.5 is roughly 17% cheaper than Claude Haiku 4.5. At high volume, that gap compounds quickly, so price should carry real weight unless the quality difference is decisive.
Claude Haiku 4.5 has the larger context window at 1,000,000 tokens, compared with 65,536 for ERNIE 4.5. That matters for long documents, large codebases and multi-step agent traces.
Verdict
Across 12 shared benchmarks, Claude Haiku 4.5 wins 7, ERNIE 4.5 wins 5, and 0 are tied. On the index average, ERNIE 4.5 leads Claude Haiku 4.5 by 0.6 points (80.0 versus 79.4).
The price picture favours ERNIE 4.5. The context picture favours Claude Haiku 4.5. Those two dimensions often matter more than a few benchmark points once a model is good enough for the task.
If you need a single default, start with ERNIE 4.5 for quality-sensitive work, and check whether its price holds at your expected volume before committing.
Choose Claude Haiku 4.5 if
- You need the larger 1,000,000-token context window.
- You need the larger 128,000-token output limit.
Choose ERNIE 4.5 if
- You want the higher average benchmark score in this index.
- Unit cost matters and you want the cheaper blended price.
FAQ
Is Claude Haiku 4.5 better than ERNIE 4.5?
On the index average, ERNIE 4.5 leads Claude Haiku 4.5 by 0.6 points (80.0 versus 79.4). The better choice depends on price, context and your task. Claude Haiku 4.5 wins 7 benchmarks, ERNIE 4.5 wins 5.
Which is cheaper, Claude Haiku 4.5 or ERNIE 4.5?
ERNIE 4.5 is cheaper on a blended 3:1 basis at about $24.23 per million tokens, versus $29.06 for Claude Haiku 4.5.
Which has the larger context window?
Claude Haiku 4.5 has the larger context window at 1,000,000 tokens. ERNIE 4.5 has 65,536 tokens.
Are these models open weights?
Claude Haiku 4.5 is proprietary; ERNIE 4.5 is proprietary.
Which should I choose for production?
If you need a single default, start with ERNIE 4.5 for quality-sensitive work, and check whether its price holds at your expected volume before committing.