Can I run Devstral Small 24B locally?
Yes. At Q4 with 8K context, Devstral Small 24B needs about 15 GB, so it runs entirely on any GPU with 18 GB of VRAM or more, starting with the AMD Radeon RX 7900 XT.
Measured speed on my RTX 5060 Ti 16 GB
| Context | Writing | Reading the prompt | First word after | Calculator estimate |
|---|---|---|---|---|
| 8K | 10 tok/s | 1139 tok/s | 4.1 s | ~13 tok/s |
| 32K | 5.8 tok/s | 836 tok/s | 5.6 s | ~6.0 tok/s |
| 64K | 4.3 tok/s | 695 tok/s | 6.8 s | ~3.6 tok/s |
devstral:24b in Ollama 0.40.11 on AMD Ryzen 7 5700X, 48 GB DDR4-3200, with the desktop using about 2 GB of VRAM. Median of 3 runs: a prompt of 4,709 tokens of code, then 256 tokens written. Benchmark script.
Context is the window reserved, not filled; a nearly full window is slower. Where the window doesn't fit in VRAM, part of Devstral Small 24B runs on the CPU. “First word after” is the time to read the whole test prompt. A coding agent resends its files every turn, and Ollama reuses the part it has already read, so later turns mostly wait for the new part.
Memory needed by compression and context length
| Compression | 4K context | 8K context | 32K context | 128K context |
|---|---|---|---|---|
Q4 The most common download. Small quality loss. | 15 GB | 15 GB | 19 GB | 34 GB |
Q5 Very close to full quality. | 17 GB | 18 GB | 22 GB | 37 GB |
Q8 Practically indistinguishable from FP16 at about half the size. | 25 GB | 26 GB | 30 GB | 45 GB |
FP16 Uncompressed. Reference quality, largest size. | 47 GB | 48 GB | 51 GB | 66 GB |
Total memory: model weights, context (KV cache) and runtime overhead. To run entirely on a GPU that also drives your screen, VRAM must be about 2 GB larger than this.
GPUs that run Devstral Small 24B entirely on the GPU
- Amazon
AMD Radeon RX 7900 XT
20 GB · ~39 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 4090 D
24 GB · ~48 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 3090 Ti
24 GB · ~48 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 3090
24 GB · ~45 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 4090
24 GB · ~48 tok/s at Q4
- Amazon
AMD Radeon RX 7900 XTX
24 GB · ~46 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 5090 D
32 GB · ~83 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 5090
32 GB · ~83 tok/s at Q4
- Amazon
NVIDIA GeForce RTX 5090 D v2
32 GB · — at Q4
Model facts
- Parameters
- 23.6B
- Max context
- 128K tokens
- License
- Apache 2.0
- Released
- Jul 2025
Agentic coding test
Levels passed: 0 of 5, from my own ASO experiment on an RTX 5060 Ti 16 GB. One small coding test: 5 tasks, one run each. It's a single data point, not a ranking of the models.
See the result Compare all 5 tested models →Check it with your hardware
Change the compression, context length and system RAM in the calculator.
Open calculator