Skip to content
Local AI Wizard
Your machine
Theme

Llama 3.1 8B Instruct

Meta · meta-llama/Llama-3.1-8B-Instruct

Q4 file 4.9 GB (Q4_K_M) · runs well from 12 GB · Weights license: Publisher terms: Llama 3.1

LMArena · text1,211 ± 4Rank 345 · release 2026-10-22 · its own scale
Memory needed~6 GBQ4 weights + working room, before the machine's reserve
Parameters8 Bmanufacturer specification
Context128,000 tokensPublished for this model

Quality

LMArena · text · rating
1,211 ± 4Confidence interval 1,207–1,215 · 49,605 votes · rank 345 of the releaseLMArena 2026-10-22 · CC BY 4.0

No result in LiveBench 2026-06-25 Not in LiveBench 2026-06-25

Reported by the publisher

24 results · Meta's model card · read 2026-10-25
MMLU
69.4Llama 3.1 8B Instruct · Instruction tuned models · General
MMLU (CoT)
73.0Llama 3.1 8B Instruct · Instruction tuned models · General
MMLU-Pro (CoT)
48.3Llama 3.1 8B Instruct · Instruction tuned models · General
IFEval
80.4Llama 3.1 8B Instruct · Instruction tuned models · General
ARC-C
83.4Llama 3.1 8B Instruct · Instruction tuned models · Reasoning
GPQA
30.4Llama 3.1 8B Instruct · Instruction tuned models · Reasoning
HumanEval
72.6Llama 3.1 8B Instruct · Instruction tuned models · Code
MBPP ++ base version
72.8Llama 3.1 8B Instruct · Instruction tuned models · Code
Every reported result24
Multipl-E HumanEval
50.8Llama 3.1 8B Instruct · Instruction tuned models · Code
Multipl-E MBPP
52.4Llama 3.1 8B Instruct · Instruction tuned models · Code
GSM-8K (CoT)
84.5Llama 3.1 8B Instruct · Instruction tuned models · Math
MATH (CoT)
51.9Llama 3.1 8B Instruct · Instruction tuned models · Math
API-Bank
82.6Llama 3.1 8B Instruct · Instruction tuned models · Tool Use
BFCL
76.1Llama 3.1 8B Instruct · Instruction tuned models · Tool Use
Gorilla Benchmark API Bench
8.2Llama 3.1 8B Instruct · Instruction tuned models · Tool Use
Nexus (0-shot)
38.5Llama 3.1 8B Instruct · Instruction tuned models · Tool Use · 0-shot
Multilingual MGSM (CoT)
68.9Llama 3.1 8B Instruct · Instruction tuned models · Multilingual
MMLU · Portuguese (5-shot, macro_avg/acc)
62.12Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · Spanish (5-shot, macro_avg/acc)
62.45Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · Italian (5-shot, macro_avg/acc)
61.63Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · German (5-shot, macro_avg/acc)
60.59Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · French (5-shot, macro_avg/acc)
62.34Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · Hindi (5-shot, macro_avg/acc)
50.88Llama 3.1 8B · Multilingual benchmarks · General · 5-shot
MMLU · Thai (5-shot, macro_avg/acc)
50.32Llama 3.1 8B · Multilingual benchmarks · General · 5-shot

Values as printed on the card, with the publisher's own settings (card section: Benchmark scores › Instruction tuned models; Benchmark scores › Instruction tuned models › Multilingual benchmarks). Not comparable across publishers and not used in any ranking. Model card

Run it

Run it

ollama run hf.co/bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M
  1. Install Ollama
  2. Run the command above
  3. Ask: Explain what a context window is, in two sentences.

Runs on

Fast memory holds it 114

The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.

Show all 114

Within memory, outside the fast part 5

Within the machine's memory, outside its fast part: on a graphics card the layers that do not fit run on the CPU from PC RAM (the listed RAM, or 32 GB assumed); on a Mac, above the macOS default GPU share. Not a speed figure.

Show all 5

