Can NVIDIA L4 run GLM-5?
GLM-5 (753.9B parameters) requires ~469 GB VRAM in 4-bit and ~846 GB in FP8. One NVIDIA L4 provides 24 GB GDDR6 (0.3 TB/s). Running it in 4-bit starts at $6.40/hr (20×) on Vast.ai.
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 | 20× L4 | 480 GB (+11 GB) | ~9 tok/s | $6.40/hr | $4,672/mo |
| FP8 / INT8 | 846 GB | 36× L4 | 864 GB (+18 GB) | ~9 tok/s | $11.52/hr | $8,410/mo |
| Full FP16 / BF16 | 1623 GB | 68× L4 | 1632 GB (+9 GB) | ~8 tok/s | $21.76/hr | $15,885/mo |
Where to rent NVIDIA L4 right now
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 20× NVIDIA L4 (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 L4 (Ada Lovelace) includes native FP8 Tensor Cores rated at 242 TFLOPS, allowing FP8 weights and activations without software dequantization overhead.
Multi-GPU scaling & bandwidth: Spanning 20× L4 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, 20× L4 provides 6.00 TB/s of aggregate memory bandwidth, yielding ~9 tok/s single-stream in 4-bit.
Cheaper cloud alternative check
Save with 8× NVIDIA A100 80GB SXM: While 20× L4 starts at $6.40/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 $1.76/hr.
Quick-start vLLM launch command (4-bit (Q4 / AWQ))
Deploy GLM-5 on 20× L4 (480 GB total VRAM) using vLLM:
vllm serve zai-org/GLM-5 \
--tensor-parallel-size 20 \
--quantization awq \
--max-model-len 16384 \
--gpu-memory-utilization 0.92 Frequently asked questions
Can NVIDIA L4 run GLM-5?
Needs 20× L4 (even in 4-bit). GLM-5 (753.9B params) needs ~469 GB VRAM in 4-bit (20× L4 at $6.40/hr) and ~846 GB in FP8 (36× L4).
How fast does GLM-5 run on L4?
In 4-bit on 20× L4 (6.00 TB/s aggregate memory bandwidth), estimated single-stream decode speed is ~9 tokens/sec (or ~9 tok/s in FP8 across 36× L4).
How much does it cost to rent L4 for GLM-5?
Running GLM-5 in 4-bit (20× L4) starts at $6.40/hr ($4,672/month 24/7) on Vast.ai.
Should I use 4-bit or FP8 for GLM-5 on L4?
NVIDIA L4 (Ada Lovelace) includes native FP8 Tensor Cores rated at 242 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.