What can the Tesla M40 run?
With 24 GB, 8 of 12 popular open models fit. The best pick is Qwen3 30B-A3B at about 50 tok/s, faster than you can read.
ollama run qwen3:30bFirst time? Install Ollama, then paste that into a terminal. Is this your machine? Check it on the homepage.
Every model the Tesla M40 12 GB can run
4 of 12 fit. Best pick: Qwen3 8B.
- Qwen3 4BQuick everyday chat and summaries~63 tok/sRuns great
qwen3:4b - Qwen3 8BA solid all-rounder for chat and writing~30 tok/sRuns great
qwen3:8b - Gemma 3 12BReads images as well as text~20 tok/sUsable
gemma3:12b - Qwen3 14BNoticeably smarter at reasoning and code~17 tok/sUsable
qwen3:14b - gpt-oss 20BOpenAI's open model. Fast, strong reasoningneeds 16 GBToo big
gpt-oss:20b - Gemma 3 27BGoogle's best open model for its sizeneeds 19 GBToo big
gemma3:27b - Qwen3 30B-A3B30B smarts at small-model speedneeds 21 GBToo big
qwen3:30b - Qwen3 32BStrong coding and long answersneeds 22 GBToo big
qwen3:32b - Llama 3.3 70BClose to the big cloud modelsneeds 45 GBToo big
llama3.3:70b - gpt-oss 120BOpenAI's largest open modelneeds 67 GBToo big
gpt-oss:120b - Qwen3 235B-A22BAlibaba's flagship open model, for multi-GPU rigsneeds 144 GBToo big
qwen3:235b - DeepSeek R1 671BThe full DeepSeek R1, for the biggest rigsneeds 406 GBToo big
deepseek-r1:671b
Every model the Tesla M40 24 GB can run
8 of 12 fit. Best pick: Qwen3 30B-A3B.
- Qwen3 4BQuick everyday chat and summaries~63 tok/sRuns great
qwen3:4b - Qwen3 8BA solid all-rounder for chat and writing~30 tok/sRuns great
qwen3:8b - Gemma 3 12BReads images as well as text~20 tok/sUsable
gemma3:12b - Qwen3 14BNoticeably smarter at reasoning and code~17 tok/sUsable
qwen3:14b - gpt-oss 20BOpenAI's open model. Fast, strong reasoning~50 tok/sRuns great
gpt-oss:20b - Gemma 3 27BGoogle's best open model for its size~9 tok/sSlow
gemma3:27b - Qwen3 30B-A3B30B smarts at small-model speed~50 tok/sRuns great
qwen3:30b - Qwen3 32BStrong coding and long answers~8 tok/sSlow
qwen3:32b - Llama 3.3 70BClose to the big cloud modelsneeds 45 GBToo big
llama3.3:70b - gpt-oss 120BOpenAI's largest open modelneeds 67 GBToo big
gpt-oss:120b - Qwen3 235B-A22BAlibaba's flagship open model, for multi-GPU rigsneeds 144 GBToo big
qwen3:235b - DeepSeek R1 671BThe full DeepSeek R1, for the biggest rigsneeds 406 GBToo big
deepseek-r1:671b
Can the Tesla M40 run it?
Can the Tesla M40 run Qwen3 30B-A3B?
Yes, with 24 GB or more. Qwen3 30B-A3B needs about 21 GB and the Tesla M40 has 24 GB of VRAM. Expect about 50 tok/s, faster than you can read. The 12 GB version doesn't have room.
Can the Tesla M40 run Qwen3 32B?
Yes, with 24 GB or more. Qwen3 32B needs about 22 GB and the Tesla M40 has 24 GB of VRAM. Expect about 8 tok/s, slow, but it works. The 12 GB version doesn't have room.
Can the Tesla M40 run Llama 3.3 70B?
No. Llama 3.3 70B needs about 45 GB and the Tesla M40 has at most 24 GB of VRAM. Ollama can still start it by putting part of the model in system RAM, but it runs several times slower. The most capable model it runs well is Qwen3 30B-A3B, at about 50 tok/s.
Real runs on the Tesla M40
Loading measured runs…
Generating a token reads the model's active weights from memory once, so speed is roughly memory bandwidth (288 GB/s) divided by the active weight size, with efficiency calibrated on our own rack. Sizes are Ollama's default 4-bit downloads plus about 1.2 GB for context. Real results are usually within about a third. Measured runs are on the leaderboard.
The Ryzen AI Max+ 395 mini PC, 128 GB runs gpt-oss 120B at about 31 tok/s, from $3,400 used.
Similar cards
The Tesla M40 against its rivals
- Tesla M40 vs Tesla P4024 GB · 346 GB/s
- Tesla M40 vs L424 GB · 300 GB/s
- Tesla M40 vs RX 7600 XT16 GB · 288 GB/s
- Tesla M40 vs Apple M1 Pro16 / 32 GB · 200 GB/s
- Tesla M40 vs Apple M216 / 8 / 24 GB · 100 GB/s
- Tesla M40 vs Apple M2 Pro16 / 32 GB · 200 GB/s
- Tesla M40 vs Apple M316 / 8 / 24 GB · 100 GB/s
- Tesla M40 vs Apple M416 / 24 / 32 GB · 120 GB/s
- Tesla M40 vs Apple M516 / 24 / 32 GB · 153 GB/s