Llama Prompt Guard 2 86M

Meta
Llama Prompt Guard 2 86M launch post cover
Context
512tokens
Released
1y ago
Size
86Mparameters

Meta's Llama Prompt Guard 2 86M is an update to the company's Llama Prompt Guard classifier model, built to support the Llama 4 line of models and serve as a drop-in replacement for Prompt Guard. Meta says it improves on the earlier classifier's performance in detecting jailbreak and prompt injection attacks. The BERT-based classifier labels input text as benign or malicious and is trained on both English and non-English attacks to help developers reduce prompt-attack risks in LLM applications.

How it compares

Size class

Tiny86MAn open-weight model under 5 billion parameters, small enough for phones, laptops and edge devices.

Vs. your stack

Add the models you use to see how this one compares.

Sign in
Vs. what you use
Is Llama Prompt Guard 2 86M better than what you use?BetterSameWorse

No verdicts yet

Discussion

Sign in to join the discussion

No comments yet

Be the first to share your thoughts.

Additional source evidence
Source model
meta/llama-prompt-guard-2-86m
Source family
llama
Last updated
2025-04-29
Model context
512
Model output limit
512
Open weights
Yes
File attachments
No
Reasoning
No
Tool calling
No
Temperature control
No

Downloadable weights

Complete source record (JSON)
{
  "id": "meta/llama-prompt-guard-2-86m",
  "name": "Llama Prompt Guard 2 86M",
  "description": "86M-parameter (mDeBERTa-base) multilingual classifier that detects prompt injection and jailbreak attempts",
  "family": "llama",
  "last_updated": "2025-04-29",
  "attachment": false,
  "reasoning": false,
  "tool_call": false,
  "temperature": false,
  "modalities": {
    "input": [
      "text"
    ],
    "output": [
      "text"
    ]
  },
  "limit": {
    "context": 512,
    "output": 512
  },
  "release_date": "2025-04-29",
  "open_weights": true,
  "license": "Llama 4 Community License",
  "weights": [
    {
      "label": "Hugging Face",
      "url": "https://huggingface.co/meta-llama/Llama-Prompt-Guard-2-86M"
    }
  ]
}

Frequently asked questions

Running locally

Run Llama Prompt Guard 2 86M locally

Privacy and data

Capabilities and specs

Generated from Vertical Tabs data, updated November 10, 2026.

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.