meta-llama · text

Llama-3.2-1B-Instruct

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

Llama-3.2-1B-Instruct at Q4_K_M is exactly 807,690,688 bytes (0.75 GiB / 0.81 GB) — an effective 5.229 bits per weight, not the nominal 4. Its KV cache at 32K is 1.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S0.39 GiB421,617,6962.729unsloth
UD-IQ1_M0.41 GiB439,181,3442.843unsloth
UD-IQ2_XXS0.43 GiB464,330,7843.006unsloth
UD-IQ2_M0.50 GiB536,322,0803.472unsloth
UD-IQ3_XXS0.54 GiB575,381,5363.725unsloth
Q2_K_L0.54 GiB580,874,2723.760unsloth
Q2_K0.54 GiB580,874,2723.760unsloth
Q3_K_S0.60 GiB641,691,6804.154unsloth
IQ3_M0.61 GiB657,289,3444.255bartowski
Q3_K_M0.64 GiB690,843,6804.472147unsloth
Q3_K_L0.68 GiB732,520,8964.742lmstudio-community
Q3_K_L0.68 GiB732,524,6724.742bartowski
IQ4_XS0.69 GiB743,141,4084.811147unsloth
IQ4_XS0.69 GiB743,141,5044.811147bartowski
IQ4_NL0.72 GiB773,025,8245.004unsloth
Q4_00.72 GiB773,025,8245.004147unsloth
Q4_00.72 GiB773,025,9205.004147bartowski
Q4_K_S0.72 GiB775,647,2645.021unsloth
Q4_K_S0.72 GiB775,647,3605.021bartowski
Q4_K_M0.75 GiB807,690,6885.229lmstudio-community
Q4_K_M0.75 GiB807,694,3685.229147unsloth
Q4_K_M0.75 GiB807,694,4645.229bartowski
Q4_10.77 GiB831,746,0805.384unsloth
Q4_K_L0.81 GiB871,309,4405.640bartowski
Q5_K_S0.83 GiB892,563,4885.778unsloth
Q5_K_S0.83 GiB892,563,5845.778bartowski
Q5_K_M0.85 GiB911,503,3925.901147unsloth
Q5_K_M0.85 GiB911,503,4885.901147bartowski
Q5_K_L0.91 GiB975,118,4646.312bartowski
Q6_K0.95 GiB1,021,796,8006.615147lmstudio-community
Q6_K0.95 GiB1,021,800,4806.615147unsloth
Q6_K0.95 GiB1,021,800,5766.615147bartowski
Q6_K_L1.01 GiB1,085,415,5527.026bartowski
Q8_01.23 GiB1,321,079,2328.552147lmstudio-community
Q8_01.23 GiB1,321,082,5288.552147unsloth
Q8_01.23 GiB1,321,083,0088.552bartowski
F162.31 GiB2,479,595,16816.052147unsloth
BF162.31 GiB2,479,595,26416.052unsloth
F162.31 GiB2,479,595,36016.052bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.13 GiB0.13 GiB16 / 0 / 0
8,1920.25 GiB0.25 GiB16 / 0 / 0
16,3840.50 GiB0.50 GiB16 / 0 / 0
32,7681.00 GiB1.00 GiB16 / 0 / 0
65,5362.00 GiB2.00 GiB16 / 0 / 0
131,0724.00 GiB4.00 GiB16 / 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 0.65 GiB. The real file is 0.75 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from mirror:unsloth/Llama-3.2-1B-Instruct
Layers
16
Attention heads
32
KV heads
8
Head dim
64
Hidden size
2048
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-1B-Instruct need?
Q4_K_M is exactly 807,690,688 bytes (0.75 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-1B-Instruct's KV cache?
1.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 Llama-3.2-1B-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.