Intermediate 13 minGPU

Tesla P40: 24 GB of used VRAM for AI ?

An open laptop casts green light across a dark desk.
Direct response

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 →

By Mohamed Meguedmi·Update 2026-11-27·Tested on Windows, macOS, and Linux
Recommended hardware

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.

Why this choice? Our complete guide on GMKtec EVO-X2 — Amazon may show another configuration; check before buying →

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.

Tesla P40 according to the datasheet (September 2016) and NVIDIA's PB-08338 product brief, accessed November 18, 2026
FeatureValue published by NVIDIA
ArchitecturePascal (GP102 chip), compute capability 6.1
Memory24 GB GDDR5, 384-bit bus
Bandwidth346 GB/s (datasheet), up to 347 GB/s (product page)
FP32 compute12 TFLOPS with boost
INT8 compute47 TOPS
CUDA cores3 840
Maximum power draw250 W
Power supplyOne 8-pin CPU (EPS) connector
CoolingPassive, system airflow required
FormatDual-slot, 10.5 inches long (about 27 cm)
Operating temperature0 à 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.

24 GB cards compared: bandwidth published by NVIDIA, ceilings calculated for a 16 GB model in Q4 (estimate, not a measurement)
CardArchitectureBandwidthTheoretical ceiling, 16 GB modelRecent software
Tesla M40 24 GBMaxwell (5.2)288 GB/sabout 18 tokens/sDriver R580 at most, no vLLM
Tesla P40Pascal (6.1)346 GB/sabout 21 tokens/sDriver R580 at most, no vLLM
GeForce RTX 3090Ampere (8.6)936 GB/sabout 58 tokens/sCurrent 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.

i
MoE models: a favorable case
A mixture-of-experts (MoE) model like Qwen 3.6 35B-A3B takes up about 21 GB in Q4 but reads only about 3 billion parameters per token. That puts its bandwidth-bound ceiling much higher than a dense model of the same size. On the Tesla P40, real speed depends more on compute power, and no official figure has been published for this case.

#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.

!
Don't install CUDA 13 for the P40
CUDA 13 libraries no longer support Pascal. To build llama.cpp or another tool for the Tesla P40, stick with a CUDA Toolkit 12.x and a driver from the R580 branch.

#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.

QuelLLM catalog models suited to 24 GB: memory in Q4 (weights only) and theoretical ceiling on a Tesla P40 (346 GB/s ÷ size), estimated
ModelSizeQ4 memoryTheoretical ceiling on the P40Note
Mistral Small 3.2 24B24 billionapproximately 14 GBabout 25 tokens/sComfortable headroom for a long context
Qwen 3.8 27B27 billionapproximately 16 GBabout 21 tokens/sGood balance of quality and speed
Gemma 4 31B31 billionabout 18 GBabout 19 tokens/sContext to keep small
Qwen 3.6 35B-A3B (MoE)35 billion, about 3 activeabout 21 GBhigher, compute-boundLittle 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.

  1. 01
    Plan for cooling
    The 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.
  2. 02
    Connect the power correctly
    The 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.
  3. 03
    Configure the BIOS and display
    Enable 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.
  4. 04
    Install the driver and check the card
    Install 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.
  5. 05
    Install Ollama and check loading
    On 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.
Linux: list detected NVIDIA GPUs
nvidia-smi -L
Linux: install Ollama (official script)
curl -fsSL https://ollama.com/install.sh | sh
Linux or Windows: see where the model is loaded
ollama ps
Linux: build llama.cpp with CUDA 12.x
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release

#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.

Tesla P40 or another card: choosing by use case (summary of the official spec sheets and documentation cited)
Your use caseIs the Tesla P40 a good fit?Why
Local chat with a 24 to 32 billion parameter model on a tight budgetYes24 GB is enough, and Ollama and llama.cpp support it
Linux server in a rack or a well-ventilated caseYesThe card is designed for this airflow
Two cards for a 70-billion-parameter modelPossible48 GB total, but speed limited to 346 GB/s per card
Image or video generationNot recommendedPossible with ComfyUI in FP32, but slow: 12 TFLOPS, no Tensor Cores
Multi-user serving with vLLMNovLLM requires compute capability 7.5 or higher
Quiet desktop PC, no tinkeringNoPassive cooling and EPS power connector require adaptation
A machine you plan to keep beyond 2028With cautionR580 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.

→
Before you buy a used card
Ask the seller for an nvidia-smi screenshot showing the card detected with its 24 GB of memory. Also make sure your motherboard offers the Above 4G Decoding option and that your case fits a dual-slot card about 27 cm long.
Tesla P40 FAQ
Is the Tesla P40 still supported by NVIDIA?+
Yes, but it's nearing the end of the road. According to NVIDIA's data center driver matrix, the R580 branch is the last one for the Tesla P40's Pascal architecture, and CUDA 12.x is the last toolkit. NVIDIA has set R580's end of life for June 2028: the card gets fixes until then, and no updates after that.
Tesla P40 or Tesla M40 24 GB for local AI?+
The Tesla P40 is the better choice. According to NVIDIA's spec sheets, the M40 24 GB (Maxwell) offers 288 GB/s of bandwidth versus 346 GB/s for the P40 (Pascal), and the P40 adds INT8 compute at 47 TOPS. Both share the same software limit: driver R580 at most and no vLLM.
Can you use a Tesla P40 on Windows?+
Yes for Ollama: its documentation describes it as a native Windows application with NVIDIA GPU support, and specifies driver 570 or newer for the Tesla P40. The setup stays the same: forced airflow, 8-pin CPU power, and display output through another GPU. For a headless AI server, Linux remains the simplest choice.
Can you run Stable Diffusion or Flux on a Tesla P40?+
Yes, but slowly. ComfyUI recognizes the Tesla P40 as a Pascal card and, on Linux, therefore computes in FP32, because native FP16 on compute capability 6.1 is about 64 times slower according to the CUDA guide. The P40 tops out at 12 TFLOPS FP32 with no Tensor Cores: for images and video, a recent RTX card is a much better fit.
Can two Tesla P40s run a 70-billion-parameter model?+
Two Tesla P40s give you 48 GB in total, enough for a 70-billion-parameter model at Q4 (about 40 GB of weights), with little headroom for context. According to its FAQ, Ollama splits a model across all available GPUs when it doesn't fit on a single one; llama.cpp offers the --split-mode option. Speed is still capped by each card's 346 GB/s of bandwidth, so it's slow for a dense model of this size.
Do you need a specific motherboard for a Tesla P40?+
The motherboard must have a PCI Express x16 slot and be able to address more than 4 GB (a setting often called Above 4G Decoding), because according to its product brief, the Tesla P40 requires a 32 GB address window in compute mode. You also need an integrated GPU or a second card for your display, since the P40 boots in compute mode and its product brief lists no video output.

#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.

Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.

Prices in euros (€) are French market prices including VAT, as checked by BestLLMfor. US prices differ: the Amazon buttons show the current US price.