How much VRAM does Devstral Small 2 24B (coding) need?

Devstral Small 2 24B (coding) needs about 15.8 GB of video memory at Q4 with a 4K context, so it runs fully on any graphics card with 20 GB or more. At full FP16 quality it needs about 49.3 GB. It supports up to 256K tokens of context.

ollama run devstral-small-2

Figures checked 19 Nov 2026 against the model's published configuration · Sources and method

Memory needed by quality and context length

Quality4K context16K context32K context128K context256K context
Q4 (Q4_K_M)15.8 GB17.8 GB20.4 GB36.1 GB57.1 GB
Q5 (Q5_K_M)18.4 GB20.3 GB22.9 GB38.7 GB59.6 GB
Q8 (Q8_0)26.8 GB28.7 GB31.3 GB47.1 GB68.0 GB
FP16 (full)49.3 GB51.2 GB53.8 GB69.6 GB90.5 GB

Estimates for llama.cpp / Ollama (GGUF): weights + KV cache (FP16) + about 0.6 GB for the runtime. A model can use about 95% of a card's memory. Q4 is the usual sweet spot; Q8 is close to full quality.

Which graphics cards run it?

Fully on the GPU at Q4 with a 4K context: any card with 20 GB or more, for example RX 7900 XT (everything a 20 GB card runs). For Q8 (near full quality), 32 GB or more.

RX 7900 XT: check price on AmazonSapphire Pulse RX 7900 XT 20GB · affiliate link

On a Mac: 32 GB of unified memory or more.

Similar-size models

Sources and method

Spotted a figure that does not match the model card? Use the "Tell us" link at the bottom of the page.

Questions people ask

How much VRAM does Devstral Small 2 24B (coding) need?

About 15.8 GB at Q4 (Q4_K_M), 18.4 GB at Q5, 26.8 GB at Q8 and 49.3 GB at FP16, with a 4K-token context. A longer context adds about 0.7 GB for every 4K tokens.

Can Devstral Small 2 24B (coding) run on an 8 GB graphics card?

Only slowly. Even at Q4 it needs about 15.8 GB, more than the roughly 7.6 GB a model can use on an 8 GB card, so part of it runs on the CPU from system RAM.

Can I run Devstral Small 2 24B (coding) on a Mac?

Yes, on an Apple Silicon Mac with 32 GB of unified memory or more, where macOS lets the GPU use about 21 GB by default. Run it with "ollama run devstral-small-2".

How do I run Devstral Small 2 24B (coding) with Ollama?

Install Ollama, then run "ollama run devstral-small-2". Ollama downloads a Q4 version by default, which is the usual sweet spot of quality and memory.

Spotted a wrong number? Tell us and we'll fix it.