API des Modells meta-llama/Llama-3.3-70B-Instruct:groq bei Hugging Face Inference, $0.59 / $0.79 pro Million Tokens, Kontext 131.072 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.
Im Katalog testen und bewerten
meta-llama/Llama-3.3-70B-Instruct served by Groq through the Hugging Face router.
- Typ
- Modell
- Anbieter
- Hugging Face Inference
- Hosting
- Groq
- Modell-ID
meta-llama/Llama-3.3-70B-Instruct:groq- Preis
- Kostenpflichtig
- Preis Eingabe / Ausgabe
- $0.59 / $0.79 pro Million Tokens
- Zugang ohne Schlüssel
- Nein
- Schlüsselvariable
HF_TOKEN- Basis-URL (OpenAI-kompatibel)
https://router.huggingface.co/v1- Kontext
- 131.072 Tokens
- Eingaben
- Text
- Funktionen
- Tool-Aufrufe
- Antwortzeit
- Erstes Token 330 ms · 215 Tokens/s · Verfügbarkeit 100 %
- Entwicklerbewertung
- Noch nicht bewertet
- Dokumentation
- https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct
Codebeispiele
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"meta-llama/Llama-3.3-70B-Instruct:groq","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
model="meta-llama/Llama-3.3-70B-Instruct:groq",
messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
model: 'meta-llama/Llama-3.3-70B-Instruct:groq',
messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)
Beliebte Suchen
Häufige Fragen
Ist die API von Llama-3.3-70B-Instruct · Groq kostenlos?
Nein: Llama-3.3-70B-Instruct · Groq ist eine kostenpflichtige API ($0.59 / $0.79 pro Million Tokens).
Wie rufe ich Llama-3.3-70B-Instruct · Groq aus meinem Code auf?
Llama-3.3-70B-Instruct · Groq bietet eine OpenAI-kompatible API unter https://router.huggingface.co/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: meta-llama/Llama-3.3-70B-Instruct:groq. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.
Wie groß ist das Kontextfenster von Llama-3.3-70B-Instruct · Groq?
Llama-3.3-70B-Instruct · Groq verarbeitet bis zu 131.072 Tokens Kontext (Nachricht und Verlauf).
Welche Alternativen gibt es zu Llama-3.3-70B-Instruct · Groq?
Ähnliche APIs im Katalog: Llama-3.2-3B-Instruct · Parasail, Llama-3.1-8B-Instruct · Amazon Bedrock, Llama-3.1-8B-Instruct · CoreWeave, Llama-3.1-8B-Instruct · DeepInfra, Llama-3.1-8B-Instruct · Groq.
Alternativen
- Llama-3.2-3B-Instruct · Parasail — Kostenpflichtig
- Llama-3.1-8B-Instruct · Amazon Bedrock — Kostenpflichtig
- Llama-3.1-8B-Instruct · CoreWeave — Kostenpflichtig
- Llama-3.1-8B-Instruct · DeepInfra — Kostenpflichtig
- Llama-3.1-8B-Instruct · Groq — Kostenpflichtig
- Llama-3.3-70B-Instruct · Cloudflare — Kostenpflichtig
- Llama-3.3-70B-Instruct · CoreWeave — Kostenpflichtig
- Llama-4-Scout-17B-16E-Instruct · DeepInfra — Kostenpflichtig
- Llama-3.1-70B-Instruct · Amazon Bedrock — Kostenpflichtig
- Llama-4-Maverick-17B-128E-Instruct · Parasail — Kostenpflichtig
- Llama-Guard-4-12B · DeepInfra — Kostenpflichtig
- Llama-3.3-70B-Instruct · Amazon Bedrock — Kostenpflichtig