Best AI Models for NVIDIA Tesla M40 24GB (24.0GB)
Maxwell (2015): no Tensor Cores, slow FP16, GDDR5 — the cheapest 24 GB card but also the slowest here. Passive server card; needs added cooling.
24 GB is the enthusiast tier for running AI models locally. It comfortably handles 7B–13B models at high quality and opens the door to larger 30B models at moderate quantization.
This is one of the most popular memory tiers for local AI, found in GPUs like the RTX 4090 and RTX 3090. You can run Llama 3 8B, Mistral 7B, and Qwen 2.5 7B at Q5_K_M or Q6_K quality with fast token generation and generous context windows. Larger 14B models like DeepSeek R1 Distill fit comfortably at Q4_K_M. For even bigger models, 30B class runs at Q2–Q3, but 70B models are generally too heavy for single-GPU inference at this tier.
Runs Well
- 7B models (Llama 3 8B, Mistral 7B) at Q5–Q8 quality
- 13B–14B models at Q4–Q5 quality
- Small models (3B–4B) at FP16 precision
- Multimodal models like LLaVA 7B
Challenging
- 30B models only at Q2–Q3 quantization
- 70B models do not fit in VRAM
- Large context windows with 14B+ models
What LLMs Can NVIDIA Tesla M40 24GB Run?
247 models · 73 excellent · 92 good
Showing compatibility for NVIDIA Tesla M40 24GB
| Model | Quant | VRAM | Speed | Context | Status | Grade |
|---|---|---|---|---|---|---|
Q4_K_M·183.5 t/s tok/s·8K ctx·RUNS GREAT | Q4_K_M | 1.0 GB | 183.5 t/s | 8K | RUNS GREAT | S99 |
Q4_K_M·29.0 t/s tok/s·RUNS WELL | Q4_K_M | 6.5 GB | 29.0 t/s | — | RUNS WELL | A69 |
Q4_K_M·374.4 t/s tok/s·128K ctx·RUNS GREAT | Q4_K_M | 0.5 GB | 374.4 t/s | 128K | RUNS GREAT | S100 |
Q4_K_M·32.3 t/s tok/s·RUNS WELL | Q4_K_M | 5.8 GB | 32.3 t/s | — | RUNS WELL | A72 |
Q4_K_M·11.1 t/s tok/s·262K ctx·DECENT | Q4_K_M | 16.9 GB | 11.1 t/s | 262K | DECENT | B49 |
Q4_K_M·210.3 t/s tok/s·131K ctx·RUNS GREAT | Q4_K_M | 0.9 GB | 210.3 t/s | 131K | RUNS GREAT | S100 |
Q4_K_M·31.5 t/s tok/s·262K ctx·RUNS WELL | Q4_K_M | 5.9 GB | 31.5 t/s | 262K | RUNS WELL | A71 |
Q4_K_M·75.7 t/s tok/s·DECENT | Q4_K_M | 23.3 GB | 75.7 t/s | — | DECENT | B60 |
BF16·34.0 t/s tok/s·500K ctx·RUNS WELL | BF16 | 5.5 GB | 34.0 t/s | 500K | RUNS WELL | A73 |
Q4_K_M·55.1 t/s tok/s·37K ctx·RUNS WELL | Q4_K_M | 3.4 GB | 55.1 t/s | 37K | RUNS WELL | A82 |
Q4_K_M·36.2 t/s tok/s·33K ctx·RUNS WELL | Q4_K_M | 5.2 GB | 36.2 t/s | 33K | RUNS WELL | A73 |
Q4_K_M·175.0 t/s tok/s·131K ctx·RUNS GREAT | Q4_K_M | 1.1 GB | 175.0 t/s | 131K | RUNS GREAT | S99 |
BF16·94.1 t/s tok/s·RUNS GREAT | BF16 | 2.0 GB | 94.1 t/s | — | RUNS GREAT | S90 |
Q4_K_M·9.1 t/s tok/s·262K ctx·BARELY RUNS | Q4_K_M | 20.7 GB | 9.1 t/s | 262K | BARELY RUNS | C39 |
Q4_K_M·183.5 t/s tok/s·16K ctx·RUNS GREAT | Q4_K_M | 1.0 GB | 183.5 t/s | 16K | RUNS GREAT | S99 |
Q4_K_M·85.9 t/s tok/s·131K ctx·RUNS GREAT | Q4_K_M | 2.2 GB | 85.9 t/s | 131K | RUNS GREAT | S88 |
NVIDIA Tesla M40 24GB Specifications
- Brand
- NVIDIA
- Architecture
- Maxwell
- Compute Capability
- 5.2 (CUDA SM version)
- VRAM
- 24.0 GB GDDR5
- Memory Bandwidth
- 288.0 GB/s
- CUDA Cores
- 3,072
- Tensor Cores
- 0
- TDP
- 250W
- Release Date
- 2015-11-10
Get Started
Prompt Processing
Estimated for Typhoon2.5 Qwen3 30B A3b, the compute-bound phase that reads your prompt before the first reply token appears.
Short chat
1.1 s
512 tok prompt
Long chat
8.9 s
4,096 tok prompt
Document / codebase
71 s
32,768 tok prompt
Prefill is compute-bound and a different number from the decode tok/s shown elsewhere on this page — how prompt processing works →
Efficiency & Value
Based on Typhoon2.5 Qwen3 30B A3b at ~73.4 tok/s decode.
Tokens per watt
Higher is better.
Performance figures are estimates calibrated as of 2026-09-21 — see calibration basis →
GPUs to Consider Over NVIDIA Tesla M40 24GB
Similar GPUs and upgrades with more VRAM or higher bandwidth for AI
NVIDIA GeForce RTX 5090
NVIDIA · Blackwell
NVIDIA GeForce RTX 3090 Ti
NVIDIA · Ampere
NVIDIA GeForce RTX 4090
NVIDIA · Ada Lovelace
AMD Radeon RX 7900 XTX
AMD · RDNA 3
NVIDIA GeForce RTX 3090
NVIDIA · Ampere
NVIDIA GeForce RTX 5090 Laptop GPU
NVIDIA · Blackwell
Frequently Asked Questions
- Can NVIDIA Tesla M40 24GB run Gemma 4 26B A4B IT?
Yes, the NVIDIA Tesla M40 24GB with 24 GB can run Gemma 4 26B A4B IT, NVIDIA Nemotron 3.5 Lightning 30B A3B BF16, Qwen3.8 27B, and 2310 other models. 924 models run at excellent quality, and 776 at good quality. Check the compatibility table above for the full list with VRAM usage and estimated speed.
- Is NVIDIA Tesla M40 24GB good for AI?
The NVIDIA Tesla M40 24GB has 24 GB of GDDR5, making it excellent for running local AI models. It supports 1700 models at good quality or better. With 288.0 GB/s memory bandwidth, it delivers reasonable token generation speeds. This is an enthusiast-grade GPU that handles most popular open-source LLMs.
- How many parameters can NVIDIA Tesla M40 24GB handle?
With 24 GB, the NVIDIA Tesla M40 24GB supports models from 3B to 30B parameters depending on quantization level. At Q4_K_M (the recommended sweet spot), you can fit roughly 40B parameters. This means 7B models at high quality (Q6/Q8) or 30B+ models at Q4.
- What quantization should I use on NVIDIA Tesla M40 24GB?
For the best balance of quality and speed on the NVIDIA Tesla M40 24GB, start with Q4_K_M — it preserves ~85% of the original model quality while keeping VRAM usage reasonable. With 24+ GB, you have the headroom to run 7B models at Q5_K_M or even Q6_K for noticeably better output quality. For larger 30B models, Q4_K_M remains the sweet spot.
- How fast is NVIDIA Tesla M40 24GB for AI inference?
With 288.0 GB/s memory bandwidth, the NVIDIA Tesla M40 24GB achieves approximately 42 tokens/sec on a 7B model at Q4_K_M — that's very fast, well above conversational speed. A 14B model runs at ~21 tok/s. Token generation speed scales inversely with model size — smaller models are significantly faster.
tok/s = (288 GB/s ÷ model GB) × efficiency
Smaller models = faster inference. Memory bandwidth is the main bottleneck for token generation speed.
Estimated speed on NVIDIA Tesla M40 24GB
~67 tok/s~79 tok/s~11 tok/s~10 tok/sReal-world results typically within ±20%. Speed depends on quantization kernel, batch size, and software stack.
- What's the best model for NVIDIA Tesla M40 24GB?
The top-rated models for the NVIDIA Tesla M40 24GB are Gemma 4 26B A4B IT, NVIDIA Nemotron 3.5 Lightning 30B A3B BF16, Qwen3.8 27B. The best choice depends on your use case: coding assistants benefit from code-tuned models, while general chat works well with instruction-tuned models like Llama or Qwen.
- What power supply and cooling does NVIDIA Tesla M40 24GB need?
The NVIDIA Tesla M40 24GB has a TDP of 250 W. A good rule of thumb is to provide at least double the GPU's TDP to cover the rest of the system — that means a 550 W PSU or larger. A mid-tower case with one intake and one rear exhaust is usually sufficient. Keep dust filters clean, as sustained inference generates continuous heat rather than the brief spikes typical of gaming.
- Anything to watch out for with NVIDIA Tesla M40 24GB?
Maxwell (2015): no Tensor Cores, slow FP16, GDDR5 — the cheapest 24 GB card but also the slowest here. Passive server card; needs added cooling.