Mistral: Codestral 2508
Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test gener…
mistralai/codestral-2508
Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.
[Blog Post](https://mistral.ai/news/codestral-25-08)
Specifications & capabilities
- Input
- text, file
- Output
- text
- Context window · tokens
- 256000
- Knowledge cutoff
- 2025-03-31
- Published model ID
- codestral-2508
- Capabilities
- batch, codeCompletion, fileInput, multimodal, promptCaching, streaming, structuredOutputs, toolCalling
Published prices
1–7 / 7
$0.30
- Inference provider
- mistral
- Platform
- Mistral
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing label
- input / 1M tokens
$0.15
- Inference provider
- mistral
- Platform
- Mistral
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- inference_type
- Batch API
- Billing label
- input / 1M tokens
$0.90
- Inference provider
- mistral
- Platform
- Mistral
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing label
- output / 1M tokens
$0.45
- Inference provider
- mistral
- Platform
- Mistral
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- inference_type
- Batch API
- Billing label
- output / 1M tokens
$0.03
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
$0.30
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
$0.90
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
Provider specifications & access
1–1 / 1
- source model id
- codestral-2508
- hosting
- mistral-hosted
- context length
- 128000
- capabilities
- batch
- codeCompletion
- streaming
- structuredOutputs
- toolCalling
Safety assessments
1–1 / 1
18 / 100
- source id
- stanfordFMTI
- canonical model id
- mistralai/codestral-2508
- taxonomy
- transparency
- hazard category
- transparency
- hazard name
- Organization transparency
- policy area
- Mistral
- assessment type
- organization-level disclosure
- metric
- disclosure_score
- result label
- 18 / 100
- sample size
- 100
- updated at
- 2026-11-09T18:08:05.227Z
Source specification observations
1–4 / 4
- field
- context_length
- value
- 128000
- normalized value
- 128000
- scope
- source-model
- source id
- mistral
- confidence
- 1
- field
- context_length
- value
- 256000
- normalized value
- 256000
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- knowledge_cutoff
- value
- 2025-03-31
- normalized value
- 2025-03-31
- precision
- day
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- max_output_tokens
- value
- 204800
- normalized value
- 204800
- scope
- source-model
- source id
- openRouter
- confidence
- 1
Explore more models