Codestral 2508
mistralai/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. [Blog Post](https://mistral.ai/news/codestral-25-08)
- Input
- $0.326
- per 1M tokens
- Output
- $0.978
- per 1M tokens
- Cached input
- $0.0326
- per 1M tokens
Lowest price across providers. You are billed from your Ditfa Platform credits per token used.
Providers
Requests are routed to the cheapest healthy provider and fall back automatically.
Usage
Tokens served per day, last 30 days
No traffic yet. Be the first to try it.
Top apps
Apps that send an HTTP-Referer or X-Title header, last 30 days
No apps have identified themselves yet.
Quickstart
Use any OpenAI SDK. Point it at the Ditfa Platform base URL and use an sk-dp- key.
curl https://gateway.ditfa.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DITFA_API_KEY" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'