ApX logoApX logo

Llama 3.1 8B

Parameters

8B

Context Length

131K

Modality

Text

Architecture

Dense

License

Llama 3.1 Community License

Release Date

23 Jul 2024

Knowledge Cutoff

Dec 2023

API Pricing (per 1M)

Input: $0.04 · Output: $0.07

System Requirements

VRAM requirements for different quantization methods and context sizes

1,024 tokens

17.28 GB VRAM

Consumer

1x RTX 4090

24GB VRAM

Datacenter

1x NVIDIA A100

80GB VRAM

Apple Silicon

1x Apple M3 Max

128GB VRAM

131,072 tokens

33.95 GB VRAM

Consumer

2x RTX 4090

24GB VRAM

Datacenter

1x NVIDIA A100

80GB VRAM

Apple Silicon

1x Apple M3 Max

128GB VRAM

Architecture Diagram

Evaluation Benchmarks

Rank

#209

BenchmarkScoreRank

Professional Knowledge

MMLU Pro

0.483

58

Graduate-Level QA

GPQA

0.304

121

0.05

157

General Text

Text Arena

1211

180

Intelligence Index

Artificial Analysis

0.07

293

StackEval

Archived
ProLLM Stack Eval

0.502

17

Summarization

Archived
ProLLM Summarization

0.491

27

General Knowledge

Reference
MMLU

0.694

27

Rankings

Overall Rank

#209

Coding Rank

#158

About Llama 3.1 8B

Llama 3.1 8B is an efficient open foundation model by Meta engineered for multilingual dialogue, classification, and edge deployment across 8 languages. It features an expanded 128K token context window and enhanced tool-calling capabilities.

Technical Specifications

Attention

Attention Structure

Grouped-Query Attention

Attention Heads

32

Key-Value Heads

8

Position Embedding

ROPE

Normalization

RMS Normalization

Dimensions

Hidden Dimension Size

4,096

Number of Layers

32

About Llama 3.1

Llama 3.1 is Meta's advanced large language model family, building upon Llama 3. It features an optimized decoder-only transformer architecture, available in 8B, 70B, and 405B parameter versions. Significant enhancements include an expanded 128K token context window and improved multilingual capabilities across eight languages, refined through data and post-training procedures.


Other Llama 3.1 Models