Compare Claude Sonnet 4.5 from Anthropic and GPT-5 Mini 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.
Claude Sonnet 4.5 and GPT-5 Mini are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Claude Sonnet 4.5, from Anthropic, has a 1,000,000-token context window and is priced at $3/M tokens input, $15/M tokens output on OpenRouter.
GPT-5 Mini, from OpenAI, has a 400,000-token context window and is priced at $0.25/M tokens input, $2/M tokens output on OpenRouter.
| Claude Sonnet 4.5 | GPT-5 Mini | |
|---|---|---|
| Input price | $3/M tokens | $0.25/M tokens |
| Output price | $15/M tokens | $2/M tokens |
| Context window | 1,000,000 tokens | 400,000 tokens |
| Intelligence Index | 19.3 | 20.6 |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 1.44 s | 4.13 s |
| Throughput (p50) | 37.0 tok/s | 33.0 tok/s |
Claude Sonnet 4.5 has the longer context window at 1,000,000 tokens, compared with 400,000 tokens for GPT-5 Mini.
Claude Sonnet 4.5 is faster on OpenRouter, generating a median 37.0 tokens per second compared with 33.0 tokens per second for GPT-5 Mini.