Llama 3.1 8B Instruct

llama-3.1-8b-instruct by Meta Released gennaio 6, 2026
Chiamata di funzioni · Output strutturato · Caching dei prompt
Input from
$0.02 / 1M
Output from
$0.05 / 1M
Cached input from
$0.015 / 1M
Context window
131K
Endpoints
3
from 3 providers
Regions
Globale, Stati Uniti

About Llama 3.1 8B Instruct

Llama 3.1 è un modello linguistico denso all’avanguardia con 8 miliardi di parametri, addestrato e rilasciato da Meta. Il modello supporta una lunghezza del contesto di 128.000 token. È ottimizzato per casi d’uso di dialogo multilingue ed è allineato alle preferenze umane in termini di utilità e sicurezza. Non è destinato all’uso in lingue diverse dall’inglese. Meta Llama 3.1 è concesso in licenza ai sensi della Meta Llama 3.1 Community License, Copyright © Meta Platforms, Inc. Tutti i diritti riservati. I clienti sono tenuti a garantire il rispetto delle licenze applicabili relative al modello.

Llama 3.1 8B Instruct è un modello di chat di Meta, disponibile su Eden AI tramite 3 endpoint presso 3 provider, a partire da 0,02 $ per milione di token in input e 0,05 $ per milione di token in output, con una finestra di contesto fino a 131K token.

Providers and prices

3 endpoints from 3 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
DeepInfra (Stati Uniti)deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct
Stati Uniti
131K
$0.02
$0.05
$
Strumenti
Databricksdatabricks/databricks-meta-llama-3-1-8b-instruct
Globale
128K
$0.15
$0.45
$0.015
Strumenti · JSON · Cache
Amazon Web Services (Stati Uniti)amazon/meta.llama3-1-8b-instruct-v1:0
Stati Uniti
128K
$0.22
$0.22
$
Strumenti

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
1.07 s
DeepInfra (Stati Uniti)
Lowest latency
1.11 s
Databricks
Highest throughput
83.89 tok/s
Databricks
Best availability
100%
Databricks
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
DeepInfra (Stati Uniti)
1.07 s
2.42 s
7.58 s
27.11 tok/s
99.99%
0%
0%
100%
Databricks
s
1.11 s
9.28 s
83.89 tok/s
100%
12.12%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Llama 3.1 8B Instruct with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "llama-3.1-8b-instruct",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Llama 3.1 8B Instruct

On Eden AI, prices for this model start at $0.02 per million input tokens and $0.05 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 131K tokens, depending on the endpoint.

3 endpoints from 3 providers, available in: Globale, Stati Uniti. All of them are called with the same Eden AI API key.

Quanto è veloce Llama 3.1 8B Instruct? Negli ultimi 30 giorni il primo token più rapido è arrivato in 1,07 s (DeepInfra (Stati Uniti)) e il throughput più alto è stato di 83,89 token al secondo (Databricks).