LLM Reference

Llama Prompt Guard 2 22M

Released
2025-04-29
Last refreshed
2026-04-19
Status
Researched 74d ago
Open weightsCommercial use: conditionalClassificationJSON / Tool use

Llama Prompt Guard 2 22M is worth evaluating for classification and json / tool use when its provider route and context window match the workload.

Use it for

  • Teams evaluating classification and json / tool use
  • Workloads that can use a 512 context window
  • Buyers comparing 1 tracked provider route

Do not use it for

  • Vision or document-understanding workloads
Specifications
Released
2025-04-29
Context
512
Parameters
22M
Architecture
Decoder Only
Specialization
safety
Openness
Open weights
License
Llama 3 CommunityCommercial use: conditional
Training
Fine-tuned
Created by

Large-scale open-source AI for social technologies.

Menlo Park, California, United States
Founded 2013
Website
Pricing
Output / 1M
$0.030
Input / 1M
$0.030

Cheapest of 1 route · GroqCloud

About

Lightweight prompt injection and jailbreak detection classifier from Meta. 22M parameter variant optimized for low-latency content moderation with 512 token context.

Llama Prompt Guard 2 22M is an open-weight model in the Prompt Guard family. The structured metadata tracks a 512-token context window and structured outputs. This page tracks provider routes through GroqCloud, with the cheapest tracked route listed at $0.03 input and $0.03 output per 1M tokens. No headline benchmark score is tracked for Llama Prompt Guard 2 22M yet.

Top use-case fit

Classification

Included by capability and metadata signals in the decision map.

JSON / Tool use

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare API pricing across 1 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
GroqCloud$0.030$0.030
Serverless

Capabilities

Structured Outputs

Benchmark peer barsfor Classification

No task-mapped benchmark peers are available for this model yet.

Migration checks

No linked migration route is available for this model yet.

Compare Llama Prompt Guard 2 22M with other models

Frequently asked questions

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

Llama Prompt Guard 2 22M has a context window of 512 tokens.

How much does Llama Prompt Guard 2 22M cost?

Llama Prompt Guard 2 22M is available at $0.03/1M input tokens through GroqCloud.

When was Llama Prompt Guard 2 22M released?

Llama Prompt Guard 2 22M was released on 2025-04-29.

Which providers offer Llama Prompt Guard 2 22M?

Llama Prompt Guard 2 22M is available from 1 provider: GroqCloud.