Claude Sonnet 5 vs GPT-5.1-Codex
| Claude Sonnet 5 | GPT-5.1-Codex | |
|---|---|---|
| Coding index | 57.7 | 15.3 |
| Benchmarks behind it | Verified, 6 benchmarks | Partial, 2 benchmarks |
| Output $/Mtok | $10.00 | $10.00 |
| Cost per solved task | $1.87 | $0.892 |
| Context window | 1M | 400K |
| Claude Sonnet 5 | GPT-5.1-Codex | |
|---|---|---|
| Coding index | 57.7 | 15.3 |
| Benchmarks behind it | Verified, 6 benchmarks | Partial, 2 benchmarks |
| Output $/Mtok | $10.00 | $10.00 |
| Cost per solved task | $1.87 | $0.892 |
| Context window | 1M | 400K |