Llama Guard 4 12B
Meta · released Apr 23, 2025 · meta-llama/Llama-Guard-4-12B
- Type
- Open weightsCustom licence
- Params
- 12B
- Context
- 1M
about 786K words of context · download allowed, licence restricts use
Our take
Written Nov 2, 2026Llama Guard 4 12B is a downloadable moderation model from Meta that takes text and images and returns a classification. Nothing here measures how well it classifies, and its custom licence puts conditions on commercial use and redistribution, so it is a candidate to trial rather than a proven pick.
Use it for moderation or safety-classification work where you can judge the output yourself, or when you want to run the model on your own machine. Read the licence first, because it puts conditions on commercial use and redistribution. Skip it if you need a measured quality figure before committing, or if you need a licence that allows commercial use without conditions.
The case for it
- Downloadable at 12 billion parameters, so you can run it yourself rather than depending on a host.
- Text and images go into the same request, so a screenshot does not have to be described in words first.
- Cheap to try through a host: the cheapest listed offer sits well under the priority tier at the same host.
The case against it
- No benchmark scores are supplied, so nothing here says how well it classifies and the only way to judge it is a trial on work you can check yourself.
- The custom licence puts conditions on commercial use and redistribution, so it needs reading before you build on it.
- Released 2025-04-23, so it is not the newest moderation model on the page.
How good is it?
We hold no score for this model.
So we have no figure to show for everyday use, coding, agent work or writing.
Can you run it yourself?
Comfortable fit
GeForce RTX 4090 · 24 GB
Room to spare. 13.7 GB spare means a 10% error in the size would not change the answer.
GeForce RTX 5090 · 32 GB
Room to spare. 21.7 GB spare means a 10% error in the size would not change the answer.
Apple M1 (8-core GPU) · 16 GB
Room to spare. 2.9 GB spare means a 10% error in the size would not change the answer.
Memory use by level
Against a 24 GB card.
What is quantisation? →This model on every device we track71 devicesThe Q4 build most people download, on each device: what the weights come to, how much context the memory leaves, and whether it runs. Smallest device that runs it first.
Check against your own machine → · Where to rent it hosted →
Or rent it from someone else
Prices checked 2 hours ago
DeepInfra sells this model two ways, with a line for each: direct from the host, or through OpenRouter, which can send your requests on to the host.
The only listing at 164K of context — the other 3 in the table below are not like-for-like. One cheaper row there is outside that comparison: a non-standard pricing tier.
- per 1M tokens
- $0.18 in / $0.18 out
- Context served
- 164K
- Throughput
- Not measured
Scroll sideways to see every column →
| Provider | In / out per 1M tokens | Context | Throughput | Trains on prompts | Logs prompts | Zero retention |
|---|---|---|---|---|---|---|
| DeepInfraThrough OpenRouter | $0.14 / $0.14 | 164K147K max reply | not measured | No | No | Confirmed |
| OpenRouterOpenRouter's own listing | $0.18 / $0.18 | 164K | not measured | Unknown | Unknown | Unknown |
| DeepInfraDirect from DeepInfra | $0.18 / $0.18 | 164K | not measured | Unknown | Unknown | Unknown |
| Through OpenRouter | $0.18 / $0.18 | 164K16K max reply | 35 tok/s | No | No | Confirmed |
| DeepInfraThrough OpenRouter | $0.27 / $0.27 | 164K147K max reply | 38 tok/s | No | No | Confirmed |
Across the 4 listings we hold: 3 say they do not train on prompts (1 of them only through OpenRouter), 0 say they do and 1 does not say. 3 appear in the zero-retention registry we check (1 of them only through OpenRouter); the rest are unknown to us.
What each host's API supports
From the parameter list each endpoint publishes. Streaming is omitted: nothing we hold reports it, for any model.
| Provider | Tool calling | JSON output | Strict schema |
|---|---|---|---|
| DeepInfraflex · bf16Through OpenRouter | ✗ | ✗ | ✗ |
| OpenRouterOpenRouter's own listing | ✗ | ✗ | ✗ |
| DeepInfrabf16Direct and through OpenRouter | ✗ | ✗ | ✗ |
| DeepInfrapriority · bf16Through OpenRouter | ✗ | ✗ | ✗ |
Tool calling: 0 of 4 listings say yes, 4 say no. JSON output: 0 of 4 listings say yes, 4 say no. Strict schema: 0 of 4 listings say yes, 4 say no.
When we formed this view
Recent changes
What moved
the day we started tracking itEach date is the day we first saw the change, or the day the maker announced it.
What we do not know about this model yet
- We hold no measured file for it, so all 3 sizes on this page are calculated from the parameter count.
- No independent board has scored it, so we hold no quality figures at all.
- Nothing we hold says whether an endpoint streams, so we do not show it either way.
- 1 of 4 listings does not say whether it trains on prompts, and 1 answers only through OpenRouter, not for its own listing.
- We hold no cached-input rate for any of its listings.
- We hold no batch or off-peak rate for any of its listings.
- We hold a decode speed for it, but no prompt-processing (prefill) figure, so how long the input side of a job takes is unknown to us.
Licence and identifiers
What the licence allowsCustom licence, what it allows commercially, and the identifiers you need to pull this model — its Hugging Face repo, our slug and a machine-readable card.
Licence
Custom licence
This model ships custom license terms that don't map to a known template. We haven't parsed them, so commercial use, redistribution and derivatives are unverified — review the original terms before shipping.
Identifiers
- Hugging Face
- meta-llama/Llama-Guard-4-12B
- Takes in, gives back
- Text and images in, text out
- Catalogue slug
- meta-llama-llama-guard-4-12b