Can Qwen3-Coder 30B A3B Instruct run on Tesla P40 24GB?
YES — With Offload
Qwen3-Coder 30B A3B Instruct needs ~23.7 GB VRAM. Tesla P40 24GB has 24.0 GB. With Q4_K_M quantization, expect ~28 tok/s.
Operating mode
Choose the run profile you care about
Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.
Current mode
Balanced
Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.
Select quantization to explore
Fit status
Runs with offload
Decode
30.9 tok/s
TTFT
6272 ms
Safe context
20K
Memory
23.7 GB / 24.0 GB
Memory breakdown
See how fast it feels
What limits this setup
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 improvement path
Buy headroom, not only minimum fit
A slightly larger memory tier gives you safer context growth and makes the recommendation more future-proof.
Performance by workload
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | S | Runs with offload | 30.9 tok/s | 3421 ms | 20K |
| Coding | S | Runs with offload | 28.4 tok/s | 6821 ms | 20K |
| Agentic Coding | S | Runs with offload (needs ~0.8 GB host RAM) | 20.3 tok/s | 13842 ms | 20K |
| Reasoning | S | Runs with offload | 30.9 tok/s | 7412 ms | 20K |
| RAG | S | Runs with offload (needs ~0.8 GB host RAM) | 20.3 tok/s | 17303 ms |
Quantization options
How Qwen3-Coder 30B A3B Instruct (30.5B params) fits at each quantization level on Tesla P40 24GB (24.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 11.9 GB | Low | S93 |
Q3_K_S | 3 | 14.9 GB | Low | S93 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Qwen3-Coder 30B A3B Instruct on your machine.
Run
ollama run qwen3-coder