Mistral Small 3.1 24B

24B model with image input and a 128K context window.

Mistral·24B params·40 layers / 8 KV heads·Max 128K ctx·Apache 2.0
Local Run Command
Q4_K_M minimum memory: 18.3 GB at 16K context.
Artificial Analysis Benchmarkartificialanalysis.ai ↗
Intelligence Index
—

Independent benchmark scores sourced from Artificial Analysis.

OpenRouter API & Cloud GPUOpenRouter ↗
Input / 1M
$0.35
Output / 1M
$0.56

VRAM by Quantization (16K context)

Q4_K_M (4-bit)14.4 GB
real file size
2.5 GB18.3 GB17.1 GBBest speed-to-quality balance for local inference (~98% quality)
ollama run mistral-small3.1:24b
Q6_K (6-bit)19.6 GB
estimate
2.5 GB23.8 GB22.5 GBNear-lossless quality with ~35% larger footprint than Q4
Q8_0 (8-bit)24.3 GB
real file size
2.5 GB28.7 GB27.4 GBVirtually indistinguishable from FP16 for coding & reasoning
ollama run mistral-small3.1:24b-instruct-2503-q8_0
FP16 / BF16 (16-bit)44.7 GB
real file size
2.5 GB50.0 GB48.7 GBFull native precision; standard for production GPU serving
ollama run mistral-small3.1:24b-instruct-2503-fp16

Layer and head counts are read from the published config.json. KV cache is exact for this architecture.

Run Mistral Small 3.1 24B with Ollama, LM Studio, llama.cpp, MLX or vLLM

Command
Ollama
Q4_K_M
mistral-small3.1:24b
14.4 GB
real file size
LM Studio
Q4_K_M
unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF
15.0 GB
real file size
llama.cpp
Q4_K_M
unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF
15.0 GB
real file size
MLX
4-bit
mlx-community/Mistral-Small-3.1-24B-Instruct-2503-4bit
13.1 GB
real file size
vLLM
INT4
RedHatAI/Mistral-Small-3.1-24B-Instruct-2503-quantized.w4a16
14.0 GB
real file size

Each runtime loads its own build of the model, so download sizes differ. Sizes marked as real are file sizes read from the Ollama registry or Hugging Face.

Hardware Compatibility Matrix (Q4_K_M · 16K context)

