Devstral 2 2512
Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring codebases and orchestrating changes across multiple files while maintaining architecture-level context. It tracks framework dependencies, detects failures, and retries with corrections—solving challenges like bug fixing and modernizing legacy systems. The model can be fine-tuned to prioritize specific languages or optimize for large enterprise codebases. It is available under a modified MIT license.
mistralai/devstral-2512
- Context
- 262k tokens
- Completion cap
- 209,715
- Tools
- Yes
- JSON
- Yes
- Released
- 2025-12-09
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/devstral-2512",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is Devstral 2 2512?
- Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring codebases and orchestrating changes across multiple files while maintaining architecture-level context. It tracks framework dependencies, detects failures, and retries with corrections—solving challenges like bug fixing and modernizing legacy systems. The model can be fine-tuned to prioritize specific languages or optimize for large enterprise codebases. It is available under a modified MIT license. Devstral 2 2512 runs on the Geek Hub API (OpenAI-compatible). Model id: mistralai/devstral-2512.
- Is Devstral 2 2512 free?
- No. Input is $0.4796 per 1M tokens and output is $2.3981 per 1M tokens on Geek Hub (markup included).
- What is the context length of Devstral 2 2512?
- Devstral 2 2512 has a 262k tokens context window. It supports up to 209,715 completion tokens.
- Does Devstral 2 2512 support tool calling and structured outputs?
- Devstral 2 2512 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
- When was Devstral 2 2512 released?
- Devstral 2 2512 was released on 2025-12-09.
More models from Mistral
Codestral 2508Mistral'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 correc
Codestral 2508 (batch)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 correc
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 3 8B 2512 (batch)A balanced model in the Ministral 3 family, Ministral 3 8B is a powerful, efficient tiny language model with vision capabilities.