LLM Reference
GroqCloud

Llama Prompt Guard 2 22M on GroqCloud

Prompt Guard · AI at Meta

ServerlessOpen Source

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™).

Input / 1M
$0.030
Output / 1M
$0.030
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: llama-prompt-guard-2-22m
Model ID
llama-prompt-guard-2-22m

Request example

Curated snippets for this provider are not sourced yet. Use GroqCloud documentation with model ID llama-prompt-guard-2-22m.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Pricing

TypePrice (per 1M)
Input tokens$0.03
Output tokens$0.03

Capabilities

Structured Outputs

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.

Get Started

Model Specs

Released2025-04-29
Parameters22M
Context512
ArchitectureDecoder Only

Related Models on GroqCloud