Codestral 2 is
Mistral AI's language model with a 128K context window, starting at $0.300 / 1M input and $0.900 / 1M output. Second-generation Codestral model from Mistral, designed for high-frequency coding tasks including fill-in-the-middle, code correction, and agentic software workflows.
mistral-codestral-2 |
| Language |
| Active |
| 128K tokens |
| Text |
| Text |
Capabilities
Input1/5
✓
·
·
·
·
Output1/5
✓
·
·
·
·
Capabilities1/13
·
·
✓
·
·
·
·
·
·
·
·
·
·
Pricing by Provider
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
Google Vertex AI | $0.300 | $0.900 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Codestral 2 | — | 128K | $0.300 | $0.900 | Current |
| Codestral | 256K | $0.200 | $0.600 | Available | |
| Codestral Mamba 7B | — | 256K | $0.250 | $0.250 | Available |
| Mamba Codestral 7B | — | 256K | $0.190 | $0.190 | Available |