Meta: Llama Guard 4 12B
Llama Guard 4 12B is a language model from Meta released on Apr 29, 2025. It reads text and images and writes text, with a 164K token context window and up to 164K tokens per reply.
Show moreShow less
It costs $0.18 per million input tokens and $0.18 per million output tokens.
Its weights are open, so you can host it yourself.
4 providers serve it, including Deep Infra, Hugging Face and Kilo Gateway. The lowest input price is $0.144 per million tokens at Kilo Gateway.
- Modalities
- In / out price
- $0.18 / $0.18 per 1M
- Context
- 164K
- Max output
- 164K
- Released
- Apr 29, 2025
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Llama Guard 4 12B pricing
USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.18 / 1M tokens | |
|---|---|---|
| Output | $0.18 / 1M tokens |
Llama Guard 4 12B providers
4 providers serve it, including Deep Infra, Hugging Face and Kilo Gateway. The lowest input price is $0.144 per million tokens at Kilo Gateway. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Deep Infra | $0.18 | $0.18 | n/a | 164K | 164K |
| Hugging Face | $0.18 | $0.18 | n/a | 164K | 164K |
| Kilo Gateway | $0.144 | $0.144 | n/a | 164K | 16K |
| Eden AI | $0.18 | $0.18 | n/a | 164K | 164K |
What Llama Guard 4 12B costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call Llama Guard 4 12B through an OpenAI compatible API.
- Temperature
temperature
Alternatives to Llama Guard 4 12B
Models that take the same inputs, closest in price, cheaper ones first.
- Index 37.9
Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 27 providers.
by xiaomiSep 22, 20261.05M context$0.14/M input tokens$0.28/M output tokens27 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 16 providers.
by googleJul 22, 2025$0.10/M input tokens$0.40/M output tokens16 providers
- Index 5.5
Reads text, images and files. Tool calling, structured output. Served by 10 providers.
by mistralaiDec 2, 2025262K context$0.15/M input tokens$0.15/M output tokens10 providers
- Index 8.1
Reads text and images. Tool calling, structured output. Served by 4 providers.
by meta-llamaApr 5, 2025328K context$0.10/M input tokens$0.30/M output tokens4 providers
- 262K context
Reads text and images. Tool calling, structured output, reasoning.
by deepreinforceAug 18, 2026$0.10/M input tokens$0.40/M output tokens
- 262K context
Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.
by bytedanceApr 28, 2026$0.10/M input tokens$0.40/M output tokens2 providers
More from Meta
- 512 context
Reads text. Served by 3 providers.
by meta-llamaApr 29, 2025$0.03/M input tokens$0.03/M output tokens3 providers
- 512 context
Reads text. Served by 3 providers.
by meta-llamaApr 29, 2025$0.04/M input tokens$0.04/M output tokens3 providers
- Index 10
Reads text and images. Tool calling, structured output. Served by 6 providers.
by meta-llamaApr 5, 2025128K context$0.35/M input tokens$1/M output tokens6 providers
- 131K context
Reads text and images. Tool calling, structured output. Served by 5 providers.
by meta-llamaApr 5, 2025$0.25/M input tokens$1/M output tokens5 providers
- Index 8.1
Reads text and images. Tool calling, structured output. Served by 4 providers.
by meta-llamaApr 5, 2025328K context$0.10/M input tokens$0.30/M output tokens4 providers
- 131K context
Reads text and images. Tool calling, structured output. Served by 6 providers.
by meta-llamaApr 5, 2025$0.10/M input tokens$0.30/M output tokens6 providers
Llama Guard 4 12B questions
How much does the Llama Guard 4 12B API cost?
$0.18 per million input tokens and $0.18 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Llama Guard 4 12B?
163,840 tokens of input, and it can write up to 163,840 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve Llama Guard 4 12B?
4 providers serve it, including Deep Infra, Hugging Face and Kilo Gateway. The lowest input price is $0.144 per million tokens at Kilo Gateway. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does Llama Guard 4 12B support tool calling?
Not through the standard tools parameter. For an agent that calls your APIs, pick a model from the alternatives below that does.
Is Llama Guard 4 12B open source?
Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.
When was Llama Guard 4 12B released?
Apr 29, 2025.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.