Tesla P40: 24 GB of used VRAM for AI ?

The Tesla P40 is a 2016 NVIDIA card (Pascal architecture) with 24 GB of GDDR5 memory and 346 GB/s of bandwidth. For local AI, it can load a 24 to 32 billion parameter model in Q4 with llama.cpp or Ollama, with a speed ceiling about 2.7 times lower than a RTX 3090 (based on the bandwidth ratio). It requires airflow and an 8-pin CPU cable, and its NVIDIA drivers end with the R580 branch, which is supported until June 2028.
The Tesla P40 comes up often in discussions about local AI: 24 GB of video memory on the used market is rare. But it's a 2016 server card, designed for a ventilated rack, not a desktop PC. This guide covers its official specs, the realistic speed you can expect on an LLM, the software that still supports it as of November 2026, installing it in a PC, and the cases where it remains a good choice.
Choosing a machine? Our picks by budget →
Good value for local AI: a GMKtec EVO-X2 — Amazon may show another configuration; check before buying.
A mini PC is a complete machine: check the available memory and engine compatibility. It does not replace macOS/MLX or CUDA.
Compare all options by budget, from €800 to €3,500 →
Small budget: RTX 5060 · Large models: RTX 5090 · Mac Studio.
On the go: which laptop for local AI →
Affiliate links — commission possible at no extra cost to you. As an Amazon Associate, BestLLMfor earns from qualifying purchases.
Amazon may redirect you to a local store or show another configuration. Check the listing before buying; this link does not guarantee the destination or configuration.
#What is the NVIDIA Tesla P40?
The Tesla P40 is a NVIDIA data center compute accelerator designed for deep learning inference; its datasheet is dated September 2016. It's built on the Pascal GP102 chip and shares compute capability 6.1 with the GeForce GTX 1080 Ti, with 24 GB of memory instead of 11 GB.
- Pascal
- NVIDIA GPU architecture from 2016 (GTX 10 series, Tesla P4, P40, and P100), predating the arrival of Tensor Cores with Volta and then Turing.
- Compute capability
- A number that indicates which instructions a NVIDIA GPU can execute. According to NVIDIA, the Tesla P40 is 6.1, like the GTX 1080 Ti; AI software often sets a minimum for this number.
- Passive cooling
- The card has no fan: just a heatsink, with air pushed through it by the server. Without directed airflow, it overheats and throttles.
#What are the Tesla P40's specs?
According to NVIDIA's datasheet, the Tesla P40 offers 24 GB of GDDR5, 346 GB/s of memory bandwidth, 12 TFLOPS of single-precision performance, and 47 TOPS of INT8, with a maximum power draw of 250 W. The product brief adds 3,840 CUDA cores and a PCI Express 3.0 x16 interface.
| Feature | Value published by NVIDIA |
|---|---|
| Architecture | Pascal (GP102 chip), compute capability 6.1 |
| Memory | 24 GB GDDR5, 384-bit bus |
| Bandwidth | 346 GB/s (datasheet), up to 347 GB/s (product page) |
| FP32 compute | 12 TFLOPS with boost |
| INT8 compute | 47 TOPS |
| CUDA cores | 3 840 |
| Maximum power draw | 250 W |
| Power supply | One 8-pin CPU (EPS) connector |
| Cooling | Passive, system airflow required |
| Format | Dual-slot, 10.5 inches long (about 27 cm) |
| Operating temperature | 0 à 45 °C |
One figure is missing from these spec sheets: half-precision (FP16) compute. NVIDIA's CUDA 12.9 Programming Guide lists, for compute capability 6.1, 2 FP16 results per clock cycle per multiprocessor, versus 128 for FP32. On the Tesla P40, native FP16 compute is therefore about 64 times slower than FP32: AI software well tuned for this card avoids FP16 and computes in FP32 or with quantized kernels.
#What speed can you expect from a Tesla P40 on an LLM?
For an LLM, a Tesla P40's generation speed is capped by its 346 GB/s of bandwidth: about 21 tokens per second at the theoretical maximum for a 16 GB model at Q4, versus about 58 on an RTX 3090. These are estimates, not measurements.
The math is simple. For each generated token, the card rereads most of the model's weights. So the theoretical ceiling is the bandwidth divided by the size of the weights read: 346 ÷ 16 ≈ 21 tokens per second for Qwen 3.8 27B in Q4 (about 16 GB). Real throughput is lower, because the context, the compute kernels, and the driver eat into that headroom.
| Card | Architecture | Bandwidth | Theoretical ceiling, 16 GB model | Recent software |
|---|---|---|---|---|
| Tesla M40 24 GB | Maxwell (5.2) | 288 GB/s | about 18 tokens/s | Driver R580 at most, no vLLM |
| Tesla P40 | Pascal (6.1) | 346 GB/s | about 21 tokens/s | Driver R580 at most, no vLLM |
| GeForce RTX 3090 | Ampere (8.6) | 936 GB/s | about 58 tokens/s | Current drivers, vLLM supported |
Prompt processing, meaning the handling of the text sent before the response, depends mostly on compute power. This is where the Tesla P40 suffers most against a recent card: no Tensor Cores and very slow FP16. On a long document, the wait before the first word gets noticeably longer.
#What AI software runs on a Tesla P40 in 2026?
As of November 2026, the Tesla P40 works with Ollama and llama.cpp, but not with vLLM. On the NVIDIA side, the R580 driver branch is the last one for Pascal, and CUDA 12.x is the last toolkit: the card remains usable, but without new software features.
- Ollama
- The Ollama documentation lists the Tesla P40 among supported cards and requires, for compute capabilities 5.0 to 6.2, a NVIDIA 570 driver or newer.
- llama.cpp
- Builds with CUDA 12.x for the P40. Its documentation describes the GGML_CUDA_FORCE_MMQ option, which forces its own kernels for quantized models instead of FP16 cuBLAS.
- vLLM
- Its installation documentation requires compute capability 7.5 or higher, so the P40 (6.1) isn't supported.
- ComfyUI (images)
- ComfyUI still offers a portable build for NVIDIA 10-series cards and includes the P40 in its list of Pascal cards; on Linux, its code then disables FP16 in favor of FP32. Image generation works, but limited to 12 TFLOPS FP32 and with no Tensor Cores, it remains slow.
On the driver side, the NVIDIA data center driver matrix is clear: for Pascal, the latest CUDA Toolkit is version 12.x and the latest driver branch is R580. The CUDA Toolkit release notes (13.5 edition) state that libraries such as cuFFT and cuSPARSE have dropped Maxwell, Pascal, and Volta. Tom's Hardware reported the NVIDIA announcement as early as July 2025.
R580 is a long-term support branch (LTSB) whose end of life NVIDIA has set for June 2028, according to its data center drivers page, accessed on November 18, 2026. Until then, a Tesla P40 can receive security fixes. After that, the card will keep working with the last R580 driver, but without updates.
#Which AI models can you run on a Tesla P40's 24 GB?
With 24 GB, a Tesla P40 can load 24B to 32B-parameter models in Q4 and still leave a few gigabytes for context. Qwen 3.8 27B, Gemma 4 31B, and Mistral Small 3.2 24B are realistic choices. A 70B model (about 40 GB in Q4) won't fit on a single card.
| Model | Size | Q4 memory | Theoretical ceiling on the P40 | Note |
|---|---|---|---|---|
| Mistral Small 3.2 24B | 24 billion | approximately 14 GB | about 25 tokens/s | Comfortable headroom for a long context |
| Qwen 3.8 27B | 27 billion | approximately 16 GB | about 21 tokens/s | Good balance of quality and speed |
| Gemma 4 31B | 31 billion | about 18 GB | about 19 tokens/s | Context to keep small |
| Qwen 3.6 35B-A3B (MoE) | 35 billion, about 3 active | about 21 GB | higher, compute-bound | Little room for context |
These figures cover the weights only: the context (the conversation kept in memory) comes on top. With Gemma 4 31B or Qwen 3.6 35B-A3B on a Tesla P40, reduce the context or quantize its cache so you don't spill over into CPU memory.
#How do you install and verify a Tesla P40 in a PC?
To run a Tesla P40 in a desktop PC, you need three things the card doesn't provide: forced airflow, an 8-pin CPU power cable or the appropriate adapter, and display output from another GPU. After that, an R580 driver and Ollama are all you need.
The NVIDIA product brief lists a 32 GB address window (BAR1) in compute mode. This window exceeds the classic 4 GB addressing limit: in practice, your motherboard must be able to address beyond it, a setting often called "Above 4G Decoding" in the BIOS. NVIDIA doesn't name this setting: it's an inference from the product brief, so check your motherboard manual.
- 01Plan for coolingThe Tesla P40 has no fan, and NVIDIA requires system airflow, for an operating temperature of 0 to 45 °C. In a PC case, mount a fan or duct that blows directly through the card's heatsink, in the direction of its fins.
- 02Connect the power correctlyThe card takes an 8-pin CPU (EPS) cable, not an 8-pin PCIe cable. NVIDIA specifies a CPU-to-PCIe adapter that accepts two 8-pin PCIe cables, two 6-pin cables, or one 8-pin and one 6-pin; in that case, each 6-pin cable must carry half the average power. Don't improvise any other setup. Budget 250 W for the card alone.
- 03Configure the BIOS and displayEnable Above 4G Decoding in the motherboard BIOS. Connect your display to the integrated GPU or to another graphics card, because the Tesla P40 boots in compute mode by default and its product brief lists no video output.
- 04Install the driver and check the cardInstall a NVIDIA driver from the R580 branch, then run nvidia-smi -L in a terminal. The Tesla P40 should appear in the list with its UUID. If it doesn't, check the power connection and the Above 4G Decoding option.
- 05Install Ollama and check loadingOn Linux, install Ollama with the official script, run a model, then run ollama ps. The PROCESSOR column should show 100% GPU: that means the model is fully loaded into the card's 24 GB. A percentage split with the CPU indicates the model or context is too large.
#Used Tesla P40: should you buy one in 2026?
A used Tesla P40 is worth it for one specific use: running 24 to 32 billion parameter LLMs on a small budget, under Linux, in a well-ventilated machine. For images, video, vLLM, or a quiet PC, a more recent card is a better choice.
NVIDIA doesn't publish a list price for the Tesla P40, and used prices vary from seller to seller. Compare the total cost: the card, plus the fan or shroud, the power adapter, and power consumption. At 250 W under full load, one hour of continuous generation uses at most 0.25 kWh for the card alone, based on a simple calculation from the NVIDIA datasheet.
| Your use case | Is the Tesla P40 a good fit? | Why |
|---|---|---|
| Local chat with a 24 to 32 billion parameter model on a tight budget | Yes | 24 GB is enough, and Ollama and llama.cpp support it |
| Linux server in a rack or a well-ventilated case | Yes | The card is designed for this airflow |
| Two cards for a 70-billion-parameter model | Possible | 48 GB total, but speed limited to 346 GB/s per card |
| Image or video generation | Not recommended | Possible with ComfyUI in FP32, but slow: 12 TFLOPS, no Tensor Cores |
| Multi-user serving with vLLM | No | vLLM requires compute capability 7.5 or higher |
| Quiet desktop PC, no tinkering | No | Passive cooling and EPS power connector require adaptation |
| A machine you plan to keep beyond 2028 | With caution | R580 driver branch reaches end of life in June 2028 |
The RTX 3090 is the most direct alternative: the same 24 GB capacity, 936 GB/s of bandwidth according to NVIDIA, Tensor Cores, and up-to-date drivers. Based on the bandwidth ratio, its generation ceiling is about 2.7 times higher on the same model, and it supports vLLM. Compare the total cost of both cards before you choose.
Is the Tesla P40 still supported by NVIDIA?+
Tesla P40 or Tesla M40 24 GB for local AI?+
Can you use a Tesla P40 on Windows?+
Can you run Stable Diffusion or Flux on a Tesla P40?+
Can two Tesla P40s run a 70-billion-parameter model?+
Do you need a specific motherboard for a Tesla P40?+
#Sources and verification as of November 18, 2026
Specifications, driver status, and software compatibility were checked on November 18, 2026, against the official spec sheets and documentation from NVIDIA, Ollama, llama.cpp, vLLM, and ComfyUI; speeds are calculated upper bounds, and software compatibility may change with each release.
- Source: Tesla P40 datasheet (NVIDIA)
- Source: Tesla P40 product brief PB-08338 (NVIDIA)
- Source: CUDA, driver, and architecture matrix (NVIDIA)
- Source: driver branches and end of life (NVIDIA)
- Source: CUDA 12.9 Programming Guide, instruction throughput (NVIDIA)
- Source: cards supported by Ollama (Ollama)
- Source: building llama.cpp with CUDA (ggml-org)
- Source: vLLM GPU requirements (vLLM)
- Source: FP16 handling on Pascal cards (ComfyUI)
Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.