AMD Radeon RX 7900 XTX vs NVIDIA Tesla P40

For running models locally, priced in the US. At 64k context the first runs 44 models fully in memory, the second 45.

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 64k context the NVIDIA Tesla P40 runs 45 of the models we track fully in memory and the AMD Radeon RX 7900 XTX 44; only the NVIDIA Tesla P40 holds Nemotron 3.5 Lightning 30B-A3B. 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 US the AMD Radeon RX 7900 XTX costs $1,250 at Amazon and the NVIDIA Tesla P40 $345 at Amazon: the NVIDIA Tesla P40 is $905 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 27B24tok/sQ4_K_M10tok/sQ4_K_M
Qwen 3.6 27B25tok/sQ4_K_M9tok/sQ5_K_M
Qwen 3.6 35B-A3B97tok/sUD-Q4_K_M39tok/sQ4_K_M
Qwen 3.5 27B25tok/sQ4_K_M10tok/sQ4_K_M
Gemma 4 26B-A4B66tok/sUD-Q5_K_M27tok/sUD-Q5_K_M
Qwen 3.5 35B-A3B98tok/sQ4_K_M40tok/sQ4_K_M
GLM 4.7 Flash48tok/sQ4_K_M20tok/sQ4_K_M
Nemotron 3.5 Lightning 30B-A3Boffload49tok/sMXFP4
gpt-oss 20B78tok/sMXFP432tok/sMXFP4
Gemma 4 12B38tok/sQ8_015tok/sQ8_0
Qwen 3.5 9B45tok/sQ8_018tok/sQ8_0
Gemma 3 27B24tok/sQ4_K_M10tok/sQ4_K_M
Ministral 3 14B24tok/sQ6_K10tok/sQ6_K
Qwen3 14B23tok/sQ6_K9tok/sQ6_K
DeepSeek R1 0528 Qwen3 8B29tok/sQ8_012tok/sQ8_0
Qwen3 8B29tok/sQ8_012tok/sQ8_0
Phi-4 14B24tok/sQ4_K_M9tok/sQ5_K_M
Qwen 3.5 4B79tok/sQ8_032tok/sQ8_0
Ministral 3 8B29tok/sQ8_012tok/sQ8_0
Granite 4.2 8B26tok/sQ8_011tok/sQ8_0
Gemma 4 E4B52tok/sQ8_021tok/sQ8_0
LFM2.5 8B-A1B74tok/sQ8_030tok/sQ8_0
Llama 3.1 8B35tok/sQ6_K14tok/sQ6_K
Qwen2.5 0.5B395tok/sQ8_0161tok/sQ8_0
Qwen3.5 0.8B323tok/sQ8_0131tok/sQ8_0
Qwen3.5 2B234tok/sQ5_K_M95tok/sQ5_K_M
DeepSeek R1 Distill Qwen 1.5B140tok/sQ8_057tok/sQ8_0
MiniCPM5 2B96tok/sQ8_039tok/sQ8_0
Spark X2.5 4B96tok/smlx-4bit39tok/smlx-4bit
Mellum2.1 12B A2.5B Thinking87tok/sQ8_035tok/sQ8_0
FrogNano 4B 260977tok/sQ8_032tok/sQ8_0
LFM2.5 2.6B77tok/sQ8_031tok/sQ8_0
LFM2.5 VL 3B77tok/sQ8_031tok/sQ8_0
Kimi VL A3B Thinking 250662tok/sQ8_025tok/sQ8_0
Kimi VL A3B60tok/smlx-8bit24tok/smlx-8bit
granite vision 4.1 4b59tok/sQ8_024tok/sQ8_0
granite 4.2 3b57tok/sQ8_023tok/sQ8_0
GLM 4 9B 041448tok/smlx-5bit20tok/smlx-5bit
LFM2.5 24B A2B48tok/sQ4_K_M19tok/sQ5_K_M
DeepSeek R1 Distill Qwen 7B45tok/sQ8_018tok/sQ8_0
GLM 4.6V Flash42tok/sQ8_017tok/sQ8_0
GLM 4.1V 9B Thinking37tok/smlx-8bit15tok/smlx-8bit
DeepSeek R1 Distill Llama 8B31tok/sQ8_013tok/sQ8_0
Ministral 3 8B Reasoning 251229tok/sQ8_012tok/sQ8_0
DeepSeek R1 Distill Qwen 14B23tok/sQ5_K_M9tok/sQ5_K_M
Qwen 3.5 122B-A10Boffloadoffload
Gemma 4 31Boffloadoffload
Qwen3 Coder Nextoffloadoffload
Mistral Small 4 119Boffloadoffload
Qwen3 Next 80B-A3Boffloadoffload
Devstral Small 2 24Boffloadoffload
Kimi Linear 48B-A3Boffloadoffload
Qwen3 Coder 30B-A3Boffloadoffload
Qwen3 32Boffloadoffload
Mistral Small 3.2 24Boffloadoffload
DeepSeek R1 Distill Qwen 32Boffloadoffload
Devstral Small 2507offloadoffload
Magistral Small 2506offloadoffload
Magistral Small 2507offloadoffload
Magistral Small 2509offloadoffload
Qwen3.8 27B OBLITERATEDoffloadoffload
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
GLM 4.5 Airwon'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 NVIDIA Tesla P40 to run bigger models. 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 64k context the NVIDIA Tesla P40 runs 45 of the models we track fully in memory and the AMD Radeon RX 7900 XTX 44; only the NVIDIA Tesla P40 holds Nemotron 3.5 Lightning 30B-A3B.
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 US the AMD Radeon RX 7900 XTX costs $1,250 at Amazon and the NVIDIA Tesla P40 $345 at Amazon: the NVIDIA Tesla P40 is $905 cheaper.

More comparisons