OnPrem World地端世界

Devstral Small 2 24B Instruct (2512)

Devstral Small 2 24B Instruct (2512) by Mistral AI (24B parameters). At Q4_K_M with an 8K context it needs about 16.0 GiB of memory. Mistral's 24B model for coding agents, with a 256K context, under Apache-2.0; it fits a 16 GB card at 4-bit, and a 24 GB card leaves room for longer contexts.

Last updated: 2026-10-13

Model facts

DeveloperMistral AI
Parameters24B[src]
Native context262,144 tokens[src]
LicenceApache-2.0[src]
Commercial useYes
KV cacheAll 40 layers (standard attention)[src]
Released2025-12

Good for: agentic coding · software engineering · tool use · single 24 GB GPU / 32 GB Mac

Run it

ollama run devstral-small-2:24b

Memory needed

Weights + KV cache + runtime overhead, in GiB. Lower quantization = less memory, slightly lower quality.

Quantization4K context8K context32K context
Q4_K_M15.4 GiB16.0 GiB19.7 GiB
Q5_K_M17.8 GiB18.4 GiB22.2 GiB
Q6_K20.5 GiB21.1 GiB24.8 GiB
Q8_026.1 GiB26.7 GiB30.4 GiB
FP1648.1 GiB48.7 GiB52.4 GiB

Which hardware runs it

Best quantization that fits each device with a 8K context. Estimates, not benchmarks. See the methodology.

Frequently asked questions

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

With an 8K context, about 16.0 GiB at Q4_K_M and 26.7 GiB at Q8_0 (weights + KV cache + runtime overhead). Longer contexts need more memory for the KV cache.

Can Devstral Small 2 24B Instruct (2512) run on an GeForce RTX 4090?

Yes. Devstral Small 2 24B Instruct (2512) fits on the GeForce RTX 4090 (24 GB) at Q6_K with an 8K context, using about 21.1 GiB, at an estimated 36 tokens/s.

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

Yes. Devstral Small 2 24B Instruct (2512) fits on the M3 Ultra (96 GB) at FP16 with an 8K context, using about 48.7 GiB, at an estimated 11 tokens/s.

Can Devstral Small 2 24B Instruct (2512) be used commercially?

Devstral Small 2 24B Instruct (2512) is released under Apache-2.0. The licence allows commercial use (read its conditions).

Sources