AMD Radeon RX 7900 XTX vs NVIDIA Tesla P40

For running models locally, priced in the UK. At 32k context the first runs 54 models fully in memory, the second 54.

In short

Both have 24 GB of memory for models; the AMD Radeon RX 7900 XTX has 960 GB/s of bandwidth and the NVIDIA Tesla P40 346 GB/s. At 32k context both run the same 54 models we track fully in memory. On the models both run fully in memory, the AMD Radeon RX 7900 XTX is about 2.5× as fast as the NVIDIA Tesla P40 (estimated, median across models). In the UK the AMD Radeon RX 7900 XTX costs £1,399 at Amazon and the NVIDIA Tesla P40 £261 at eBay (used): the NVIDIA Tesla P40 is £1,138 cheaper.

Updated . Speeds are estimates; how they are worked out.

Specifications

SpecAMD Radeon RX 7900 XTXNVIDIA Tesla P40
GPURadeon RX 7900 XTXTesla P40
Memory24 GB GDDR624 GB GDDR5
Memory bus384-bit384-bit
Memory bandwidth960 GB/s346 GB/s
FP16 compute123 TFLOPS11.8 TFLOPS
SoftwareROCmCUDA
Board power355 W250 W
PCIe generationGen 4Gen 3
PCIe lanesx16x16

What each runs

Estimated decode speed with the most precise quant that fits each one est.

