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.
AILesson · Recommended courses
Your next step: put AI to work
Go from understanding AI to getting things done. Practice prompting, reviewing, and improving results through interactive lessons for work and everyday life.

15 interactive lessons
AI for Beginners
Start a useful AI conversation, make the answer better, check what matters, and know when the next move is yours.
Explore this course
10 interactive lessons
ChatGPT Fundamentals
Learn ChatGPT through three practical workflows: complete a first chat, work from a file, then use Projects to carry a checked plan into a new chat.
Explore this course
7 interactive lessons
How Generative AI Works
Understand how common AI chats learn language patterns, use current messages, build replies, and add sources and tools.
Explore this course



