Claude Haiku 4.5 vs GPT-5

Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.

Claude Haiku 4.5

Anthropic · Oct 2025

Anthropic's fast tier: Sonnet-4-class coding performance at $1/$5 and more than twice the speed.

GPT-5

OpenAI · Aug 2025

70.7

OpenAI's August 2025 unified flagship that merged the GPT and o-series reasoning lines into one model with selectable effort.

The verdict

GPT-5 wins 3 of the 3 benchmarks these models share, against 0 for Claude Haiku 4.5. Claude Haiku 4.5 is about 1.7x cheaper per blended million tokens (3:1 input:output mix). GPT-5 also takes 400K of context versus 200K for Claude Haiku 4.5.

Benchmark head-to-head 03

SWE-bench Verified
73.3%74.9%
Claude Haiku 4.5GPT-5
GPQA Diamond
~73%85.7%
Claude Haiku 4.5GPT-5
Terminal-Bench
~41%~43.8%
Claude Haiku 4.5GPT-5

Specs & pricing

Claude Haiku 4.5GPT-5
modhub Index70.7
Input price / 1M$1$1.25
Output price / 1M$5$10
Context window200K400K
Max output64K128K
Open weightsnono
Reasoning modelyesyes
Multimodal inputtext, imagetext, image
Knowledge cutoffFeb 2025Sep 2024
ReleasedOct 2025Aug 2025
Example monthly cost*$17.50$27.50

* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.

Frequently asked questions

Which is better, Claude Haiku 4.5 or GPT-5?
GPT-5 wins 3 of the 3 benchmarks these models share, against 0 for Claude Haiku 4.5. Claude Haiku 4.5 is about 1.7x cheaper per blended million tokens (3:1 input:output mix). GPT-5 also takes 400K of context versus 200K for Claude Haiku 4.5.
Which is cheaper, Claude Haiku 4.5 or GPT-5?
Claude Haiku 4.5 costs $1/$5 per million input/output tokens, while GPT-5 costs $1.25/$10. For a typical workload of 10M input and 1.5M output tokens per month, that's $17.50 versus $27.50.
Which model is better for coding, Claude Haiku 4.5 or GPT-5?
On SWE-bench Verified — the standard agentic-coding benchmark — GPT-5 scores 74.9% versus 73.3% for Claude Haiku 4.5, making GPT-5 the stronger pick for coding agents.

More comparisons