← All models

Mistral: Codestral 2508

mistralai/codestral-2508

Mistral: Codestral 2508 (mistralai/codestral-2508) costs $0.3 per 1M prompt tokens and $0.9 per 1M completion tokens, has a 256,000-token context window, and supports tool calling, structured outputs and response format. Data updated 2026-10-30.

Prompt price
$0.3 / 1M tokens
Completion price
$0.9 / 1M tokens
Context
256,000 tokens
Input modalities
text, file
Output modalities
text
Tokenizer
Mistral
Instruct type
—
Knowledge cutoff
2025-03-31
Hugging Face
—

Last price change: 2025-08-02

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)

Price history

No price changes recorded

View on OpenRouter