Mistral · Balanced
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.
- Input
- Text
- Output
- Text
- Discovery tier
- Balanced
Pricing
USD per 1M tokens- Input
- $0.30
- Output
- $0.90
Reference prices as published by the model provider. API example
Specifications
- Context window
- 256K
- Max output
- 32.8K
- Average output (7 days)
- 124 tokens
- Longer than 12% of 468 models
Side by side
Compare models
Put Codestral 2508 next to up to three other models. The comparison stays in the link, so you can share it.
Public evaluations
Benchmarks
There are no public benchmark results for Codestral 2508 yet.
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="mistralai/codestral-2508",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Mistral
Related models
Other Mistral models, starting with the same family.