Skip to content
English

Switch theme

// Meta

Llama Guard 4 12B

A Meta model. 1 prices across 1 channels side by side, each with its source and check date – plus specs, licence, speed and benchmarks.

Official in/out per 1M
—
Lowest (DeepInfra)
$0.18 / $0.18
Context
164K
Prices listed
1

Prices checked 2026-10-22Official sources linked on every rowNo estimatesCheapest LLM APIs →

01Specs at a glance

Official values first; gaps filled from OpenRouter’s API where the vendor page is silent.

VendorMeta
Context window164K (163,840 tokens)
Max output16K
InputImage · Text
OutputText
Tool calling / JSONNo / No
Weights & licenceOpen weights · llama4 (custom) · Hugging Face gated – request access
Parameters12B (from weight files)
ReleasedApr 30, 2025
Model IDsmeta-llama/llama-guard-4-12b

02Prices on 1 channels

Per 1M tokens, in the currency each source publishes (1 USD = 6.7 CNY for the blended column). Sorted: official first, then cheapest.

ChannelSourceInputOutputCache hitBlended $ContextNotes
DeepInfra · bf16
Via OpenRouter / provider listed there
OpenRouter 10-22 $0.18 $0.18 — 0.18 164K DeepInfra price as listed on OpenRouter (pass-through; quantization=bf16; discount field=0); not checked against DeepInfra's own page

“Official” = vendor pricing page; “Platform” = the platform’s own pricing page; “OpenRouter” = price listed on OpenRouter, not checked on the platform’s site. Click a source tag to open the original page.

03Where you can use it

Derived only from the price sources above. Country restrictions are set by each vendor – check their terms before you sign up.

04Performance

Speed and AA index from Artificial Analysis public leaderboards (not our own tests); benchmark scores from our benchmark library, best result per benchmark.

05Price changes we recorded

All price changes →

From our daily re-checks of the sources above.

No price change recorded since we started tracking (2026-10-10).

06More from Meta

FAQ

How much does the Llama Guard 4 12B API cost?

There is no official pay-as-you-go price in our data. The lowest listed price is $0.18 / $0.18 on DeepInfra.

What is the context window of Llama Guard 4 12B?

164K tokens of context, up to 16K output tokens. Platforms may cap it lower – see the table.

Is Llama Guard 4 12B open source?

Yes, the weights are published on Hugging Face (meta-llama/Llama-Guard-4-12B). Licence: llama4 (custom).

Data updated: Model API prices · HF model metadata(UTC+8)