4 AI models similar to Codestral by Mistral AI, ranked by performance.
| # | Model | Provider | Score | Rating | Context | Input $/1M | Compare |
|---|---|---|---|---|---|---|---|
| 1 | Qwen 2.5 Coder 32B Alibaba's specialized code model that matches GPT-4o on many coding benchmarks while being open-weight. | Alibaba | 88.0 | ★ 4.5 | 128K | — | vs Codestral |
| 2 | DeepSeek Coder V2 DeepSeek's specialized code model with strong performance on coding benchmarks at competitive pricing. | DeepSeek | 84.5 | ★ 4.5 | 128K | $0.14 | vs Codestral |
| 3 | CodeLlama 70B Meta's largest code-specialized Llama model, fine-tuned for code generation, completion, and infilling. | Meta | 79.0 | ★ 4.2 | 100K | — | vs Codestral |
| 4 | StarCoder 2 15B Open-source code model trained on The Stack v2, supporting 600+ programming languages for broad code generation tasks. | BigCode | 72.0 | ★ 4.0 | 16K | — | vs Codestral |