Meta: LLaMA 3.1 8B Instant · fastrouter
Llama 3.1 8B Instruct is Meta's compact, efficiency-focused language model from the Llama 3.1 family. At just 8 billion parameters, this instruction-tuned variant delivers impressive performance with minimal computational requirements, making it ideal for resource-constrained environments and latency-sensitive applications. Despite its smaller size, the model maintains competitive performance in human evaluations against much larger models, particularly excelling in straightforward dialogue, content generation, and common instruction-following tasks. The model features improved inference speed and reduced deployment costs compared to larger variants while maintaining the core capabilities that make Llama models effective. It's particularly well-suited for mobile applications, edge devices, and scaled deployments where efficiency and performance balance are critical considerations.
Entrée, $/1M $0.22
Sortie, $/1M $0.22
Contexte 8 192
Sortie max. 4 096
Accepte texte
Dernière vérification 04.11.2026 12:00:14 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://go.fastrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "meta-llama/llama-3.1-8b-instant", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "meta-llama/llama-3.1-8b-instant",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "meta-llama/llama-3.1-8b-instant",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Requête (JSON)
{
"model": "meta-llama/llama-3.1-8b-instant",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Réponse (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "meta-llama/llama-3.1-8b-instant",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Afastrouter%7Cmeta-llama/llama-3.1-8b-instant, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/meta-llama/llama-3.1-8b-instant
Détails techniques
ID: offer:fastrouter|meta-llama/llama-3.1-8b-instant