← Model list
Llama 3.1 8B
meta·meta/llama-3.1-8b-instruct-2·GA·Open weights·llama series
Compact open Llama model for lightweight chat, drafting, and self-hosting
At a glance
Reference price$0.22 / $0.22 per 1M
Cache read $0.22 · Weights & Biases
Lowest paid$0.05 / $0.08
Groq Cloud · 4.4× spread
Context128,000
⚠ Providers report 128,000–131,072; the table below is authoritative
Output limit128,000
Capabilities
Reasoning✓ Tool useStructured output✓ TemperatureAttachments
Modalities
Text
Knowledge cutoff2023-12
Released / updated2024-07-23 / 2024-07-23
Quality & performance
Artificial Analysis doesn't cover this model (267 of 2059 have data). Quality data comes from independent evals covering widely used models.
Available at 3 providers3 with public prices
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Groq llama-3.1-8b-instant | Cloud | $0.05 | $0.08 | — | — | 131,072 ⚠ | 131,072 | |
| Merge Gateway meta/llama-3.1-8b-instruct | Gateway | $0.22 | $0.22 | — | — | 128,000 | 2,048 | |
| Weights & Biases meta-llama/Llama-3.1-8B-Instruct | Cloud | $0.22 | $0.22 | $0.22 | — | 128,000 | 128,000 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Your usage cost
1Groq$14.00
2Merge Gateway$55.00
3Weights & Biases$55.00
The cheapest paid channel is the only channel.
Related models
Llama 3.3 70Bsame series$1.75 / $2.75Llama Guard 4 12Bsame series$0.18 / $0.18Llama 4 Mavericksame series$0.20 / $0.80Llama 3.2 1B Instructcheaper alternative$0.10 / $0.201Llama 4 Maverick 17B 128E Instruct FP8cheaper alternative$0 / $0Phi-4-minicheaper alternative$0.075 / $0.30Ministral 3Bcheaper alternative$0.10 / $0.10
Price historyone sample accumulated per data sync
Input listOutput listMin blended