Codestral 22B is 92% cheaper than Claude 3.5 Sonnet (v2) on blended 3:1 token pricing. Codestral 22B costs $0.30/1M in and $0.90/1M out, while Claude 3.5 Sonnet (v2) costs $3.00/1M in and $15.00/1M out.
Codestral 22B vs Claude 3.5 Sonnet (v2)
Compare verified input/output token rates, prompt caching discounts, latency tiers, and context limits between Mistral AI and Anthropic.
| Metric / Feature | Codestral 22B (Mistral AI) | Claude 3.5 Sonnet (v2) (Anthropic) |
|---|---|---|
| Input Price ($ / 1M Tokens) | $0.30 | $3.00 |
| Output Price ($ / 1M Tokens) | $0.90 | $15.00 |
| Prompt Caching Input Rate | Not Available | $0.300/1M |
| Blended 3:1 Rate (Production) | $0.450 / 1M | $6.000 / 1M |
| Max Context Window | 128k | 200k |
| Multimodal Vision | ❌ Text Only | ✅ Supported |
| MMLU Benchmark | 81.1% | 88.3% |
| Throughput & Latency | Ultra-Fast (~80 t/s) | Fast (~50 t/s) |
| Best For | Fill-in-the-middle code completion, automated unit tests, IDE integration | Autonomous coding, complex tool use, multi-step agent reasoning |
When to Choose Codestral 22B
Choose Codestral 22B if your workload requires fill-in-the-middle code completion, automated unit tests, ide integration. Ideal for teams needing Mistral AI's infrastructure and ecosystem tooling.
When to Choose Claude 3.5 Sonnet (v2)
Choose Claude 3.5 Sonnet (v2) if your primary objective is autonomous coding, complex tool use, multi-step agent reasoning. Ideal for scaling high-throughput pipelines with Anthropic.
Want to compare Codestral 22B against another model?
Select another target model to view immediate pricing & latency trade-offs.