RTX 3090 24GB vs Tesla P40 24GB for Local LLMs

Both have 24.0 GB, so they run the same models. The RTX 3090 24GB generates tokens about 211% faster. Below: speeds on seven popular models, the models only one card can run, and our verdict.

Updated October 14, 2026 · Estimates from memory bandwidth, see methodology

Specs that matter for AI

RTX 3090 24GBTesla P40 24GB
Memory24 GB24 GB
GPU-usable memory24.0 GB24.0 GB
Bandwidth936 GB/s347 GB/s
ArchitectureAmperePascal
Released2020-092016-09
Llama 3.1 8B Q4_K_M~109 tok/s~35 tok/s

Speed and fit by model

Q4_K_M (or native format) with 8K context.

ModelVRAMRTX 3090 24GBTesla P40 24GB
Llama 3.1 8B6.3 GBFits ~109 tok/sFits ~35 tok/s
Qwen 3 14B10.5 GBFits ~62 tok/sFits ~20 tok/s
gpt-oss-20b13.9 GBFits ~155 tok/sFits ~65 tok/s
Qwen 3 30B-A3B18.8 GBFits ~114 tok/sFits ~57 tok/s
Qwen 3 32B21.4 GBFits ~28 tok/sFits ~9.1 tok/s
Llama 3.3 70B43.2 GB52% on GPU ~1.8 tok/s52% on GPU ~1.6 tok/s
gpt-oss-120b62.0 GB36% on GPU ~20 tok/s36% on GPU ~18 tok/s

Verdict

Same 24 GB, very different cards. The 3090 has almost three times the bandwidth (936 vs 347 GB/s) and modern tensor cores, so it is about three times faster at generating text and far faster at prompt processing and image generation. The P40 is only worth it as a very cheap way to add 24 GB to a multi-GPU llama.cpp rig, and it needs its own cooling.

Which should you buy?

Choose the RTX 3090 24GB if…

  • You want usable speed and modern tool support.
  • You generate images or fine-tune.
  • You want a card that cools itself.

Choose the Tesla P40 24GB if…

  • You only need cheap extra memory for llama.cpp.
  • You can add server-style cooling.
  • Speed is not a priority.

Best quality and longest context on each card

The highest-quality quantization that fits fully at 8K context, and the longest context that fits at Q4_K_M with an FP16 cache.

ModelRTX 3090 24GB: best quantTesla P40 24GB: best quantRTX 3090 24GB: max contextTesla P40 24GB: max context
Qwen 3.5 9BFP16 / BF16FP16 / BF16256K256K
Qwen 3 14BQ8_0Q8_040K40K
gpt-oss-20bMXFP4 (official)MXFP4 (official)128K128K
Qwen 3.6 27BQ6_KQ6_K98K98K
Qwen 3 32BQ4_K_MQ4_K_M12K12K
Llama 3.3 70BDoes not fitDoes not fit––

Image generation

Best weight precision for image models with model swapping, at each model's default resolution. Image generation is also limited by compute, so the card with more tensor-core throughput finishes each image faster even when both fit.

ModelRTX 3090 24GBTesla P40 24GB
SDXL 1.0FP16 / BF16FP16 / BF16
FLUX.1 [dev]FP16 / BF16FP16 / BF16
Qwen-ImageFP8FP8
Wan 2.2 A14B (T2V / I2V)FP8FP8

Frequently asked questions

Is the RTX 3090 24GB or Tesla P40 24GB better for local LLMs?

Same 24 GB, very different cards. The 3090 has almost three times the bandwidth (936 vs 347 GB/s) and modern tensor cores, so it is about three times faster at generating text and far faster at prompt processing and image generation. The P40 is only worth it as a very cheap way to add 24 GB to a multi-GPU llama.cpp rig, and it needs its own cooling.

Which is faster for LLM inference?

The RTX 3090 24GB, by about 211% for token generation on models that fit both (about 109 vs 35 tokens/s on Llama 3.1 8B Q4_K_M).

Which can run bigger models?

Neither: both have 24.0 GB usable, so they run the same models.

Related