Skip to content

GPT-5.1 Codex vs GPT-5.2

GPT-5.1 Codex is cheaper on output tokens. Choose GPT-5.1 Codex or GPT-5.2 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT-5.1 CodexGPT-5.2
ProviderCloudflare AI GatewayCloudflare AI Gateway
Input / 1M tokens$1.25$1.75
Output / 1M tokens$10.00$14.00
Context window400K400K
Parameters
Open weightsNoNo
ReleasedNov 2025Dec 2025

FAQ

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