Compare Claude Opus 4.5 from Anthropic and GPT-5 Codex from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
| Attribute | Claude Opus 4.5 | GPT-5 Codex |
|---|---|---|
| Input price | $5/M tokens | Pricing varies by provider |
| Output price | $25/M tokens | Pricing varies by provider |
| Context window | 200,000 tokens | 400,000 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 1.01 s | Not available |
| Throughput (p50) | 40.0 tok/s | Not available |
| Provided by | Anthropic | OpenAI |
| Model page | Claude Opus 4.5 model details, providers and pricing | GPT-5 Codex model details, providers and pricing |
Benchmark data updated
GPT-5 Codex has the longer context window at 400,000 tokens, compared with 200,000 tokens for Claude Opus 4.5.