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.

Text inputText outputOpen weights

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

View benchmark details (9)

Benchmark details

9 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
GPQA Diamond

Normal (No Tools) · Scientific Reasoning

26.3196 / 200
GSM8K

Normal (No Tools) · Mathematics

82.422 / 67
MATH

Normal (No Tools) · Mathematics

47.635 / 42
MMLU

Normal (No Tools) · Knowledge Exams

68.170 / 114
MMLU-Pro

Reported best (effort unspecified) · Knowledge Exams

44.3130 / 153
Coding
HumanEval

Normal (No Tools) · Code Generation & Editing

66.554 / 100
MBPP

Normal (No Tools) · Code Generation & Editing

69.428 / 67
Language & Creation
Creative Writing

Normal (No Tools) · Writing

711116 / 121
Reasoning
BALROG

Normal (With Tools) · Logical Planning

Source: BALROG (balrogai.com), via Epoch AI Benchmarking Hub
15.127 / 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

Estimate running cost for Llama3.1-8B-Instruct

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
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

Llama3.1-8B-Instruct benchmark scores against competitors
BenchmarkLlama3.1-8B-InstructThis modelvs Llama-3.2-3BRecord 8–1vs Gemma 3 - 27B (IT)Record 0–8vs Qwen2.5-72BRecord 1–7vs Qwen2.5-7BRecord 2–6
GPQA Diamond26.326.642.445.936.4
MMLU-Pro44.325.067.558.145.0
MMLU68.154.878.686.174.2
HumanEval66.528.087.859.157.9
GSM8K82.434.095.991.585.4
MBPP69.448.774.484.774.9
MATH47.68.589.062.149.8
BALROG15.110.1—16.27.8
Creative Writing7115941266——

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.