Compare Claude Sonnet 4.5 from Anthropic and GPT-5.2 Chat 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 Sonnet 4.5 | GPT-5.2 Chat |
|---|---|---|
| Input price | $3/M tokens | $1.75/M tokens |
| Output price | $15/M tokens | $14/M tokens |
| Context window | 1,000,000 tokens | 128,000 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | 52.1 | Not available |
| Agentic Index | 15.8 | Not available |
| Latency (p50) | 0.98 s | Not available |
| Throughput (p50) | 45.0 tok/s | Not available |
| Provided by | Anthropic | OpenAI |
| Model page | Claude Sonnet 4.5 model details, providers and pricing | GPT-5.2 Chat model details, providers and pricing |
Benchmark data updated
Claude Sonnet 4.5 has the longer context window at 1,000,000 tokens, compared with 128,000 tokens for GPT-5.2 Chat.