Llama 3.1 8B Instruct is a text model from Meta with 8B parameters. It was released on July 23, 2024 and reads up to 128,000 tokens of context. Its Q4 weights plus working room come to about 6 GB before the machine's reserve; the smallest reference machines whose fast memory holds that are Mac mini M2 · 8 GB unified (~8 GB with its reserve) and RTX 4060 · 8 GB VRAM (~8 GB with its reserve). We collected 23 downloadable GGUF and MLX files from 2 publisher sources; the most downloaded GGUF source is bartowski's. It has no result in LiveBench 2026-06-25. Its LMArena text rating is 1,211 ± 4 (release 2026-10-22), a separate human-preference scale.

Hardware profiles grouped by the Q4 planning estimate on each machine (dedicated GPUs reserve 2 GB; unified and system memory 25%, 2 to 8 GB): the fast memory holds it, it is within memory but outside the fast part (layers offloaded to PC RAM, or above the macOS GPU share), or the machine is one memory tier short. Each card opens its hardware profile. Not a measured fit or speed.

On the reference machines

Llama 3.1 8B Instruct on the reference machines
Where Q4 sits
Mac mini M2 · 8 GB unifiedFast memory holds itQ3_K_MGGUF · 4.0 GB · needs ~8 GB8,192 tokens~8 GBFast memory holds itQ3_K_MGGUF · 4.0 GB · needs ~8 GB8,192 tokens
Mac mini M4 · 16 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~16 GB8,192 tokens~10 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~16 GB8,192 tokens
Mac mini M4 · 24 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~18 GB32,768 tokens~12 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~18 GB32,768 tokens
Mac mini M4 · 32 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB65,536 tokens~14 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB65,536 tokens
Mac mini M5 Pro · 64 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens~14 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens
Mac Studio M5 Max · 128 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens~14 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens
Mac Studio · M5 Ultra · 36-core CPU / 80-core GPU · 512 GB unifiedFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens~14 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~20 GB131,072 tokens
RTX 4060 · 8 GB VRAMFast memory holds itQ3_K_MGGUF · 4.0 GB · needs ~8 GB8,192 tokens~8 GBFast memory holds itQ3_K_MGGUF · 4.0 GB · needs ~8 GB8,192 tokens
RTX 3060 · 12 GB VRAMFast memory holds itQ6_KGGUF · 6.6 GB · needs ~11 GB8,192 tokens~8 GBFast memory holds itQ6_KGGUF · 6.6 GB · needs ~11 GB8,192 tokens
RTX 5080 · 16 GB VRAMFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB16,384 tokens~8 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB16,384 tokens
RTX 4090 · 24 GB VRAMFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB65,536 tokens~8 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB65,536 tokens
RTX 5090 · 32 GB VRAMFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB131,072 tokens~8 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~14 GB131,072 tokens
DGX H100 · 8 × 80 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~28 GB131,072 tokens~22 GBFast memory holds itQ8_0GGUF · 8.5 GB · needs ~28 GB131,072 tokens

The file column uses the site's quant ladder (Q8_0 to Q3_K_M, MLX 8 to 4-bit on a Mac): the largest collected file whose size × 1.2 plus the context cache and the machine's reserve fits the fast memory. Planning estimates, not measured runs.

Plan another quantization or context

Consider it for

Compare Llama 3.1 8B Instruct using its publisher card. No overall score appears in the LiveBench 2026-06-25 snapshot.

Check first

The Q4 weights plus working room come to about 6 GB from 8B stated parameters, before the machine's reserve (Runs on adds it per machine). It is not a measured minimum; context, batch size, runtime and quantization change actual memory use.

Versions to download

Files you can download for this checkpoint. The section opens on the most downloaded collected GGUF source, bartowski, at Q4_K_M. On a Mac it opens on the most downloaded MLX source. Sizes are the Hub's published bytes. What is Q4?

bartowski

bartowski/Meta-Llama-3.1-8B-Instruct-GGUF · Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf · 4.9 GB

Run this file

