Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Llama Guard 4 GPU requirements: VRAM and cheapest GPU

Llama Guard 4 has 12B parameters, published in BF16. It accepts up to 10240K tokens of context. At that length the KV cache alone takes about 2,062 GB per request, so long prompts can change which GPU you need. Its licence (llama4) adds terms of its own, so read it before you use the model commercially.

Parameters
12B
Smallest footprint (INT4)
about 9.7 GB
Cheapest GPU per hour (FP16)
$0.42
Type
Vision
  • Parameters 12B
  • Type Vision
  • Task image-text-to-text
  • Max context 10240K
  • Licence llama4
  • Downloads 196.1K
  • Likes 141

Calculating for Llama Guard 4

Precision
Workload
More settings
Serving engine
Requests at once

Llama Guard 4 needs about 29 GB of GPU memory

Inference (vLLM), FP16 / BF16, 8K tokens context, one request at a time.

Where the memory goes

  • Weights 24 GB
  • KV cache 1.6 GB
  • Runtime overhead 3.6 GB
  • Total 29 GB

GPU counts keep 10% of each card free for spikes. Plan extra if you expect long prompts or many users at once.

GPUs that fit, cheapest firstEvery GPU type we track that can hold this setup on one node, ranked by total hourly cost
RankConfigurationPer GPU / hrGPUs neededTotal / hrTotal / month (24/7)Provider
11 × RTX A6000 48GBCheapestAmpere · GDDR6$0.421$0.42$307Lium (opens in a new tab)1x RTX A6000
21 × RTX PRO 6000 96GBBlackwell · GDDR7$0.501$0.50$365RunPod (opens in a new tab)1x RTX PRO 6000 MaxQ
31 × A40 48GBAmpere · GDDR6$0.521$0.52$381Vast.ai (opens in a new tab)1x A40 (median of 5 offers)
42 × RTX 3090 24GBAmpere · GDDR6X$0.272$0.54$391Vast.ai (opens in a new tab)2x RTX 3090 (median of 19 offers)
51 × RTX 6000 Ada 48GBAda Lovelace · GDDR6$0.751$0.75$548Lium (opens in a new tab)1x RTX 6000 Ada Generation
61 × L40S 48GBAda Lovelace · GDDR6$0.801$0.80$585Vast.ai (opens in a new tab)1x L40S (median of 7 offers)
71 × A100 40GBAmpere · HBM2$0.801$0.80$586Vast.ai (opens in a new tab)1x A100 SXM4 (median of 15 offers)
82 × RTX 4090 24GBAda Lovelace · GDDR6X$0.532$1.07$780Vast.ai (opens in a new tab)2x RTX 4090 (median of 22 offers)
91 × A100 80GBAmpere · HBM2e$1.121$1.12$820Vast.ai (opens in a new tab)1x A100 SXM4 (median of 16 offers)
102 × L4 24GBAda Lovelace · GDDR6$0.692$1.38$1,007RunPod (opens in a new tab)2x L4
111 × H100 80GBHopper · HBM3$1.391$1.39$1,015Lium (opens in a new tab)1x H100 80GB HBM3
122 × RTX 5090 32GBBlackwell · GDDR7$0.862$1.71$1,249Vast.ai (opens in a new tab)2x RTX 5090 (median of 36 offers)
131 × GH200 96GBHopper · HBM3$1.991$1.99$1,453Vultr (opens in a new tab)vbm-72c-480gb-gh200-gpu (bare metal)
141 × MI300X 192GBCDNA 3 · HBM3$2.391$2.39$1,745RunPod (opens in a new tab)1x MI300X
151 × H200 141GBHopper · HBM3e$2.901$2.90$2,117Lium (opens in a new tab)1x H200 NVL
161 × H100 NVL 94GBHopper · HBM3$3.191$3.19$2,329RunPod (opens in a new tab)1x H100 NVL
173 × T4 16GBTuring · GDDR6$0.983sold as 4 GPUs; you need 3$3.91$2,856AWS (opens in a new tab)g4dn.12xlarge
181 × B200 180GBBlackwell · HBM3e$5.601$5.60$4,088Lium (opens in a new tab)1x B200
192 × A10 24GBAmpere · GDDR6$1.422sold as 4 GPUs; you need 2$5.67$4,141AWS (opens in a new tab)g5.12xlarge
203 × V100 16GBVolta · HBM2$0.793sold as 8 GPUs; you need 3$6.32$4,614Lambda (opens in a new tab)8x Tesla V100
211 × B300 288GBBlackwell Ultra · HBM3e$8.001$8.00$5,840Lium (opens in a new tab)1x B300 SXM6
221 × GB200 186GBBlackwell · HBM3e$10.501sold as 4 GPUs; you need 1$42.00$30,660CoreWeave (opens in a new tab)GB200 NVL72
Cost per cloudCheapest offer that fits, per provider. Approximate, prices collected Nov 16, 2026.
ProviderInstancePer GPU / hrGPUs neededTotal / hrTotal / month (24/7)
Lium (opens in a new tab)Cheapest1x RTX A6000worldwide marketplace$0.421 × RTX A6000 48GB about $0.42about $307
Vast.ai (opens in a new tab)1x RTX A6000 (median of 5 offers)worldwide marketplace$0.481 × RTX A6000 48GB about $0.48about $353
RunPod (opens in a new tab)1x RTX PRO 6000 MaxQus$0.501 × RTX PRO 6000 96GB about $0.50about $365
Lambda (opens in a new tab)1x A6000us$1.091 × RTX A6000 48GB about $1.09about $796
Nebius (opens in a new tab)1x L40S 48GBeu/us$1.551 × L40S 48GB about $1.55about $1,132
Vultr (opens in a new tab)vcg-l40s-16c-180g-48vramus$1.671 × L40S 48GB about $1.67about $1,220
AWS (opens in a new tab)g6e.xlargeus-east-1$1.861 × L40S 48GB about $1.86about $1,359
Google Cloud (opens in a new tab)g2-standard-24us-central1$1.002 × L4 24GB about $2.00about $1,461
Azure (opens in a new tab)NC24ads_A100_v4eastus$3.671 × A100 80GB about $3.67about $2,681
CoreWeave (opens in a new tab)GH200us$6.501 × GH200 96GB about $6.50about $4,745

