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 15 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs Devstral Small 2507 fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 23 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the US today
NVIDIA RTX PRO 4000 Blackwell, new at Amazon
Runs Devstral Small 2507 at Q5_K_M fully in memory at 8k context, about 23 tok/sest.
$339
In stock, checked
What to run it on in the US
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA RTX PRO 4000 Blackwell23tok/sest.Q5_K_M
$339
Best value
NVIDIA RTX PRO 4000 Blackwell23tok/sest.Q5_K_M
$339
Fastest
NVIDIA GeForce RTX 509042tok/sest.Q8_0
$6,495
Mac
Mac Studio M3 Ultra 96GB20tok/sest.Q8_0
$4,758
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| NVIDIA RTX PRO 4000 Blackwell | Q5_K_M | fits | 23 tok/s | $339 | 67.8 |
| NVIDIA Tesla P40 | Q5_K_M | fits | 12 tok/s | $449 | 26.3 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q4_K_M | fits | 18 tok/s | $618 | 28.6 |
| NVIDIA RTX PRO 2000 Blackwell | Q4_K_M | fits | 11 tok/s | $795 | 14.3 |
| AMD Radeon RX 7900 XT | Q5_K_M | fits | 24 tok/s | $880 | 27.6 |
| Intel Arc Pro B60 | Q5_K_M | fits | 13 tok/s | $899 | 14.0 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q4_K_M | fits | 11 tok/s | $918 | 12.4 |
| NVIDIA GeForce RTX 4070 Ti Super | Q4_K_M | fits | 27 tok/s | $1,140 | 23.3 |
| Mac mini M4 32GB | Q5_K_M | fits | 4 tok/s | $1,199 | 3.6 |
| NVIDIA GeForce RTX 5070 Ti | Q4_K_M | fits | 35 tok/s | $1,300 | 27.2 |
| AMD Radeon RX 7900 XTX | Q5_K_M | fits | 29 tok/s | $1,400 | 20.9 |
| NVIDIA GeForce RTX 4080 Super | Q4_K_M | fits | 29 tok/s | $1,469 | 19.8 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 13 tok/s | $1,700 | 7.8 |
| Intel Arc Pro B70 | Q8_0 | fits | 12 tok/s | $1,800 | 6.4 |
| NVIDIA GeForce RTX 5080 | Q4_K_M | fits | 38 tok/s | $1,900 | 20.0 |
| NVIDIA GeForce RTX 3090 | Q5_K_M | fits | 32 tok/s | $1,979 | 16.2 |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 7 tok/s | $2,025 | 3.3 |
| NVIDIA GeForce RTX 3090 Ti | Q5_K_M | fits | 35 tok/s | $2,033 | 17.0 |
| NVIDIA GeForce RTX 4090 | Q5_K_M | fits | 35 tok/s | $2,073 | 16.6 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 7 tok/s | $2,399 | 2.8 |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | Q5_K_M | fits | 15 tok/s | $2,980 | 5.0 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | $3,500 | 1.5 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 13 tok/s | $3,500 | 3.8 |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | $3,800 | 1.4 |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | $3,959 | 1.3 |
| NVIDIA RTX PRO 4500 Blackwell | Q8_0 | fits | 21 tok/s | $4,000 | 5.3 |
| AMD Radeon PRO W7900 | Q8_0 | fits | 18 tok/s | $4,000 | 4.5 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 20 tok/s | $4,758 | 4.2 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 13 tok/s | $5,400 | 2.5 |
| NVIDIA RTX A6000 | Q8_0 | fits | 18 tok/s | $5,989 | 3.0 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 6 tok/s | $6,100 | 1.0 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 42 tok/s | $6,495 | 6.5 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 32 tok/s | $6,999 | 4.5 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 6 tok/s | $7,800 | 0.8 |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 23 tok/s | $8,495 | 2.6 |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 32 tok/s | $8,499 | 3.7 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 20 tok/s | $9,500 | 2.1 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 42 tok/s | $16,000 | 2.6 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 20 tok/s | $30,000 | 0.7 |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 5 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 5 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 6 tok/s | – | – |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 6 tok/s | – | – |
| Intel Arc B570 | Q4_K_M | offload | 6 tok/s | $304 | 19.1 |
| NVIDIA GeForce RTX 5050 | Q4_K_M | offload | 5 tok/s | $359 | 14.2 |
| NVIDIA GeForce RTX 3060 12GB | Q4_K_M | offload | 8 tok/s | $388 | 19.8 |
| NVIDIA GeForce RTX 4060 | Q4_K_M | offload | 5 tok/s | $400 | 12.5 |
| Intel Arc B580 | Q4_K_M | offload | 8 tok/s | $425 | 17.6 |
| NVIDIA GeForce RTX 5060 | Q4_K_M | offload | 5 tok/s | $435 | 12.4 |
| NVIDIA GeForce RTX 3080 10GB | Q4_K_M | offload | 7 tok/s | $500 | 14.4 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q4_K_M | offload | 5 tok/s | $511 | 10.6 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q4_K_M | offload | 5 tok/s | $536 | 9.3 |
| NVIDIA GeForce RTX 4070 | Q4_K_M | offload | 9 tok/s | $570 | 15.3 |
| Intel Arc Pro B50 | Q4_K_M | offload | 7 tok/s | $600 | 11.7 |
| AMD Radeon RX 9060 XT 16GB | Q4_K_M | offload | 11 tok/s | $720 | 15.0 |
| Intel Arc A770 16GB | Q4_K_M | offload | 17 tok/s | $745 | 22.4 |
| AMD Radeon RX 7800 XT | Q4_K_M | offload | 20 tok/s | $757 | 26.5 |
| NVIDIA GeForce RTX 4070 Super | Q4_K_M | offload | 9 tok/s | $800 | 10.9 |
| AMD Radeon RX 9070 XT | Q4_K_M | offload | 21 tok/s | $810 | 25.3 |
| AMD Radeon RX 9070 | Q4_K_M | offload | 21 tok/s | $860 | 23.8 |
| NVIDIA GeForce RTX 5070 | Q4_K_M | offload | 9 tok/s | $900 | 10.4 |
| AMD Radeon RX 7600 XT | Q4_K_M | offload | 10 tok/s | $959 | 10.2 |
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 15 GB at 8k, 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 US that runs Devstral Small 2507 fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 23 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 42 tok/s.
- What is the cheapest way to run Devstral Small 2507 in the US today?
- The NVIDIA RTX PRO 4000 Blackwell, $339 new at Amazon, in stock: it runs Devstral Small 2507 at Q5_K_M fully in memory at 8k context, at about 23 tok/s (estimated).
- Can I run Devstral Small 2507 on a 16 GB GPU?
- Yes: at Q4_K_M it fits fully in 16 GB at 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 38 tok/s (estimated).
- Can I run Devstral Small 2507 on a 24 GB GPU?
- Yes: at Q5_K_M it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 35 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.