← Model list
Codestral (latest)
mistral·mistral/codestral-latest·GA·Open weights·codestral series
Mistral code model for completions, refactors, and developer IDE workflows
At a glance
Official price$0.30 / $0.90 per 1M
Cache read — · Mistral
Lowest paid$0.30 / $0.90
Merge Gateway Gateway · 3.3× spread
Context256,000
Output limit4,096
Capabilities
Reasoning✓ Tool use✓ Structured output✓ TemperatureAttachments
Modalities
Text
Knowledge cutoff2024-10
Released / updated2024-05-29 / 2025-01-04
Quality & performance
Artificial Analysis doesn't cover this model (267 of 2059 have data). Quality data comes from independent evals covering widely used models.
Available at 4 providers4 with public prices
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Merge Gateway | Gateway | $0.30 | $0.90 | — | — | 256,000 | 4,096 | |
| MistralOfficial | First-party | $0.30 | $0.90 | — | — | 256,000 | 4,096 | |
| Vercel AI Gateway mistral/codestral | Cloud | $0.30 | $0.90 | — | — | 256,000 | 4,096 | |
| Eden AI | Gateway | $1.00 | $3.00 | — | — | 256,000 | 4,096 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Your usage cost
1Merge Gateway$105.00
2Mistral · Official$105.00
3Vercel AI Gateway$105.00
4Eden AI$350.00
Switch to Merge Gateway to save $0.00/mo (0%). The gap is small, so staying on the official channel is fine.
Note: this is a gateway; verify availability and rate limits yourself.
Benchmark1 items
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| Aider Polyglot | — | 11.1 | percent correct | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Related models
Codestral 2508same series$0.334 / $1.00Mistral: Codestral 2508same series$0.30 / $0.90Codestral (Mistral AI)same series$0.30 / $0.90Qwen3-Next 80B-A3B Instructcheaper alternative$0.144 / $0.574Llama-3.1-8B-Instructcheaper alternative$0.15 / $0.45Qwen3 Coder Flashcheaper alternative$0.144 / $0.574Llama 3.2 3B Instructcheaper alternative$0.10 / $0.335
Price historyone sample accumulated per data sync
Input listOutput listMin blended