GPU for local LLMs · datacentre card
NVIDIA Tesla P40 review
It's 24GB on a small budget, as long as you'll fit a fan and live with Pascal's last driver branch.
- VRAM
- 24 GB
- TDP
- 250 W
- Bandwidth
- 347 GB/s
- £ / GB
- -
What it runs
With 24 GB you can comfortably load, at 4-bit quantisation, a dense model up to roughly
~33B params
Verdict
InsiderLLM's September 2026 eBay pull puts a used P40 at $220-290, which buys you 24GB. You'll need to fit a fan and find another GPU or an iGPU for the screen, and NVIDIA's 580 driver branch is the last that supports it.
BEST FOR
- + 24GB of VRAM on a small budget
- + Homelab tinkerers who'll fit a blower shroud
- + Quantised GGUF models in llama.cpp
NOT FOR
- - Plug-and-play builds
- - vLLM, or anything that needs CUDA 13
- - A long-term machine on current drivers
You’ve gone looking for 24GB of VRAM on a tight budget, and the used Tesla P40 listings keep turning up. It’s NVIDIA’s Pascal datacentre card from 2016, with 24GB of GDDR5 on board. It was made for a server though, so it arrives with no fan, no display output and a CPU power socket where you’d expect a PCIe one, and sorting those out is down to you.
The take
If you’re weighing a P40 against a used RTX 3090, the two hold the same 24GB, and that memory is what the older card has going for it. The P40 has 3,840 CUDA cores on the GP102 chip and up to 347 GB/s of memory bandwidth. It’s a dual-slot, full-height board that draws 250W. On the llama.cpp CUDA scoreboard, a tester posting as m18coppola ran both cards on a 7B model and the 3090 generated text roughly 2.9 times as fast. InsiderLLM’s September 2026 eBay sold-listing pull put a bare P40 at $220-290, and Serverdeals’ asking prices on 12 November 2026 started at about €173, with a median of about €289.
The first job is fitting a fan, since the P40 is passively cooled and hasn’t got one, which means it relies on air pushed through it to stay within its thermal limits. The fix owners describe is a 3D-printed blower shroud with a radial fan on the end, which RBA Consulting reports works extremely well. Power comes through one EPS 8-pin, the CPU type rather than a PCIe plug, though NVIDIA lists a CPU-to-PCIe dongle that takes two PCIe cables. There’s no display output either, so you need another GPU or an iGPU for the screen. It sits in an ordinary PCIe 3.0 x16 slot, but you’ll need Above-4G decoding switched on in the BIOS. The card asks for a 32GB memory window, and Serverdeals notes it isn’t detected without that setting.
Buy a P40 now and you’re buying into a driver line with an end point. NVIDIA has said the release 580 driver series will be the last to support Pascal, and CUDA Toolkit 13.0 removed offline compilation and library support for it. The card doesn’t stop working, it just stays on driver branch 580 and on software built against CUDA 12.x, so anything that needs CUDA 13 won’t run on it. vLLM already doesn’t, because it asks for compute capability 7.5 or higher and the P40 is a 6.1 card.
What it’ll run
On a P40 you’ll be running quantised GGUF models in llama.cpp, because the card is very slow at FP16 (half-precision maths). Its FP16 rate is about 1/64 of the FP32 rate, which works out to about 0.18 TFLOPS against 12. Local AI Master calls FP16 on this card effectively unusable. The August 2025 scoreboard run by m18coppola has a single P40 at about 55 tok/s on Llama 2 7B Q4_0, where the same tester’s RTX 3090 managed 158. Flash Attention works on the P40 as well, thanks to a llama.cpp change merged in May 2024 that enabled it on cards without fast FP16.
The bigger models are what the 24GB is for. A 32B model at Q4_K_M is a 19.9GB file, which leaves about 4GB for context. A 70B at Q4_K_M is 42.5GB, so that one needs two P40s. RBA Consulting reported Qwen3 Coder 30B at roughly 50 tok/s under Ollama in December 2025. That’s a mixture-of-experts (MoE) model, though, with only about 3.3B of its 30.5B parameters active for each token, so it isn’t a guide to how a conventional 32B will run.
Who should buy it, and who shouldn’t
The P40 makes sense if the thing you’re short of is VRAM and the budget is small. It suits someone who’ll print or buy a blower shroud and fit a radial fan, who has a second GPU or an iGPU to drive the screen, and who’s happy running quantised GGUF models in llama.cpp with Flash Attention on. If that kind of faff is part of the appeal, the P40 is a reasonable buy.
It doesn’t make sense if you want to plug a card in and go, or if you need vLLM or anything built on CUDA 13. And if speed matters more to you than memory, a used RTX 3090 has the same 24GB and is the card to price up instead.
Starting settings
Starting configurations, each with where its figure comes from. A sensible starting point, not gospel - tune to your own kit.
Big model, cheap
GGUF Q4_K_M via llama.cpp
Stick to quantised GGUF, because the P40 runs FP16 at about 1/64 of its FP32 rate. At Q4_K_M a 32B model comes to about 19.9GB, so roughly 4GB of the 24 is left for context.
Cooling mod (mandatory)
3D-printed blower shroud plus a radial fan
The card has no fan of its own and needs system airflow, so fit a 3D-printed blower shroud and a radial fan before it does any work.
Power and display
EPS/CPU 8-pin, or a CPU-to-PCIe adapter, plus a display GPU or iGPU
Run an EPS (CPU) 8-pin lead from the power supply, or use NVIDIA's CPU-to-PCIe dongle with two PCIe cables plugged into it. The card has no display output, so plug the screen into an iGPU or a second graphics card.
Prompt processing
llama.cpp with Flash Attention on
Flash Attention runs on the P40 in llama.cpp. In m18coppola's results on the llama.cpp CUDA scoreboard, turning it on lifts the P40's prompt processing on a 7B model from about 1,007 to about 1,080 tok/s, while generation stays at about 54-55 tok/s.
Notes from people who've run one
Each note below names its source underneath.
- “
RBA Consulting ran Qwen3 Coder 30B at roughly 50 tok/s under Ollama on a P40 that cost about $200, and found agentic coding workable as long as you're disciplined about context.
- “
Fran Fabrizio found the P40 makes a large BAR request, and Serverdeals notes that Above-4G decoding has to be enabled in the BIOS or the card isn't detected.
- “
Frank Fu bought a P40 on eBay for about $200 and worked it through 7B, 14B and 32B models, finding it held up better as the models got larger.
1 claim(s) we couldn't fully verify
- · Used price from eBay sold listings directly - eBay blocked the fetch; the price is indicative, from the two named secondary sources.
Sources we drew on
The spec sheets, vendor pages and reviews behind this page.
▶AI Researcher & Robotics Developer Frank Fu
Deepseek on the Tesla P40 VS RTX 4090 A Full Run-Through and Token Rate Analysis
▶Digital Spaceport
AI Home Server 24GB VRAM $750 Budget Build and LLM Benchmarking
- Performance of llama.cpp on NVIDIA CUDA (scoreboard)llama.cpp CUDA scoreboard · primary source
- Tesla P40 for Local LLMs (2026): 24GB for ~$200, Worth It?Local AI Master · review
- Lessons From Building With a Used NVIDIA Tesla P40RBA (Robert Sarvis) · owner
- NVIDIA Tesla P40 datasheetNVIDIA · primary source
- NVIDIA Tesla P40 Product Brief, PB-08338-001_v01NVIDIA Tesla P40 Product Brief · primary source
- NVIDIA Tesla P40 inference datasheetNVIDIA Tesla P40 inference datasheet · primary source
- NVIDIA CUDA programming guide, compute capabilities appendixNVIDIA CUDA programming guide · primary source
- NVIDIA CUDA legacy GPUsNVIDIA CUDA legacy GPUs · primary source
- NVIDIA Unix graphics feature deprecation scheduleNVIDIA Unix graphics feature deprecation schedule · forum
- NVIDIA CUDA 13.0 release notesNVIDIA CUDA 13.0 release notes · primary source
- GeForce RTX 3090 product pageNVIDIA · primary source
- TechPowerUp GPU database c2878TechPowerUp GPU database c2878 · primary source
- CUDA: add FP32 FlashAttention vector kernel (PR #7188)llama.cpp (GitHub) · forum
- vLLM GPU installation docsvLLM GPU installation docs · primary source
- Qwen3-Coder-30B-A3B-Instruct model cardQwen3-Coder-30B-A3B-Instruct model card · primary source
- Hugging Face GGUF file sizesHugging Face GGUF file sizes · primary source
- Hugging Face GGUF file sizesHugging Face GGUF file sizes · primary source
- Troubleshooting the Tesla P40 on the Dell Precision T7820Fran Fabrizio · owner
- Tesla P40: Still the Cheapest 24GB Card for Local AIInsiderLLM · owner
- ServerDeals.at P40 model page (listing aggregator)ServerDeals · primary source
Common questions
Why does the Tesla P40 need extra cooling?+
Because there's no fan on it. The P40 is a 250W passively cooled board, so it depends on airflow from the system it sits in. In a desktop case, owners fit a 3D-printed blower shroud with a radial fan, a combination RBA Consulting says works extremely well.
Can the Tesla P40 be my only graphics card?+
No. The P40 has no display outputs at all, so the screen has to run off a second GPU or an iGPU. You'll also need Above-4G decoding switched on in the BIOS, because Serverdeals notes the card isn't detected without it.
Why is the P40 slow if it has 24GB?+
The 24GB decides what fits, and the speed comes from the rest of the card. Memory bandwidth is up to 347 GB/s, and the P40 runs FP16 (half-precision maths) at about 1/64 of its FP32 rate of 12 TFLOPS, so you lean on quantised GGUF models. On the llama.cpp CUDA scoreboard, the tester m18coppola got about 55 tok/s from a P40 on a 7B model and 158 from an RTX 3090.