Mistral: Devstral 2 2512
mistralai/devstral-2512- Modalities
- text+file->text
- In / out price
- $0.4 / $2
- Context
- 262K
- Released
- Dec 9, 2025
- Knowledge cutoff
- —
per 1M
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...
Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.Default 0.3
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.