Meta
Meta
Efficient

Llama 3.1 8B

Compact

Small, fast Llama 3.1. The default cheap open-weights model in 2024–25 across Groq, Cerebras and Together.

Llama 3.1 8B is a efficient AI model from Meta. It costs $0.100 per million input tokens and $0.100 per million output tokens (blended $0.100/M), with a 128,000-token context window.

INPUT
$0.100/M
per million input tokens
OUTPUT
$0.100/M
per million output tokens
BLENDED 70/30
$0.100/M
unchanged since 3 May
CONTEXT
128,000
tokens
What it is good at
  • Cheap
  • Fast on LPU/Cerebras
  • Open weights
  • 128K context
Typical use cases
  • Bulk classification
  • Cheap chat
  • Edge inference

Benchmarks

vs. best public score
MMLU73%
Multitask academic knowledge across 57 subjects.
Graduate-level science questions, "Google-proof".
MATH51%
High-school competition math problems.
Python function synthesis from docstrings.
LMArena Elo1180 Elo
Crowd-sourced head-to-head preference Elo rating.
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.

More from Meta

See all 20 →

Frequently asked questions

How much does Llama 3.1 8B cost?

Llama 3.1 8B costs $0.100 per million input tokens and $0.100 per million output tokens, for a blended reference rate of $0.100 per million tokens.

What is Llama 3.1 8B's context window?

Llama 3.1 8B supports up to 128,000 tokens of context in a single request.

What is Llama 3.1 8B best for?

Llama 3.1 8B is well suited to Cheap, Fast on LPU/Cerebras and Open weights.

Who makes Llama 3.1 8B?

Llama 3.1 8B is developed and served by Meta. It was released in Jul 2024.

Terms used on this page