Mistral AI · released 2025-11-28
Devstral Small 2
24B dense software-engineering agent model that runs on a single RTX 4090 or a 32 GB Mac.
- Parameters
- 24B
- Active / token
- 24B
- Context
- 384K
- Memory at Q4
- 16.9 GB
- License
- apache-2.0
- Images
- Yes
- Thinking mode
- No
Cheapest ways to use it free on RTX 4060 Ti 16GB or better
Get started
1 · Try it now
No free online version found yet — run it locally instead.
Free online chats are the quickest way to see if a model suits you before downloading anything.
2 · Download the files
You’ll need about 16.9 GB of memory at 4-bit. Check your machine →
3 · Run it on your machine
For a Linux GPU server, serving an OpenAI-compatible API:
vllm serve mistralai/Devstral-Small-2-24B-Instruct-2512Will it run on my computer?
Devstral Small 2 needs roughly 16.9 GB of GPU memory at the usual Q4 quality. Check your exact machine →
| Machine | Best file | Fit | Est. speed |
|---|---|---|---|
| RTX 4060 | Q4_K_M | Spills to RAM | ~4.5 tok/s · Slow |
| RTX 3060 12GB | Q4_K_M | Spills to RAM | ~6.8 tok/s · Slow |
| RTX 4060 Ti 16GB | Q3_K_M | Fits in memory | ~17 tok/s · Usable |
| RTX 3090 | Q5_K_M | Fits in memory | ~35 tok/s · Fast |
| RTX 4090 | Q5_K_M | Fits in memory | ~38 tok/s · Fast |
| RTX 5090 | Q5_K_M | Fits in memory | ~62 tok/s · Very fast |
| M4 · 16 GB | — | Too big | — |
| M4 Pro · 48 GB | Q4_K_M | Fits in memory | ~11 tok/s · Usable |
| M4 Max · 128 GB | Q5_K_M | Fits in memory | ~19 tok/s · Usable |
| M3 Ultra · 512 GB | Q5_K_M | Fits in memory | ~27 tok/s · Fast |
| DGX Spark | Q5_K_M | Fits in memory | ~11 tok/s · Usable |
| Ryzen AI Max+ 395 | Q3_K_M | Fits in memory | ~12 tok/s · Usable |
PCs assume 64 GB system RAM. Estimates, not measurements — method.
Ways to run it
Use it through an API 0 providers
We haven’t found a hosted API for Devstral Small 2 yet — renting a GPU or running it locally are the options below.
Rent a GPU and run it yourself
| Setup | From | Per hour | File | Est. speed | Per 1M tokens* |
|---|---|---|---|---|---|
| 1× RTX A5000 24GB | RunPod community | $0.16 | 4-bit 16.9 GB | ~34 tok/s | $1.31 |
| 1× RTX 3090 24GB | Vast.ai marketplace | $0.21 | 4-bit 16.9 GB | ~41 tok/s | $1.44 |
| 1× RTX 3090 Ti 24GB | Vast.ai marketplace | $0.27 | 4-bit 16.9 GB | ~43 tok/s | $1.74 |
| 1× L4 24GB | Vast.ai marketplace | $0.32 | 4-bit 16.9 GB | ~14 tok/s | $6.28 |
*For one conversation at a time. Serving many users at once (batching, e.g. with vLLM) cuts the cost per token by 10× or more, which is how API providers get so cheap. Rental prices checked 2026-12-04. All GPU prices →
On your own machine
Free after the hardware. See the table above for which GPUs and Macs can run it, or check your exact machine. Easiest apps: Ollama and LM Studio.
Memory by quality level
| File | Quality | Weights | + 8K context | Total |
|---|---|---|---|---|
| Q3_K_M | Noticeably worse | 11.7 GB | 1.3 GB | 14.0 GB |
| Q4_K_M | Good — the usual pick | 14.5 GB | 1.3 GB | 16.9 GB |
| Q5_K_M | Very close to full | 17.1 GB | 1.3 GB | 19.6 GB |
| Q6_K | Near lossless | 19.8 GB | 1.3 GB | 22.3 GB |
| Q8_0 | Practically lossless | 25.5 GB | 1.3 GB | 28.2 GB |
| FP16 | Full precision | 48.0 GB | 1.3 GB | 51.4 GB |
Test answers
Devstral Small 2 is queued for our test suite. See tested models →