Mistral AI · Apache 2.0

Devstral Small 2

Mistral’s 24B coding-agent model. Mistral says it runs on one RTX 4090 or a 32 GB Mac.

How much memory it needs

The model file, plus memory for the conversation, plus about 1 GB for the app. Longer conversations need more.

SizeVersionFileAt 8KAt 32KAt 128K
24BQ4_K_M14.3 GB17.6 GB21.6 GB37.7 GB
Q8_025.1 GB28.3 GB32.3 GB48.4 GB

Which computers run it

The best size for each machine at an 8K-token conversation. Speeds are estimates from memory bandwidth.

ComputerBest versionFitSpeed
Laptop or PC, no graphics card, 32 GB24B Q4_K_MRuns well3.5–5.5tok/sSlow
RTX 4060 · 8 GB24B Q4_K_MSpills into system RAM4.5–7tok/sSlow
RTX 3060 · 12 GB24B Q4_K_MSpills into system RAM6.5–10tok/sReadable
RTX 5060 Ti · 16 GB24B Q4_K_MSpills into system RAM12–19tok/sSmooth
RTX 4090 · 24 GB24B Q4_K_MRuns great40–60tok/sFast
RTX 5090 · 32 GB24B Q8_0Runs well40–60tok/sFast
Mac with M4 · 16 GB24B Q4_K_MToo big—
Mac with M4 Pro · 48 GB24B Q8_0Runs great6–10tok/sReadable
Mac with M5 Max · 128 GB24B Q8_0Runs great13–25tok/sSmooth
Ryzen AI Max+ 395 · 128 GB24B Q8_0Runs great6–9.5tok/sReadable
DGX Spark · 128 GB24B Q8_0Runs great6–10tok/sReadable
RTX PRO 6000 · 96 GB24B Q8_0Runs great40–60tok/sFast
Mac Studio with M5 Ultra · 256 GB24B Q8_0Runs great20–35tok/sSmooth
Mac Studio with M3 Ultra · 512 GB24B Q8_0Runs great14–25tok/sSmooth

What it is good and bad at

Good at

  • Working through a codebase and editing many files

Not good at

  • Coding only
  • Conversation memory grows fast at long context

Start it

Install Ollama, then run one of these in a terminal. LM Studio users can search the same name in the app.

ollama run devstral-small-2:24b