Codestral 2
SpecializedAPI Available
Benchmark Scores
80.1/100MMLU72
HumanEval93.5
Math68
Reasoning74
Coding93
About Codestral 2
Codestral 2 is Mistral AI's specialized coding model with a 256K context window designed for working with entire codebases. It excels at code generation, completion, and refactoring across 80+ languages.
Strengths
- +Top-tier code generation
- +256K context for large codebases
- +Fast inference
- +Multi-language support
Weaknesses
- -Specialized for code only
- -Weaker general knowledge
- -Less conversational
Pricing
Per 1M tokens
Input$0.30
Output$0.90
Quick Facts
- Context Window
- 256K
- Parameters
- Undisclosed
- Release Date
- 2025-10-15
- Category
- Specialized
Compare Models
See how Codestral 2 stacks up against other models