Vision + text · served with vLLM · ↓ 169.2K downloads a month · View on Hugging Face
meta-llama/Llama-Guard-4-12B needs about 30.7 GB of GPU memory for conversations of up to 8,192 tokens. It runs on 4x RTX 3060 from $0.34/h right now; best value: RTX 5090 at $0.61/h.
The model's publisher asks users to accept its licence (other). You accept it when you deploy.
Weights
24 GB
GPU memory needed
about 30.7 GB
Conversation length
8,192 tokens
Model allows
10,485,760 tokens
Memory · disk
20 GB · 67 GB
Architecture
Llama4ForConditionalGeneration
Licence
other
Hardware and deploy
Name and access:Llama-Guard-4-12B · with a key
$0.61/h from your balance while it runs, billed by the hour; stop it from its page. GridPup rents the machine, which downloads the model from Hugging Face (usually ready in 10 to 15 minutes), and gives you an https address, keys and a Playground.
Questions
How much GPU memory does Llama-Guard-4-12B need?
About 30.7 GB for conversations of up to 8,192 tokens: 24 GB of weights, the cache for one full-length conversation and the runtime's own memory.
What is the cheapest GPU to run Llama-Guard-4-12B?
Right now 4x RTX 3060 at $0.34 an hour; RTX 5090 at $0.61 an hour is the best value for its speed. Prices are live offers from GPU clouds, checked every 15 minutes.
Can Llama-Guard-4-12B run on an RTX 4090?
Not on one: it needs about 30.7 GB and an RTX 4090 has 24 GB. An RTX 5090 (32 GB) is enough.
How do I deploy Llama-Guard-4-12B as an API?
Pick a machine on its GridPup page and press Deploy: GridPup rents the GPU, downloads the model from Hugging Face and serves it at an https address with keys and OpenAI's chat API, billed by the hour.
Prices are per hour for the whole machine and its disk, right now. Speed is Vast's DLPerf score of the machine, relative to the cheapest. Best value: the most speed per dollar. Only machines with a Vast reliability of 90% or more that download at 200 Mbit/s or more are offered: the machine fetches the model itself.