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 Sep 1, 2026

Llama Guard 4 12B is a safety-classifier model from Meta that reads text and images to judge whether content is safe. Its one-million-token request limit is unusually large for this model class, though it carries a restricted licence and no measured quality scores yet.

Who should pick it

Use this for long-context safety filtering on documents or extended conversations, or for multimodal checks on image-plus-text inputs. Skip it if you need a permissive licence for redistribution, if you require benchmarked accuracy data, or if throughput consistency matters and you cannot test hosts yourself.

The case for it

  • One-million-token request limit — among the longest we hold for a safety classifier.
  • Handles both text and image inputs for multimodal safety checks.

The case against it

  • Custom restricted licence with narrower terms than Apache 2.0; check redistribution and modification rights before deploying.
  • No benchmark scores recorded, so accuracy is unverified in our data.
  • Throughput is modest or unverified on half the tracked offers.
00

How good is it?

We hold no score for this model.

So there is no figure here for everyday use, coding, agent work or writing. That is a gap in our data, not a low score.

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 2 hours ago — each listing carries its own date.

Cheapest published offer

Cheapest of 2 live listings.

per 1M tokens
$0.18 in / $0.18 out
Context served
164K
Throughput
Not measured
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
OpenRouterOpenRouter's own listing$0.18 / $0.18checked 2 hours ago164Knot measuredUnknownUnknownUnknown
DeepInfrabf16Direct and through OpenRouter$0.18 / $0.18checked 2 hours ago164K16K max reply through OpenRouter10 tok/sthrough OpenRouterDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterConfirmed

Across the 2 listings we hold: 1 says it does not train on prompts (only through OpenRouter), 0 say they do and 1 does not say. 1 appears in the zero-retention registry we check (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
OpenRouterOpenRouter's own listing✗✗✗
DeepInfrabf16Direct and through OpenRouter✗✗✗

Tool calling: 0 of 2 listings say yes, 2 say no. JSON output: 0 of 2 listings say yes, 2 say no. Strict schema: 0 of 2 listings say yes, 2 say no.

03

When we formed this view

Recent changes

Jul 26, 2026ListedListed on LLMap
What movedfirst indexed by our pipeline
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 2 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