Yi 1.5 34B needs ~30.4 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~35 tok/s.
Operating mode
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 well
Decode
35.3 tok/s
TTFT
5488 ms
Safe context
4K
Memory
30.4 GB / 48.0 GB
This setup is broadly balanced for this model.
No major red flags
This recommendation has enough memory headroom and acceptable estimated speed for the selected workload.
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | B | Runs well | 35.3 tok/s | 2993 ms | 4K |
| Coding | B | Runs well | 35.3 tok/s | 5488 ms | 4K |
| Agentic Coding | B | Runs well | 35.3 tok/s | 7982 ms | 4K |
| Reasoning | B | Runs well | 35.3 tok/s | 6485 ms | 4K |
| RAG | B | Runs well | 35.3 tok/s | 9978 ms | 4K |
How Yi 1.5 34B (34B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 13.3 GB | Low | B57 |
Q3_K_S | 3 | 16.7 GB | Low | B58 |
NVFP4 | 4 | 19.0 GB | Medium | B59 |
Q4_K_M | 4 | 20.7 GB | Medium | B59 |
Q5_K_M | 5 | 24.5 GB | High | B60 |
Q6_K | 6 | 27.9 GB | High | B61 |
Q8_0Best for your GPU | 8 | 36.4 GB | Very High | B60 |
F16 | 16 | 69.7 GB | Maximum | F0 |
Copy-paste commands to run Yi 1.5 34B on your machine.
Run
lms load Yi-1.5-34B-Chat && lms server startYes, NVIDIA L40 48GB can run Yi 1.5 34B with a B grade (Runs well). Expected decode speed: 35.3 tok/s.
Yi 1.5 34B (34B parameters) requires approximately 30.4 GB of memory with Q4_K_M quantization.
The recommended quantization for Yi 1.5 34B is Q4_K_M, which balances quality and memory efficiency.
On NVIDIA L40 48GB, Yi 1.5 34B achieves approximately 35.3 tokens per second decode speed with a time-to-first-token of 5488ms using Q4_K_M quantization.
For coding workloads, Yi 1.5 34B on NVIDIA L40 48GB receives a B grade with 35.3 tok/s and 4K context.
On NVIDIA L40 48GB, Yi 1.5 34B can safely use up to 4K tokens of context. The model's official context limit is 4K, but available memory constrains the safe maximum.
Paste this snippet into any page to show a live fit card.
<iframe src="https://willitrunai.com/embed/yi-1.5-34b-on-l40-48gb" width="400" height="180" frameborder="0" style="border:none;border-radius:12px;overflow:hidden;" title="Will It Run AI — fit result"></iframe>
Preview: