Devstral Small 24B
Mistral’s coding agent for your own repository, Apache 2.0 license.
- Code
- Tool calls
Short answer
Devstral Small 24B needs about 17 GB of GPU-usable memory with 8K context, 21 GB with 32K and 35.5 GB with the full 128K window, for one user. That includes 14 GB of Q4_K_M weights. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 21.5 GB.
Smallest catalog device that holds it: Apple Mac mini M6 24 GB (18 GB GPU-usable) at 8K; GMKtec EVO-X1 32 GB (24 GB GPU-usable) at 32K; GMKtec EVO-X2 64 GB (48 GB GPU-usable) at 128K.
Cheapest catalog device that fits it at a usable pace (our estimate): Apple Mac mini M6 24 GB, 18 GB GPU-usable.
- Weight memory
- about 14 GB Q4_K_M
- Planning with 8K context
- 17 GB one user, rough reserve
- Maximum model context
- 128K per the chosen tag, not a hardware promise
Will Devstral Small 24B run on your hardware?
Every memory size in our catalog with its cheapest box, for one user.
- Too little memory 17 GB / 8 GB
GMKtec M6 Ultra 16 GB8 GB usable · 16 GB RAM– - Too little memory 17 GB / 12 GB
Apple Mac mini M6 16 GB12 GB usable · 16 GB RAM– - Too little memory 17 GB / 16 GB
GMKtec M6 Ultra 32 GB16 GB usable · 32 GB RAM– - Fits 17 GB / 18 GB
Apple Mac mini M6 24 GB18 GB usable · 24 GB RAM8K - Fits 17 GB / 24 GB
GMKtec EVO-X1 32 GB24 GB usable · 32 GB RAM8K + 32K - Fits 17 GB / 27 GB
Apple Mac Studio M5 Max 36 GB27 GB usable · 36 GB RAM8K + 32K - Fits 17 GB / 48 GB
GMKtec EVO-X2 64 GB48 GB usable · 64 GB RAM8K + 32K - Fits 17 GB / 64 GB
Minisforum AI X1 Pro 96 GB64 GB usable · 96 GB RAM8K + 32K - Fits 17 GB / 72 GB
Apple Mac Studio M5 Ultra 96 GB72 GB usable · 96 GB RAM8K + 32K - Fits 17 GB / 96 GB
GMKtec EVO-X2 128 GB96 GB usable · 128 GB RAM8K + 32K - Fits 17 GB / 110 GB
Lenovo ThinkStation PGX 128 GB110 GB usable · 128 GB RAM8K + 32K
Matching hardware
The cheapest boxes that hold it with 8K context.
GMKtec EVO-X1 32 GB24 GB GPU planning · €1,050
Apple Mac mini M6 24 GB18 GB GPU planning · €1,319
Minisforum AI X1 Pro 32 GB24 GB GPU planning · €1,439
GEEKOM A9 Max 32 GB24 GB GPU planning · €1,639
Apple Mac mini M5 Pro 24 GB18 GB GPU planning · €1,689
Start locally
Install a current Ollama version that supports the model. The first run downloads the weights.
ollama run devstral:24bStart with a short context and check the GPU offload with ollama ps. Setting up Ollama explains the steps.
Plan memory realistically
The weights stay the same, the context grows with the length of the conversation. Rules of thumb, not measurements. Approximate Ollama file size as weight memory; runtime, KV cache and, where applicable, image processing add to it. Assumptions and limits of the calculation
- 17 GB8K context17 GB
- 21 GB32K context21 GB
- 35.5 GB128K context35.5 GB
Questions and answers
How much RAM or VRAM does Devstral Small 24B need?
About 17 GB of GPU-usable memory with 8K context for one user: 14 GB of Q4_K_M weights plus our flat reserve for runtime and KV cache. With 32K context we plan 21 GB and with 128K 35.5 GB. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 21.5 GB.
Which mini PC can run Devstral Small 24B?
19 of 28 devices in our catalog hold it with 8K context. The smallest fitting memory size is 18 GB; the cheapest device that holds it at a usable pace by our estimate is Apple Mac mini M6 24 GB.
What is the Ollama command for Devstral Small 24B?
ollama run devstral:24b. The first start downloads about 14 GB; ollama ps then shows whether the model runs fully on the GPU.
How much memory does Devstral Small 24B need for long context?
The tag allows up to 128K tokens. Context memory grows with length: we plan 21 GB at 32K and 35.5 GB at 128K for one user; parallel requests add more.