Moderation and safety

Llama Guard

Filter models that check chatbot requests and replies for dangerous topics against a list of categories. Version 4 also checks images. Russian is not officially supported.

Developer
Meta, USA
First release
Dec 2023
Latest release
Apr 2025
Sizes
1B – 12B
License
Commercial use with conditionsLlama 2, 3.1 and 4 licenses: commercial use allowed with restrictions
Russian
Not supported
Ready-made builds
GGUF, AWQ
Running
Available in OllamaAlso runs without a GPU
Industries
Security, Customer support

What it does

  • Checking user questions to the bot
  • Checking bot replies before sending
  • Reporting which rule category was violated

Where it is used

Chatbots and AI assistantsCustomer supportContent moderation

Hardware requirements

LaptopLaptop or regular PC, up to 8 GB of VRAM — smaller versions
fits
1 GPUOne GPU with 16–80 GB — mid-size versions
fits
ClusterServer with several GPUs — flagship versions
no versions

Versions

  1. Llama Guard 4 12B (текст и картинки)
  2. Llama Guard 3 1B и 11B Vision
  3. Llama Guard 3 8B
  4. Llama Guard 2 8B
  5. Llama Guard 7B

How to run it

With Ollama — the fastest wayInstall Ollama on your computer or server and find the model in its library by name. Good enough to try the model on your own tasks in one evening.Find it in the Ollama library
On your own serverWeights are downloaded from Hugging Face and served with vLLM (load and API) or llama.cpp (modest hardware). The model then runs in a closed network with no per-request fees.Hugging Face
How much hardware you needCalculate the VRAM for the model size, context length and number of concurrent requests.Open the hardware calculator

I can set this up end to end: pick the model size, deploy it on your server and connect it to your systems. Quantization compresses a model so it takes less video memory and runs on more modest hardware. Answers change slightly, so quality is checked on your own examples.

Frequently asked questions

Can Llama Guard be used in a commercial project?

With conditions. License: Llama 2, 3.1 and 4 licenses: commercial use allowed with restrictions. Restrictions vary — region, company revenue, attribution requirements. Have a lawyer check the terms before a commercial launch.

What hardware does Llama Guard need?

At minimum: Laptop or regular PC, up to 8 GB of VRAM — smaller versions. Some versions also run on an ordinary CPU, without a GPU. You can calculate the exact VRAM for your model size and context in the hardware calculator.

Does Llama Guard support Russian?

No. The model card lists its languages and Russian is not among them.

Where can I download Llama Guard and what does it cost?

The Llama Guard weights are open and free to download. You only pay for the hardware it runs on and for the setup. Source links are at the bottom of this page.

How I deploy it for clients

  1. SelectionI pick the model size for your task and hardware and test it on your examples.
  2. DeploymentI deploy it on your server or in a closed network and provide an API.
  3. Fine-tuningI fine-tune it on your data (LoRA) or connect a knowledge base — whichever is cheaper for the task.
  4. IntegrationI connect it to your CRM, ERP, bot, website or team chat and set up monitoring.

Comparisons

Similar models

Source: huggingface.co/meta-llama/Llama-Guard-4-12B. Data checked against the model card on 22 Sep 2026. Have a lawyer review the license before commercial launch.