Claude Haiku 4.5 vs GPT-5.4 Mini.

A direct API cost comparison: headline rates, the per-call math on a typical workload, and which one to pick beyond price.

Claude Haiku 4.5

Anthropic
$0.0040
1,500 in × $1.00 + 500 out × $5.00 per million

GPT-5.4 Mini

OpenAI
$0.0026
1,500 in × $0.75 + 500 out × $3.00 per million

Which is cheaper: Claude Haiku 4.5 or GPT-5.4 Mini?

On a standard 1,500-input / 500-output call, GPT-5.4 Mini is about 34% cheaper — $0.0026 versus $0.0040 per call. At 10,000 calls a month that is roughly $26.25 vs $40.00.

Output tokens cost several times more than input on both models, so the more your workload leans toward long generated answers, the more the output rate dominates the bill.

Side-by-side specifications

MetricClaude Haiku 4.5GPT-5.4 Mini
VendorAnthropicOpenAI
Input price / M tokens$1.00$0.75
Output price / M tokens$5.00$3.00
Context window200K1M
Cost per typical call$0.0040$0.0026
Cost per 10,000 calls$40.00$26.25

When to pick which

Beyond the per-token math, tokenizer efficiency on non-English text and your own quality evals can shift the real cost. On context, GPT-5.4 Mini offers the larger window (1M), which matters for long documents and agent histories. Price your actual prompt in the language you serve with the calculator before committing.

Prompt caching and batching

Both providers support prompt caching (cached input bills at roughly 10% of the standard rate) and batch processing (about 50% off for 24-hour-tolerant jobs). If one model lets you cache a larger static prefix in your setup, it can become cheaper in practice even when its headline rate is higher.

The bottom line

GPT-5.4 Mini wins on raw price for a typical workload. Pick Claude Haiku 4.5 only when its quality, context, or tokenizer advantages on your specific task outweigh the difference.

FAQ

Is Claude Haiku 4.5 or GPT-5.4 Mini cheaper?

GPT-5.4 Mini — about 34% cheaper on a typical 1,500-input / 500-output call ($0.0026 vs $0.0040).

What does each cost per million tokens?

Claude Haiku 4.5: $1.00 input / $5.00 output. GPT-5.4 Mini: $0.75 input / $3.00 output.

Which should I choose for output-heavy generation?

The one with the lower output rate, since generation is output-bound: GPT-5.4 Mini ($3.00/M output).

Other comparisons

explore more
all pairs

All Comparisons

Every model matchup
flagship

GPT-5.5 vs Claude Opus 4.8

$5/$30 vs $5/$25
cheapest

DeepSeek V3.2 vs Gemini 2.5 Flash-Lite

$0.14/$0.28 vs $0.10/$0.40