Free tools / LLM memory calculator / Mistral Small 3 24B

Mistral Small 3 24B VRAM and RAM requirements

Mistral Small 3 24B needs about 16 GB of VRAM in Q4_K_M, the quantization Ollama downloads by default, at a 4K context, and about 21 GB at its full 32K context. The weights take about 14 GB and the rest is the context cache plus about 1 GB for the GPU runtime. On a CPU server without a GPU it needs about 16 GB of RAM at 4K.

Mistral Small 3 24B is Mistral AI's Apache 2.0 model, tuned for fast replies and function calling.

Open Mistral Small 3 24B in the calculator

Mistral Small 3 24B memory by quantization and context

Memory Mistral Small 3 24B needs for each quantization at 4K, 32K tokens of context. VRAM total adds about 1 GB for the GPU runtime, RAM total about 1.5 GB for the system and Ollama on a CPU server.

QuantizationContextWeightsKV cacheVRAM totalRAM total (CPU)
Q4_K_M4K14 GB0.7 GB16 GB16 GB
32K14 GB5.4 GB21 GB21 GB
Q5_K_M4K17 GB0.7 GB18 GB19 GB
32K17 GB5.4 GB23 GB24 GB
Q6_K4K19 GB0.7 GB21 GB21 GB
32K19 GB5.4 GB26 GB26 GB
Q8_04K25 GB0.7 GB27 GB27 GB
32K25 GB5.4 GB31 GB32 GB
FP164K47 GB0.7 GB49 GB49 GB
32K47 GB5.4 GB54 GB54 GB

Weights are the parameter count times the bits per weight of each quantization, the KV cache comes from the layer and attention head counts in the model config at FP16, as Ollama stores it by default. The sizes match Ollama downloads within a few percent.

GPUs that fit Mistral Small 3 24B

In Q4_K_M at 4K, the cheapest GPU server that holds Mistral Small 3 24B is the A16 (16 GB) at about $0.658 an hour, generating about 12 tokens per second. A 24 GB card such as the L4 or A10 holds it in Q4_K_M even at the full 32K context. Unquantized FP16 needs about 49 GB, which starts at the 4× RTX 4000 Ada (80 GB).

Mistral Small 3 24B setupVRAM neededCheapest GPU servers that fit
Q4_K_M at 4K16 GB
  • A16 16 GB, $0.658/hr, about 12 tok/s
  • RTX 4000 Ada 20 GB, $0.726/hr, about 21 tok/s
  • L4 24 GB, $1.16/hr, about 18 tok/s
Q4_K_M at 32K21 GB
  • L4 24 GB, $1.16/hr, about 18 tok/s
  • A10 24 GB, $1.17/hr, about 29 tok/s
  • 2× A16 32 GB, $1.32/hr, about 12 tok/s
Q8_0 at 4K27 GB
  • 2× A16 32 GB, $1.32/hr, about 7 tok/s
  • 2× RTX 4000 Ada 40 GB, $1.47/hr, about 12 tok/s
  • L40S 48 GB, $2.16/hr, about 21 tok/s
FP16 at 4K49 GB
  • 4× RTX 4000 Ada 80 GB, $4.14/hr, about 6.5 tok/s
  • A100 80 GB, $4.23/hr, about 18 tok/s
  • H100 80 GB, $4.32/hr, about 18 tok/s

Prices are for the cheapest city of each card, billed by the hour. Speed is generation with Ollama, estimated from memory bandwidth and our runs on the LLM speed benchmark. All cards are on the GPU servers page.

Running Mistral Small 3 24B on a CPU server

Yes, a CPU-only server with 24 GB of RAM holds Mistral Small 3 24B in Q4_K_M at 4K, since it needs about 16.5 GB. On 16 shared vCPU expect about 2 tokens per second, suited to batch jobs that can wait. At the full 32K context the RAM need grows to about 21 GB.

CPU serverRAMTokens/s in Q4_K_MPrice
16 shared vCPUHetzner32 GBabout 2$120/mo$0.164/hr
2 dedicated vCPULinode24 GBabout 1.5$93/mo$0.127/hr

Mistral Small 3 24B in Ollama

ollama run mistral-small:24b downloads the Q4_K_M build. Ollama publishes Mistral Small 3 24B in Q4_K_M, Q8_0 and FP16 only; for Q5_K_M or Q6_K, import a GGUF file from Hugging Face.

  • Q4_K_Mollama run mistral-small:24b
  • Q8_0ollama run mistral-small:24b-instruct-2501-q8_0
  • FP16ollama run mistral-small:24b-instruct-2501-fp16

What to know about Mistral Small 3 24B

  • Mistral Small 3 24B holds up to 32K tokens, so the table stops at 32K.
  • At 32K the context cache adds about 5.4 GB on top of about 14 GB of Q4_K_M weights.

Frequently asked questions

How much VRAM does Mistral Small 3 24B need?

About 16 GB in Q4_K_M at a 4K context, about 27 GB in Q8_0 and about 49 GB in FP16. The cheapest GPU that holds it in Q4_K_M is the A16 (16 GB). A longer context adds more: about 21 GB in Q4_K_M at 32K.

Can Mistral Small 3 24B run on a CPU without a GPU?

Yes, a CPU-only server with 24 GB of RAM holds Mistral Small 3 24B in Q4_K_M at 4K, since it needs about 16.5 GB. On 16 shared vCPU expect about 2 tokens per second, suited to batch jobs that can wait. At the full 32K context the RAM need grows to about 21 GB.

How much memory does Mistral Small 3 24B need for a 32K context?

About 21 GB of VRAM or 21 GB of RAM in Q4_K_M. The context cache alone takes about 5.4 GB at 32K tokens, next to about 14 GB of weights. Ollama uses a 4K context unless you raise num_ctx, so the cache stays small by default.

Similar models

Further reading

VRAM and RAM for other models

Another model, quantization or context? Use the LLM VRAM and RAM calculator