ModelAMD Radeon RX 7900 XTXNVIDIA Tesla P40
Qwen 3.8 27B23tok/sQ5_K_M9tok/sQ5_K_M
Qwen 3.6 27B24tok/sQ5_K_M10tok/sQ5_K_M
Gemma 4 31B24tok/sQ4_K_M10tok/sQ4_K_M
Qwen 3.6 35B-A3B122tok/sQ4_K_M50tok/sQ4_K_M
Qwen 3.5 27B24tok/sQ5_K_M10tok/sQ5_K_M
Gemma 4 26B-A4B72tok/sQ6_K29tok/sUD-Q6_K
Qwen 3.5 35B-A3B123tok/sQ4_K_M50tok/sQ4_K_M
GLM 4.7 Flash60tok/sQ5_K_M24tok/sQ5_K_M
Devstral Small 2 24B24tok/sQ5_K_M10tok/sQ5_K_M
Nemotron 3.5 Lightning 30B-A3B129tok/sMXFP452tok/sMXFP4
gpt-oss 20B98tok/sMXFP440tok/sMXFP4
Qwen3 Coder 30B-A3B63tok/sQ4_K_M26tok/sQ4_K_M
Gemma 4 12B39tok/sQ8_016tok/sQ8_0
Qwen 3.5 9B50tok/sQ8_020tok/sQ8_0
Mistral Small 3.2 24B24tok/sQ5_K_M10tok/sQ5_K_M
Gemma 3 27B24tok/sQ5_K_M10tok/sQ5_K_M
Ministral 3 14B27tok/sQ8_011tok/sQ8_0
Qwen3 14B25tok/sQ8_010tok/sQ8_0
DeepSeek R1 0528 Qwen3 8B39tok/sQ8_016tok/sQ8_0
Qwen3 8B39tok/sQ8_016tok/sQ8_0
Phi-4 14B24tok/sQ8_010tok/sQ8_0
Qwen 3.5 4B94tok/sQ8_038tok/sQ8_0
Ministral 3 8B39tok/sQ8_016tok/sQ8_0
Granite 4.2 8B36tok/sQ8_015tok/sQ8_0
Gemma 4 E4B58tok/sQ8_023tok/sQ8_0
LFM2.5 8B-A1B118tok/sQ8_048tok/sQ8_0
Llama 3.1 8B49tok/sQ6_K20tok/sQ6_K
Qwen2.5 0.5B566tok/sQ8_0230tok/sQ8_0
Qwen3.5 0.8B428tok/sQ8_0174tok/sQ8_0
Qwen3.5 2B284tok/sQ5_K_M116tok/sQ5_K_M
DeepSeek R1 Distill Qwen 1.5B186tok/sQ8_076tok/sQ8_0
MiniCPM5 2B129tok/sQ8_053tok/sQ8_0
Spark X2.5 4B123tok/smlx-4bit50tok/smlx-4bit
LFM2.5 2.6B108tok/sQ8_044tok/sQ8_0
LFM2.5 VL 3B108tok/sQ8_044tok/sQ8_0
Mellum2.1 12B A2.5B Thinking100tok/sQ8_041tok/sQ8_0
FrogNano 4B 260992tok/sQ8_037tok/sQ8_0
granite vision 4.1 4b84tok/sQ8_034tok/sQ8_0
granite 4.2 3b80tok/sQ8_033tok/sQ8_0
Kimi VL A3B Thinking 250677tok/sQ8_031tok/sQ8_0
Kimi VL A3B74tok/smlx-8bit30tok/smlx-8bit
LFM2.5 24B A2B71tok/sQ6_K29tok/sQ6_K
GLM 4 9B 041455tok/smlx-5bit22tok/smlx-5bit
DeepSeek R1 Distill Qwen 7B53tok/sQ8_022tok/sQ8_0
GLM 4.6V Flash47tok/sQ8_019tok/sQ8_0
DeepSeek R1 Distill Llama 8B41tok/sQ8_017tok/sQ8_0
GLM 4.1V 9B Thinking40tok/smlx-8bit16tok/smlx-8bit
Ministral 3 8B Reasoning 251239tok/sQ8_016tok/sQ8_0
Devstral Small 250724tok/sQ5_K_M10tok/sQ5_K_M
Magistral Small 250624tok/sQ5_K_M10tok/sQ5_K_M
Magistral Small 250724tok/sQ5_K_M10tok/sQ5_K_M
Magistral Small 250924tok/sQ5_K_M10tok/sQ5_K_M
DeepSeek R1 Distill Qwen 14B24tok/sQ8_010tok/sQ8_0
Qwen3.8 27B OBLITERATED23tok/smlx-4bit9tok/smlx-4bit
Qwen 3.5 122B-A10Boffloadoffload
Qwen3 Coder Nextoffloadoffload
Mistral Small 4 119Boffloadoffload
GLM 4.5 Airoffloadoffload
Qwen3 Next 80B-A3Boffloadoffload
Kimi Linear 48B-A3Boffloadoffload
Qwen3 32Boffloadoffload
DeepSeek R1 Distill Qwen 32Boffloadoffload
granite 4.2 30boffloadoffload
DeepSeek V4 Flashwon't runwon't run
GLM 5.3 Flashwon't runwon't run
Qwen 3.8 Flash Nextwon't runwon't run
MiniMax M2.7won't runwon't run
Nemotron 3 Super 120B-A12Bwon't runwon't run
gpt-oss 120Bwon't runwon't run
Llama 3.3 70Bwon't runwon't run
DeepSeek R1won't runwon't run
DeepSeek R1 0528won't runwon't run
DeepSeek R1 Distill Llama 70Bwon't runwon't run
DeepSeek R1 Zerowon't runwon't run
DeepSeek V3won't runwon't run
DeepSeek V3 0324won't runwon't run
DeepSeek V3.1won't runwon't run
DeepSeek V3.1 Terminuswon't runwon't run
DeepSeek V3.2won't runwon't run
DeepSeek V4 Flash 0731won't runwon't run
DeepSeek V4 Flash Vision Expwon't runwon't run
Devstral 2 123B Instruct 2512won't runwon't run
GLM 4.5won't runwon't run
GLM 4.5Vwon't runwon't run
GLM 4.6won't runwon't run
GLM 4.6Vwon't runwon't run
GLM 4.7won't runwon't run
GLM 5won't runwon't run
GLM 5.1won't runwon't run
GLM 5.2won't runwon't run
GLM 5.3won't runwon't run
Kimi Dev 72Bwon't runwon't run
Kimi K2won't runwon't run
Kimi K2 Instruct 0905won't runwon't run
Kimi K2 Thinkingwon't runwon't run
Kimi K2.5won't runwon't run
MiniMax M2won't runwon't run
MiniMax M2.1won't runwon't run
MiniMax M2.5won't runwon't run
MiniMax M3won't runwon't run
Mistral Medium 3.5 128Bwon't runwon't run

Questions

Which is better for local AI, the AMD Radeon RX 7900 XTX or the NVIDIA Tesla P40?
Choose the AMD Radeon RX 7900 XTX for speed. Choose the NVIDIA Tesla P40 to spend less.
Which can run bigger models, the AMD Radeon RX 7900 XTX or the NVIDIA Tesla P40?
At 32k context both run the same 54 models we track fully in memory.
Which is faster for local AI, the AMD Radeon RX 7900 XTX or the NVIDIA Tesla P40?
On the models both run fully in memory, the AMD Radeon RX 7900 XTX is about 2.5× as fast as the NVIDIA Tesla P40 (estimated, median across models).
What is the price difference between the AMD Radeon RX 7900 XTX and the NVIDIA Tesla P40?
In the UK the AMD Radeon RX 7900 XTX costs £1,399 at Amazon and the NVIDIA Tesla P40 £261 at eBay (used): the NVIDIA Tesla P40 is £1,138 cheaper.

More comparisons