Mistral AI

Mistral: Codestral 2508

mistralai/codestral-2508

Input Price

$0.30 / 1M

Output Price

$0.90 / 1M

Context Length

256,000

LLM Price Calculator

Enter custom token counts to calculate exact pricing for your specific AI use case.

Input Cost
$0.30
Output Cost
$0.90
Total Cost
$1.20

About this model

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)

Try this model in Playground

Test this model's capabilities in different AI playground environments including OpenRouter, Hugging Face, Cloudflare, and Vercel.

FAQ

Mistral: Codestral 2508 pricing FAQ

Answers about this model's pricing, context window, supported modalities, and where to try it.

How much does Mistral: Codestral 2508 cost?

Use the calculator above to estimate the cost for your expected workload. Input and output tokens are billed at separate rates, and optional provider features may add extra charges.

What is the context length of Mistral: Codestral 2508?

Mistral: Codestral 2508 supports a context window of up to 256,000 tokens. Your provider may reserve part of that capacity for generated output or system instructions.

Which modalities does Mistral: Codestral 2508 support?

Listed input modalities: text, file. Listed output modalities: text. Confirm feature availability with your chosen provider before integrating the model.

Where can I try Mistral: Codestral 2508?

Use the Playground links above to check whether the model is currently available from those third-party services. Access, features, and pricing can vary between platforms.