Skip to content

Meta: Llama Guard 4 12B

Meta
meta-llama/llama-guard-4-12b

About this model

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "meta-llama/llama-guard-4-12b",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.598 TND

per 1M tokens

Output tokens

0.598 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 0.897 TND.

Specifications

Provider
Meta
Context window
163,840 tokens
Input modality
Text, Image
Added
Apr 30, 2025
Supported parameters
frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyseedstop