Claude Haiku 4.5 vs GPT-5.2

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.2

OpenAI · Dec 2025

The December 2025 GPT-5 refresh: stronger coding and agentic skills than GPT-5.1 at a moderate price, now the value pick in OpenAI's lineup.

The verdict

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

Benchmark head-to-head 01

SWE-bench Verified
73.3%~77.9%
Claude Haiku 4.5GPT-5.2

Specs & pricing

Claude Haiku 4.5GPT-5.2
modhub Index
Input price / 1M$1$1.75
Output price / 1M$5$14
Context window200K400K
Max output64K128K
Open weightsnono
Reasoning modelyesyes
Multimodal inputtext, imagetext, image
Knowledge cutoffFeb 2025Aug 2025
ReleasedOct 2025Dec 2025
Example monthly cost*$17.50$38.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.2?
GPT-5.2 wins 1 of the 1 benchmarks these models share, against 0 for Claude Haiku 4.5. Claude Haiku 4.5 is about 2.4x cheaper per blended million tokens (3:1 input:output mix). GPT-5.2 also takes 400K of context versus 200K for Claude Haiku 4.5.
Which is cheaper, Claude Haiku 4.5 or GPT-5.2?
Claude Haiku 4.5 costs $1/$5 per million input/output tokens, while GPT-5.2 costs $1.75/$14. For a typical workload of 10M input and 1.5M output tokens per month, that's $17.50 versus $38.50.
Which model is better for coding, Claude Haiku 4.5 or GPT-5.2?
On SWE-bench Verified — the standard agentic-coding benchmark — GPT-5.2 scores ~77.9% versus 73.3% for Claude Haiku 4.5, making GPT-5.2 the stronger pick for coding agents.

More comparisons