모델/Meta/Llama Guard 3 8B
Meta

Llama Guard 3 8B

131K

Llama Guard 3 is a Llama-3.1-8B 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 – it generates 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 3 was aligned to safeguard against the MLCommons standardized hazards taxonomy and designed to support Llama 3.1 capabilities. Specifically, it provides content moderation in 8 languages, and was optimized to support safety and security for search and code interpreter tool calls.

OpenRouter 원가 (1M 토큰)

입력$0.020
출력$0.060
합계$0.080

인보이스랩 (월 예상)

입력 0.5M + 출력 0.5M 기준

공급가액65
부가세 (10%)7
결제 금액72
💡 부가세 ₩7 매입공제 가능

모델 정보

기본 정보

모델 IDmeta-llama/llama-guard-3-8b
제공사Meta
컨텍스트 윈도우131,072 토큰
모달리티text->text

지원 기능

🌡️ 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-3-8b",
    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-3-8b',
  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-3-8b",
    "messages": [{"role": "user", "content": "안녕하세요"}]
  }'

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

Llama Guard 3 8B을 세금계산서와 함께

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

API 키 발급받기

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