Yes — with 7.3 GB to spare

Mistral Small 3.2 24B at Q4_K_M fits your Tesla M40 24 GB entirely on the GPU at 8K context, at an estimated 13 tokens per second. Past 54K the KV cache pushes it over — quantise the cache to q8_0, or step down a quantisation, to go longer.

Fully on GPU 8K context Q4_K_M · 13.3 GB Apache 2.0 Released Jun 2025 Vision

Apache-2.0, vision-capable, and the most 24 GB-friendly of the 2025 generalists.

Hardware requirements What hardware do I need to run Mistral Small 3.2 24B? →

At Q4_K_M with an 8K context: a 20 GB GPU (RTX 4000 Ada) or a 24 GB Mac (M4 Pro). Minimum, recommended, high-quality and long-context tiers, with all 114 devices checked at every quantisation.

The VRAM budget

weights 13.3 GB
Weights 13.3 GB KV cache @ 8K 1.25 GB Runtime overhead 0.6 GB Free 7.3 GB of 22.4 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 23.4 GB 25.2 GB — ~5.1 −0.1% ppl 2.8 GB over
Q6_K 18.0 GB 19.9 GB 24K 9.7 −0.4% ppl Long context
Q5_K_M 15.6 GB 17.4 GB 39K 11 −0.8% ppl Long context
Q4_K_M 13.3 GB 15.1 GB 54K 13 −1.9% ppl Recommended
Q3_K_M 10.7 GB 12.6 GB 70K 16 −5.4% ppl Long context
Q2_K 9.2 GB 11.1 GB 80K 19 −15% ppl Long context

Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it.

How to run it

terminal
$ ollama pull mistral-small:24b
$ OLLAMA_CONTEXT_LENGTH=8192 \
    ollama run mistral-small:24b

The default. One binary, a model registry, an OpenAI-compatible port. More on Ollama.

01Download is 13.3 GB. Keep it on an SSD — a first load off a spinning disk takes minutes.
02Close anything else holding VRAM. A browser with hardware acceleration can sit on 1–2 GB.
03There is room to go to 54K context on this card.
See all models for this rig Compare with another model

Related models on a Tesla M40 24 GB

ModelTotalTok/s est.
Mistral Small 4 119B-A6B
119B MoE · same family
Q4_K_M · 67.7 GB ~5.1 CPU offload
Devstral Small 2 24B
24B · similar size
Q4_K_M · 15.3 GB 13 Runs great
Gemma 4 26B-A4B
26.5B MoE · similar size
Q4_K_M · 16.0 GB 31 Runs great
gpt-oss 20B
20.9B MoE · similar size
MXFP4 · 11.6 GB 36 Runs great
Gemma 3 27B
27.4B · similar size
Q4_K_M · 17.0 GB 11 Runs great
Qwen3.8 27B
27.8B · similar size
Q4_K_M · 16.7 GB 11 Runs great
Qwen3.6 27B
27.8B · similar size
Q4_K_M · 16.7 GB 11 Runs great

Every model against the Tesla M40 24 GB →

Mistral Small 3.2 24B on other hardware

DeviceTotalTok/s est.
GeForce RTX 4060 Laptop
7.0 GB usable · 256 GB/s
15.1 GB ~3.9 CPU offload
GeForce RTX 3060 12 GB
10.6 GB usable · 360 GB/s
15.1 GB ~6.1 CPU offload
M4 · 16 GB
10.7 GB usable · 120 GB/s
15.1 GB — Won't fit
RTX 4000 Ada
18.4 GB usable · 360 GB/s
15.1 GB 16 Runs great
GeForce RTX 4090
22.4 GB usable · 1008 GB/s
15.1 GB 46 Runs great
Radeon RX 7900 XTX
22.4 GB usable · 960 GB/s
15.1 GB 44 Runs great
M4 Pro · 24 GB
18.0 GB usable · 273 GB/s
15.1 GB 11 Runs great
M3 Max · 64 GB
48.0 GB usable · 400 GB/s
15.1 GB 17 Runs great

All 114 devices, by tier →