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