GPT-5.1 Codex Max is the newer model, released after Claude Sonnet 4.
| Spec | Claude Sonnet 4 | GPT-5.1 Codex Max |
|---|---|---|
| Input price | $3/M tokens | — |
| Output price | $15/M tokens | — |
| Context window | 200K tokens | — |
| Weights | Closed | Closed |
| Free API (OpenRouter) | No | No |
| Released | May 2025 | Dec 2025 |
| SWE-bench Verified | 72.7% | 77.9% |
Not enough votes to call it. On the specs, GPT-5.1 Codex Max has the edge: bigger model tier, newer.
Reviewing agent-written code?See a Brief PR report
Per million tokens. Prices and uptime via OpenRouter, checked 13 Sep 2026.
Claude Sonnet 4 uses 70.1x more emoji