API du modèle meta-llama/Llama-3.3-70B-Instruct:deepinfra chez Hugging Face Inference, $0.1 / $0.32 par million de tokens, contexte 131 072 tokens. Exemples curl, Python et JavaScript, test en direct.
Tester et noter dans le catalogue
meta-llama/Llama-3.3-70B-Instruct served by DeepInfra through the Hugging Face router (fp8 quantization).
- Type
- Modèle
- Fournisseur
- Hugging Face Inference
- Hébergeur
- DeepInfra
- Identifiant du modèle
meta-llama/Llama-3.3-70B-Instruct:deepinfra- Tarif
- Payant
- Prix entrée / sortie
- $0.1 / $0.32 par million de tokens
- Accès sans clé
- Non
- Variable de clé
HF_TOKEN- URL de base (OpenAI-compatible)
https://router.huggingface.co/v1- Contexte
- 131 072 tokens
- Entrées
- Texte
- Fonctions
- Appel d’outils, Sortie JSON
- Temps de réponse
- 1er token 518 ms · 20 tokens/s · disponibilité 99.5 %
- Note des développeurs
- Pas encore noté
- Documentation
- https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct
Exemples de code
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:deepinfra","messages":[{"role":"user","content":"Bonjour, présente-toi en une phrase."}]}'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:deepinfra",
messages=[{"role": "user", "content": "Bonjour, présente-toi en une phrase."}],
)
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:deepinfra',
messages: [{ role: 'user', content: 'Bonjour, présente-toi en une phrase.' }],
})
console.log(r.choices[0].message.content)
Générer le code d’intégration →
Recherches populaires
Questions fréquentes
L’API Llama-3.3-70B-Instruct · DeepInfra est-elle gratuite ?
Non : Llama-3.3-70B-Instruct · DeepInfra est une API payante ($0.1 / $0.32 par million de tokens).
Comment appeler Llama-3.3-70B-Instruct · DeepInfra depuis mon code ?
Llama-3.3-70B-Instruct · DeepInfra expose une API compatible OpenAI à l’adresse https://router.huggingface.co/v1 : utilisez n’importe quel SDK OpenAI (Python, JavaScript…) avec cette URL de base. Identifiant du modèle : meta-llama/Llama-3.3-70B-Instruct:deepinfra. Du code prêt à l’emploi (streaming, JSON, reprises) est disponible dans la boîte à outils du développeur.
Quelle est la fenêtre de contexte de Llama-3.3-70B-Instruct · DeepInfra ?
Llama-3.3-70B-Instruct · DeepInfra accepte jusqu’à 131 072 jetons de contexte (message et historique).
Quelles sont les alternatives à Llama-3.3-70B-Instruct · DeepInfra ?
API similaires référencées dans le catalogue : 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.
Alternatives
- Llama-3.2-3B-Instruct · Parasail — Payant
- Llama-3.1-8B-Instruct · Amazon Bedrock — Payant
- Llama-3.1-8B-Instruct · CoreWeave — Payant
- Llama-3.1-8B-Instruct · DeepInfra — Payant
- Llama-3.1-8B-Instruct · Groq — Payant
- Llama-3.3-70B-Instruct · Cloudflare — Payant
- Llama-3.3-70B-Instruct · CoreWeave — Payant
- Llama-3.3-70B-Instruct · Groq — Payant
- Llama-4-Scout-17B-16E-Instruct · DeepInfra — Payant
- Llama-3.1-70B-Instruct · Amazon Bedrock — Payant
- Llama-4-Maverick-17B-128E-Instruct · Parasail — Payant
- Llama-Guard-4-12B · DeepInfra — Payant