Prices collected Nov 16, 2026. Every cost is approximate: on-demand, US dollars, mostly US regions (marketplaces such as Vast.ai and Lium are worldwide).

Memory by precision and workload

With a 8K-token context and one request at a time. LoRA and full fine-tuning start from 16-bit weights and QLoRA from 4-bit, so the other cells are blank.
PrecisionInferenceLoRA fine-tuneQLoRA fine-tuneFull fine-tune
FP16 / BF1629 GB38 GB–218 GB
INT817 GB–––
INT49.7 GB–18 GB–

Cheapest GPU by precision

Inference with an 8K context and one request at a time.

FP16 / BF16

about 29 GB · 8K tokens

The weights as published. Nothing lost, but the largest footprint.

1 × RTX A6000 48GB

Lium (opens in a new tab) · 1x RTX A6000

Per GPU / hr
$0.42
GPUs needed
1
Total / hr
about $0.42
per month, 24/7, approx.
$307

INT8

about 17 GB · 8K tokens

Weights at half the size. Most chat and RAG work shows no visible difference.

1 × RTX 3090 24GB

Lium (opens in a new tab) · 1x RTX 3090 Ti

Per GPU / hr
$0.16
GPUs needed
1
Total / hr
about $0.16
per month, 24/7, approx.
$117

INT4

about 9.7 GB · 8K tokens

Weights at a quarter of the size. Small drops show up first in maths and code.

1 × RTX 3090 24GB

Lium (opens in a new tab) · 1x RTX 3090 Ti

Per GPU / hr
$0.16
GPUs needed
1
Total / hr
about $0.16
per month, 24/7, approx.
$117

Inference vs fine-tuning

  • Inference (FP16)

    1×

    of the memory inference needs

    29 GB

    1 × RTX A6000 48GB · about $0.42

  • LoRA fine-tune

    1.3×

    of the memory inference needs

    38 GB

    1 × RTX A6000 48GB · about $0.42

  • QLoRA fine-tune

    0.6×

    of the memory inference needs

    18 GB

    1 × RTX 3090 24GB · about $0.16

  • Full fine-tune

    7.5×

    of the memory inference needs

    218 GB

    6 × A40 48GB · about $4.72

Serving it at FP16 fits on 1 × RTX A6000 48GB (Lium). LoRA needs 1 × RTX A6000 48GB (Lium), QLoRA 1 × RTX 3090 24GB (Lium) and a full fine-tune 6 × A40 48GB (RunPod). Training keeps activations and optimiser state in memory as well as the weights, which is why it so often needs more GPUs than serving the same model.

Will it run on a Mac or a single RTX 4090?

RTX 4090 (24 GB)

Yes, at INT8 with an 8K context: about 17 GB fits in the card’s 24 GB.

Mac with Apple silicon

