Llama Prompt Guard 2 22M pricing & specs

Meta · released 2025-04-29 · ● verified 2026-11-21 · beta

input / 1M$0.03via Groq
output / 1M$0.03via Groq
context512
max output512

Llama Prompt Guard 2 22M is a Meta model released on 2025-04-29. At $0.03 per million input tokens and $0.03 per million output tokens, its blended price of $0.03 per 1M tokens is lower than 98% of the 186 models we track. It offers text input, a 512-token context window. Its weights are open, and it is available from 1 tracked hosting providers.

// price history ($/1M tokens)

$0.0345
input $/1Moutput $/1M2026-10-21 → 2026-11-21

// cheaper or similar alternatives

modelinoutctxvs Llama Prompt Guard 2 22M
Llama 3.2 1B Instruct (instruct)$0.02$0.02131K−33.3%
Llama-3.1-8B-Instruct$0.02$0.0516.4K−8.3%
DeepSeek OCR 2$0.03$0.038.2K0%
Gemma 4 E2B IT$0.04$0.08131.1K+66.7%
Qwen3.7 Flash$0.03$0.131M+83.3%

// price by host

hostin $/1Mout $/1M
Groq$0.03$0.03

// embed this price badge

Show the live price of Llama Prompt Guard 2 22M in your README or docs (updated daily):

Llama Prompt Guard 2 22M API price badge
[![Llama Prompt Guard 2 22M price](https://aisignals.dev/badge/meta/llama-prompt-guard-2-22m.svg)](https://aisignals.dev/models/meta/llama-prompt-guard-2-22m)

// faq

How much does Llama Prompt Guard 2 22M cost?

Llama Prompt Guard 2 22M costs $0.03 per million input tokens and $0.03 per million output tokens (cheapest tracked host: Groq). At 50M input and 10M output tokens per month that is about $1.80.

What is the context window of Llama Prompt Guard 2 22M?

512 tokens, with up to 512 output tokens per request.

What are cheaper alternatives to Llama Prompt Guard 2 22M?

Llama 3.2 1B Instruct (instruct) ($0.02 in / $0.02 out), Llama-3.1-8B-Instruct ($0.02 in / $0.05 out) offer the same input types and capabilities for less.

Is Llama Prompt Guard 2 22M open weights?

Yes. It is available from 1 tracked hosts; the cheapest is Groq at $0.03 input and $0.03 output per million tokens.

// spec sheet

input / 1M
$0.03
output / 1M
$0.03
blended (3:1)
$0.03
context
512
max output
512
input types
text
reasoning
no
tool calling
no
structured output
no
open weights
yes
knowledge cutoff
n/a
price source
Groq

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Llama 3.2 1B Instruct (instruct)$0.02$0.02$1.20
Llama-3.1-8B-Instruct$0.02$0.05$1.50
DeepSeek OCR 2$0.03$0.03$1.80
Llama Prompt Guard 2 22M$0.03$0.03$1.80

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.