Devstral Small 2 24B
24B parameters · 384k context · apache-2.0 · released 2025-11-28
codingagentic
In short
Devstral Small 2 24B is an open model from Mistral AI with 24B parameters. At Q4_K_M, Devstral Small 2 24B needs about 15 GB of memory at 8k context and 35 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs Devstral Small 2 24B fully in memory at 128k context is the NVIDIA RTX PRO 5000 Blackwell 48GB, $13,437 at Amazon, at about 18 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
NVIDIA RTX PRO 5000 Blackwell 48GB, new at Amazon
Runs Devstral Small 2 24B at Q8_0 fully in memory at 128k context, about 18 tok/sest.
$13,437
In stock, checked
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA RTX PRO 5000 Blackwell 48GB18tok/sest.Q8_0
$13,437
Best value
NVIDIA RTX PRO 5000 Blackwell 48GB18tok/sest.Q8_0
$13,437
Fastest
NVIDIA RTX PRO 5000 Blackwell 48GB18tok/sest.Q8_0
$13,437
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
7 other cards and machines we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| Q4_K_Mgguf | 13.3 GB | 15.3 GB | 19.2 GB | 24.4 GB | 34.8 GB |
| mlx-4bitmlx | 14.1 GB | 16.1 GB | 20.0 GB | 25.1 GB | 35.5 GB |
| Q5_K_Mgguf | 15.6 GB | 17.6 GB | 21.5 GB | 26.7 GB | 37.1 GB |
| Q6_Kgguf | 18.0 GB | 20.0 GB | 23.9 GB | 29.1 GB | 39.5 GB |
| Q8_0gguf | 23.3 GB | 25.3 GB | 29.2 GB | 34.4 GB | 44.8 GB |
| mlx-8bitmlx | 24.7 GB | 26.7 GB | 30.6 GB | 35.8 GB | 46.2 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M - LM Studio
lms get unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF@q4_k_m - llama.cpp
llama-server -hf unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit - MLX
mlx_lm.server --model mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit
- LM Studio
- Q5_K_M
- Ollama
ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q5_K_M - LM Studio
lms get unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF@q5_k_m - llama.cpp
llama-server -hf unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q6_K - LM Studio
lms get unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF@q6_k - llama.cpp
llama-server -hf unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q8_0 - LM Studio
lms get unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q8_0
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/Devstral-Small-2-24B-Instruct-2512-8bit - MLX
mlx_lm.server --model mlx-community/Devstral-Small-2-24B-Instruct-2512-8bit
- LM Studio
Questions
- How much VRAM does Devstral Small 2 24B need?
- At Q4_K_M, Devstral Small 2 24B needs about 15 GB of memory at 8k context and 35 GB at 128k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Devstral Small 2 24B locally?
- The cheapest hardware in Canada that runs Devstral Small 2 24B fully in memory at 128k context is the NVIDIA RTX PRO 5000 Blackwell 48GB, $13,437 at Amazon, at about 18 tok/s (estimated).
- What is the cheapest way to run Devstral Small 2 24B in Canada today?
- The NVIDIA RTX PRO 5000 Blackwell 48GB, $13,437 new at Amazon, in stock: it runs Devstral Small 2 24B at Q8_0 fully in memory at 128k context, at about 18 tok/s (estimated).
- Can I run Devstral Small 2 24B on a 16 GB GPU?
- Only partly: at 128k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 2 tok/s on the AMD Radeon RX 9060 XT 16GB (estimated).
- Can I run Devstral Small 2 24B on a 24 GB GPU?
- Only partly: at 128k context it does not fit in 24 GB, so part of it runs from system RAM and it slows to about 4 tok/s on the AMD Radeon RX 7900 XTX (estimated).
- How do I run Devstral Small 2 24B locally?
- With Ollama: ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Devstral Small 2 24B released under?
- apache-2.0, which allows commercial use.