meta-llama · text

Llama-Guard-3-8B

meta-llama/Llama-Guard-3-8B

Llama-Guard-3-8B at Q4_K_M is exactly 4,405,148,032 bytes (4.10 GiB / 4.41 GB) — an effective 4.388 bits per weight, not the nominal 4.

From the file· summed from 1 file(s)
Parameters
8.0B
Architecture
llama
Context
native (config.json)
License
llama3.1

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S1.88 GiB2,019,628,8642.012legraphista
IQ1_M2.01 GiB2,161,973,0562.154legraphista
IQ2_XXS2.23 GiB2,399,213,3762.390legraphista
IQ2_XS2.43 GiB2,605,782,8482.596legraphista
IQ2_S2.57 GiB2,758,489,9202.748legraphista
IQ2_M2.75 GiB2,948,282,1762.937legraphista
Q2_K_S2.78 GiB2,988,816,1922.978legraphista
Q2_K2.96 GiB3,179,132,7363.167legraphista
Q2_K2.96 GiB3,179,133,2483.167mradermacher
IQ3_XXS3.05 GiB3,274,913,6003.263legraphista
Q3_K_S3.08 GiB3,305,798,0163.293eaddario
IQ3_S3.20 GiB3,431,012,7363.418eaddario
IQ3_XS3.28 GiB3,518,748,4803.506legraphista
IQ3_XS3.28 GiB3,518,748,9923.506mradermacher
Q3_K_M3.32 GiB3,564,149,1203.551eaddario
Q3_K_S3.41 GiB3,664,500,5443.651legraphista
Q3_K_S3.41 GiB3,664,501,0563.651mradermacher
IQ3_S3.43 GiB3,682,326,3363.668legraphista
IQ3_S3.43 GiB3,682,326,8483.668mradermacher
IQ3_M3.43 GiB3,685,259,6483.671eaddario
Q3_K_L3.50 GiB3,757,611,3923.744eaddario
IQ3_M3.52 GiB3,784,824,6403.771legraphista
IQ3_M3.52 GiB3,784,825,1523.771mradermacher
Q3_K3.74 GiB4,018,919,2324.004legraphista
Q3_K_M3.74 GiB4,018,919,7444.004mradermacher
Q4_K_S3.99 GiB4,279,318,9124.263eaddario
Q3_K_L4.03 GiB4,321,957,6964.306legraphista
Q3_K_L4.03 GiB4,321,958,2084.306mradermacher
IQ4_NL4.09 GiB4,394,662,2724.378eaddario
Q4_K_M4.10 GiB4,405,148,0324.388eaddario
IQ4_XS4.14 GiB4,447,663,9364.431legraphista
IQ4_XS4.18 GiB4,484,364,6084.468mradermacher
IQ4_NL4.36 GiB4,677,990,2084.660legraphista
Q4_K_S4.37 GiB4,692,670,2724.675legraphista
Q4_K_S4.37 GiB4,692,670,7844.675mradermacher
Q4_K4.58 GiB4,920,735,5524.902legraphista
Q4_K_M4.58 GiB4,920,736,0644.902mradermacher
Q5_K_S4.88 GiB5,242,042,7525.222eaddario
Q5_K_M5.01 GiB5,375,736,1925.356eaddario
Q5_K_S5.21 GiB5,599,295,0405.578legraphista

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 4.21 GiB. The real file is 4.10 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

Architecture unavailable — this repository is gated and no ungated mirror was found. Exact file sizes above are still authoritative; only the KV math needs the config.

Questions people ask

How much VRAM does Llama-Guard-3-8B need?
Q4_K_M is exactly 4,405,148,032 bytes (4.10 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Which quantization of Llama-Guard-3-8B 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.