Can NVIDIA L40S run GLM-5?

Needs 10× L40S (even in 4-bit)

GLM-5 (753.9B parameters) requires ~469 GB VRAM in 4-bit and ~846 GB in FP8. One NVIDIA L40S provides 48 GB GDDR6 (0.86 TB/s). Running it in 4-bit starts at $7.80/hr (10×) on TensorDock.

VRAM & cloud cost by quantization

Precision VRAM needed GPUs required Total VRAM Est. speed Lowest cloud price Monthly (730h)
4-bit (Q4 / AWQ) 469 GB 10× L40S 480 GB (+11 GB) ~12 tok/s $7.80/hr $5,694/mo
FP8 / INT8 846 GB 18× L40S 864 GB (+18 GB) ~12 tok/s $14.04/hr $10,249/mo
Full FP16 / BF16 1623 GB 34× L40S 1632 GB (+9 GB) ~12 tok/s $26.52/hr $19,360/mo

Where to rent NVIDIA L40S right now

Provider 1× / hr 10× (4-bit) / hr Spot (1×) Launch
TensorDock logo TensorDock Cheapest $0.78/hr $7.80/hr - Launch ↗
Vast.ai logo Vast.ai $0.80/hr $8.00/hr $0.47/hr Launch ↗
Hyperstack logo Hyperstack $0.99/hr $9.90/hr - Launch ↗
RunPod logo RunPod $1.09/hr $10.90/hr $0.55/hr Launch ↗
CoreWeave logo CoreWeave $1.25/hr $12.50/hr - Launch ↗
Vultr logo Vultr $1.35/hr $13.50/hr - Launch ↗
Nebius logo Nebius $1.55/hr $15.50/hr $0.65/hr Launch ↗
AWS logo AWS $1.86/hr $18.60/hr $0.46/hr Launch ↗

Memory, quantization & KV-cache analysis

VRAM fit & context headroom: GLM 5 (753.9B parameters) needs roughly 469 GB in 4-bit (AWQ/GGUF), 846 GB in FP8, and 1623 GB in full FP16/BF16. On 10× NVIDIA L40S (480 GB total GDDR6), 4-bit weights leave 11 GB of free VRAM for activations and KV cache, enough for roughly 16K tokens at low-to-moderate batch concurrency.

Hardware precision & compute: NVIDIA L40S (Ada Lovelace) includes native FP8 Tensor Cores rated at 733 TFLOPS, allowing FP8 weights and activations without software dequantization overhead.

Multi-GPU scaling & bandwidth: Spanning 10× L40S communicates over PCIe Gen4. Expect a 10–20% tensor-parallel scaling penalty on multi-GPU decode compared to NVLink SXM nodes. Because autoregressive token generation is memory-bandwidth bound, 10× L40S provides 8.60 TB/s of aggregate memory bandwidth, yielding ~12 tok/s single-stream in 4-bit.

Cheaper cloud alternative check

Save with 8× NVIDIA A100 80GB SXM: While 10× L40S starts at $7.80/hr, you can run GLM-5 (4-bit, 469 GB) for $4.64/hr ($3,387/mo) using 8× NVIDIA A100 80GB SXM on Vast.ai saving $3.16/hr.

Quick-start vLLM launch command (4-bit (Q4 / AWQ))

Deploy GLM-5 on 10× L40S (480 GB total VRAM) using vLLM:

vllm serve zai-org/GLM-5 \
  --tensor-parallel-size 10 \
  --quantization awq \
  --max-model-len 16384 \
  --gpu-memory-utilization 0.92

Frequently asked questions

Can NVIDIA L40S run GLM-5?

Needs 10× L40S (even in 4-bit). GLM-5 (753.9B params) needs ~469 GB VRAM in 4-bit (10× L40S at $7.80/hr) and ~846 GB in FP8 (18× L40S).

How fast does GLM-5 run on L40S?

In 4-bit on 10× L40S (8.60 TB/s aggregate memory bandwidth), estimated single-stream decode speed is ~12 tokens/sec (or ~12 tok/s in FP8 across 18× L40S).

How much does it cost to rent L40S for GLM-5?

Running GLM-5 in 4-bit (10× L40S) starts at $7.80/hr ($5,694/month 24/7) on TensorDock.

Should I use 4-bit or FP8 for GLM-5 on L40S?

NVIDIA L40S (Ada Lovelace) includes native FP8 Tensor Cores rated at 733 TFLOPS, allowing FP8 weights and activations without software dequantization overhead. With 11 GB of remaining VRAM in 4-bit (Q4 / AWQ), you have room for roughly 16K tokens of KV-cache context.

Try GLM-5 on other GPUs