← AI Hashrate

Can L40S 48GB run Phi-4?

NVIDIA · 48 GB GDDR6 · 864 GB/s bandwidth · Microsoft · 14.7B · model ctx up to 16K

Yes — the L40S 48GB (48 GB GDDR6) can run Phi-4. At Q4 with the default 8K context it needs ≈ 12.03 GB VRAM (weights 8.09 GB + KV cache 2.94 GB + 1 GB runtime overhead), which fits within 48 GB. Decode at Q4/8K: ≈ 37.4 tok/s (estimated, batch 1). FP16 (≈ 33.34 GB) also fits, at ≈ 10.3 tok/s (estimated). Estimates come from memory-bandwidth math; rows tagged measured override estimates. Relative ranking is more reliable than absolute tok/s. Methodology.

Fit & speed by quant and context

QuantContextVRAM neededFits?tok/s (decode)
Q44K10.56 GBYes37.4 est.
Q48K default12.03 GBYes37.4 est.
Q432K20.84 GBYes37.4 est.
FP164K31.87 GBYes10.3 est.
FP168K default33.34 GBYes10.3 est.
FP1632K42.16 GBYes10.3 est.

Fits = weights + KV(ctx) + 1 GB overhead ≤ 95% of VRAM. Measured anchors are context-agnostic; the fit verdict is recomputed per context. A missing tok/s means the model is far beyond this card (offload-only territory).

VRAM breakdown at 8K context

QuantWeightsKV cacheOverheadTotal neededL40S 48GB VRAM
Q48.09 GB2.94 GB1 GB12.03 GB48 GB
FP1629.4 GB2.94 GB1 GB33.34 GB48 GB

Other GPUs that run Phi-4

All GPUs for Phi-4 →

Other models for the L40S 48GB

All models on the L40S 48GB →