mistralai · vision language

Mistral-Small-3.1-24B-Instruct-2503

mistralai/Mistral-Small-3.1-24B-Instruct-2503

Mistral-Small-3.1-24B-Instruct-2503 at Q4_K_M is exactly 14,333,910,176 bytes (13.35 GiB / 14.33 GB) — an effective 4.776 bits per weight, not the nominal 4. Its KV cache at 32K is 5.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
24.0B
Architecture
llama
40 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S5.18 GiB5,558,558,2721.852unsloth
UD-IQ1_M5.60 GiB6,017,310,2722.005unsloth
IQ2_XXS6.10 GiB6,545,120,7362.181bartowski
UD-IQ2_XXS6.29 GiB6,750,903,8722.249unsloth
IQ2_XS6.71 GiB7,207,034,3362.401bartowski
IQ2_S6.96 GiB7,478,353,3762.492bartowski
IQ2_M7.56 GiB8,114,052,5762.703bartowski
UD-IQ2_M7.68 GiB8,243,322,4322.747unsloth
Q2_K8.28 GiB8,890,326,4962.962bartowski
Q2_K8.28 GiB8,890,326,5922.962unsloth
Q2_K_L8.43 GiB9,047,612,9923.014unsloth
IQ3_XXS8.64 GiB9,280,593,3763.092bartowski
UD-IQ3_XXS8.76 GiB9,409,207,8723.135unsloth
Q2_K_L8.89 GiB9,545,686,4963.180bartowski
IQ3_XS9.23 GiB9,907,117,5363.301bartowski
Q3_K_S9.69 GiB10,400,275,9363.465bartowski
Q3_K_S9.69 GiB10,400,276,0323.465unsloth
IQ3_M9.92 GiB10,650,951,1363.549bartowski
Q3_K_M10.69 GiB11,474,083,2963.823bartowski
Q3_K_M10.69 GiB11,474,083,3923.823unsloth
Q3_K_L11.55 GiB12,400,762,0164.132lmstudio-community
Q3_K_L11.55 GiB12,400,762,3364.132bartowski
IQ4_XS11.88 GiB12,758,916,5764.251bartowski
IQ4_XS11.90 GiB12,779,888,1924.258unsloth
IQ4_NL12.54 GiB13,468,016,0964.487bartowski
IQ4_NL12.54 GiB13,468,016,1924.487unsloth
Q4_012.57 GiB13,494,230,4964.496bartowski
Q4_012.57 GiB13,494,230,5924.496unsloth
Q4_K_S12.62 GiB13,549,280,7364.514bartowski
Q4_K_S12.62 GiB13,549,280,8324.514unsloth
Q4_K_M13.35 GiB14,333,910,1764.776lmstudio-community
Q4_K_M13.35 GiB14,333,910,4964.776bartowski
Q4_K_M13.35 GiB14,333,910,5924.776unsloth
Q4_K_L13.81 GiB14,831,984,0964.942bartowski
Q4_113.85 GiB14,873,107,9364.955bartowski
Q4_113.85 GiB14,873,108,0324.955unsloth
Q5_K_S15.18 GiB16,304,414,1765.432bartowski
Q5_K_S15.18 GiB16,304,414,2725.432unsloth
Q5_K_M15.61 GiB16,763,985,3765.585bartowski
Q5_K_M15.61 GiB16,763,985,4725.585unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.63 GiB0.63 GiB40 / 0 / 0
8,1921.25 GiB1.25 GiB40 / 0 / 0
16,3842.50 GiB2.50 GiB40 / 0 / 0
32,7685.00 GiB5.00 GiB40 / 0 / 0
65,53610.00 GiB10.00 GiB40 / 0 / 0
131,07220.00 GiB20.00 GiB40 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 12.58 GiB. The real file is 13.35 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
32
KV heads
8
Head dim
128
Hidden size
5120
Vocab
131,072
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Mistral-Small-3.1-24B-Instruct-2503 need?
Q4_K_M is exactly 14,333,910,176 bytes (13.35 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Mistral-Small-3.1-24B-Instruct-2503's KV cache?
5.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of Mistral-Small-3.1-24B-Instruct-2503 should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.