Back to Models

Meta Llama · open weights

Llama 3.1 8B

8B params128,000 ctx

Family
Meta Llama
Lab
Meta Llama
Parameters
8B
Max context
128,000 tokens

Quick answer: what should I run it on?

Cheapest popular Mac

Qualcomm Snapdragon 8 Gen 3 Leading Version

$0 · runs it at FP4, the usual sweet spot of size and quality.

Cheapest popular GPU

Intel Arc A770 8GB

$299 · runs it at FP4, the usual sweet spot of size and quality.

Estimated at a 4096-token context. New to quantization? Read the plain-words guide.

How much memory it needs

A quantization is the same model stored with fewer bits per number. Fewer bits use less memory but lose some output quality. Each card shows the estimated memory for Llama 3.1 8B, including KV-cache headroom at a 4096-token context.

Hatched bars are estimates. For comparison, a 24 GB GPU has about 21.6 GB usable.

Fit on popular hardware at FP4

Each bar shows how much of a device's usable memory this model takes at FP4, the format most people download first. The tick marks the usable limit, and a bar that reaches past it means the model does not fit.

Every quantization × popular device

These verdicts are estimated at a 4096-token context. How fit is calculated

All hardware →
QuantizationMac Mini M4Mac Mini M4 32GBMac Mini M4 ProMac Studio M5 MaxMac Studio M5 UltraMacBook Pro M4 14-inchMacBook Pro M4 Max 16-inch
FP32✕ Does not fit◐ Partial offload✕ Does not fit◐ Partial offload✓ Runs✕ Does not fit◐ Partial offload
FP16◐ Partial offload✓ Runs◐ Partial offload✓ Runs✓ Runs◐ Partial offload✓ Runs
BFLOAT16◐ Partial offload✓ Runs◐ Partial offload✓ Runs✓ Runs◐ Partial offload✓ Runs
FP8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
FP4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
NF4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT2✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs

Not seeing your device? Check every device we track

Measured throughput

HardwareQuantizationTokens/sec (measured)
RTX 4090Q4_K_M131
RTX 5090Q4_K_M101

Other Meta Llama models

Similar-sized models from other families