mistral-small-3.1-24b-instruct-2503-hf GGUF size and VRAM requirements

⬇ 174,389 ❤ 2
Parameters23.57B
Context32,768

MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF is a large instruction-tuned chat model with 23.57 billion parameters, built on the llama architecture. It has been downloaded 174,389 times.

Under the hood it uses 40 transformer layers, a hidden size of 5,120, 32 attention heads. It uses grouped-query attention (32 query heads sharing 8 key/value heads), which already trims KV-cache memory compared with full multi-head attention.

To run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF locally at a 4,096-token context, its quantized versions need between 9.7 GB (Q2_K, lowest quality) and 45.34 GB (GGUF, highest quality) of memory, weights plus KV cache and a system margin included. Context length drives that memory directly: at 4,096 tokens the KV cache for mistral-small-3.1-24b-instruct-2503-hf-GGUF is about 0.62 GB, rising to roughly 5.0 GB at its full 32,768-token context. Shorter prompts free up memory for a higher-quality quantization.

For most users the best balance is Q6_K, needing about 19.44 GB. That means MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF fits entirely in the VRAM of a 10 GB GPU or larger, running fully on the GPU.

Available GGUF quantizations for MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF include Q2_K, Q3_K_S, Q3_K_M, Q3_K_L, Q4_K_S, Q4_K_M, Q5_K_S, Q5_K_M, Q6_K, Q8_0, GGUF. The model supports a native context length of up to 32,768 tokens; a longer context grows the KV cache and the memory needed.

→ Guide: How much VRAM do you need?

GGUF file size and memory by quantization

Compare real GGUF weight sizes, estimated KV cache and total memory for Q4, Q5, Q8 and every quantization published in this repository.

Quant.Bits QualityWeights KVTotal Speed~Verdict
Q2_K 3.02 Low 8.28 GB 0.62 GB 9.7 GB 6.0 t/s Offload
Q3_K_S 3.53 Fair 9.69 GB 0.62 GB 11.11 GB 5.2 t/s Offload
Q3_K_M 3.89 Fair 10.69 GB 0.62 GB 12.11 GB 4.7 t/s Offload
Q3_K_L 4.21 Good 11.55 GB 0.62 GB 12.97 GB 4.3 t/s Offload
Q4_K_S 4.6 Good 12.62 GB 0.62 GB 14.04 GB 4.0 t/s Offload
Q4_K_M 4.86 Good 13.35 GB 0.62 GB 14.77 GB 3.7 t/s Offload
Q5_K_S 5.53 Very good 15.18 GB 0.62 GB 16.61 GB 3.3 t/s Offload
Q5_K_M 5.69 Very good 15.61 GB 0.62 GB 17.04 GB 3.2 t/s Offload
Q6_K 6.57 Excellent 18.02 GB 0.62 GB 19.44 GB 2.8 t/s Offload
Q8_0 8.5 Excellent 23.33 GB 0.62 GB 24.76 GB Insufficient
GGUF 16.0 Excellent 43.92 GB 0.62 GB 45.34 GB Insufficient

KV cache computed from the model's exact architecture. Speed is a rough estimate bounded by memory bandwidth.

Frequently asked questions

What kind of model is MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF?

MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF is an instruction-tuned chat model with 23.57 billion parameters, based on the llama architecture. It is distributed as GGUF files for local inference.

How much VRAM do you need to run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF?

You need about 9.7 GB of VRAM to run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF entirely on the GPU using the Q2_K quantization (at a 4,096-token context). Smaller quantizations lower the requirement at the cost of quality.

Can I run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF on an 8 GB GPU?

Partially. MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF only fits on an 8 GB GPU by offloading part of it to system RAM (with Q6_K), which runs but is slower.

Can I run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF on a 16 GB GPU?

Yes. With 16 GB of VRAM you can run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF fully on the GPU using Q4_K_M (about 14.77 GB).

Can I run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF on a 24 GB GPU?

Yes. With 24 GB of VRAM you can run MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF fully on the GPU using Q6_K (about 19.44 GB).

What context length does MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF support?

MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF supports a native context length of up to 32,768 tokens. A longer context grows the KV cache, so it increases the memory needed to run the model.

What is the best quantization for MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF?

For MaziyarPanahi/mistral-small-3.1-24b-instruct-2503-hf-GGUF, a strong default is Q4_K_M, which needs about 14.77 GB and keeps most of the quality while roughly halving the memory versus 8-bit. With VRAM to spare, Q5_K_M or Q6_K add a little more quality; if you are tight on memory, a smaller quantization still runs. Pick the highest quantization that fits your VRAM.