Yes, with enough memory. At INT4 it needs about 9.7 GB, so a Mac with 16 GB or more of unified memory (macOS lets the GPU use about three quarters of it). Expect slower generation than on a data-centre GPU.

Run it yourself or pay per token?

Run it yourself

The cheapest setup we found at FP16 is 1 × RTX A6000 48GB on Lium, about $307 a month if it runs all the time. Worth it when traffic is steady or the data must stay on your own machines.

Use a hosted API

Our review of Llama Guard 4 covers where to use it through an API and what that costs. Paying per token usually works out cheaper for light or uneven traffic.

Read our review

Similar models

Open models of a similar size.

Calculate another model

Llama Guard 4: common questions

How much VRAM does Llama Guard 4 need?

About 29 GB at FP16, 17 GB at INT8 and 9.7 GB at INT4, with an 8K context and one request at a time. Longer contexts and more parallel requests add KV cache on top.

What is the cheapest GPU to run Llama Guard 4?

1 × RTX A6000 48GB (about $0.42 per GPU / hour) on Lium, at about $0.42 an hour for FP16 / BF16 inference with an 8K context. Prices collected Nov 16, 2026; they change often.

Can I fine-tune Llama Guard 4 on a single GPU?

Yes, with QLoRA: it needs about 18 GB, which fits one 80 GB GPU. LoRA needs about 38 GB and a full fine-tune about 218 GB.

How are these numbers calculated?

Weights are parameters times bytes per parameter (2 at FP16, 1 at INT8, 0.5 at INT4). The KV cache comes from the model’s layers, KV heads, head size and context length. We add about 10% plus 1 GB for the runtime and fill each GPU to 90%. Prices are on-demand list prices in US regions, collected from each provider’s public pricing.

Can Llama Guard 4 run on a consumer GPU like the RTX 4090?

Yes, at INT8 with an 8K context: about 17 GB fits in the card’s 24 GB.

Does Llama Guard 4 fit on a single H100 80GB?

Yes, at FP16 / BF16, INT8, INT4 with an 8K context.

How many GPUs do I need for Llama Guard 4?

At FP16 with an 8K context: 1 × 80 GB, 1 × 48 GB or 2 × 24 GB GPUs. At INT4 you need about a quarter of the memory for the weights.

How much VRAM does Llama Guard 4 need at INT8?

About 17 GB: 13 GB for the weights, 1.6 GB for an 8K KV cache and 2.4 GB of runtime overhead.

How much does it cost to run Llama Guard 4 24/7 for a month?

About $307 on the cheapest setup we found (1 × RTX A6000 48GB (about $0.42 per GPU / hour), $0.42 an hour for 730 hours). The cheapest on AWS, Google Cloud or Azure is about $1,359 a month.

FP16 vs INT8 vs INT4: which should I use?

FP16 keeps full quality and needs the most memory (about 29 GB here). INT8 halves the weights with little loss for most chat work. INT4 (AWQ, GPTQ or GGUF Q4) cuts them to a quarter, about 9.7 GB in total, with a small drop in quality that shows most in maths and code.

Can Llama Guard 4 run on a Mac?

Yes, with enough memory. At INT4 it needs about 9.7 GB, so a Mac with 16 GB or more of unified memory (macOS lets the GPU use about three quarters of it). Expect slower generation than on a data-centre GPU.

vLLM or llama.cpp?

vLLM is built for serving many requests at once on NVIDIA and AMD GPUs and reserves most of the GPU memory for KV cache. llama.cpp runs GGUF files on almost anything, including Macs and CPUs, and suits one user or a small team. Memory needs are similar for the same precision.

Prices collected Nov 16, 2026. Every cost is approximate: on-demand, US dollars, mostly US regions (marketplaces such as Vast.ai and Lium are worldwide).

How we calculate

  • Weights. Parameters times bytes per parameter: 2 at FP16, 1 at INT8, 0.5 at INT4, plus about 5% for the quantisation scales at INT8 and INT4.
  • KV cache. 2 × layers × KV heads × head size × context × requests × 2 bytes, from the model’s config.json. Where a setting is missing we estimate it and say so.
  • Overhead. About 10% plus 1 GB for the runtime, in line with what vLLM reserves.
  • Fine-tuning. LoRA keeps 16-bit weights and adds a small adapter, its optimiser and activations. QLoRA does the same over 4-bit weights. A full fine-tune needs about 16 bytes per parameter with mixed-precision Adam (weights, gradients and optimiser states), plus activations.
  • GPUs. We fill each GPU to 90% of its memory and stop at 8 per node. Costs are on-demand list prices in US regions; marketplace clouds show the median offer.