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.

ChatMistral262k tokens$0.4796 / $2.3981 · 1M

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 key

Frequently 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