Skip to content
llmmodels

Claude Haiku 4.5 (latest) vs GPT-5.2 Codex

GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Claude Haiku 4.5 (latest) is about 2.4× cheaper on a blended (3:1 input:output) token price. GPT-5.2 Codex has the larger context window (400K vs 200K).

SpecClaude Haiku 4.5 (latest)GPT-5.2 Codex
ProviderAnthropicOpenAI
ReleasedOct 15, 2025Dec 11, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window200K400K (better)
Max output64K125K (better)
Input price / 1M$1 (better)$1.75
Output price / 1M$5 (better)$14
Input modalitiestext, image, pdf, file (better)text, image
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers58 (better)19
Epoch Capabilities Index142.7—
GPQA Diamond71.2%—
Terminal-Bench35.5%66.5% (better)
WebDev Arena13291339 (better)
OTIS Mock AIME66.7%—
MATH Level 596.4%—
ARC-AGI-24.0%—
SimpleQA Verified13.2%—

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Haiku 4.5 (latest) costs $20.00 and GPT-5.2 Codex costs $45.50 at list price (Anthropic / openrouter pricing).

About Claude Haiku 4.5 (latest)

Claude Haiku 4.5 (latest) is a proprietary reasoning llm from Anthropic, released Oct 15, 2025. It has a 200K-token context window and accepts text, image, pdf, file input. API pricing starts at $1 per million input tokens and $5 per million output tokens. It is available from 58 API providers. It scores 142.7 on the Epoch Capabilities Index. Full Claude Haiku 4.5 (latest) specs →

About GPT-5.2 Codex

GPT-5.2 Codex is a proprietary reasoning llm from OpenAI, released Dec 11, 2025. It has a 400K-token context window and accepts text, image input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 19 API providers. Full GPT-5.2 Codex specs →

Compare other models

FAQ

Which is better, Claude Haiku 4.5 (latest) or GPT-5.2 Codex?

GPT-5.2 Codex wins 2 of 2 benchmarks both models report. Claude Haiku 4.5 (latest) is about 2.4× cheaper on a blended (3:1 input:output) token price. GPT-5.2 Codex has the larger context window (400K vs 200K).

Is Claude Haiku 4.5 (latest) cheaper than GPT-5.2 Codex?

Claude Haiku 4.5 (latest) costs $1 input / $5 output per 1M tokens; GPT-5.2 Codex costs $1.75 / $14. Claude Haiku 4.5 (latest) is cheaper overall.

Which has a bigger context window?

Claude Haiku 4.5 (latest): 200,000 tokens. GPT-5.2 Codex: 400,000 tokens.

Are Claude Haiku 4.5 (latest) and GPT-5.2 Codex open source?

Claude Haiku 4.5 (latest) is proprietary; GPT-5.2 Codex is proprietary.