← All models
Mistral · Language model
Codestral 2508
mistralai/codestral-2508- Language
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)
Specifications
- Context window
- 256,000 tokens
- Max output
- 204,800 tokens
- Input
- text, file
- Output
- text
- Tokenizer
- Mistral
- Knowledge cutoff
- 2025-03-31
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- max_tokens
- prediction
- presence_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"mistralai/codestral-2508","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'