NVIDIA

Tesla P40 24GB

Pascal DatacenterDatacenterPascalPCIe 3CUDA
24GB
VRAM
346GB/s
Bandwidth
24TFLOPS
FP16 Compute
47TOPS
INT8 Inference
$5,699 MSRP
VRAM24 GBBandwidth346 GB/sCompute24 TFInference47 TOPSValue0.42 TF/$k
Tesla P40 24GBCategory AvgMacBook Pro M4 Max 36GB

Operating mode

Choose the operating mode for this hardware

Use this to bias workload recommendations toward responsiveness, background autonomy, lighter serving, or multi-GPU scale-out.

Current mode

Balanced

Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.

About this GPU for AI

The Tesla P40 is a Pascal-generation datacenter GPU from 2016, built for inference workloads before the era of large language models. At 24 GB of GDDR5X, it was notable as one of the first high-VRAM inference accelerators, and it saw renewed interest from the LLM community when NVLink 3090-class cards were scarce. It can run 7B models at Q4 quantization but generation will be slow by current standards. Available on the used market for very low prices, it remains a viable ultra-budget option for hobbyists building an inference server, though modern alternatives are strongly preferred.

Beyond LLMs

AI Capability Matrix

What AI tasks this GPU can handle — from text generation to image and video creation.

CapabilityStatusRepresentative Model
LLM Chat (7B)Runs nativelyLlama 3.1 8B Q4
LLM Coding (30B)Runs nativelyQwen 3 30B Q4
LLM Large (70B)Won’t fitLlama 3.1 70B Q4
Image Gen (SDXL)Runs nativelySDXL 1.0 FP16
Image Gen (Flux)Runs with offloadFlux.1 Dev FP16
Image Gen (SD 3.5)Runs nativelySD 3.5 Large FP16
Video Short (25f)Runs nativelyLTX Video 2B
Video Long (100f)Won't fitWan Video 14B
legacy-datacenterbudget-friendlylarge-vramend-of-life

Spezifikationen

Rechenleistung
FP1624 TFLOPS
INT847 TOPS
ArchitekturPascal
Speicher
VRAM24 GB
Bandbreite346 GB/s
Allgemein
FamiliePascal Datacenter
SegmentDatacenter
InterconnectPCIe 3
Compute-PlattformCUDA
MSRP$5,699

Hauptmerkmale

24 GB GDDR5X VRAM346 GB/s memory bandwidth24 TFLOPS FP16 / Pascal compute architecturePCIe 3.0 x16, 250W TDPPassive cooling — requires active airflow in server chassisCUDA Compute Capability 6.1

Für KI-Workloads

Stärken
  • 24 GB VRAM at extremely low used-market prices — among the cheapest options for loading 13B Q4 models
  • Widely available used; originally deployed in large hyperscale data centers and now decommissioned in volume
  • Passive form factor works in standard server chassis with adequate airflow
  • Runs 7B models at Q4 — functional for light local inference on a budget
Hinweise
  • Pascal architecture from 2016 — no Tensor Cores, no FP16 hardware acceleration beyond basic CUDA
  • 346 GB/s bandwidth makes token generation noticeably slow even for 7B models
  • No INT8 hardware acceleration — quantized inference falls back to software paths
  • End of driver support approaching; not guaranteed to work with latest inference frameworks

Architecture

Pascal

Pascal is NVIDIA's first 16nm FinFET GPU architecture, powering the GTX 10-series consumer cards and Tesla P100/P40 datacenter accelerators. It introduced unified memory architecture and NVLink interconnect for datacenter GPUs.

AI Relevance

No dedicated Tensor Cores — all AI inference runs on standard CUDA cores at FP16 or FP32 precision. Still usable for small models (7B Q4) on cards with sufficient VRAM like the GTX 1080 Ti (11 GB) or P40 (24 GB), but significantly slower than Turing and newer.

Process: TSMC 16nmPlatform: CUDAPrecisions: FP32, FP16

Kaufberatung

Sollten Sie Tesla P40 24GB für lokale KI kaufen?

Ausgezeichnete Wahl für lokale KI

Führt 26 von 50 Top-Modellen gut aus — ein starker Allrounder für lokale Inferenz.

24.0 GB

VRAM

$5,699

UVP

$237/GB

Kosten pro GB VRAM

Beste Modelle für diese GPU

What will limit you first

This setup is broadly balanced for this model.

Very little memory headroom

You can run the model, but there is not much room left for longer context, bigger batches, extra apps, or future model updates.

Older PCIe generation

PCIe 3.0 is workable, but it compounds the penalty when you offload heavily or try to scale across multiple cards.

Best upgrade itinerary

Buy headroom, not only minimum fit

A slightly larger memory tier gives you safer context growth and makes the recommendation more future-proof.

Unlocks 1 additional models that do not fit on the current setup.

