Skip to content

Try local GPU's before you buy them at Vast.ai

Vast.ai

The local AI publication

Head to head · October 2026

RTX 3090 vs Tesla P40: which is better for local AI?

The memory, model fit, and estimated speed behind the buying decision.

By Updated

NVIDIA

RTX 3090

Memory
24GB GDDR6X
Bandwidth
936 GB/s
Guide price
~$1,050 used

NVIDIA

Tesla P40

Memory
24GB GDDR5
Bandwidth
346 GB/s
Guide price
~$230 used

The decision

Both have 24GB of memory, so they run the same models. Our model estimates that the RTX 3090 generates text about 230% faster for Llama 3.1 8B Instruct at Q4_K_M. This estimate uses memory bandwidth (936 vs 346 GB/s) and platform efficiency; it is not a measured head-to-head result. The Tesla P40 costs about $820 less ($230 used vs $1,050 used).

  • Choose the RTX 3090 if speed matters most.
  • Choose the Tesla P40 if you want the most for your money or you care about power draw, heat, and noise.

We may earn a commission when you buy through links on this page. It never changes what we recommend. How we make money

Performance

What each one can run

Estimated single-user generation speed for popular models, at the best quantization each card can hold with 8K context.

Model fit and estimated generation speed for RTX 3090 and Tesla P40
ModelRTX 3090Tesla P40
Llama 3.1 8B Instruct
~73 tok/sQ8_0
~22 tok/sQ8_0
Qwen3 14B
~41 tok/sQ8_0
~12 tok/sQ8_0
gpt-oss-20b
~120 tok/sMXFP4
~41 tok/sMXFP4
Qwen3 30B-A3B (2507)
~135 tok/sQ4_K_M
~47 tok/sQ4_K_M
Gemma 3 27B
~39 tok/sQ4_K_M
~11 tok/sQ4_K_M
Qwen3 32B
~41 tok/sQ3_K_M
~12 tok/sQ3_K_M
Llama 3.3 70B Instruct
~1.8 tok/sQ4_K_M
Partial offload
~1.6 tok/sQ4_K_M
Partial offload
gpt-oss-120b
~21 tok/sMXFP4
Partial offload
~18 tok/sMXFP4
Partial offload

Estimates from our bandwidth model; see methodology. Measured results, where we have them, are on each GPU's page.

Try a different model, quantization, or context length

Open the VRAM calculator

Specifications

The hardware, side by side

Hardware specifications for RTX 3090 and Tesla P40
SpecificationRTX 3090Tesla P40
Memory24GB GDDR6X24GB GDDR5
Bandwidth936 GB/s✓346 GB/s
Power350W250W✓
Price~$1,050 used~$230 used✓
Price per GB$44$10✓
ArchitectureAmperePascal
Released20202016
SoftwareCUDA, VulkanCUDA, Vulkan

A check marks the stronger value for that measure. Prices are reference figures; check the retailer for current prices and availability.

The buying decision

Which one belongs in your setup?

NVIDIA

NVIDIA GeForce RTX 3090

The default value pick for 24GB of CUDA memory and the backbone of most multi-GPU builds.

NVIDIA

NVIDIA Tesla P40

The cheapest 24GB card, if you can cool it and accept Pascal's slow compute.

Frequently asked questions

Is the RTX 3090 or Tesla P40 better for running LLMs?

Both have 24GB of memory, so they run the same models. Our model estimates that the RTX 3090 generates text about 230% faster for Llama 3.1 8B Instruct at Q4_K_M. This estimate uses memory bandwidth (936 vs 346 GB/s) and platform efficiency; it is not a measured head-to-head result. The Tesla P40 costs about $820 less ($230 used vs $1,050 used).

How much faster is the RTX 3090 than the Tesla P40 for AI?

About 230% faster at generating text in our estimates, because token generation is limited by memory bandwidth (936 GB/s vs 346 GB/s). Prompt processing depends more on compute and can differ by more.