Llama Guard 4 12B on NVIDIA GeForce RTX 5090
Can the NVIDIA GeForce RTX 5090 run Llama Guard 4 12B?
Yes, it runs great
Runs great. At Q6_K it needs about 12.4 GB of 32.0 GB usable and makes one decision in about 133 ms.
- Best quant
Q6_K- Time per decision
- 133 ms
- Decisions per second
- 7.5/s
- Input assumed
- 512 tokens
- Returns
- Fixed labels
Best app to run it on the NVIDIA GeForce RTX 5090
On Windows
- A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.
On Linux
- Handy if you already work in Docker.
docker model run hf.co/meta-llama/Llama-Guard-4-12BDownload Llama Guard 4 12B
Original weights · Hugging Face
Full-precision files from Meta, for fine-tuning, vLLM, Transformers.
huggingface.co/meta-llama/Llama-Guard-4-12B (opens in a new tab)
How it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Precision | 29.4 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 13.0 / 15 | |
| Clarity | 12.0 / 15 | |
| Match score | 79.4 / 100 |
Every quantization on the NVIDIA GeForce RTX 5090
| Quant | Memory needed | Available | Time per decision | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 9.9 GB | 32.0 GB | 118 ms | Runs great | 62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q5_K_M | 11.1 GB | 32.0 GB | 125 ms | Runs great | 64Good quality (B) · 64 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q6_K | 12.4 GB | 32.0 GB | 133 ms | Runs great | 65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q8_0 | 15.3 GB | 32.0 GB | 150 ms | Runs well | 66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 26.6 GB | 32.0 GB | 225 ms | Runs well | 66Good quality (B) · 66 of 100: how capable the model is at F16, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Times are for one request with a 512-token input and about 6 tokens written. Batching servers process many requests at once.
Other hardware that runs it
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA RTX PRO 6000 Blackwell
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.