Mixtral 8x7B needs ~36.3 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~44 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
43.6 tok/s
TTFT
4438 ms
Safe context
33K
Memory
36.3 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 | 43.6 tok/s | 2420 ms | 33K |
| Coding | B | Runs well | 43.6 tok/s | 4438 ms | 33K |
| Agentic Coding | B | Runs well | 43.6 tok/s | 6455 ms | 33K |
| Reasoning | B | Runs well | 43.6 tok/s | 5244 ms | 33K |
| RAG | B | Runs well | 43.6 tok/s | 8068 ms | 33K |
How Mixtral 8x7B (47B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 18.3 GB | Low | B61 |
Q3_K_S | 3 | 23.0 GB | Low | B63 |
NVFP4 | 4 |
Copy-paste commands to run Mixtral 8x7B on your machine.
Run
ollama run mixtralYes, NVIDIA L40 48GB can run Mixtral 8x7B with a B grade (Runs well). Expected decode speed: 43.6 tok/s.
Mixtral 8x7B (47B parameters) requires approximately 36.3 GB of memory with Q4_K_M quantization.
The recommended quantization for Mixtral 8x7B is Q4_K_M, which balances quality and memory efficiency.
On NVIDIA L40 48GB, Mixtral 8x7B achieves approximately 43.6 tokens per second decode speed with a time-to-first-token of 4438ms using Q4_K_M quantization.
For coding workloads, Mixtral 8x7B on NVIDIA L40 48GB receives a B grade with 43.6 tok/s and 33K context.
On NVIDIA L40 48GB, Mixtral 8x7B can safely use up to 33K tokens of context. The model's official context limit is 33K, 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/mixtral-8x7b-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:
26.3 GB |
| Medium |
| B64 |
Q4_K_M | 4 | 28.7 GB | Medium | B63 |
Q5_K_M | 5 | 33.8 GB | High | B63 |
Q6_KBest for your GPU | 6 | 38.5 GB | High | B63 |
Q8_0 | 8 | 50.3 GB | Very High | F0 |
F16 | 16 | 96.4 GB | Maximum | F0 |