Can Qwen3 4B Instruct 2507 run on the L40S?
Yes. At 8K context the best fit is F16, using about 9.3 GB of the 45.6 GB usable on the L40S. Estimated speed ceiling: ~107 tokens/sec.
Memory by quant and context
| Quant | 4K ctx | 8K ctx | 32K ctx | 128K ctx | Max tok/s (est., 8K) |
|---|---|---|---|---|---|
| 2-bit (Q2_K) • | 2.8 GB Fits | 3.4 GB Fits | 6.7 GB Fits | 20.2 GB Fits | 518 |
| 3-bit (Q3_K_M) • | 3.2 GB Fits | 3.7 GB Fits | 7.1 GB Fits | 20.6 GB Fits | 416 |
| 4-bit (Q4_K_M) • | 3.6 GB Fits | 4.1 GB Fits | 7.5 GB Fits | 21.0 GB Fits | 346 |
| 5-bit (Q5_K_M) • | 3.9 GB Fits | 4.5 GB Fits | 7.9 GB Fits | 21.4 GB Fits | 299 |
| 6-bit (Q6_K) • | 4.3 GB Fits | 4.9 GB Fits | 8.3 GB Fits | 21.8 GB Fits | 261 |
| 8-bit (Q8_0) • | 5.2 GB Fits | 5.8 GB Fits | 9.2 GB Fits | 22.7 GB Fits | 202 |
| 16-bit (F16/BF16) • | 8.8 GB Fits | 9.3 GB Fits | 12.7 GB Fits | 26.2 GB Fits | 107 |
• real GGUF file size from unsloth/Qwen3-4B-Instruct-2507-GGUF. Speed is a bandwidth ceiling (864 GB/s), not a benchmark. Methodology.
More
Qwen3 4B Instruct 2507 on every GPU and Mac · Every model that runs on the L40S · Other models that fit 48 GB VRAM · Try other settings in the calculator
Data: Hugging Face Hub (Qwen/Qwen3-4B-Instruct-2507), NVIDIA specs. Data as of 2026-11-17.