Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
meta
meta-llama/llama-guard-3-8b

meta-llama/llama-guard-3-8b

131,072 context · $0.02/M input tokens · $0.06/M output tokens

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

가격

사용량 기반 과금

선결제 없이 사용한 만큼만 지불

입력$0.02 / M Tokens
출력$0.06 / M Tokens

모델 사용해 보기

meta-llama/llama-guard-3-8b
온라인
meta
안녕하세요! 도움이 되는 AI 어시스턴트입니다. 무엇을 도와드릴까요?

API 사용법

다음 코드 예시를 사용해 API와 연동하세요:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-guard-3-8b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

모델 소개

Meta-Llama llama-guard-3-8b

meta-llama llama-guard-3-8b


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 131072 context window for long document handling
  • Competitive pricing at $0.0/$0.1 per million tokens

Key Features

  • Context Window: 131072 tokens
  • Max Output: 4096 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMeta-Llama
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window131072 tokens
Max Output4096 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.1

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: meta-llama/llama-guard-3-8b


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-guard-3-8b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "meta-llama/llama-guard-3-8b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: meta-llama/llama-guard-3-8b
  • Provider: Meta-Llama

정보

제공자meta
유형llm

지원 기능

입력
텍스트
출력
텍스트
컨텍스트131,072
최대 출력4,096
Vision-
Function Calling-

API 접근 가이드

Base URLhttps://llm.wavespeed.ai/v1
API 엔드포인트chat/completions
모델 IDmeta-llama/llama-guard-3-8b

Llama Guard 3 8b API

meta-llama/llama-guard-3-8b

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

입력

$0.02 /M

출력

$0.06 /M

컨텍스트

131K

최대 출력

4K

WaveSpeedAI에서 Llama Guard 3 8b 체험

통합 API를 통해 Llama Guard 3 8b 액세스 — OpenAI 호환, 콜드 스타트 없음, 투명한 가격.

Llama Guard 3 8b에 대해 자주 묻는 질문

Llama Guard 3 8b API 비용은 얼마인가요?+

WaveSpeedAI 가격: 입력 토큰 100만 개당 $0.02, 출력 토큰 100만 개당 $0.06. 프롬프트 캐싱과 배치 처리는 별도로 청구되며 긴 반복 작업에서 실질 비용을 줄여 줍니다.

Llama Guard 3 8b의 컨텍스트 윈도우는 얼마나 되나요?+

Llama Guard 3 8b은 요청당 최대 131K 컨텍스트 토큰과 최대 4K 출력 토큰을 지원합니다.

Llama Guard 3 8b은 OpenAI 호환인가요?+

네. WaveSpeedAI는 OpenAI 호환 엔드포인트 https://llm.wavespeed.ai/v1을 통해 Llama Guard 3 8b을 제공합니다. 공식 OpenAI SDK의 base URL을 이 주소로 변경하고 WaveSpeedAI API 키를 사용하면 코드 변경 없이 사용할 수 있습니다.

Llama Guard 3 8b을 어떻게 시작하나요?+

WaveSpeedAI에 로그인하고 Access Keys에서 API 키를 만든 다음, 위에 표시된 모델 ID로 https://llm.wavespeed.ai/v1/chat/completions에 요청을 보내세요. 신규 계정은 Llama Guard 3 8b을 평가할 수 있는 무료 크레딧을 받습니다.

관련 LLM API