Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | GPT-5.1 Codex (high) | Claude Sonnet 5 (Non-reasoning, High Effort) |
|---|---|---|
| Input ($/M tokens) | $1.25 | $2 |
| Output ($/M tokens) | $10 | $10 |
Data from Artificial Analysis API — 12 benchmarks
GPT-5.1 Codex (high) is cheaper overall. Its blended price (3:1 input/output ratio) is $3.44/M tokens vs $4.00/M for Claude Sonnet 5 (Non-reasoning, High Effort).
GPT-5.1 Codex (high) wins 8 out of 12 benchmarks compared to 3 for Claude Sonnet 5 (Non-reasoning, High Effort). See the detailed benchmark chart above for per-category results.
GPT-5.1 Codex (high) generates tokens faster at 189 tok/s vs 0 tok/s. However, Claude Sonnet 5 (Non-reasoning, High Effort) has lower time-to-first-token (0.00s vs 4.13s).
Choose based on your priorities: GPT-5.1 Codex (high) for lower cost, GPT-5.1 Codex (high) for stronger benchmark performance, and GPT-5.1 Codex (high) for faster generation. For latency-sensitive apps, check the TTFT comparison above.