← All models
M
Mistral: Codestral 2508
mistralai/codestral-2508
Tool useJSONStreaming
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)
Pricing
Input
$0.3 / 1M
Output
$0.9 / 1M
Specs
Context
256,000 tokens
Input
text, file
Output
text
Knowledge cutoff: 2025-03-31
Released: 2025-08
Supported parameters
frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p