Claude Haiku 4.5 vs GPT-5 Mini: Detailed Comparison

Choosing between Claude Haiku 4.5 (Anthropic) and GPT-5 Mini (OpenAI) comes down to three things: per-token pricing, context window, and which capability matters most for your workload. Claude Haiku 4.5 costs $1.00/M input vs $0.25/M for GPT-5 Mini; context windows are 200K vs 400K tokens. Detailed breakdown below.

Side-by-side specs

SpecClaude Haiku 4.5GPT-5 Mini
ProviderAnthropicOpenAI
Released2025-10-012025-08-07
Input price $1.00/M $0.25/M
Output price $5.00/M $2.00/M
Cached input $0.1000/M $0.0250/M
Context window 200K 400K
Max output 16K 128K
Modalities text image text image
Tokenizer claude-3 o200k_base

Capability matrix

CapabilityClaude Haiku 4.5GPT-5 Mini
function calling Yes Yes
json mode Yes Yes
vision Yes Yes
streaming Yes Yes
tool use Yes No

Per-call cost on typical workloads

Workload (in/out tokens)Claude Haiku 4.5GPT-5 MiniCheaper by
Standard chat (1K / 500) $0.003500 $0.001250 GPT-5 Mini by $0.002250
RAG (4K / 500) $0.006500 $0.002000 GPT-5 Mini by $0.004500
Long doc (20K / 1K) $0.025000 $0.007000 GPT-5 Mini by $0.018000
Very long context (100K / 2K) $0.107500 $0.028000 GPT-5 Mini by $0.079500

When to choose Claude Haiku 4.5 over GPT-5 Mini

  • Supports tool use — GPT-5 Mini does not.

When to choose GPT-5 Mini over Claude Haiku 4.5

  • Per-token input cost is 75% lower than Claude Haiku 4.5.
  • Larger context window (400K vs 200K).

Related comparisons