Skip to content

Claude 3.5 Haiku vs GPT-5.2-Codex

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

SpecClaude 3.5 HaikuGPT-5.2-Codex
ProviderVercel AI GatewayVercel AI Gateway
Input / 1M tokens$0.80$1.75
Output / 1M tokens$4.00$14.00
Context window200K400K
Parameters
Open weightsNoNo
ReleasedNov 2024Dec 2025

FAQ

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