Using Llama Prompt Guard 2 86M on GroqCloud

Implementation guide · Prompt Guard · AI at Meta

ServerlessOpen Weights

GroqCloud exposes Llama Prompt Guard 2 86M through model ID meta-llama/llama-prompt-guard-2-86m. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-07-09. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at GroqCloud and generate an API key.
  2. 2
    Use the GroqCloud SDK or REST API to call meta-llama/llama-prompt-guard-2-86m — see the documentation for request format.
  3. 3
    You'll be billed $0.04/1M input, $0.04/1M output tokens. See full pricing.

Code Examples

See GroqCloud documentation for integration details.

Pricing on GroqCloud

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

Capabilities

Structured Outputs

About Llama Prompt Guard 2 86M

Prompt injection and jailbreak detection classifier from Meta. 86M parameter variant providing higher accuracy content moderation with 512 token context.

Model Specs

Released2025-04-29
Parameters86M
Context512
ArchitectureDecoder Only

Provider

GroqCloud

Groq

Mountain View, California, United States