Models / Meta/ Llama Guard 4 12B

Llama Guard 4 12B

Meta · released Apr 23, 2025 · meta-llama/Llama-Guard-4-12B

Input: text and images. Output: text.InputOutput
Type
Open weightsCustom licence
Params
12B
Context
1M

about 786K words of context · download allowed, licence restricts use

Our take

Written Nov 2, 2026

Llama 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.

Who should pick it

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.
00

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.

Where these scores come from →

01

Can you run it yourself?

Comfortable fit

A card many people ownFits in memory

GeForce RTX 4090 · 24 GB

Weights at 7.6 / 24 GBest
Spare memory13.7 GB spare
Usable context131K of 1M
Decode speed111 tok/sest

Room to spare. 13.7 GB spare means a 10% error in the size would not change the answer.

One step upFits in memory

GeForce RTX 5090 · 32 GB

Weights at 7.6 / 32 GBest
Spare memory21.7 GB spare
Usable context262K of 1M
Decode speed197 tok/sest

Room to spare. 21.7 GB spare means a 10% error in the size would not change the answer.

On a MacFits in memory

Apple M1 (8-core GPU) · 16 GB

Weights at 7.6 / 16 GBest
Spare memory2.9 GB spare
Usable context33K of 1M
Decode speed7 tok/sest

Room to spare. 2.9 GB spare means a 10% error in the size would not change the answer.

Your hardware
Checking your profile…

Memory use by level

Against a 24 GB card.

