Will It Run AI

Can Mixtral 8x7B run on NVIDIA L40 48GB?

YES — Runs Great

B70Good
Estimated — low-sample bucket· few comparable runs

Mixtral 8x7B needs ~36.3 GB VRAM. NVIDIA L40 48GB has 48.0 GB. With Q4_K_M quantization, expect ~44 tok/s.

Runtime: llama.cppCapacity: RoomyBandwidth: HighStack: StandardBottleneck: Balanced
Share:

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.

Capabilities:

Select quantization to explore

Q4_K_M (Medium quality) 36.3 GB, 43.6 tok/s, Runs well
36.3 GB required48.0 GB available
76% VRAM used

Fit status

Runs well

Decode

43.6 tok/s

TTFT

4438 ms

Safe context

33K

Memory

36.3 GB / 48.0 GB

Memory breakdown

Weights28.7 GB
KV Cache2.0 GB
Runtime0.9 GB
Headroom4.8 GB

See how fast it feels

See how fast it feelsMixtral 8x7B on NVIDIA L40 48GB
1st promptCold start — includes initialization
>Solve: If a train travels at 60 mph for 2.5 hours, how far does it go?
Let me work through this step by step. Given information: - Speed = 60 mph (miles per hour) - Time = 2.5 hours Formula: Distance = Speed x Time Calculation: Distance = 60 mph x 2.5 h = 150 miles The train travels 150 miles. Double-check: at 60 mph the train covers 60 miles each hour. In half an hour it covers 30 miles. So in 2.5 hours: 60 + 60 + 30 = 150 miles. Confirmed.
2nd promptWarm — model ready, no init overhead
>What if the train stops for 20 minutes halfway?
The stop doesn't change the total distance covered while moving, but it affects total trip time. Breakdown: - First half: 1.25 hours at 60 mph = 75 miles - Stop: 20 minutes (no distance) - Second half: 1.25 hours at 60 mph = 75 miles Total distance: 150 miles (same) Total time: 2.5 h + 0.33 h = 2.83 hours Average speed: 150 / 2.83 = 53 mph The distance stays the same but average speed drops to 53 mph because of the stop.
Estimated: 43.6 tok/s decode · 4.4s TTFT (warm) · 109 tok/s prefill

What limits this setup

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.

Best improvement path

Performance by workload

WorkloadGradeFitDecodeTTFTContext
ChatBRuns well43.6 tok/s2420 ms33K
CodingBRuns well43.6 tok/s4438 ms33K
Agentic CodingBRuns well43.6 tok/s6455 ms33K
ReasoningBRuns well43.6 tok/s5244 ms33K
RAGBRuns well43.6 tok/s8068 ms33K

Quantization options

How Mixtral 8x7B (47B params) fits at each quantization level on NVIDIA L40 48GB (48.0 GB usable).

QuantBitsVRAMQualityFit
Q2_K
2
18.3 GB
LowB61
Q3_K_S
3
23.0 GB
LowB63
NVFP4
4
26.3 GB
MediumB64
Q4_K_M
4
28.7 GB
MediumB63
Q5_K_M
5
33.8 GB
HighB63
Q6_KBest for your GPU
6
38.5 GB
HighB63
Q8_0
8
50.3 GB
Very HighF0
F16
16
96.4 GB
MaximumF0

Get started

Copy-paste commands to run Mixtral 8x7B on your machine.

Run

ollama run mixtral

Frequently asked questions

Can NVIDIA L40 48GB run Mixtral 8x7B?

Yes, NVIDIA L40 48GB can run Mixtral 8x7B with a B grade (Runs well). Expected decode speed: 43.6 tok/s.

How much VRAM does Mixtral 8x7B need?

Mixtral 8x7B (47B parameters) requires approximately 36.3 GB of memory with Q4_K_M quantization.

What is the best quantization for Mixtral 8x7B?

The recommended quantization for Mixtral 8x7B is Q4_K_M, which balances quality and memory efficiency.

What speed will Mixtral 8x7B run at on NVIDIA L40 48GB?

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.

Can NVIDIA L40 48GB run Mixtral 8x7B for coding?

For coding workloads, Mixtral 8x7B on NVIDIA L40 48GB receives a B grade with 43.6 tok/s and 33K context.

What context window can Mixtral 8x7B use on NVIDIA L40 48GB?

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.

See all results for NVIDIA L40 48GBSee all hardware for Mixtral 8x7B
Embed this result

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: