RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Can Llama Guard 4 12B run on the RX 7900 XT?

Yes. At 8K context the best fit is Q8_0, using about 14.2 GB of the 19.0 GB usable on the RX 7900 XT. Estimated speed ceiling: ~63 tokens/sec.

Memory by quant and context

Quant4K ctx8K ctx32K ctx128K ctxMax tok/s (est., 8K)
2-bit (Q2_K)5.7 GB Fits6.5 GB Fits11.0 GB Fits29.0 GB No178
3-bit (Q3_K_M)7.0 GB Fits7.7 GB Fits12.2 GB Fits30.2 GB No136
4-bit (Q4_K_M)8.4 GB Fits9.1 GB Fits13.6 GB Fits31.6 GB No109
5-bit (Q5_K_M)9.5 GB Fits10.2 GB Fits14.7 GB Fits32.7 GB No94
6-bit (Q6_K)10.7 GB Fits11.5 GB Fits16.0 GB Fits34.0 GB No81
8-bit (Q8_0)13.4 GB Fits14.2 GB Fits18.7 GB Tight36.7 GB No63
16-bit (F16/BF16)23.9 GB No24.6 GB No29.1 GB No47.1 GB No—

• real GGUF file size. Speed is a bandwidth ceiling (800 GB/s), not a benchmark. Methodology.

More

Llama Guard 4 12B on every GPU and Mac · Every model that runs on the RX 7900 XT · Other models that fit 24 GB VRAM · Try other settings in the calculator

Data: Hugging Face Hub (meta-llama/Llama-Guard-4-12B), AMD specs. Data as of 2026-11-17.