AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Groq

Llama Prompt Guard 2 22M API

Groq
About

Llama Prompt Guard 2 22M is a high-performance LLM available via the Groq API, ideal for scalable text generation and natural language processing. This model delivers cost-effective pricing at $0.03/1M input and $0.03/1M output tokens, open weights architecture. Access Llama Prompt Guard 2 22M via the Groq API with up to 512 output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
No
Tool Use
No
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
512

Tokens

Input Limit
512

Tokens

Max Output
512

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.03
Output
$0.03
Frequently Asked Questions

Llama Prompt Guard 2 22M by Groq costs $0.03 per 1M input tokens and $0.03 per 1M output tokens.

Model Details
ID
meta-llama/llama-prompt-guard-2-22m
Provider
Groq
Family
llama
Release Date
Oct 1, 2024
Knowledge Cutoff
Oct 1, 2024
API Integration
NPM Package
@ai-sdk/groq
Environment Variables
GROQ_API_KEY
Documentation