Compare/Claude 3 Haiku vs GPT-5.4 nano (xhigh)

Claude 3 HaikuvsGPT-5.4 nano (xhigh)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Anthropic

Claude 3 Haiku

Input
$0.25/M
Output
$1.25/M
Speed
132 tok/s
TTFT
0.41s
OpenAI

GPT-5.4 nano (xhigh)

Input
$0.2/M
Output
$1.25/M
Speed
193 tok/s
TTFT
2.69s

Winner by Category

Cheaper
GPT-5.4 nano (xhigh)
Faster (tok/s)
GPT-5.4 nano (xhigh)
Lower Latency
Claude 3 Haiku
Benchmarks (2-7)
GPT-5.4 nano (xhigh)

Pricing Comparison

MetricClaude 3 HaikuGPT-5.4 nano (xhigh)
Input ($/M tokens)$0.25$0.2
Output ($/M tokens)$1.25$1.25
Cost for 1M input + 100K output tokens:
Claude 3 Haiku$0.38
GPT-5.4 nano (xhigh)$0.33

Speed Comparison

Output Speed (tokens/s) — higher is better
Claude 3 Haiku
132 tok/s
GPT-5.4 nano (xhigh)
193 tok/s
Time to First Token (seconds) — lower is better
Claude 3 Haiku
0.41s
GPT-5.4 nano (xhigh)
2.69s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
12.344.4
Coding Index
6.743.9
Math Index
GPQA Diamond
37.4%81.7%
MMLU-Pro
LiveCodeBench
15.4%
AIME 2025
MATH-500
39.4%
Humanity's Last Exam
3.9%26.5%
SciCode
18.6%46.9%
IFBench
36.1%75.9%
TerminalBench
0.8%42.4%
Claude 3 Haiku2 wins
7 winsGPT-5.4 nano (xhigh)

Frequently Asked Questions

Which is cheaper, Claude 3 Haiku or GPT-5.4 nano (xhigh)?

GPT-5.4 nano (xhigh) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.46/M tokens vs $0.50/M for Claude 3 Haiku.

Which model performs better on benchmarks?

GPT-5.4 nano (xhigh) wins 7 out of 12 benchmarks compared to 2 for Claude 3 Haiku. See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GPT-5.4 nano (xhigh) generates tokens faster at 193 tok/s vs 132 tok/s. Claude 3 Haiku also has lower time-to-first-token (0.41s vs 2.69s).

When should I use Claude 3 Haiku vs GPT-5.4 nano (xhigh)?

Choose based on your priorities: GPT-5.4 nano (xhigh) for lower cost, GPT-5.4 nano (xhigh) for stronger benchmark performance, and GPT-5.4 nano (xhigh) for faster generation. For latency-sensitive apps, check the TTFT comparison above.