Loading...
Loading...
Side-by-side comparison of API pricing, context window, latency, and benchmark performance. Data refreshed daily from provider APIs and ModelStop's own latency probes.
💰OpenAI: GPT-5 Codex is 96% cheaper than OpenAI: GPT-4
⚡OpenAI: GPT-5 Codex is 56ms faster than OpenAI: GPT-4
Price (lower is better), Speed/Latency (lower is better), Performance (higher is better)
OpenAI: GPT-5 Codex is 2300% cheaper
OpenAI: GPT-5 Codex is 156% faster
| Spec | OpenAI: GPT-4 | OpenAI: GPT-5 Codex |
|---|---|---|
| Provider | openai | openai |
| Input price / 1M tokens | $30.00 | $1.25 |
| Output price / 1M tokens | $60.00 | $10.00 |
| Context window | 8k tokens | 400k tokens |
| Latency (p50) | 92ms | 36ms |
| Best benchmark score | — | — |
| Open source | No | No |
OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
GPT-5-Codex is a specialized version of GPT-5 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
Want to swap in a different model or estimate monthly costs?
Help my team choose the right model
Not sure which model fits your workload, budget, and latency requirements? Get a tailored recommendation.