GPUs · 0001-01-01 · Checked 2026-11-30

Generated by scripts/gen-gpu-pages.py on 2026-11-30 from data/gpus.yaml and data/benchmarks.yaml


title: “L40S: 48 GB, what fits and what runs” description: “48 GB at 864 GB/s, generation cc 8.9. How many billion parameters fit at Q4_K_M, what the bandwidth caps throughput at, and which engines build for it.” date: 2026-11-30 slug: “l40s” faq:

  • q: “How much model fits on the L40S?” a: >- About 81 billion parameters of weights at Q4_K_M, which is 0.57 GB of memory per billion parameters. That is the arithmetic before the context cache: the cache grows with every token of the prompt and is what turns a model that loads into one that fails at 32K. Run your own quant and length through /will-it-fit/.
  • q: “Why does the L40S show less memory than 48 GB?” a: >- Because the driver and a graphical session take some of it before any model loads, usually 0.5 to 1.5 GB. The number that matters is what the card will still give away.
  • q: “Does every inference engine build for the L40S?” a: >- No. Each project publishes its own floor, and an engine built for a newer generation stops at load time on an older one, before a weight is read. This card is cc 8.9; /will-it-run/ compares the published floors against it and shows the line each one comes from.

The L40S carries 48 GB on a 864 GB/s bus and draws 350 W. 48 GB of ECC GDDR6 at 864 GB/s on a 350 W PCIe card; the no-SXM route to 48 GB, but PCIe-only interconnect with no NVLink.

How much model fits

Weights at Q4_K_M take 0.57 GB per billion parameters. Taking away 1.5 GB for the driver and a session, 46 GB of usable memory holds about 81 billion parameters of weights - and nothing else: the context cache and the working buffers come out of the same place.

QuantGB per billion parameters48 GB holds
Q8_01.06about 43 B
Q6_K0.82about 56 B
Q4_K_M0.57about 81 B
Q3_K_M0.45about 103 B
Q2_K0.35about 132 B

What the bandwidth sets

Generation reads the weights once per token, so memory bandwidth is the ceiling: 864 GB/s divided by the 15.4 GB a dense 27B model at Q4_K_M reads per token gives about 56 tok/s for a single stream. A mixture-of-experts model reads only the experts that fire, so a 30B model with 3B active can beat a dense 13B on the same card - which is why measured throughput and this ceiling disagree on MoE models. Real runs land below the ceiling.

Measured throughput

No run on this card is published on the site, so there is no number here. The measured rows live on /leaderboard/, and the calculator on /will-it-fit/ prints the bandwidth ceiling for any card and model pair without running anything.

Before buying or loading

Check the generation first: this card is cc 8.9, and an engine that stops below a published floor fails at load time, not at inference. /will-it-run/ does that comparison with the project’s own quoted line.

If it loads and then runs out of memory on a long prompt, the order of fixes is on /pit-stop/out-of-memory/. Two cards of different models in one box is its own problem: /tuning/mixed-gpus/.

Neighbours by size: RTX 6000 Ada, H100 80 GB SXM.

All 47 cards, with power and bandwidth, are on /gpus/.