OpenAI: GPT-5.4 vs OpenAI: GPT-5.2-Codex
OpenAI: GPT-5.2-Codex is cheaper on output tokens, while OpenAI: GPT-5.4 offers a larger context window. Choose OpenAI: GPT-5.4 or OpenAI: GPT-5.2-Codex based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | OpenAI: GPT-5.4 | OpenAI: GPT-5.2-Codex |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Input / 1M tokens | $2.50 | $1.75 |
| Output / 1M tokens | $15.00 | $14.00 |
| Context window | 1.1M | 400K |
| Parameters | — | — |
| Open weights | No | No |
| Released | Mar 2026 | Dec 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.