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)
mistralai/codestral-2508
- Context
- 256k tokens
- Completion cap
- —
- Tools
- Yes
- JSON
- Yes
- Released
- 2025-08-01
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is 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) Codestral 2508 runs on the Geek Hub API (OpenAI-compatible). Model id: mistralai/codestral-2508.
- Is Codestral 2508 free?
- No. Input is $0.327 per 1M tokens and output is $0.9811 per 1M tokens on Geek Hub (markup included).
- What is the context length of Codestral 2508?
- Codestral 2508 has a 256k tokens context window.
- Does Codestral 2508 support tool calling and structured outputs?
- Codestral 2508 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
- When was Codestral 2508 released?
- Codestral 2508 was released on 2025-08-01.
More models from Mistral
Ministral 3 14B 2512The largest model in the Ministral 3 family, Ministral 3 14B offers frontier capabilities and performance comparable to its larger Mistral Small 3.2 24B counterpart. A powerful and
Ministral 3 3B 2512The smallest model in the Ministral 3 family, Ministral 3 3B is a powerful, efficient tiny language model with vision capabilities.
Ministral 3 8B 2512A balanced model in the Ministral 3 family, Ministral 3 8B is a powerful, efficient tiny language model with vision capabilities.
Ministral 8BMinistral 8B is an 8B parameter model featuring a unique interleaved sliding-window attention pattern for faster, memory-efficient inference. Designed for edge use cases, it suppor
Mistral LargeThis is Mistral AI's flagship model, Mistral Large 2 (version `mistral-large-2407`). It's a proprietary weights-available model and excels at reasoning, code, JSON, chat, and more.
Mistral Large 2407This is Mistral AI's flagship model, Mistral Large 2 (version mistral-large-2407). It's a proprietary weights-available model and excels at reasoning, code, JSON, chat, and more. R