Can I Run GLM-5 / GLM-5.1 on NVIDIA L40S?

作者: Jakub Rusinowski · 最后更新: 2026年7月21日

No — GLM-5 744B at Q4_K_M needs 455.2 GB at 8K context (449.2 GB weights + 6 GB KV cache/overhead), and the NVIDIA L40S's 48 GB leaves it ~407.2 GB short.

Get a personalized upgrade path →

立即云端部署 RunPod 上的 NVIDIA L40S — 低至 $0.86/小时 · 价格核实于 2026-08

或在 Vast.ai 比较

作为亚马逊联盟成员,我们从符合条件的购买中获得收入。云 GPU 链接为推荐链接——我们可能获得佣金,您无需额外付费。

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

GLM-5 744B on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F161494 GB✗ No——
Q8_0796.5 GB✗ No——
Q6_K616.1 GB✗ No——
Q5_K_M533.3 GB✗ No——
Q4_K_M455.2 GB✗ No——
Q3_K_M323.2 GB✗ No——
Q2_K250.6 GB✗ No——

Assumes an 8K-token context with an f16 KV cache, on an estimated architecture — this model publishes no config we can read. A longer window needs more; a quantized KV cache needs less. “Max context” is the largest window that still fits in 48 GB. Figures are estimates from parameter count, quantization and memory bandwidth — the analyzer lets you tune KV-cache quant and context.

Context costs VRAM too. At Q4_K_M on the NVIDIA L40S: 8K 455.2 GB ✗ · 32K 470.9 GB ✗ · 128K 533.7 GB ✗. Past 8K it no longer fits 48 GB — a q8_0 KV cache buys roughly half of that back, which the calculator will price for you.

No compatible GPU? GLM-5 744B on 256 GB of system RAM, CPU only: still does not fit.

Why It Does Not Fit

Every GLM-5 / GLM-5.1 variant requires more VRAM than the NVIDIA L40S provides (48 GB).

Won't fit — rent GLM-5 / GLM-5.1 instead

GLM-5 / GLM-5.1 needs ~455 GB but this GPU has 48 GB. Rent a 8× H100 (640 GB)-class GPU by the hour instead of buying one:

Affiliate links — we may earn a commission if you sign up, at no extra cost to you.

RunPod $23.12/hr
Rent on RunPod →

Cloud rates verified 2026-07 — estimates, and marketplace prices vary. Buying price is GPU MSRP only, not a full PC.

FAQ

Can I run GLM-5 / GLM-5.1 on the NVIDIA L40S?

No — GLM-5 744B at Q4_K_M needs 455.2 GB at 8K context (449.2 GB weights + 6 GB KV cache/overhead), and the NVIDIA L40S's 48 GB leaves it ~407.2 GB short.

GLM-5 / GLM-5.1 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

← Can I Run It? | GLM-5 / GLM-5.1 Model Page | NVIDIA L40S GPU Page | VRAM calculator | Check Your Hardware