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

Preise

Pay-per-Use

Keine Vorabkosten, zahlen Sie nur, was Sie nutzen

Eingabe$0.02 / M Tokens
Ausgabe$0.06 / M Tokens

Modell ausprobieren

meta-llama/llama-guard-3-8b
Online
meta
Hallo! Ich bin ein hilfreicher KI-Assistent. Womit kann ich helfen?

API-Nutzung

Verwenden Sie die folgenden Codebeispiele zur Integration mit unserer 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)

Modelleinführung

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

Info

Anbietermeta
Typllm

Unterstützte Funktionen

Eingabe
Text
Ausgabe
Text
Kontext131,072
Max. Ausgabe4,096
Vision-
Function Calling-

API-Zugriffsanleitung

Base URLhttps://llm.wavespeed.ai/v1
API-Endpunktchat/completions
Modell-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)...

Eingabe

$0.02 /M

Ausgabe

$0.06 /M

Kontext

131K

Max. Ausgabe

4K

Llama Guard 3 8b auf WaveSpeedAI testen

Zugriff auf Llama Guard 3 8b über unsere einheitliche API — OpenAI-kompatibel, keine Kaltstarts, transparente Preise.

Häufige Fragen zu Llama Guard 3 8b

Wie viel kostet die Llama Guard 3 8b-API?+

Preise auf WaveSpeedAI: $0.02 pro Million Input-Tokens und $0.06 pro Million Output-Tokens. Prompt-Caching und Batch-Verarbeitung werden separat berechnet und reduzieren die effektiven Kosten bei langen, sich wiederholenden Workloads.

Wie groß ist das Kontextfenster von Llama Guard 3 8b?+

Llama Guard 3 8b unterstützt bis zu 131K Kontext-Tokens und bis zu 4K Output-Tokens pro Anfrage.

Ist Llama Guard 3 8b OpenAI-kompatibel?+

Ja. WaveSpeedAI stellt Llama Guard 3 8b über einen OpenAI-kompatiblen Endpunkt unter https://llm.wavespeed.ai/v1 bereit. Richten Sie das offizielle OpenAI SDK mit Ihrem WaveSpeedAI-API-Schlüssel auf diese Base-URL — keine weiteren Codeänderungen erforderlich.

Wie starte ich mit Llama Guard 3 8b?+

Bei WaveSpeedAI anmelden, in Access Keys einen API-Schlüssel erstellen und eine Anfrage an https://llm.wavespeed.ai/v1/chat/completions mit der oben angezeigten Model-ID senden. Neue Konten erhalten kostenlose Credits, um Llama Guard 3 8b zu testen.

Verwandte LLM-APIs