Mehr Spielraum gewünscht? MacBook Pro M4 Max 36GB (36.0 GB unified memory) ist die nächste Stufe.

Recommendations by Workload

Chat

S

Qwen 3 14B

This model is a direct match for chat. It belongs to a current frontier family for local AI. It fits natively with comfortable headroom. Known channels: huggingface, ollama, lm-studio.

Decode 25.8 tok/s · 80K ctx · llama.cppEST.
13.1 GB / 24.0 GB VRAM

Coding

S

Devstral Small 2 24B Instruct

This model is a direct match for coding. It belongs to a current frontier family for local AI. It should run, but memory headroom will be limited. Known channels: huggingface, ollama, lm-studio.

Decode 15.0 tok/s · 40K ctx · llama.cppEST.
20.4 GB / 24.0 GB VRAM

Agentic Coding

S

Qwen 3.6 27B

This model is still usable for agentic-coding, but it is not the most specialized pick. It belongs to a current frontier family for local AI. It should run, but memory headroom will be limited. Known channels: huggingface, lm-studio.

Decode 10.2 tok/s · 69K ctx · llama.cppEST.
21.7 GB / 24.0 GB VRAM

Reasoning

S

Qwen 3 14B

This model is a direct match for reasoning. It belongs to a current frontier family for local AI. It fits natively with comfortable headroom. Known channels: huggingface, ollama, lm-studio.

Decode 25.8 tok/s · 80K ctx · llama.cppEST.
14.3 GB / 24.0 GB VRAM

RAG

A

Granite 4.1 8B

This model is a direct match for rag. It sits in the middle of the current model mix. It fits natively with comfortable headroom. Known channels: huggingface, ollama.

Decode 45.0 tok/s · 104K ctx · llama.cppEST.
13.1 GB / 24.0 GB VRAM

Full Model Compatibility

AlibabaQwen3-Coder 30B A3B Instruct
S93
30.5B23.4 GB31 tok/s23K ctx
moe
AlibabaQwen3-VL 30B A3B Instruct
S93
30B23.1 GB32 tok/s26K ctx
moe
OpenAIGPT-OSS 20B
S93
21B18.6 GB39 tok/s52K ctx
moe
AlibabaQwen 3 14B
S91
14B14.3 GB26 tok/s80K ctx
dense
MicrosoftPhi-4-reasoning-plus 14B
S91
14.7B15.3 GB25 tok/s33K ctx
dense
AlibabaQwen 3 30B A3B
S91
30.5B23.4 GB31 tok/s23K ctx
moe
AlibabaQwen 3.5 9B
S91
9B11.0 GB40 tok/s111K ctx
dense
AlibabaQwen 3.5 27B
S90
27B22.9 GB13 tok/s21K ctx
dense
MistralMagistral Small 2507
S90
24B20.4 GB15 tok/s40K ctx
dense
MistralDevstral Small 2 24B Instruct
S89
24B20.4 GB15 tok/s40K ctx
dense
AlibabaQwen 3.6 27B
S89
27B20.7 GB10 tok/s69K ctx
+1dense
AlibabaQwen 3 8B
S89
8B10.4 GB45 tok/s115K ctx
dense
MistralDevstral Small 1.1
S88
24B20.4 GB15 tok/s40K ctx
dense
AlibabaQwen 3.5 4B
S87
4B7.9 GB56 tok/s131K ctx
dense
NVIDIANemotron Cascade 2 30B A3B
S87
30B24.5 GB22 tok/s13K ctx
moe
NVIDIANemotron 3 Nano 30B
S87
30B24.0 GB9 tok/s16K ctx
dense
GoogleGemma 4 26B A4B
S86
25.2B22.3 GB33 tok/s23K ctx
moe
MistralMinistral 3 14B
S86
14B14.3 GB26 tok/s80K ctx
multimodal
NVIDIANemotron Nano 8B
A84
8B10.1 GB45 tok/s130K ctx
dense
MicrosoftPhi-4 Mini Reasoning 4B
A84
3.8B7.1 GB53 tok/s131K ctx
dense
AlibabaQwen 3.5 35B A3B
A80
35B26.1 GB17 tok/s4K ctx
moe
Jina AIJina Embeddings v3
A77
0.57B6.4 GB8 tok/s8K ctx
dense
AlibabaQwen 3 32B
A77
32B26.7 GB7 tok/s5K ctx
dense
BAAIBGE M3
A75
0.57B5.6 GB8 tok/s8K ctx
dense
AlibabaQwen 3.6 35B A3B
A74
35B28.8 GB13 tok/s4K ctx
+1moe
LG AIEXAONE 4.0 32B
A71
32B26.7 GB7 tok/s5K ctx
dense
AlibabaQwen 3.5 397B A17B
F0
397B248.3 GB2 tok/s4K ctx
moe
MistralDevstral 2 123B Instruct
F0
123B83.7 GB2 tok/s4K ctx
dense
Moonshot AIKimi K2.5
F0
1000B620.7 GB2 tok/s4K ctx
moe
Moonshot AIKimi K2.6
F0
1000B620.7 GB2 tok/s4K ctx
+1moe
DeepSeekDeepSeek V4 Pro
F0
1600B867.2 GB2 tok/s4K ctx
moe
AlibabaQwen 3.5 122B A10B
F0
122B80.2 GB2 tok/s4K ctx
moe
DeepSeekDeepSeek V4 Flash
F0
284B162.6 GB2 tok/s4K ctx
moe
MistralMistral Small 4 119B
F0
119B81.3 GB2 tok/s4K ctx
moe
CohereCommand A 111B
F0
111B74.9 GB2 tok/s4K ctx
dense
AlibabaQwen 2.5 VL 72B
F0
72B52.1 GB2 tok/s4K ctx
dense
OpenAIGPT-OSS 120B
F0
117B79.6 GB2 tok/s4K ctx
dense
AlibabaQwen3-Coder-Next
F0
80B53.6 GB2 tok/s4K ctx
moe
Z.aiGLM-5.1
F0
754B482.3 GB2 tok/s4K ctx
moe
Mistral AIPixtral Large 124B
F0
124B84.3 GB2 tok/s4K ctx
dense
Z.aiGLM-5
F0
744B476.2 GB2 tok/s4K ctx
moe
DeepSeekDeepSeek V3.2
F0
671B413.1 GB2 tok/s4K ctx
moe
AlibabaQwen 3 235B A22B
F0
235B149.5 GB2 tok/s4K ctx
moe
AlibabaQwen3-Coder 480B A35B Instruct
F0
480B299.0 GB2 tok/s4K ctx
moe
GoogleGemma 4 31B
F0
30.7B36.7 GB3 tok/s4K ctx
dense
MiniMax M2.7
F0
230B147.4 GB2 tok/s4K ctx
moe
MistralLeanstral 119B A6B
F0
119B84.7 GB2 tok/s4K ctx
moe
DeepSeekDeepSeek Coder V2 236B
F0
236B205.9 GB2 tok/s4K ctx
moe
DeepSeekDeepSeek R1 671B
F0
671B472.2 GB2 tok/s4K ctx
moe
DeepSeekDeepSeek V3.1 671B
F0
671B472.2 GB2 tok/s4K ctx
moe

