ColinBuilds.com · Current official Mistral API pricing
Codestral
- Input / 1M
- $0.30
- Output / 1M
- $0.90
- Mistral-published context window
- 128,000 tokens
Codestral / codestral-latest on Mistral API pricing; Mistral model card lists current Codestral 25.08 API endpoint as codestral-2508 · as of July 9, 2026
Compare models
Same per-1M input/output rates as above. Enter your monthly token volumes to compare bills.
Codestral
- Input: 1M × $0.30 = $0.30
- Output: 1M × $0.90 = $0.90
- Total
- $1.20
GPT-4o
- Input: 1M × $2.50 = $2.50
- Output: 1M × $10.00 = $10.00
- Total
- $12.50
Difference
$11.30
GPT-4o costs $11.30 more than Codestral.
Popular comparisons
30 total featuring Codestral.
Codestral is Mistral’s coding-focused API model for low-latency code completion, fill-in-the-middle, correction, and test-generation tasks.
What this model is
Mistral’s API pricing page lists the current pricing row as Codestral with the model ID codestral-latest. Mistral’s live model card lists the current named Codestral version as Codestral 25.08 with the API endpoint codestral-2508.
Mistral describes Codestral as a coding model optimized for low-latency, high-frequency completion, fill-in-the-middle, and code generation tasks. The pricing page and model card identify it as the current Codestral API route.
Pricing notes
The calculator on this page uses Mistral’s official API pricing row for Codestral / codestral-latest: $0.30 per 1M input tokens and $0.90 per 1M output tokens.
This is Mistral official API pricing, not an OpenRouter, cloud marketplace, or reseller route. The exact dated model ID checked in Mistral’s model card is codestral-2508; the pricing page presents the current API pricing row under codestral-latest.
Benchmarks and specs
Mistral’s model card lists Codestral 25.08 with a 128k-token context window and the API endpoint codestral-2508.
No benchmark score is shown until an exact benchmark source and model identity are matched to Codestral 25.08 or to the pricing alias used by Mistral.
Best fit
Codestral is best for coding assistants, editor completions, fill-in-the-middle workflows, code correction, and test generation where a dedicated Mistral coding API route is preferred.
For broad multimodal or general assistant work, compare it against Mistral Medium, Mistral Large, or Mistral Small rather than treating Codestral as the general-purpose default.