Skip to content

Claude Haiku 4.5 vs GPT-5.2 Codex

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

SpecClaude Haiku 4.5GPT-5.2 Codex
ProviderQiHangQiHang
Input / 1M tokens$0.14$0.14
Output / 1M tokens$0.71$1.14
Context window200K400K
Parameters
Open weightsNoNo
ReleasedOct 2025Dec 2025

FAQ

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