Fast erreichbar

Modelle, die Sie mit einem Upgrade ausführen könnten

Hochwertige Modelle, die etwas mehr Speicher benötigen

1000BStufe 100Benötigt ca. 617.0 GB
1000BStufe 100Benötigt ca. 617.0 GB

Image & Video Generation

Diffusion Model Compatibility

41 of 52 models can generate images or video on your Tesla P40 24GB

ModelMax ResolutionGen TimeGrade
SD TurboImage512×512~2.2sS
Stable Diffusion 1.5Image512×768~4.4sS
Realistic Vision v5.1Image512×768~4.4sS
DreamShaper 8Image512×768~4.4sS
LCM DreamShaper v7Image512×768~1.3sS
PixArt-SigmaImage1024×1024~17.6sS
FramePack I2VVideo256×256~32.3s/frameS
SDXL TurboImage512×512~2.2sS
SDXL LightningImage1024×1024~6.6sS
Stable Diffusion XL 1.0Image1024×1024~17.6sS
Playground v2.5Image1024×1024~26.4sS
RealVisXL v5.0Image1024×1024~19.8sS
DreamShaper XLImage1024×1024~19.8sS
Juggernaut XL v9Image1024×1024~19.8sS
Animagine XL 3.1Image1024×1024~19.8sS
Pony Diffusion V6 XLImage1024×1024~19.8sS
Animagine XL 4.0Image1024×1024~19.8sS
Illustrious XLImage1024×1024~19.8sS
Wan Video 2.1 1.3BVideo256×256~12.9s/frameS
Stable Diffusion 3.5 MediumImage1024×1024~30.8sS
Flux.2 Klein 4BImage1024×1024~5.3sS
LTX Video 2BVideo768×512~15.3s/frameS
KolorsImage1024×1024~35.2sS
Stable CascadeImage1024×1024~44sS
AuraFlow v0.3Image1536×1536~1m 19sS
Stable Diffusion 3.5 LargeImage1024×1024~1m 37sS
Stable Diffusion 3.5 Large TurboImage1024×1024~17.6sS
CogVideoX 2BVideo720×480~15.3s/frameA
HunyuanVideoVideo256×256~32.3s/frameA
ChromaImage256×256~32.3sA
Z-Image TurboImage1536×1536~18.2sB
Flux.1 DevImage256×256~1m 19sB
Flux.1 SchnellImage256×256~15.4sB
LTX Video 13BVideo256×256~32.3s/frameB
Flux.1 Kontext DevImage256×256~1m 28sB
AnimateDiff v1.5.3Video512×768~8s/frameB
Cosmos Diffusion 7BVideo256×256~48.7s/frameB
CogVideoX 5BVideo256×256~46.3s/frameB
Wan2.2 TI2V 5BVideo256×256~46.3s/frameB
Flux.2 Klein 9BImage256×256~16.1sD
Flux.1 Fill DevImage256×256~1m 15sD
Mochi 1 PreviewVideo256×256~29.1s/frameF
HunyuanVideo 1.5Video256×256~27s/frameF
Helios 14BVideo256×256~33.3s/frameF
SkyReels V2 14BVideo256×256~33.3s/frameF
Wan Video 2.1 14BVideo256×256~33.3s/frameF
Wan Video 2.2 14BVideo256×256~33.3s/frameF
Qwen ImageImage256×256~29.6sF
Qwen Image EditImage256×256~29.6sF
Flux.2 DevImage256×256~13m 53sF
MAGI-1Video256×256~41.3s/frameF
HunyuanImage 3.0Image256×256~52.2sF

