GPT-4 vs GPT-5.2
GPT-5.2 is cheaper on output tokens, while GPT-5.2 offers a larger context window. Choose GPT-4 or GPT-5.2 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GPT-4 | GPT-5.2 |
|---|---|---|
| Provider | Cloudflare AI Gateway | Cloudflare AI Gateway |
| Input / 1M tokens | $30.00 | $1.75 |
| Output / 1M tokens | $60.00 | $14.00 |
| Context window | 8K | 400K |
| Parameters | — | — |
| Open weights | No | No |
| Released | Nov 2023 | Dec 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.