Compare Claude Sonnet 4.5 from Anthropic and Devstral 2 2512 from Mistral AI 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 Devstral 2 2512 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.
Devstral 2 2512, from Mistral AI, has a 262,144-token context window and is priced at $0.40/M tokens input, $2/M tokens output on OpenRouter.
| Attribute | Claude Sonnet 4.5 | Devstral 2 2512 |
|---|---|---|
| Input price | $3/M tokens | $0.40/M tokens |
| Output price | $15/M tokens | $2/M tokens |
| Context window | 1,000,000 tokens | 262,144 tokens |
| Intelligence Index | 19.3 | 8.6 |
| Coding Index | Not available | 31.3 |
| Agentic Index | Not available | 2.3 |
| Latency (p50) | 1.05 s | 0.29 s |
| Throughput (p50) | 39.0 tok/s | 121.0 tok/s |
Benchmark data updated
Claude Sonnet 4.5 has the longer context window at 1,000,000 tokens, compared with 262,144 tokens for Devstral 2 2512.
Devstral 2 2512 is faster on OpenRouter, generating a median 121.0 tokens per second compared with 39.0 tokens per second for Claude Sonnet 4.5.