Can I Run IBM Granite 4.0 on NVIDIA L40S?

Written by Jakub Rusinowski · Last updated August 15, 2026

Yes, comfortably — you'll have ~28.7 GB of headroom running Granite 4.0 Small-H 32B-A9B at Q4_K_M (19.32 GB, ~98 tok/s (est.)) with room for up to 64K context.

Affiliate disclosure: Some links on this page are affiliate links — if you buy through them, LLM Configurator may earn a commission at no extra cost to you. As an Amazon Associate, LLM Configurator earns from qualifying purchases.

NVIDIA L40S 48GB
Launch MSRP: $7,499
2026 prices are volatile — check the current listing.
Check price on Amazon

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

Granite 4.0 Small-H 32B-A9B on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max context
F1665.7 GB✗ No
Q8_035.7 GB✓ Yes32K
Q6_K28 GB✓ Yes64K
Q5_K_M24.4 GB✓ Yes64K
Q4_K_M21 GB✓ Yes64K
Q3_K_M15.4 GB✓ Yes128K
Q2_K12.2 GB✓ Yes128K

VRAM needed assumes a 4K-token context with an f16 KV cache; “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.

IBM Granite 4.0 Sizes That Fit the NVIDIA L40S

Granite 4.0 Small-H 32B-A9BQ4_K_M · 19.32 GB · ~98 tok/s (est.)
Buy vs. rent IBM Granite 4.0
Buy the GPU
~$7,499
NVIDIA L40S · MSRP
Rent by the hour
from $0.34/hr
RTX 4090 (24 GB) class

At 2 hrs/day, buying (~$7,499) beats renting at $0.34/hr after about 30.6 years.

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

RunPod $0.34/hr
Rent on RunPod →
Vast.ai $0.35/hr · typical low · varies
Rent on Vast.ai →

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

FAQ

Can I run IBM Granite 4.0 on the NVIDIA L40S?

Yes, comfortably — you'll have ~28.7 GB of headroom running Granite 4.0 Small-H 32B-A9B at Q4_K_M (19.32 GB, ~98 tok/s (est.)) with room for up to 64K context.

What's the best IBM Granite 4.0 size for the NVIDIA L40S?

Granite 4.0 Small-H 32B-A9B at Q4_K_M quantization (19.32 GB), estimated ~98 tokens/sec, up to 64K context.

IBM Granite 4.0 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

← Can I Run It? | IBM Granite 4.0 Model Page | NVIDIA L40S GPU Page | Check Your Hardware