Meta

Llama 3.1 8B

8B

Parameters

4,6 Go

Q4_K_M file

≥ 6,1 Go

Recommended VRAM

131 072

Max context

Standard llama-bench run (prompt 512 / generation 128 tokens), model fully in VRAM. Click a card for details. Electricity cost at the default price (0,25 €/kWh).

Card · Q4_K_MVRAMGenerationPromptVRAM usedPower€ elec. / M tokPrice
RTX 5070 Ti16 Go151 tok/s6 7136,1 Go148 W0,07 €/M tok—
RTX 4070 Ti12 Go91,9 tok/s6 1705,5 Go156 W0,12 €/M tok—

Not measured on these cards yet — click for an estimate:

Technical sheet

Published
2024-07-18
Architecture
32 layers · 8 KV heads · dimension 128
Attention
Standard: every layer keeps the whole context in memory.
Context cache (f16)
≈ 125 MB per 1,000 tokens · 4,0 Go for 32,768 tokens
GGUF file
bartowski/Meta-Llama-3.1-8B-Instruct-GGUF · Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf Download (4,6 Go)

Public Hugging Face data (official config.json, GGUF repo). The context cache only counts full-attention layers.