Pricing · Mistral
Codestral
Mistral's codestral-2508, 128K tokens of context. Every number on this page was read off Mistral's own pricing
page — never estimated, never recalled from memory.
How Mistral describes it
“Low-latency coding model optimized for high-frequency completion, fill-in-the-middle, and code generation tasks.”
Pricing
| Input | $0.30 | per 1M tokens |
|---|---|---|
| Output | $0.90 | per 1M tokens |
At the calculator's starting volume, 1M input tokens and 200K output tokens with no cache hits, Codestral costs $0.48: $0.30 for input and $0.18 for output, at the prices above. Same formula as the calculator; change the volume there.
Where this price sits
$0.30 per 1M input tokens is the 13th cheapest input price of the 67 current models with a verified price on this site, and the 5th of Mistral's 9. Output costs 3.0× the input price.
Specifications
| API model id | codestral-2508 | |
|---|---|---|
| Provider | Mistral | |
| Context window | 128K tokens | |
| Status | Current | |
| Intended use | coding | |
Mistral lists its intended use as coding.
Questions about Codestral pricing
- How much does Codestral cost per million tokens?
- $0.30 per 1M input tokens and $0.90 per 1M output tokens, read on Mistral's official pricing page on September 28, 2026.
Context window read on Mistral's model page (docs.mistral.ai/models/codestral-25-08) on 2026-09-30: 'Context 128k'. The page prints no maximum output.
Verified September 28, 2026 against Mistral's official pricing page. Confidence: confirmed. No price change recorded for this model. How the data is checked.
Other Mistral models with a verified price
- Ministral 3 3B $0.10 in · $0.10 out
- Mistral Small 4 $0.15 in · $0.60 out
- Ministral 3 8B $0.15 in · $0.15 out
- Ministral 3 14B $0.20 in · $0.20 out
- Mistral Large 3 $0.50 in · $1.50 out
- GLM 5.2 $1.40 in · $4.40 out
- GLM 5.3 GLM $1.40 in · $4.40 out
- Mistral Medium 3.5 $1.50 in · $7.50 out
Cheaper or equally priced alternatives
Current models with an input price at or below $0.30 per 1M tokens.
- Gemini 3.5 Flash-Lite Google $0.30 in · $2.50 out
- Gemini 2.5 Flash Google $0.30 in · $2.50 out
- DeepSeek V4.1 Flash DeepSeek $0.30 in · $1.20 out
- GPT-5.6 Luna OpenAI $0.20 in · $1.20 out
Compare every model in one table →
Work out what this costs at your volume →