NVIDIA GeForce RTX 5090 vs NVIDIA Tesla P40

For running models locally, priced in Germany. At 64k context the first runs 27 models fully in memory, the second 22.

In short

The NVIDIA GeForce RTX 5090 has more memory for models: 32 GB against 24 GB. At 64k context the NVIDIA GeForce RTX 5090 runs 27 of the models we track fully in memory and the NVIDIA Tesla P40 22; only the NVIDIA GeForce RTX 5090 holds Gemma 4 31B. On the models both run fully in memory, the NVIDIA GeForce RTX 5090 is about 4.9× as fast as the NVIDIA Tesla P40 (estimated, median across models). In Germany the NVIDIA GeForce RTX 5090 costs 6.028 € at Amazon and the NVIDIA Tesla P40 369 € at eBay (used): the NVIDIA Tesla P40 is 5.659 € cheaper.

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

NVIDIA Tesla P40

369 €

eBay, used (asking)

Add to build

Specifications

SpecNVIDIA GeForce RTX 5090NVIDIA Tesla P40
GPUGeForce RTX 5090Tesla P40
Memory32 GB GDDR724 GB GDDR5
Memory bus512-bit384-bit
Memory bandwidth1,792 GB/s346 GB/s
FP16 compute209 TFLOPS11.8 TFLOPS
SoftwareCUDACUDA
Board power575 W250 W
PCIe generationGen 5Gen 3
PCIe lanesx16x16

What each runs

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

ModelNVIDIA GeForce RTX 5090NVIDIA Tesla P40
Qwen 3.8 27B42tok/sUD-Q6_K10tok/sUD-Q4_K_M
Qwen 3.6 27B41tok/sQ6_K9tok/sQ5_K_M
Gemma 4 31B35tok/sQ6_Koffload
Qwen 3.6 35B-A3B173tok/sUD-Q6_K40tok/sUD-Q4_K_M
Qwen 3.5 27B41tok/sQ6_K10tok/sQ4_K_M
Gemma 4 26B-A4B117tok/sQ8_027tok/sUD-Q5_K_M
Qwen 3.5 35B-A3B175tok/sQ6_K40tok/sQ4_K_M
GLM 4.7 Flash87tok/sQ6_K20tok/sQ4_K_M
Devstral Small 2 24B37tok/sQ6_Koffload
Kimi Linear 48B-A3B277tok/sQ4_K_Moffload
gpt-oss 20B165tok/sMXFP432tok/sMXFP4
Qwen3 Coder 30B-A3B75tok/sQ6_Koffload
Gemma 4 12B79tok/sQ8_015tok/sQ8_0
Qwen 3.5 9B95tok/sQ8_018tok/sQ8_0
Gemma 3 27B40tok/sQ6_K10tok/sQ4_K_M
Mistral Small 3.2 24B37tok/sQ6_Koffload
Ministral 3 14B44tok/sQ8_010tok/sQ6_K
Qwen3 14B42tok/sQ8_09tok/sQ6_K
DeepSeek R1 0528 Qwen3 8B61tok/sQ8_012tok/sQ8_0
Qwen3 8B61tok/sQ8_012tok/sQ8_0
Phi-4 14B38tok/sQ8_09tok/sQ5_K_M
Qwen 3.5 4B166tok/sQ8_032tok/sQ8_0
Ministral 3 8B61tok/sQ8_012tok/sQ8_0
Granite 4.2 8B55tok/sQ8_011tok/sQ8_0
Gemma 4 E4B110tok/sQ8_021tok/sQ8_0
LFM2.5 8B-A1B156tok/sQ8_030tok/sQ8_0
Llama 3.1 8B73tok/sQ6_K14tok/sQ6_K
Qwen 3.5 122B-A10Boffloadoffload
Qwen3 Coder Nextoffloadoffload
Nemotron 3 Super 120B-A12Boffloadwon't run
Mistral Small 4 119Boffloadoffload
GLM 4.5 Airoffloadwon't run
Qwen3 Next 80B-A3Boffloadoffload
Nemotron 3.5 Lightning 30B-A3Boffloadoffload
Qwen3 32Boffloadoffload
DeepSeek R1 Distill Qwen 32Boffloadoffload
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
gpt-oss 120Bwon't runwon't run
Llama 3.3 70Bwon't runwon't run

Questions

Which is better for local AI, the NVIDIA GeForce RTX 5090 or the NVIDIA Tesla P40?
Choose the NVIDIA GeForce RTX 5090 to run bigger models. Choose the NVIDIA GeForce RTX 5090 for speed. Choose the NVIDIA Tesla P40 to spend less.
Which can run bigger models, the NVIDIA GeForce RTX 5090 or the NVIDIA Tesla P40?
At 64k context the NVIDIA GeForce RTX 5090 runs 27 of the models we track fully in memory and the NVIDIA Tesla P40 22; only the NVIDIA GeForce RTX 5090 holds Gemma 4 31B.
Which is faster for local AI, the NVIDIA GeForce RTX 5090 or the NVIDIA Tesla P40?
On the models both run fully in memory, the NVIDIA GeForce RTX 5090 is about 4.9× as fast as the NVIDIA Tesla P40 (estimated, median across models).
What is the price difference between the NVIDIA GeForce RTX 5090 and the NVIDIA Tesla P40?
In Germany the NVIDIA GeForce RTX 5090 costs 6.028 € at Amazon and the NVIDIA Tesla P40 369 € at eBay (used): the NVIDIA Tesla P40 is 5.659 € cheaper.

More comparisons