ollama run hf.co/bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M
llama-server -hf bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M
lms get https://huggingface.co/bartowski/Meta-Llama-3.1-8B-Instruct-GGUF
  • mlx-lm: mlx-lm runs MLX repositories; pick the MLX version on a Mac

Quality scores on this page belong to the original checkpoint; these files are not scored or ranked. File sizes read 2026-10-23 · download counts read 2026-10-17 · commands: Hugging Face Hub docs: Use Ollama with any GGUF model · llama.cpp server README (-hf <user>/<model>[:quant]) · LM Studio docs: lms get with a Hugging Face URL · mlx-lm README (mlx_lm.generate --model)

Fine-tunes, adapters and other versions3,290 fine-tunes
Quantized versions
934
Fine-tunes
3,290
Adapters · merges
2,977 · 105

Browse them on the Hugging Face model tree · read 2026-10-23

Uncensored and abliterated versions41

Some community uploads remove the model's safety refusals. Quality may drop, the original publisher does not support them, claims about them are the uploader's, and the original license still applies. This site never recommends or ranks them.

41 derivative repositories have “uncensored” or “abliterated” in their name (read 2026-10-23).

Measured speed

No published measurement for this checkpoint

Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.

How to run

The memory needed above is the Q4 load before a machine's reserve. Formula: parameters × 0.625 bytes, plus 20% working allowance; each machine then adds its system reserve: 25% of unified or system memory, 2 to 8 GB, or 2 GB per GPU on dedicated cards. This is neither measured VRAM nor checkpoint download size.

Q4 planning estimate only. Check checkpoint format, runtime support, KV cache, context, batch size and offload before choosing hardware.

Evidence level: Generic estimate only; no execution reproduced by this site.

Publisher sampling defaults
temperature 0.6 · top_p 0.9generation_config.json · read 2026-10-23source
Chat template markers
tool calls · no thinking markersmarkers found in the template, not a test of the feature · read 2026-10-23source
Before downloading
  1. Check the exact checkpoint and license linked here.
  2. Confirm a compatible runtime and precision or quantization for your platform.
  3. Allow for context, batch size and any extra media components beyond the weights.

Technical details

What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.

Task and modality
language and reasoning · text
Count and basis
8B · manufacturer specificationmeta-llama/llama-models Llama 3.1 MODEL_CARD.md (GitHub, publisher's own card; the Hub repo is gated) · read 2026-10-17source
Context
128,000 tokens published for this modelmeta-llama/llama-models Llama 3.1 MODEL_CARD.md (GitHub, publisher's own card; the Hub repo is gated) · read 2026-10-17source
Architecture
Densemeta-llama/llama-models Llama 3.1 MODEL_CARD.md (GitHub, publisher's own card; the Hub repo is gated) · read 2026-10-17source
Released
Llama 3.1 MODEL_CARD.md (meta-llama/llama-models) · read 2026-10-09source
Runtime and precision
No local execution verified.
Languages
en, de, fr, it, pt, hi, es, thModel card metadata · read 2026-10-25source
Commercial use
Allowed with conditions Over 700M monthly users needs a Meta license; show "Built with Llama" · Llama 3.1 Community License (meta-llama/llama-models) · read 2026-10-18license text
Every stored field14 fields
Revision checked
0e9e39f249a16976918f6564b8830bc894c89659
Architecture
LlamaForCausalLM
Library
transformers
Hub task tag
text-generation
Declared base models
meta-llama/Meta-Llama-3.1-8B
Distributions in this group
mlx-community/Llama-3.1-8B-Instruct-4bit
Formats
safetensors, pt
Access
Gated (manual)
Publisher kind
Official
Tensor evidence
floating-tensor-elements · 8.03B · BF16checked 2026-09-26
Repository created
2024-07-18creation is not the model's release
Repository updated
2024-09-25a commit is not a release date
Hub downloads (30 days) · likes
4,833,514 · 8,599this repository only · read 2026-10-25
Catalog state
Hub config or weights found; no inventory benchmark link

Sources

Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.

Catalog reviewed: 2026-10-17. Benchmark release: 2026-06-25; snapshot collected: 2026-10-18.