Skip to content

Claude Haiku 4.5 vs GPT-5.1-Codex-Max

Claude Haiku 4.5 is cheaper on output tokens, while GPT-5.1-Codex-Max offers a larger context window. Choose Claude Haiku 4.5 or GPT-5.1-Codex-Max based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecClaude Haiku 4.5GPT-5.1-Codex-Max
ProviderAnthropicOpenAI
Input / 1M tokens$1.00$1.25
Output / 1M tokens$5.00$10.00
Context window200K400K
Parameters——
Open weightsNoNo
ReleasedOct 2025Nov 2025
LiveBench score61.074.4
SWE-bench Multilingual score64.7—
LMArena (Chatbot Arena) Elo score1397—
LMArena WebDev Elo score1330—
GPQA Diamond score71.2—
FrontierMath score5.9—
Epoch Capabilities Index score142—
SWE-bench Verified score66.6—

FAQ

Is Claude Haiku 4.5 or GPT-5.1-Codex-Max cheaper?

Claude Haiku 4.5 is cheaper on output tokens ($5.00 vs $10.00 per 1M).

Which has the larger context window, Claude Haiku 4.5 or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max has the larger context window (400K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.