GPT-4.1 vs GPT-5.3-Codex
GPT-4.1 is cheaper on output tokens, while GPT-4.1 offers a larger context window. Choose GPT-4.1 or GPT-5.3-Codex based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GPT-4.1 | GPT-5.3-Codex |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Input / 1M tokens | $2.00 | $1.75 |
| Output / 1M tokens | $8.00 | $14.00 |
| Context window | 1M | 400K |
| Parameters | — | — |
| Open weights | No | No |
| Released | Apr 2025 | Feb 2026 |
| Aider Polyglot score | 52.4 | — |
| GPQA Diamond score | 66.9 | — |
| FrontierMath score | 5.5 | — |
| LMArena (Chatbot Arena) Elo score | 1383 | — |
| Epoch Capabilities Index score | 137 | — |
| SWE-bench Verified score | 39.6 | — |
| LMArena Vision Elo score | 1210 | — |
| SWE-bench Multimodal score | 31.1 | — |
| LiveBench score | — | 73.2 |
| LMArena WebDev Elo score | — | 1407 |
FAQ
Is GPT-4.1 or GPT-5.3-Codex cheaper?
GPT-4.1 is cheaper on output tokens ($8.00 vs $14.00 per 1M).
Which has the larger context window, GPT-4.1 or GPT-5.3-Codex?
GPT-4.1 has the larger context window (1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.