모델/Meta/Meta: Llama Guard 4 12B
Meta👁️ Vision

Meta: Llama Guard 4 12B

164K

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 inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM—generating text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 4 was aligned to safeguard against the standardized MLCommons hazards taxonomy and designed to support multimodal Llama 4 capabilities. Specifically, it combines features from previous Llama Guard models, providing content moderation for English and multiple supported languages, along with enhanced capabilities to handle mixed text-and-image prompts, including multiple images. Additionally, Llama Guard 4 is integrated into the Llama Moderations API, extending robust safety classification to text and images.

OpenRouter 원가 (1M 토큰)

입력$0.180
출력$0.180
합계$0.360

인보이스랩 (월 예상)

입력 0.5M + 출력 0.5M 기준

공급가액296
부가세 (10%)30
결제 금액326
💡 부가세 ₩30 매입공제 가능

모델 정보

기본 정보

모델 IDmeta-llama/llama-guard-4-12b
제공사Meta
컨텍스트 윈도우163,840 토큰
모달리티text+image->text

지원 기능

👁️ 이미지 분석📄 JSON Mode🌡️ Temperature📏 Max Tokens

API 사용법

Python (OpenAI SDK 호환)

from openai import OpenAI

client = OpenAI(
    api_key="your-dream-api-key",
    base_url="https://api.invoicedream.co.kr/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-guard-4-12b",
    messages=[
        {"role": "user", "content": "안녕하세요"}
    ]
)

print(response.choices[0].message.content)

Node.js / TypeScript

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'your-dream-api-key',
  baseURL: 'https://api.invoicedream.co.kr/v1'
});

const response = await client.chat.completions.create({
  model: 'meta-llama/llama-guard-4-12b',
  messages: [{ role: 'user', content: '안녕하세요' }]
});

console.log(response.choices[0].message.content);

cURL

curl https://api.invoicedream.co.kr/v1/chat/completions \
  -H "Authorization: Bearer your-dream-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/llama-guard-4-12b",
    "messages": [{"role": "user", "content": "안녕하세요"}]
  }'

💡 Tip: OpenAI SDK를 그대로 사용할 수 있습니다.base_url만 변경하면 됩니다!

Meta: Llama Guard 4 12B을 세금계산서와 함께

인보이스랩에서 Meta: Llama Guard 4 12B API를 사용하면
계좌이체로 결제하고 전자세금계산서를 받을 수 있습니다.

API 키 발급받기

5분 안에 가입하고 바로 시작하세요. 첫 달 무료 크레딧을 드립니다.