Claude Sonnet 5 vs GPT-5.2-Codex
| Claude Sonnet 5 | GPT-5.2-Codex | |
|---|---|---|
| Coding index | 57.7 | 45.4 |
| Benchmarks behind it | Verified, 6 benchmarks | Verified, 3 benchmarks |
| Output $/Mtok | $10.00 | $14.00 |
| Cost per solved task | $1.87 | $0.43 |
| Context window | 1M | 400K |
| Claude Sonnet 5 | GPT-5.2-Codex | |
|---|---|---|
| Coding index | 57.7 | 45.4 |
| Benchmarks behind it | Verified, 6 benchmarks | Verified, 3 benchmarks |
| Output $/Mtok | $10.00 | $14.00 |
| Cost per solved task | $1.87 | $0.43 |
| Context window | 1M | 400K |