Details
11.5 GBToo large——Mistral Small 3.1 24B on M1 16GB →
48.0 GBFits comfortably14.9–20 tok/s—Mistral Small 3.1 24B on M1 Max 64GB →
98.0 GBFits comfortably27–36 tok/s—Mistral Small 3.1 24B on M1 Ultra 128GB →
18.0 GBPartial offload1.7–4.0 tok/s—Mistral Small 3.1 24B on M2 24GB →
48.0 GBFits comfortably17.9–24 tok/s—Mistral Small 3.1 24B on M2 Max 64GB →
152 GBFits comfortably30–40 tok/s—Mistral Small 3.1 24B on M2 Ultra 192GB →
27.0 GBFits comfortably7.2–9.8 tok/s—Mistral Small 3.1 24B on M3 Pro 36GB →
48.0 GBFits comfortably18.1–24 tok/s—Mistral Small 3.1 24B on M3 Max 64GB →
98.0 GBFits comfortably18.1–24 tok/s—Mistral Small 3.1 24B on M3 Max 128GB →
11.5 GBToo large——Mistral Small 3.1 24B on M4 16GB →
24.0 GBFits comfortably5.5–7.5 tok/s—Mistral Small 3.1 24B on M4 32GB →
36.0 GBFits comfortably12.9–17.5 tok/s—Mistral Small 3.1 24B on M4 Pro 48GB →
48.0 GBFits comfortably12.9–17.5 tok/s—Mistral Small 3.1 24B on M4 Pro 64GB →
48.0 GBFits comfortably24–33 tok/s—Mistral Small 3.1 24B on M4 Max 64GB →
98.0 GBFits comfortably24–33 tok/s—Mistral Small 3.1 24B on M4 Max 128GB →
98.0 GBFits comfortably24–33 tok/s—Mistral Small 3.1 24B on Studio M4 Max 128GB →
204 GBFits comfortably31–41 tok/s—Mistral Small 3.1 24B on M3 Ultra 256GB →
430 GBFits comfortably31–41 tok/s—Mistral Small 3.1 24B on M3 Ultra 512GB →
24.0 GBFits comfortably9.2–12.4 tok/s—Mistral Small 3.1 24B on M1 Pro 32GB →
24.0 GBFits comfortably9.5–12.8 tok/s—Mistral Small 3.1 24B on M2 Pro 32GB →
27.0 GBFits comfortably14.7–19.9 tok/s—Mistral Small 3.1 24B on M3 Max 36GB →
11.5 GBToo large——Mistral Small 3.1 24B on Air M4 16GB →
24.0 GBFits comfortably5.5–7.5 tok/s—Mistral Small 3.1 24B on Air M4 32GB →
18.0 GBPartial offload4.4–10.3 tok/s—Mistral Small 3.1 24B on M4 Pro 24GB →
11.5 GBToo large——Mistral Small 3.1 24B on Air M5 16GB →
24.0 GBFits comfortably7.6–10.2 tok/s—Mistral Small 3.1 24B on Air M5 32GB →
48.0 GBFits comfortably16.7–23 tok/s—Mistral Small 3.1 24B on M5 Pro 64GB →
98.0 GBFits comfortably32–44 tok/s—Mistral Small 3.1 24B on M5 Max 128GB →
24.0 GBFits comfortably8.6–11.7 tok/s—Mistral Small 3.1 24B on mini M6 32GB →
48.0 GBFits comfortably16.7–23 tok/s—Mistral Small 3.1 24B on mini M5 Pro 64GB →
98.0 GBFits comfortably32–44 tok/s—Mistral Small 3.1 24B on Studio M5 Max 128GB →
430 GBFits comfortably61–83 tok/s—Mistral Small 3.1 24B on Studio M5 Ultra 512GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 3060 12GB →
9.2 GBToo large—3×Mistral Small 3.1 24B on RTX 3080 10GB →
22.8 GBFits comfortably38–51 tok/s1×Mistral Small 3.1 24B on RTX 3090 24GB →
15.0 GBPartial offload2.7–6.3 tok/s2×Mistral Small 3.1 24B on RTX 4060 Ti 16GB →
15.0 GBPartial offload5.3–12.0 tok/s2×Mistral Small 3.1 24B on RTX 4070 Ti S 16GB →
15.0 GBPartial offload5.6–12.0 tok/s2×Mistral Small 3.1 24B on RTX 4080 S 16GB →
22.8 GBFits comfortably43–59 tok/s1×Mistral Small 3.1 24B on RTX 4090 24GB →
15.0 GBPartial offload6.4–12.0 tok/s2×Mistral Small 3.1 24B on RTX 5070 Ti 16GB →
15.0 GBPartial offload6.7–12.0 tok/s2×Mistral Small 3.1 24B on RTX 5080 16GB →
30.5 GBFits comfortably75–102 tok/s1×Mistral Small 3.1 24B on RTX 5090 32GB →
22.8 GBFits comfortably48–65 tok/s1×Mistral Small 3.1 24B on RX 7900 XTX 24GB →
15.0 GBPartial offload5.1–11.9 tok/s2×Mistral Small 3.1 24B on RX 9070 XT 16GB →
10.2 GBToo large—2×Mistral Small 3.1 24B on RTX 2080 Ti 11GB →
7.3 GBToo large—3×Mistral Small 3.1 24B on RTX 3060 Ti 8GB →
7.3 GBToo large—3×Mistral Small 3.1 24B on RTX 3070 8GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 3080 Ti 12GB →
22.8 GBFits comfortably43–58 tok/s1×Mistral Small 3.1 24B on RTX 3090 Ti 24GB →
7.3 GBToo large—3×Mistral Small 3.1 24B on RTX 4060 8GB →
7.3 GBToo large—3×Mistral Small 3.1 24B on RTX 4060 Ti 8GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 4070 12GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 4070 S 12GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 4070 Ti 12GB →
15.0 GBPartial offload5.5–12.0 tok/s2×Mistral Small 3.1 24B on RTX 4080 16GB →
15.0 GBPartial offload3.9–9.1 tok/s2×Mistral Small 3.1 24B on RTX 5060 Ti 16GB →
11.2 GBToo large—2×Mistral Small 3.1 24B on RTX 5070 12GB →
15.0 GBPartial offload5.0–11.6 tok/s2×Mistral Small 3.1 24B on RX 7800 XT 16GB →
18.9 GBTight fit30–41 tok/s1×Mistral Small 3.1 24B on RX 7900 XT 20GB →
15.0 GBPartial offload5.1–11.9 tok/s2×Mistral Small 3.1 24B on RX 9070 16GB →
15.0 GBPartial offload2.6–6.1 tok/s2×Mistral Small 3.1 24B on RX 9060 XT 16GB →
46.2 GBFits comfortably33–45 tok/s1×Mistral Small 3.1 24B on RTX A6000 48GB →
46.2 GBFits comfortably43–58 tok/s1×Mistral Small 3.1 24B on RTX 6000 Ada 48GB →
93.0 GBFits comfortably73–99 tok/s1×Mistral Small 3.1 24B on PRO 6000 96GB →
15.0 GBPartial offload3.9–9.1 tok/s2×Mistral Small 3.1 24B on RTX A4000 16GB →
22.8 GBFits comfortably32–43 tok/s1×Mistral Small 3.1 24B on RTX A5000 24GB →
18.9 GBTight fit16.7–23 tok/s1×Mistral Small 3.1 24B on RTX 4000 Ada 20GB →
30.5 GBFits comfortably28–37 tok/s1×Mistral Small 3.1 24B on RTX 5000 Ada 32GB →
46.2 GBFits comfortably41–68 tok/s1×Mistral Small 3.1 24B on PRO 5000 48GB →
46.2 GBFits comfortably32–44 tok/s1×Mistral Small 3.1 24B on PRO W7900 48GB →
30.5 GBFits comfortably30–40 tok/s1×Mistral Small 3.1 24B on AI PRO R9700 32GB →
22.8 GBFits comfortably14.0–23 tok/s1×Mistral Small 3.1 24B on L4 24GB →
46.2 GBFits comfortably36–48 tok/s1×Mistral Small 3.1 24B on L40S 48GB →
38.5 GBFits comfortably44–74 tok/s1×Mistral Small 3.1 24B on A100 40GB →
77.5 GBFits comfortably49–67 tok/s1×Mistral Small 3.1 24B on A100 80GB →
77.5 GBFits comfortably61–82 tok/s1×Mistral Small 3.1 24B on H100 80GB →
137 GBFits comfortably68–113 tok/s1×Mistral Small 3.1 24B on H200 141GB →
175 GBFits comfortably76–126 tok/s1×Mistral Small 3.1 24B on B200 180GB →
15.0 GBPartial offload3.0–6.9 tok/s2×Mistral Small 3.1 24B on T4 16GB →
46.2 GBFits comfortably28–39 tok/s1×Mistral Small 3.1 24B on A40 48GB →
46.2 GBFits comfortably38–51 tok/s1×Mistral Small 3.1 24B on L40 48GB →
115 GBFits comfortably13.1–17.7 tok/s—Mistral Small 3.1 24B on DGX Spark 128GB →
96.0 GBFits comfortably11.6–15.7 tok/s—Mistral Small 3.1 24B on Ryzen AI Max+ 395 128GB →
48.0 GBFits comfortably11.6–15.7 tok/s—Mistral Small 3.1 24B on Ryzen AI Max+ 395 64GB →

Frequently asked questions

How much VRAM does Mistral Small 3.1 24B require?

At Q4_K_M quantization with a 16K context window, Mistral Small 3.1 24B needs 18.3 GB total VRAM (14.4 GB weights + 2.5 GB KV cache + runtime overhead). In full FP16 precision, it requires 50.0 GB.

Can an RTX 4090 (24 GB) run Mistral Small 3.1 24B?

Yes. At Q4_K_M with 16K context Mistral Small 3.1 24B needs 18.3 GB, which fits a single 24 GB RTX 4090 at an estimated 43–59 tok/s.

How do I run Mistral Small 3.1 24B locally with Ollama?

Install Ollama and run `ollama run mistral-small3.1:24b` in your terminal. Make sure your GPU or Apple Silicon unified memory meets the 18.3 GB Q4_K_M requirement.