Parameters
24B
Context Length
393K
Modality
Text
Architecture
Dense
KV Cache Rate
160 KB/tok
License
Apache 2.0
Release Date
28 Nov 2025
Knowledge Cutoff
-
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 14.93 GB
INT4 · 8K context · 1 user
Base Weights: 11.18 GB
KV Cache: 1.25 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
14.9 / 21.6 GB
1x RTX 4090 24GB
14.9 / 22.3 GB
Apple M4 24GB
14.9 / 18.0 GB
Determine requirements for your specific workload:
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 5.0.0.dev0
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#145
| Benchmark | Score | Rank |
|---|---|---|
Software Engineering | 0.56 | #28 |
Overall Rank
#145
Coding Rank
#104
Devstral Small 2 24B Instruct is an agentic vision-language model tailored for complex software engineering and codebase exploration tasks. Featuring a 256k context window and enhanced tool-calling capabilities, it delivers strong performance on SWE-bench while remaining deployable on consumer-grade hardware.
Attention
Attention Structure
Grouped-Query Attention
Attention Heads
32
Key-Value Heads
8
Attention Head Dimension
128
Position Embedding
ROPE
RoPE Theta
100,000,000
Normalization
RMS Normalization
Activation Function
SwiGLU
Dimensions
Base Precision
FP16
Hidden Dimension Size
5,120
Number of Layers
40
FFN Intermediate Size (Dense)
32,768
Tokenizer
Vocabulary Size
131,072
Devstral 2 is a family of developer-focused models from Mistral AI, optimized for multi-file software engineering tasks and coding agents.