buyaigear

Llama · Jul 2024 · 8B

Llama 3.1 8B: what runs it and what it costs today

At IQ2_M with 8K of context it needs about 5 GB of memory. The cheapest machine that runs it today is the NVIDIA Tesla P100 16GB at $127.63.

By quantization

Memory needed includes the KV cache for 8K of context and runtime overhead. The cheapest machine is the lowest live price, item plus shipping, that fits with room for that context.

QuantNeedsCheapest machine that fits todayPrice
FP1619 GBNVIDIA Tesla P40$273
Q8_011 GBNVIDIA Tesla P100 16GB$127.63
Q6_K9 GBNVIDIA Tesla P100 16GB$127.63
Q5_K_M8 GBNVIDIA Tesla P100 16GB$127.63
Q4_K_M7 GBNVIDIA Tesla P100 16GB$127.63
Q3_K_M6 GBNVIDIA Tesla P100 16GB$127.63
IQ2_M5 GBNVIDIA Tesla P100 16GB$127.63

Every machine at IQ2_M 34 fit

MachineMemoryFit at 8KEst. speedPricePer GB
NVIDIA Tesla P100 16GB card16 GBfits 87K ctx~170 tok/s$127.63
eBay
$7/GB
AMD Radeon Instinct MI50 16GB card16 GBfits 87K ctx~190 tok/s$228.78
eBay
$14/GB
NVIDIA Tesla P40 card24 GBfits 128K+ ctx~83 tok/s$273
eBay
$11/GB
NVIDIA GeForce RTX 3060 12GB card12 GBfits 57K ctx~86 tok/s$320
eBay
$26/GB
AMD Radeon Instinct MI50 32GB card32 GBfits 128K+ ctx~190 tok/s$600
eBay
$18/GB
NVIDIA GeForce RTX 5060 Ti 16GB card16 GBfits 87K ctx~110 tok/s$617.99
eBay
$38/GB
NVIDIA GeForce RTX 4060 Ti 16GB card16 GBfits 87K ctx~69 tok/s$656.27
eBay
$41/GB
AMD Radeon RX 7900 XTX card24 GBfits 128K+ ctx~180 tok/s$900
eBay
$37/GB
NVIDIA RTX A4000 card16 GBfits 87K ctx~110 tok/s$950
eBay
$59/GB
NVIDIA GeForce RTX 3090 card24 GBfits 128K+ ctx~220 tok/s$1,420
eBay
$59/GB
NVIDIA RTX 4000 SFF Ada card20 GBfits 117K ctx~67 tok/s$1,510.30
eBay
$75/GB
AMD Radeon AI PRO R9700 card32 GBfits 128K+ ctx~120 tok/s$1,820
eBay
$56/GB
NVIDIA GeForce RTX 4090 card24 GBfits 128K+ ctx~240 tok/s$2,083.48
eBay
$86/GB
NVIDIA RTX A5000 card24 GBfits 128K+ ctx~180 tok/s$2,325.65
eBay
$96/GB
NVIDIA RTX PRO 4000 Blackwell card24 GBfits 128K+ ctx~160 tok/s$2,827.16
eBay
$117/GB
NVIDIA RTX PRO 4000 Blackwell SFF card24 GBfits 128K+ ctx~100 tok/s$2,899
eBay
$120/GB
Framework Desktop, Ryzen AI Max+ 395, 128 GB desktop box128 GBfits 128K+ ctx~47 tok/s$3,464.65
eBay
$27/GB
GMKtec EVO-X2, Ryzen AI Max+ 395, 128 GB desktop box128 GBfits 128K+ ctx~47 tok/s$3,649.99
eBay
$28/GB
NVIDIA RTX PRO 4500 Blackwell card32 GBfits 128K+ ctx~210 tok/s$4,450
eBay
$139/GB
NVIDIA RTX A6000 card48 GBfits 128K+ ctx~180 tok/s$4,500
eBay
$93/GB
Apple Mac Studio M4 Max, 128 GB desktop box128 GBfits 128K+ ctx~120 tok/s$4,899
eBay
$38/GB
NVIDIA GeForce RTX 5090 card32 GBfits 128K+ ctx~430 tok/s$4,920.99
eBay
$153/GB
ASUS Ascent GX10 desktop box128 GBfits 128K+ ctx~65 tok/s$6,099.99
eBay
$47/GB
Acer Veriton GN100 desktop box128 GBfits 128K+ ctx~65 tok/s$6,367.19
eBay
$49/GB
HP ZGX Nano AI Station desktop box128 GBfits 128K+ ctx~65 tok/s$6,440.40
eBay
$50/GB
Gigabyte AI TOP ATOM desktop box128 GBfits 128K+ ctx~65 tok/s$6,999
eBay
$54/GB
NVIDIA RTX PRO 5000 Blackwell card48 GBfits 128K+ ctx~320 tok/s$7,099.99
eBay
$147/GB
NVIDIA RTX 6000 Ada card48 GBfits 128K+ ctx~230 tok/s$7,698.43
eBay
$160/GB
NVIDIA DGX Spark desktop box128 GBfits 128K+ ctx~65 tok/s$7,799.98
eBay
$60/GB
Apple Mac Studio M3 Ultra, 256 GB desktop box256 GBfits 128K+ ctx~180 tok/s$8,499
eBay
$33/GB
NVIDIA A100 80GB PCIe card80 GBfits 128K+ ctx~460 tok/s$15,299
eBay
$191/GB
NVIDIA RTX PRO 6000 Blackwell card96 GBfits 128K+ ctx~430 tok/s$16,499
eBay
$171/GB
Apple Mac Studio M3 Ultra, 512 GB desktop box512 GBfits 128K+ ctx~180 tok/s$17,499
eBay
$34/GB
NVIDIA H100 80GB PCIe card80 GBfits 128K+ ctx~480 tok/s$26,995.21
eBay
$337/GB

Estimates assume the whole model in memory with llama.cpp-style inference; see how we estimate. Prices are the cheapest live eBay listing that passed our filters, item plus shipping.