buyaigear

RTX 3090 vs Tesla P40 for local AI

Today the Tesla P40 is cheaper: $270 against $1,491.90 for the RTX 3090. Per gigabyte of memory the Tesla P40 wins, $11 against $62. For Qwen3.8 27B · Q4_K_M the RTX 3090 is faster, about 36 against 13 tokens per second.

Race them side by side in the speed simulator

NVIDIA GeForce RTX 3090NVIDIA Tesla P40
Lowest price today, delivered$1,491.90 on eBay$270 on eBay
Price per GB$62/GB$11/GB
Memory24 GB GDDR6X24 GB GDDR5
Memory bandwidth936 GB/s346 GB/s
FP16 compute, dense71 TFLOPSn/a
Reference models that fit at Q4_K_M13 of 3013 of 30
Power350 W250 W
Form factorTriple slot, full heightDual slot, passive, needs a fan
InterfacePCIe 4PCIe 3
Software platformcudacuda
Launched20202016
Launch price$1,499n/a

Qwen3.8 27B · Q4_K_M by quantization

QuantRTX 3090Tesla P40
FP16~1.2 tok/s, 33 GB in RAM~1.1 tok/s, 33 GB in RAM
Q8_0~5.0 tok/s, 7 GB in RAM~3.8 tok/s, 7 GB in RAM
Q6_K~27 tok/s, 5K ctx~10 tok/s, 5K ctx
Q5_K_M~31 tok/s~11 tok/s
Q4_K_M~36 tok/s~13 tok/s
Q3_K_M~44 tok/s~16 tok/s
IQ2_M~63 tok/s~23 tok/s

Fit means the weights plus an 8K context cache fit in memory; speed is the estimated decode rate. Prices are the cheapest live eBay listing that passed our filters, item plus shipping. How we estimate.