Devstral Small 2507
23.6B parameters · 128k context · Apache 2.0 · released 2025-07-04
codingagentic
In short
Devstral Small 2507 is an open model from Mistral AI with 23.6B parameters. At Q4_K_M, Devstral Small 2507 needs about 15 GB of memory at 8k context and 19 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the UK that runs Devstral Small 2507 fully in memory at 32k context is the NVIDIA GeForce RTX 3090, £1,330 at Amazon, at about 26 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the UK today
AMD Radeon RX 7900 XTX, used at eBay
Runs Devstral Small 2507 at Q5_K_M fully in memory at 32k context, about 24 tok/sest.
£999
In stock, checked
What to run it on in the UK
Fully in memory at 32k context, priced at retailers today.
Cheapest
NVIDIA GeForce RTX 309026tok/sest.Q5_K_M
£1,330
Best value
NVIDIA GeForce RTX 309026tok/sest.Q5_K_M
£1,330
Fastest
NVIDIA GeForce RTX 509037tok/sest.Q8_0
£5,000
Mac
Mac Studio M3 Ultra 96GB18tok/sest.Q8_0
£4,949
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
1 other card or machine 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 |
| Q5_K_Mgguf | 15.6 GB | 17.6 GB | 21.5 GB | 26.7 GB | 37.1 GB |
| Q8_0gguf | 23.3 GB | 25.3 GB | 29.2 GB | 34.4 GB | 44.8 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/mistralai/Devstral-Small-2507_gguf:Q4_K_M - LM Studio
lms get mistralai/Devstral-Small-2507_gguf@q4_k_m - llama.cpp
llama-server -hf mistralai/Devstral-Small-2507_gguf:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/mistralai/Devstral-Small-2507_gguf:Q5_K_M - LM Studio
lms get mistralai/Devstral-Small-2507_gguf@q5_k_m - llama.cpp
llama-server -hf mistralai/Devstral-Small-2507_gguf:Q5_K_M
- Ollama
- Q8_0
- Ollama
ollama run hf.co/mistralai/Devstral-Small-2507_gguf:Q8_0 - LM Studio
lms get mistralai/Devstral-Small-2507_gguf@q8_0 - llama.cpp
llama-server -hf mistralai/Devstral-Small-2507_gguf:Q8_0
- Ollama
Notes
Text-only 24B coding agent (vision encoder removed), said to run on a single RTX 4090 or 32GB Mac. vLLM serving requires vLLM >= 0.9.1 and mistral_common >= 1.7.0.
Questions
- How much VRAM does Devstral Small 2507 need?
- At Q4_K_M, Devstral Small 2507 needs about 15 GB of memory at 8k context and 19 GB at 32k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Devstral Small 2507 locally?
- The cheapest hardware in the UK that runs Devstral Small 2507 fully in memory at 32k context is the NVIDIA GeForce RTX 3090, £1,330 at Amazon, at about 26 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 37 tok/s.
- What is the cheapest way to run Devstral Small 2507 in the UK today?
- The AMD Radeon RX 7900 XTX, £999 used at eBay, in stock: it runs Devstral Small 2507 at Q5_K_M fully in memory at 32k context, at about 24 tok/s (estimated).
- Can I run Devstral Small 2507 on a 16 GB GPU?
- Only partly: at 32k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 7 tok/s on the Intel Arc A770 16GB (estimated).
- Can I run Devstral Small 2507 on a 24 GB GPU?
- Yes: at Q5_K_M it fits fully in 24 GB at 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 28 tok/s (estimated).
- How do I run Devstral Small 2507 locally?
- With Ollama: ollama run hf.co/mistralai/Devstral-Small-2507_gguf:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Devstral Small 2507 released under?
- Apache 2.0, which allows commercial use.