Skip to content

GPT-4o vs GPT-5.2 Codex

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

SpecGPT-4oGPT-5.2 Codex
ProviderAzureAzure
Input / 1M tokens$2.50$1.75
Output / 1M tokens$10.00$14.00
Context window128K400K
Parameters
Open weightsNoNo
ReleasedMay 2024Jan 2026

FAQ

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