Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Llama Guard 4 12B

meta/llama-guard-4-12b

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...

Spezifikationen

Eingabepreis
$0.18USD / 1 Mio. Tokens
Ausgabepreis
$0.18USD / 1 Mio. Tokens
Kontextfenster
163.8K
Maximale Ausgabe
16.4K
Modalities
Text, BildText
Veröffentlicht
30. Apr. 2025
Funktionen
  • Chat: Unterstützt
  • Vision: Unterstützt
  • Reasoning: Nicht unterstützt
  • Strukturierte Ausgabe: Nicht unterstützt
  • Function Calling: Nicht unterstützt
  • Audioeingabe: Nicht unterstützt

Prices in USD / 1 Mio. Tokens

Verfügbar

Schnellstart

import os

import requests

headers = {"Authorization": f"Bearer {os.environ['SANDBASE_API_KEY']}"}
payload = {
    "model": "meta/llama-guard-4-12b",
    "messages": [
        {
            "role": "user",
            "content": "Hello",
        },
    ],
    "max_tokens": 2048,
}
response = requests.post(
    "https://api.sandbase.ai/v1/chat/completions",
    headers=headers,
    json=payload,
)
response.raise_for_status()
print(response.json())

Fragen

FAQ

Wie rufe ich Meta Llama Guard 4 12B über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "meta/llama-guard-4-12b" an Chat Completions API (/v1/chat/completions) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Was kostet Meta Llama Guard 4 12B?

$0.18 pro 1 Mio. Input-Tokens und $0.18 pro 1 Mio. Output-Tokens, pro Anfrage von Ihrem SandBase-Guthaben abgerechnet. Rabatte werden, falls verfügbar, in den Preisen auf dieser Seite angezeigt.

Wie groß ist das Kontextfenster von Meta Llama Guard 4 12B?

163.8K Tokens Kontext, mit bis zu 16.4K Output-Tokens pro Antwort.

Welche Funktionen unterstützt Meta Llama Guard 4 12B?

Meta Llama Guard 4 12B unterstützt Vision (Bildeingabe). Die vollständige Liste finden Sie oben unter „Spezifikationen“.

Benötige ich ein separates Meta-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Meta Llama Guard 4 12B und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Meta registrieren.