Last refreshed 2026-04-19. Next refresh: weekly.
Why use Llama Prompt Guard 2 22M on GroqCloud?
GroqCloud offers Llama Prompt Guard 2 22M with pay-as-you-go pricing at $0.03/1M input tokens. Groq is a company specializing in AI inference technology, particularly with their flagship product, the Language Processing Unit (LPU™).
Setup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: llama-prompt-guard-2-22mllama-prompt-guard-2-22mRequest example
llama-prompt-guard-2-22m.Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.03 |
| Output tokens | $0.03 |
Capabilities
About Llama Prompt Guard 2 22M
Lightweight prompt injection and jailbreak detection classifier from Meta. 22M parameter variant optimized for low-latency content moderation with 512 token context.
FAQ
What does Llama Prompt Guard 2 22M cost on GroqCloud?
On GroqCloud, Llama Prompt Guard 2 22M costs $0.03 per 1M input tokens and $0.03 per 1M output tokens.
What is the context window for Llama Prompt Guard 2 22M on GroqCloud?
Llama Prompt Guard 2 22M supports a 512 token context window on GroqCloud.
Who created Llama Prompt Guard 2 22M?
Llama Prompt Guard 2 22M was created by AI at Meta as part of the Prompt Guard model family.
Is Llama Prompt Guard 2 22M open source?
Llama Prompt Guard 2 22M is open source according to the seed data.