Sulat.com
AI models
$10 off the fastest DeepSeek V4.1 Flash, Kimi K3.1 Pro and GLM 5.3-Flash from Synthetic
Groq logo

Model details

Prompt Guard 2 86M

Llama Prompt Guard 2 is a specialized 86M parameter classifier from Meta's Purple Llama initiative, built to detect and prevent prompt attacks in LLM applications. It identifies malicious inputs like prompt injections and jailbreaks across multiple languages, functioning as a dedicated guardrail rather than a general-purpose language model. The model operates as a classification head that categorizes inputs into risk tiers, and community discussions show users can fine-tune this head to expand from three to six classification categories.

The model prioritizes efficient, real-time protection while keeping latency and compute costs low. Running on Groq's infrastructure, it uses TruePoint Numerics quantization, which selectively reduces precision only in areas that do not affect accuracy—preserving detection quality while delivering faster inference. This combination of specialized safety training and hardware-optimized serving makes Prompt Guard 2 well-suited for production deployments where ongoing input filtering is needed without sacrificing response speed.

Groqmeta-llama/llama-prompt-guard-2-86mllama-prompt-guardbeta

Quick Info

Powered by
Provider
Groq
Model key
meta-llama/llama-prompt-guard-2-86m
Release date
Apr 29, 2025
Last updated
Apr 29, 2025
Input modalities
Output modalities
Capabilities

Cost

Input token cost
$0.04
Output token cost
$0.04

Limits

Output tokens
512 tokens
Context window
512 tokens

Transparent token rates

Compare Prompt Guard 2 86M pricing

Rates are shown per one million tokens. Combined means one million input plus one million output tokens.

Browse this family

Latest news about Prompt Guard 2 86M

Groq

Coverage

An August 2026 technical analysis by ARMO examines Meta's Llama Prompt Guard 2 86M as part of a broader survey of prompt injection detection model architectures. The analysis notes that Prompt Guard 2 ships in 22M and 86M variants built on DeBERTa-xsmall and mDeBERTa-base respectively, both returning a probability scor The ARMO analysis frames encoder classifiers like Prompt Guard 2 86M as the production workhorse architecture for prompt injection detection, running at single-digit millisecond latency on CPU at a small cost per call. It identifies three measurement axes that actually determine production usefulness: recall at the fal

Sulat also reports on AI and tech beyond the catalog.Read news.sulat.com

Videos about Prompt Guard 2 86M

More models around Prompt Guard 2 86M