G

Groq: Llama Guard 4 12B

Groq
Streaming Vision
128K
Context
$0.2000
Input /1M
$0.2000
Output /1M
N/A
Max Output

Groq: Llama Guard 4 12B

Model Overview

Property Value
Model ID groq/llama-guard-4-12b-128k
Provider Groq
Category Moderation
Released TBD
Status Active
Flagship No

Description

Llama Guard 4 12B is a content moderation model for safety and policy compliance checking. Developed by Groq, this model is optimized for its specific use case category.

Specifications

Property Value
Context Window 128000 tokens
Max Output Tokens N/A
Knowledge Cutoff N/A
Modalities Text
Speed Tier N/A
Quality Tier N/A

Pricing

Type Price
Input $0.20 per 1M tokens
Output $0.20 per 1M tokens

Capabilities

Capability Supported
Vision/Image Input No
Tool/Function Calling No
JSON Mode No
Streaming Yes
System Prompt Yes

Use Cases

  • Content moderation and safety
  • Toxicity detection
  • Hate speech identification
  • Policy violation detection
  • Content filtering and compliance

Strengths

  • Very large context window for long-form content

Limitations

  • No vision or image input capability
  • Limited tool/function calling support
  • No guaranteed JSON output mode
  • Specialized model not suitable for general chat

Integration with LangMart

Gateway Support:

  • Type 1 (Full Platform): Yes
  • Type 2 (Cloud Gateway): Yes
  • Type 3 (Self-hosted): Yes

API Endpoint:

curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "groq/llama-guard-4-12b-128k",
    "messages": [{"role": "user", "content": "Hello"}],
    "max_tokens": 1024
  }'

OpenAI Compatibility: Full compatibility with OpenAI API format.

Models in this category and from this provider are available in the LangMart marketplace.

Additional Resources


Data Source: LangMart Provider Models Database Last Updated: 2026-01-02