meta-llama · text

Llama-3.2-3B-Instruct

meta-llama/Llama-3.2-3B-Instruct

Llama-3.2-3B-Instruct at Q4_K_M is exactly 2,019,377,440 bytes (1.88 GiB / 2.02 GB) — an effective 5.028 bits per weight, not the nominal 4. Its KV cache at 32K is 3.50 GiB.

From the file· summed from 1 file(s)From the file· KV from mirror (mirror:unsloth/Llama-3.2-3B-Instruct)
Parameters
3.2B
Architecture
llama
28 layers
Context
131,072
native (config.json)
License

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S0.85 GiB912,345,5362.272unsloth
UD-IQ1_M0.89 GiB960,416,1922.392unsloth
UD-IQ2_XXS0.97 GiB1,046,579,6482.606unsloth
UD-IQ2_M1.17 GiB1,256,262,0803.128unsloth
Q2_K1.27 GiB1,363,935,6803.396unsloth
Q2_K_L1.27 GiB1,363,935,6803.396unsloth
UD-IQ3_XXS1.28 GiB1,370,147,2643.412unsloth
Q3_K_S1.44 GiB1,542,848,9603.842unsloth
IQ3_M1.49 GiB1,599,668,7683.983bartowski
Q3_K_M1.57 GiB1,687,159,2324.201255unsloth
Q3_K_L1.69 GiB1,815,347,4884.520lmstudio-community
Q3_K_L1.69 GiB1,815,347,7444.520bartowski
IQ4_XS1.70 GiB1,829,110,2084.555255unsloth
IQ4_XS1.70 GiB1,829,110,3044.555255bartowski
IQ4_NL1.79 GiB1,917,190,5924.774unsloth
Q4_01.79 GiB1,921,909,1844.786255unsloth
Q4_01.79 GiB1,921,909,2804.786bartowski
Q4_K_S1.80 GiB1,928,200,6404.801unsloth
Q4_K_S1.80 GiB1,928,200,7364.801bartowski
Q4_K_M1.88 GiB2,019,377,4405.028255lmstudio-community
Q4_K_M1.88 GiB2,019,377,6005.028255unsloth
Q4_K_M1.88 GiB2,019,377,6965.028255bartowski
Q4_11.95 GiB2,093,351,3605.213unsloth
Q4_K_L1.97 GiB2,114,800,1605.266bartowski
Q5_K_S2.11 GiB2,269,512,1285.651unsloth
Q5_K_S2.11 GiB2,269,512,2245.651bartowski
Q5_K_M2.16 GiB2,322,153,9205.782255unsloth
Q5_K_M2.16 GiB2,322,154,0165.782255bartowski
Q5_K_L2.25 GiB2,417,576,4806.020bartowski
Q6_K2.46 GiB2,643,853,6006.583lmstudio-community
Q6_K2.46 GiB2,643,853,7606.583255unsloth
Q6_K2.46 GiB2,643,853,8566.583255bartowski
Q6_K_L2.55 GiB2,739,276,3206.821bartowski
Q8_03.19 GiB3,421,898,8168.521255unsloth
Q8_03.19 GiB3,421,899,0408.521255lmstudio-community
Q8_03.19 GiB3,421,899,2968.521bartowski
F165.99 GiB6,433,687,61616.020255unsloth
BF165.99 GiB6,433,687,74416.020unsloth
F165.99 GiB6,433,687,84016.020bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.44 GiB0.44 GiB28 / 0 / 0
8,1920.88 GiB0.88 GiB28 / 0 / 0
16,3841.75 GiB1.75 GiB28 / 0 / 0
32,7683.50 GiB3.50 GiB28 / 0 / 0
65,5367.00 GiB7.00 GiB28 / 0 / 0
131,07214.00 GiB14.00 GiB28 / 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 1.68 GiB. The real file is 1.88 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from mirror:unsloth/Llama-3.2-3B-Instruct
Layers
28
Attention heads
24
KV heads
8
Head dim
128
Hidden size
3072
Vocab
128,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Llama-3.2-3B-Instruct need?
Q4_K_M is exactly 2,019,377,440 bytes (1.88 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Llama-3.2-3B-Instruct's KV cache?
3.50 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 Llama-3.2-3B-Instruct 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.