Skip to main content

Llama Guard 4 12B: API pricing, providers and specs

Moderationby MetaOpen weights · with termsReleased Apr 23, 2025

Llama Guard 4 12B is a moderation model by Meta. 6 providers serve it, from $0.18 to $0.21 /1M; the lowest price is at Hugging Face.

Lowest price$0.18/1Mat Hugging Face
Maker's price—The maker does not sell it
Providers6
Context164KMax output 16K

How Llama Guard 4 12B compares

Against the 10 moderation models on the site priced the same way.

  • Mid-priced: its lowest price is $0.18 /1M against a median of $0.18; 45% of comparable models cost less.
  • 6 providers serve it; 91% of comparable models have fewer.
  • Its weights are open under the llama4 license: commercial use under the maker's terms.

Llama Guard 4 12B prices by provider

Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.

ProviderInputOutputPrompt cachingContext
NvidiaFree/1MFree/1M——
Hugging Face$0.18/1MFrom$0.18/1M——
Deep Infra$0.18/1MFrom$0.18/1M——
OpenRouter$0.18/1MFrom$0.18/1M—164K
Replicate$0.20/1M$0.20/1M——
Helicone$0.21/1MFrom$0.21/1M——
Output price by provider, /1M, cheapest first
  1. Hugging FaceFrom$0.18
  2. Deep InfraFrom$0.18
  3. OpenRouterFrom$0.18
  4. Replicate$0.20
  5. HeliconeFrom$0.21
Prices in US dollars, updated daily from each provider. Prices last checked Oct 26, 2026.

Specs

Type
Moderation
Maker
Meta
Inputs
Text, Image
Outputs
Text
Context
164K≈ 250 pages of text
Max output
16K
Capabilities
Vision
Released
Apr 23, 2025
License
llama4commercial use under the maker's terms
Open weights
Yes, downloadable
Parameters
12B
Get the weightsHugging Face42K downloads in 30 daysAccept the terms on Hugging Face before downloading

Alternatives to Llama Guard 4 12B

Same kind of model from other makers, at a similar price.

ModelLowest priceContextArenaProviders
Llama Guard 4 12Bthis model$0.18/1M164K—6
Nemotron 3.5 Content Safety$0.20/1M131K—3
Nemotron-Content-Safety-3.5$0.20/1M——1
GPT OSS Safeguard 20B$0.20/1M131K—5
OpenAI omni-moderation$0.16/1M——4
OpenAI text-moderation (legacy)$0.16/1M——1

More from Meta

All 44 Meta models

Llama Guard 4 12B FAQ







Can't find what you're looking for? Contact us