← All models

Meta · dense · Llama 3.1 Community License

What runs Llama 3.1 8B Instruct

Meta's 8B instruct model from July 2024, still among the most downloaded models because so much tooling targets it. A standard reference point for small-GPU speed tests.

Parameters
8B
4-bit file
4.6 GB
Q4_K_M
Needs at 8k context
7.1 GB
Longest context
131,072 tokens

Context memory: 131,072 bytes per token. Standard GQA: 2 x 32 layers x 8 KV heads x 128 head dim x 2 bytes (fp16). How context memory works.

Measured on this hardware

Machines that hold the 4-bit file with 8,192 tokens of context and have published runs on the same chip or cards, fastest first. Median of single-user runs with plain decoding.

MachineFitPriceGeneration
1x RTX 5090Single GPUFits~$3,234 + unpriced parts200 tok/smedian of 3 runs
RTX 5090 + EPYC 9355P with 768 GB DDR5 (MoE offload)Hybrid GPU + RAMFits~$3,763 + unpriced parts200 tok/smedian of 3 runs
Dell Pro Max Tower T2 with NVIDIA RTX PRO 6000 BlackwellNVIDIA workstationFits~$13,909144 tok/smedian of 2 runs
1x RTX PRO 6000 BlackwellSingle GPUFits~$20,833144 tok/smedian of 2 runs
1x RTX 3090 (used)Single GPUFits~$2,944 + unpriced parts122 tok/smedian of 2 runs
RTX 3090 (used) + 128 GB DDR5 on AM5 (MoE offload)Hybrid GPU + RAMFits~$4,833 + unpriced parts122 tok/smedian of 2 runs
Apple Mac Studio (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$3,099–$5,09990 tok/smedian of 2 runs
Apple MacBook Pro 14-inch (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$4,699–$6,69990 tok/smedian of 2 runs
Apple MacBook Pro 16-inch (M5 Max, 40-core GPU)Apple unified memoryFitsassumed limitfrom 48 GB~$4,999–$6,99990 tok/smedian of 2 runs
Apple Mac Studio (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$2,49975 tok/smedian of 2 runs
Apple MacBook Pro 14-inch (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$4,09975 tok/smedian of 2 runs
Apple MacBook Pro 16-inch (M5 Max, 32-core GPU)Apple unified memoryFitsassumed limit~$4,39975 tok/smedian of 2 runs
Apple Mac mini (M5 Pro, 20-core GPU)Apple unified memoryFitsassumed limitfrom 24 GB~$1,899–$2,89945 tok/smedian of 1 run
Apple Mac mini (M5 Pro, 16-core GPU)Apple unified memoryFitsassumed limitfrom 24 GB~$1,699–$2,69944 tok/smedian of 1 run
Framework Desktop (Ryzen AI Max+ 395)AMD unified memoryFitsassumed limitfrom 64 GB~$1,959–$3,44940 tok/smedian of 2 runs
GMKtec EVO-X2 (Ryzen AI Max+ 395)AMD unified memoryFitsassumed limitfrom 64 GB~$2,600–$4,00040 tok/smedian of 2 runs
Beelink GTR9 Pro (Ryzen AI Max+ 395)AMD unified memoryFits~$4,69940 tok/smedian of 2 runs
Minisforum MS-S1 MAX (Ryzen AI Max+ 395)AMD unified memoryFits~$4,89940 tok/smedian of 2 runs
Corsair AI Workstation 300 (Ryzen AI Max+ 395)AMD unified memoryFits~$4,80040 tok/smedian of 2 runs
HP Z2 Mini G1a (Ryzen AI Max+ PRO 395)AMD unified memoryFits~$4,99940 tok/smedian of 2 runs
NVIDIA DGX SparkNVIDIA GB10Fitsassumed limit~$4,69938 tok/smedian of 5 runs
Dell Pro Precision with GB10NVIDIA GB10Fitsassumed limit~$5,52338 tok/smedian of 5 runs

Estimated, not measured

These fit but nobody has published a run we could match. The figure is memory bandwidth divided by the bytes read per token, scaled by the share of that ceiling measured runs reach. How estimates work.

MachineFitPriceGeneration
Dell Pro Precision with GB300NVIDIA workstationFits~$159,283~980–1,174 tok/sestimate
2x RTX 5090Multi-GPUFits~$4,109 + unpriced parts~179–280 tok/sestimate
Apple Mac Studio (M5 Ultra, 64-core GPU)Apple unified memoryFitsassumed limitfrom 96 GB~$5,499–$9,499~179–223 tok/sestimate
Apple Mac Studio (M5 Ultra, 80-core GPU)Apple unified memoryFitsassumed limitfrom 96 GB~$6,799–$10,799~179–223 tok/sestimate
4x Instinct MI50 32GB (used) on EPYC 7003Multi-GPUFits~$1,998 + unpriced parts~102–160 tok/sestimate
2x Radeon RX 7900 XTXMulti-GPUFits~$5,637~96–150 tok/sestimate
2x RTX 3090 (used)Multi-GPUFits~$3,639 + unpriced parts~93–146 tok/sestimate
4x RTX 3090 (used) on EPYC 7003, open frameMulti-GPUFits~$2,178 + unpriced parts~93–146 tok/sestimate
tiny corp tinybox red flashGPU desktop (prebuilt)Fits~$22,000~64–100 tok/sestimate
2x Intel Arc Pro B60Multi-GPUFits~$4,367~45–71 tok/sestimate
Framework Desktop (Ryzen AI Max+ PRO 495)AMD unified memoryFitsassumed limit~$6,799~38–45 tok/sestimate
Framework Desktop (Ryzen AI Max 385)AMD unified memoryFitsassumed limit~$1,269~35–42 tok/sestimate

Fits, no speed figure

Files

Sources