Skip to content
Free tool · Updated 2 Oct 2026

Claude Haiku 4.5 vs GPT-5 vs Claude Sonnet 4.5

Pick two to four models to compare benchmark scores, prices, context windows and speed. The link updates as you pick, so you can share the exact comparison.

Claude Haiku 4.5GPT-5Claude Sonnet 4.5

Cheapest blended

Claude Haiku 4.5

$2.00 / 1M tokens

Largest context

GPT-5

400K tokens

Fastest output

Claude Haiku 4.5

91 tokens/s

Top on SWE-bench Verified

Claude Sonnet 4.5

77.2%

Specifications

SpecClaude Haiku 4.5AnthropicGPT-5OpenAIClaude Sonnet 4.5Anthropic
ProviderAnthropicOpenAIAnthropic
Released15 Oct 20257 Aug 202529 Sep 2025
LicenceProprietaryProprietaryRetires 11 Dec 2026ProprietaryRetires 30 Nov 2026
Context window200K tokens400K tokens200K tokens
Max output64K tokens128K tokens64K tokens
Input / 1M$1.00*$1.25*$3.00*
Output / 1M$5.00$10.00$15.00
Cached input / 1M$0.10$0.125$0.30
Speed91 tokens/s75 tokens/s–
Input typestext, imagetext, imagetext, image
Best forBudgetCodingCodingCodingAgents

* Claude Haiku 4.5: Cheapest current Claude model. Uses the previous tokenizer. Minimum cacheable prompt: 4,096 tokens. Retirement commitment is only 'not sooner than 15 Oct 2026'; no deprecation notice yet.

* GPT-5: There is no separate cache-write charge. Batch and Flex: $0.625 / $5. Fast mode: $2.50 / $20. Snapshot gpt-5-2025-08-07 shuts down 11 Dec 2026; the recommended replacement is gpt-5.6-sol.

* Claude Sonnet 4.5: Deprecated 30 Sep 2026; retires on the Claude API on 30 Nov 2026. Recommended replacement: Claude Sonnet 5.5 ($2/$10). Uses the previous tokenizer. Minimum cacheable prompt: 1,024 tokens.

Benchmark scores

Officially reported scores only. A model with no published score on a benchmark shows a line, not a zero.

Claude Haiku 4.5GPT-5Claude Sonnet 4.5
SWE-bench Verified73.3%74.9%77.2%
τ²-bench no published score96.7% no published score

Price per 1M tokens

Claude Haiku 4.5GPT-5Claude Sonnet 4.5
Input$1.00$1.25$3.00
Output$5.00$10.00$15.00
Cached input$0.10$0.125$0.30

Context window and speed

Claude Haiku 4.5GPT-5Claude Sonnet 4.5
Context200K400K200K
Tokens/s9175 no published score

Notes

Claude Haiku 4.5
Anthropic's fastest model with near-frontier intelligence; Anthropic positions it as giving coding performance similar to Claude Sonnet 4 at one-third the cost and more than twice the speed.
GPT-5
The previous-generation reasoning model for coding and agentic tasks, launched August 2025. OpenAI now points users to newer models.
Claude Sonnet 4.5
Deprecated Sonnet model; at launch Anthropic called it the best coding model in the world and the strongest model for building complex agents.

Still torn between two?

Test them on your own prompts.

Benchmarks are someone else’s work. On a free call we look at yours and agree how to check quality, cost and latency for the models you are weighing.