Llama Guard 4 12B
Chat model by Meta.
meta-llama language model featuring a 163,840-token context window. Engineered for dialogue, instruction following, and versatile text generation.
Context window
Maximum input context length.
163.8K
Maker
Meta
Specifications
Context window, ranked against other chat models
Proportional scale: 0 to 1.05M tokens. Not ranked, no published context window: qwen-plus-2025-09-11, voxtral-small-24b-2507, qwen3.6-plus-2026-04-02.
163.8K
tokens—
chat
Pricing
Rates are read live
Pricing for meta-llama/Llama-Guard-4-12B is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.
Availability
Not enough data yet
We have not collected enough health probes for this model to publish an uptime or latency figure. A percentage from a handful of samples is fabricated precision, so none is shown until the sample count supports one.
How Llama Guard 4 12B is billed
Billed at the provider's list price, with no per-token markup.
- Exact list price
- Tokens settle at the published rate of the model that served your call.
- Cache discounts passed through
- Provider prompt-caching discounts reach your balance with no added fee.
- Cost on every response
- Each response carries the
x-nr-request-costheader, so you can reconcile spend per request.
More from Meta
Start building with meta-llama/Llama-Guard-4-12B
One API key, three steps. Choose your tool to begin.
Get a key
Create API keySet your API key
export NROUTER_API_KEY="<YOUR_API_KEY>"Configure Claude Code
Choose a tool, then copy its setup from the panel.
FAQs
What is Llama Guard 4 12B?
meta-llama language model featuring a 163,840-token context window. Engineered for dialogue, instruction following, and versatile text generation.
How much does Llama Guard 4 12B cost?
Llama Guard 4 12B is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.
What is the context length of Llama Guard 4 12B?
Llama Guard 4 12B supports a 163,840-token context window.
Does Llama Guard 4 12B support tool calling and structured outputs?
No. Llama Guard 4 12B does not support tool calling, so it cannot invoke external tools or functions.
What inputs and outputs does Llama Guard 4 12B support?
Llama Guard 4 12B takes text and images as input and returns text as output.
How do I use Llama Guard 4 12B via nRouter?
Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "deepinfra/meta-llama/Llama-Guard-4-12B". The quick-start panel above has a copy-paste curl command for this model.
When was Llama Guard 4 12B released?
Llama Guard 4 12B was released on October 7, 2026.
Where is the Llama Guard 4 12B documentation?
Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.
What other text models does Meta have?
Other Meta text models on nRouter include Muse Spark 1.1 (nrouter.ai/models/muse-spark-1.1), Muse Spark 1.3 Contributor (nrouter.ai/models/muse-spark-1.3-contributor), Hermes 3 Llama 3.1 70B (nrouter.ai/models/nousresearch-hermes-3-llama-3.1-70b), Muse Glimmer 30B (nrouter.ai/models/meta-models-muse-glimmer-30b).