Llama3.1-8B-Instruct
Llama 3.1 8B Instruct is the instruction-tuned 8B model in Meta's Llama 3.1 family, released on July 23, 2024. It brought a 128K-token context window, multilingual support and tool use to Meta's small model, under the Llama 3.1 Community License, and became one of the most widely deployed open models.
At a glance
- Context window
- 128K tokens
- Max output
- —
- Text input / output · per 1M tokens
- $0.020 / $0.040
- Knowledge cutoff
- —
From the Zombie Woods
A year older. Still wandering.
Released 23 Jul 2024 · 857 days old · Open weights
This model crossed its first release anniversary and earned a zombie appearance in our game. It has not been declared dead: its real catalogue status is unchanged.
Visit the Zombie Woods →Benchmark snapshot
Best result in each categories
AcademicGSM8K
82.4Normal (No Tools) · #22 of 67
CodingMBPP
69.4Normal (No Tools) · #28 of 67
Language & CreationCreative Writing
711Normal (No Tools) · #116 of 121
ReasoningBALROG
15.1Normal (With Tools) · #27 of 31
Source: BALROG (balrogai.com), via Epoch AI Benchmarking Hub
Benchmark details
9 results · Best published score per benchmark, grouped by category
| Benchmark · setting | Score | Rank |
|---|---|---|
| Academic | ||
| GPQA Diamond Normal (No Tools) · Scientific Reasoning | 26.3 | 196 / 200 |
| GSM8K Normal (No Tools) · Mathematics | 82.4 | 22 / 67 |
| MATH Normal (No Tools) · Mathematics | 47.6 | 35 / 42 |
| MMLU Normal (No Tools) · Knowledge Exams | 68.1 | 70 / 114 |
| MMLU-Pro Reported best (effort unspecified) · Knowledge Exams | 44.3 | 130 / 153 |
| Coding | ||
| HumanEval Normal (No Tools) · Code Generation & Editing | 66.5 | 54 / 100 |
| MBPP Normal (No Tools) · Code Generation & Editing | 69.4 | 28 / 67 |
| Language & Creation | ||
| Creative Writing Normal (No Tools) · Writing | 711 | 116 / 121 |
| Reasoning | ||
| BALROG Normal (With Tools) · Logical Planning Source: BALROG (balrogai.com), via Epoch AI Benchmarking Hub | 15.1 | 27 / 31 |
Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.
Back to benchmark snapshot ↑API pricing
Standard text rates, USD per million tokens · effective 2026-11-13
- Input
- $0.02
- Output
- $0.04
Blended price4:1 input:output · same basis as the price ranking
$0.024/ 1M tokens
Specifications
- Provider
- Facebook AI Research Lab
- Model type
- Chat model
- Released
- July 23, 2024
- Total parameters
- 8B
- Architecture
- Dense
- Context window
- 128K tokens
- Input
- Text
- Output
- Text
- Weights
- Open weights
- Licence
- LLAMA 3.1 COMMUNITY LICENSE AGREEMENT
- Commercial use
- Commercial use allowed
Llama3.1-8B-Instruct vs competitors
Comparable results only · record is Llama3.1-8B-Instruct's wins–losses
| Benchmark | Llama3.1-8B-InstructThis model | vs Llama-3.2-3BRecord 8–1 | vs Gemma 3 - 27B (IT)Record 0–8 | vs Qwen2.5-72BRecord 1–7 | vs Qwen2.5-7BRecord 2–6 |
|---|---|---|---|---|---|
| GPQA Diamond | 26.3 | 26.6 | 42.4 | 45.9 | 36.4 |
| MMLU-Pro | 44.3 | 25.0 | 67.5 | 58.1 | 45.0 |
| MMLU | 68.1 | 54.8 | 78.6 | 86.1 | 74.2 |
| HumanEval | 66.5 | 28.0 | 87.8 | 59.1 | 57.9 |
| GSM8K | 82.4 | 34.0 | 95.9 | 91.5 | 85.4 |
| MBPP | 69.4 | 48.7 | 74.4 | 84.7 | 74.9 |
| MATH | 47.6 | 8.5 | 89.0 | 62.1 | 49.8 |
| BALROG | 15.1 | 10.1 | — | 16.2 | 7.8 |
| Creative Writing | 711 | 594 | 1266 | — | — |
Primary sources
- Llama3.1-8B-Instruct announcementdatalearner.com
- GitHub repositorygithub.com
- Weights on Hugging Facehuggingface.co
Community discussion
Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.
Sign in with Google to rate this model and leave a comment.
No community comments yet.
