corehu

OPEN MODELS / Llama-Guard-4-12B

Can you run Llama-Guard-4-12B on RTX 4090?

Needs 2 GPUs

Not on a single card: Llama-Guard-4-12B needs about 30 GB and one RTX 4090 has 24 GB. It fits on a machine with 2× RTX 4090 (48 GB in total).

A 4-bit quantized build needs about 10 GB and fits on one RTX 4090.

For one request, expect about 51 tokens per second, roughly $8.56 per million generated tokens at this price.

Rent 2× RTX 4090 2× RTX 4090 from $1.58 per hour, billed per second. Ten hours cost about $15.80.
Memory needed
≈ 30 GB
RTX 4090 memory
24 GB
Free memory
18 GB
2× RTX 4090
Price per hour
$1.58
2× RTX 4090

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Cheapest GPUs that fit Llama-Guard-4-12B today

Questions

Can I run Llama-Guard-4-12B on RTX 4090?
Not on a single card: Llama-Guard-4-12B needs about 30 GB and one RTX 4090 has 24 GB. It fits on a machine with 2× RTX 4090 (48 GB in total). A 4-bit quantized build needs about 10 GB and fits on one RTX 4090.
How much does it cost to run Llama-Guard-4-12B on RTX 4090?
2× RTX 4090 from $1.58 per hour, billed per second. Ten hours cost about $15.80.