Claude Sonnet 4.6 vs GPT-5.1-Codex
| Claude Sonnet 4.6 | GPT-5.1-Codex | |
|---|---|---|
| Coding index | 57.8 | 50.5 |
| Benchmarks behind it | Partial, 2 benchmarks | Partial, 2 benchmarks |
| Output $/Mtok | $15.00 | $10.00 |
| Cost per solved task | $1.68 | $0.892 |
| Context window | 1M | 400K |
| Claude Sonnet 4.6 | GPT-5.1-Codex | |
|---|---|---|
| Coding index | 57.8 | 50.5 |
| Benchmarks behind it | Partial, 2 benchmarks | Partial, 2 benchmarks |
| Output $/Mtok | $15.00 | $10.00 |
| Cost per solved task | $1.68 | $0.892 |
| Context window | 1M | 400K |