Compare Claude Sonnet 5 from Anthropic and DeepSeek V4 Flash 0423 from DeepSeek 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 5 | DeepSeek V4 Flash 0423 |
|---|---|---|
| Input price | $2/M tokens | $0.0467/M tokens |
| Output price | $10/M tokens | $0.45/M tokens |
| Context window | 1,000,000 tokens | 1,048,576 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | 71.5 | 52.0 |
| Agentic Index | 43.6 | 26.3 |
| Latency (p50) | 1.16 s | 0.60 s |
| Throughput (p50) | 69.0 tok/s | 129.0 tok/s |
| Provided by | Anthropic | DeepSeek |
| Model page | Claude Sonnet 5 model details, providers and pricing | DeepSeek V4 Flash 0423 model details, providers and pricing |
Benchmark data updated
DeepSeek V4 Flash 0423 is cheaper than Claude Sonnet 5 on OpenRouter: DeepSeek V4 Flash 0423 costs $0.0467/M tokens input and $0.45/M tokens output, while Claude Sonnet 5 costs $2/M tokens input and $10/M tokens output.
DeepSeek V4 Flash 0423 has the longer context window at 1,048,576 tokens, compared with 1,000,000 tokens for Claude Sonnet 5.
DeepSeek V4 Flash 0423 is faster on OpenRouter, generating a median 129.0 tokens per second compared with 69.0 tokens per second for Claude Sonnet 5.
Claude Sonnet 5 scores higher on coding, with an Artificial Analysis Coding Index of 71.5 compared with 52.0 for DeepSeek V4 Flash 0423.