Image models estimated at 1024×1024 (28 steps, FP16). Video models estimated at 768×512 (25 frames, 30 steps, FP16). Actual performance varies with runtime and system load.

Upgrade paths

Upgrade from Tesla P40 24GB

See what you unlock with more powerful hardware

Upgrade-Optionen

Upgrade-Optionen

Frequently Asked Questions

What AI models can I run on Tesla P40 24GB?

Tesla P40 24GB (24 GB VRAM) can run these top models: Qwen3-Coder 30B A3B Instruct (score: 93/100), Qwen3-VL 30B A3B Instruct (score: 93/100), GPT-OSS 20B (score: 93/100). See the full compatibility list above.

How much VRAM does Tesla P40 24GB have for AI?

Tesla P40 24GB has 24 GB of VRAM available for AI model inference. This determines which models and quantization levels you can run locally.

Is Tesla P40 24GB good for running LLMs locally?

Yes, Tesla P40 24GB is excellent for running LLMs locally with top compatibility scores above 80/100.

What is the best model for Tesla P40 24GB for coding?

For coding on Tesla P40 24GB, we recommend Devstral Small 2 24B Instruct. It achieves 15.0 tokens per second with 40K context window. This model is a direct match for coding. It belongs to a current frontier family for local AI. It should run, but memory headroom will be limited. Known channels: huggingface, ollama, lm-studio.

Should I upgrade from Tesla P40 24GB?

There are 4 upgrade path(s) from Tesla P40 24GB: MacBook Pro M4 Max 36GB, RTX 5000 Ada 32GB. Upgrading would unlock larger models and faster inference speeds.

Can Tesla P40 24GB run Flux for image generation?

Yes, Tesla P40 24GB with 24 GB of usable memory can run Flux.1 Dev at FP16 natively. Flux is a 12B parameter diffusion transformer that produces high-quality images. You can also run the Schnell variant for faster generation.

What image and video AI models can I run on Tesla P40 24GB?

Tesla P40 24GB (24 GB VRAM) can handle various AI generation tasks beyond LLMs. For image generation, SDXL and Stable Diffusion 3.5 run well. Flux.1 Dev also runs natively for state-of-the-art image quality. For video, LTX Video 2.3 can generate short clips. Check the AI Capability Matrix above for detailed compatibility.

Is Tesla P40 24GB good for AI image generation?

Tesla P40 24GB is excellent for AI image generation. With 24 GB of usable memory, it runs all major diffusion models including Flux.1, SDXL, and Stable Diffusion 3.5 at full precision. You can generate high-resolution images quickly and even handle video generation models.

Can Tesla P40 24GB run Qwen 3.5 27B?

Yes, Tesla P40 24GB with 24 GB of usable memory can run Qwen 3.5 27B at Q4_K_M (~16.5 GB) with ~7 GB headroom for context and runtime. Quality at Q4 is very close to full precision for most tasks. Run it with: ollama run qwen3.5:27b

What is the best quantization for AI models on Tesla P40 24GB?

With 24 GB on Tesla P40 24GB, Q4_K_M is the sweet spot for 27B-35B models, Q6_K for 14B models, and Q8_0 for 8B-9B models. The general rule: use the highest quantization that fits with at least 2-3 GB headroom for KV cache and runtime.

For local LLMs on Tesla P40 24GB, does VRAM matter more than bandwidth?

Tesla P40 24GB has enough memory for many local LLMs, but bandwidth still matters a lot for real speed. Once a model fits, a faster-memory GPU can feel significantly better than a slower setup with similar capacity.

Compare with similar