Ollama · devstral-small-2
<img src="/assets/library/devstral-2/22065d6d-626a-4fc8-af4c-2efe10844651" width="72" /> > Note: this model requires Ollama 0.13.3 or later. [Download Ollama](https://ollama.com/download) # Devstral …
ollama/devstral-small-2
<img src="/assets/library/devstral-2/22065d6d-626a-4fc8-af4c-2efe10844651" width="72" />
> Note: this model requires Ollama 0.13.3 or later. [Download Ollama](https://ollama.com/download)
# Devstral Small 2
Devstral is an agentic LLM for software engineering tasks. **Devstral 2** models excel at using tools to explore codebases, editing multiple files and power software engineering agents.
The model achieves remarkable performance on SWE-bench.
**[24B model](https://ollama.com/library/devstral-small-2)**
```
ollama run devstral-small-2
```
### Key Features
The Devstral 2 Instruct model offers the following capabilities:
- **Agentic Coding**: Devstral is designed to excel at agentic coding tasks, making it a great choice for software engineering agents.
- **Improved Performance**: Devstral 2 is a step-up compared to its predecessors.
- **Better Generalization**: Generalises better to diverse prompts and coding environments.
### Use Cases
AI Code Assistants, Agentic Coding, and Software Engineering Tasks. Leveraging advanced AI capabilities for complex tool integration and deep codebase understanding in coding environments.
### Benchmark Results
| Model/Benchmark | Size (B Tokens) | SWE Bench Verified | SWE Bench Multilingual | Terminal Bench |
|-------------------------------|-----------------|--------------------|------------------------|----------------|
| **Devstral 2** | 123 | 72.2% | 61.3% | 40.5% |
| **Devstral Small 2** | 24 | 65.8% | 51.6% | 32.0% |
| | | | | |
| DeepSeek v3.2 | 671 | 73.1% | 70.2% | 46.4% |
| Kimi K2 Thinking | 1000 | 71.3% | 61.1% | 35.7% |
| MiniMax M2 | 230 | 69.4% | 56.5% | 30.0% |
| GLM 4.6 | 455 | 68.0% | -- | 40.5% |
| Qwen 3 Coder Plus | 480 | 69.6% | 54.7% | 37.5% |
| Gemini 3 Pro | -- | 76.2% | -- | 54.2% |
| Claude Sonnet 4.5 | -- | 77.2% | 68.0% | 42.8% |
| GPT 5.1 Codex Max | -- | 77.9% | -- | 58.1% |
| GPT 5.1 Codex High | -- | 73.7% | -- | 52.8% |
### License
**[Devstral Small 2 - 24B](https://ollama.com/library/devstral-small-2)**
Apache 2.0
### Reference
[Devstral 2](https://ollama.com/library/devstral-2)
Specifications & capabilities
- Published model ID
- devstral-small-2
Deployments & artifacts
1–6 / 6
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 24.0B
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 384000
- context window is approximate
- true
- artifact size bytes
- 15177373679
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- cloud
- parameter size
- 24000000000
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- fp8
- context window
- 262144
- context window is approximate
- false
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 24.0B
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- F16
- context window
- 384000
- context window is approximate
- true
- artifact size bytes
- 48032077775
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 24.0B
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 384000
- context window is approximate
- true
- artifact size bytes
- 15177373679
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 24.0B
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- Q8_0
- context window
- 384000
- context window is approximate
- true
- artifact size bytes
- 25909745647
- updated at
- 2026-11-16T08:10:06.079865+00:00
ollama
- source id
- ollama
- execution mode
- local
- parameter size
- 24.0B
- parameter count
- 24000000000
- parameter count is approximate
- true
- quantization level
- Q4_K_M
- context window
- 384000
- context window is approximate
- true
- artifact size bytes
- 15177373679
- updated at
- 2026-11-16T08:10:06.079865+00:00
Explore more models