What is quantisation? →
recommended
7.6 GBest
Fits in memory
8.9 GBest
Fits in memory
13.3 GBest
Fits in memory
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.
GeForce RTX 3080 10GB10 GB7.6 GBest2KFits in memoryest
Arc B57010 GB7.6 GBest2KFits in memoryest
GeForce RTX 507012 GB7.6 GBest16KFits in memory
GeForce RTX 4070 SUPER12 GB7.6 GBest16KFits in memory
Arc B58012 GB7.6 GBest16KFits in memory
GeForce RTX 3060 12GB12 GB7.6 GBest16KFits in memory
GeForce RTX 508016 GB7.6 GBest66KFits in memory
GeForce RTX 5070 Ti16 GB7.6 GBest66KFits in memory
GeForce RTX 4080 SUPER16 GB7.6 GBest66KFits in memory
GeForce RTX 4070 Ti SUPER16 GB7.6 GBest66KFits in memory
Radeon RX 907016 GB7.6 GBest66KFits in memory
Radeon RX 9070 XT16 GB7.6 GBest66KFits in memory
GeForce RTX 5060 Ti 16GB16 GB7.6 GBest66KFits in memory
GeForce RTX 4060 Ti 16GB16 GB7.6 GBest66KFits in memory
Apple M1 (8-core GPU)16 GB7.6 GBest33KFits in memory
Radeon RX 7900 XT20 GB7.6 GBest131KFits in memory
GeForce RTX 3090 Ti24 GB7.6 GBest131KFits in memory
GeForce RTX 409024 GB7.6 GBest131KFits in memory
GeForce RTX 309024 GB7.6 GBest131KFits in memory
Radeon RX 7900 XTX24 GB7.6 GBest131KFits in memory
Apple M2 (10-core GPU)24 GB7.6 GBest131KFits in memory
Apple M3 (10-core GPU)24 GB7.6 GBest131KFits in memory
GeForce RTX 509032 GB7.6 GBest262KFits in memory
Apple M1 Pro (16-core GPU)32 GB7.6 GBest131KFits in memory
Apple M2 Pro (19-core GPU)32 GB7.6 GBest131KFits in memory
Apple M5 (10-core GPU)32 GB7.6 GBest131KFits in memory
Apple M4 (10-core GPU)32 GB7.6 GBest131KFits in memory
Apple M3 Pro (18-core GPU)36 GB7.6 GBest262KFits in memory
RTX 6000 Ada48 GB7.6 GBest262KFits in memory
L40S48 GB7.6 GBest262KFits in memory
Apple M5 Max (32-core GPU)64 GB7.6 GBest262KFits in memory
Apple M1 Max (32-core GPU)64 GB7.6 GBest262KFits in memory
Apple M4 Max (32-core GPU)64 GB7.6 GBest262KFits in memory
Apple M4 Pro (20-core GPU)64 GB7.6 GBest262KFits in memory
Apple M5 Pro (20-core GPU)64 GB7.6 GBest262KFits in memory
A100 80GB SXM80 GB7.6 GBest262KFits in memory
H100 80GB SXM80 GB7.6 GBest262KFits in memory
RTX PRO 6000 Blackwell96 GB7.6 GBest262KFits in memory
Apple M2 Max (38-core GPU)96 GB7.6 GBest262KFits in memory
Apple M1 Ultra (64-core GPU)128 GB7.6 GBest262KFits in memory
Apple M5 Max (40-core GPU)128 GB7.6 GBest262KFits in memory
Apple M4 Max (40-core GPU)128 GB7.6 GBest262KFits in memory
Apple M3 Max (40-core GPU)128 GB7.6 GBest262KFits in memory
NVIDIA DGX Spark (GB10)128 GB7.6 GBest262KFits in memory
Ryzen AI Max+ 395 (Radeon 8060S)128 GB7.6 GBest262KFits in memory
H200 141GB SXM141 GB7.6 GBest262KFits in memory
B200 (SXM 192GB)192 GB7.6 GBest262KFits in memory
Instinct MI300X192 GB7.6 GBest262KFits in memory
Apple M2 Ultra (76-core GPU)192 GB7.6 GBest262KFits in memory
Apple M3 Ultra (80-core GPU)512 GB7.6 GBest262KFits in memory
GeForce RTX 3060 8GB8 GB7.6 GBestnot calculatedSpills to system RAM
GeForce RTX 4060 8GB8 GB7.6 GBestnot calculatedSpills to system RAM
Radeon RX 66008 GB7.6 GBestnot calculatedSpills to system RAM
Android phone · 16 GB · 2024 or newer8 GB7.6 GBestnot calculatedToo large
Apple M1 (8-core GPU, 8GB unified)8 GB7.6 GBestnot calculatedToo largeest
Apple M2 (8-core GPU, 8GB unified)8 GB7.6 GBestnot calculatedToo largeest
iPhone 17 Pro6.6 GB7.6 GBestnot calculatedToo large
Android phone · 12 GB · 2023 or newer6 GB7.6 GBestnot calculatedToo large
GeForce GTX 1660 SUPER6 GB7.6 GBestnot calculatedToo large
iPhone 15 Pro4.4 GB7.6 GBestnot calculatedToo large
iPhone 164.4 GB7.6 GBestnot calculatedToo large
iPhone 16 Pro4.4 GB7.6 GBestnot calculatedToo large
iPhone 174.4 GB7.6 GBestnot calculatedToo large
Android phone · 8 GB · 2020–20224 GB7.6 GBestnot calculatedToo large
Android phone · 8 GB · 2023 or newer4 GB7.6 GBestnot calculatedToo large
iPhone 143.3 GB7.6 GBestnot calculatedToo large
iPhone 153.3 GB7.6 GBestnot calculatedToo large
Android phone · 6 GB3 GB7.6 GBestnot calculatedToo large
iPhone 132.2 GB7.6 GBestnot calculatedToo large
iPhone SE (3rd gen)2.2 GB7.6 GBestnot calculatedToo large
Android phone · 4 GB2 GB7.6 GBestnot calculatedToo large

Check against your own machine → · Where to rent it hosted →

02

Or rent it from someone else

Prices checked 4 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.

Cheapest published offer

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 →

Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
DeepInfraThrough OpenRouter$0.14 / $0.14164K147K max replynot measuredNoNoConfirmed
OpenRouterOpenRouter's own listing$0.18 / $0.18164Knot measuredUnknownUnknownUnknown
DeepInfraDirect from DeepInfra$0.18 / $0.18164Knot measuredUnknownUnknownUnknown
Through OpenRouter$0.18 / $0.18164K16K max reply35 tok/sNoNoConfirmed
DeepInfraThrough OpenRouter$0.27 / $0.27164K147K max reply38 tok/sNoNoConfirmed

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.

API features per host
ProviderTool callingJSON outputStrict 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.

03

When we formed this view

Recent changes

Jul 26, 2026ListedListed on LLMap
What movedthe day we started tracking it
Apr 23, 2025AnnouncedLlama Guard 4 12B announced by Meta

Each 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.
04

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

Open, with restrictionsCustom licence — review the terms

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

Takes in, gives back
Text and images in, text out
Catalogue slug
meta-llama-llama-guard-4-12b

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us