Can I Run IBM Granite 4.1 on NVIDIA L40S?

Superseded model. IBM Granite 4.1 has been superseded by IBM Granite 4.2. This page is kept for reference; the newer family is a better starting point. View IBM Granite 4.2 →

Written by Jakub Rusinowski · Last updated July 21, 2026

Yes, comfortably — Granite 4.1 30B at FP8 (Q4 est. ~12-15GB, unconfirmed) needs 33.5 GB at 8K context (30.9 GB weights + 2.6 GB KV cache/overhead), leaving ~14.5 GB of the NVIDIA L40S's 48 GB, at ~24 tok/s (est.).

See what else this hardware can run →

Buy this hardware NVIDIA L40S 48GB — 48 GB VRAM · 350 W board powerDeploy in the cloud now NVIDIA L40S on RunPod — from $0.86/hr · rate checked 2026-08

or compare on Vast.ai

As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.

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
48 GB VRAM · 350 W board power
2026 prices are volatile — check the current listing.
Check price on Amazon

NVIDIA L40S Specs

VRAM48 GB
Memory Bandwidth864 GB/s

Granite 4.1 30B on the NVIDIA L40S: VRAM by quantization

QuantVRAM neededFits 48 GB?Max contextWhole PC
F1662.6 GB✗ No——
Q8_034.5 GB✓ Yes64KBuild for this
Q6_K27.2 GB✓ Yes64K—
Q5_K_M23.8 GB✓ Yes64KBuild for this
Q4_K_M20.7 GB✓ Yes128KBuild for this
Q3_K_M15.4 GB✓ Yes128K—
Q2_K12.4 GB✓ Yes128K—

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 FP8 (Q4 est. ~12-15GB, unconfirmed) on the NVIDIA L40S: 8K 33.5 GB · 32K 38.9 GB · 128K 60.2 GB ✗. Past 128K 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? Granite 4.1 30B on 32 GB of system RAM, CPU only: runs comfortably.

IBM Granite 4.1 Sizes That Fit the NVIDIA L40S (at 8K context)

Granite 4.1 30BFP8 (Q4 est. ~12-15GB, unconfirmed) · 33.5 GB at 8K context · ~24 tok/s (est.)
Granite 4.1 8BQ4_K_M · 6.8 GB at 8K context · ~111 tok/s (est.)
Granite 4.1 3BQ4_K_M · 3.5 GB at 8K context · ~199 tok/s (est.)
Buy vs. rent IBM Granite 4.1
Buy the GPU
~$7,499
NVIDIA L40S · MSRP
Rent by the hour
from $0.55/hr
A100 (40 GB) class

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

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

Vast.ai $0.55/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

Is the NVIDIA L40S enough to run IBM Granite 4.1 locally?

Yes, comfortably — Granite 4.1 30B at FP8 (Q4 est. ~12-15GB, unconfirmed) needs 33.5 GB at 8K context (30.9 GB weights + 2.6 GB KV cache/overhead), leaving ~14.5 GB of the NVIDIA L40S's 48 GB, at ~24 tok/s (est.).

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

Granite 4.1 30B at FP8 (Q4 est. ~12-15GB, unconfirmed) quantization needs 33.5 GB at 8K context (30.9 GB weights + 2.6 GB KV cache/overhead), estimated ~24 tokens/sec.

Every IBM Granite 4.1 size on the NVIDIA L40S

SizeVRAM at 8KVerdictSpeed
Granite 4.1 30B33.5 GBRuns~24 tok/s
Granite 4.1 8B6.8 GBRuns~111 tok/s
Granite 4.1 3B3.5 GBRuns~199 tok/s

IBM Granite 4.1 on Other GPUs

Popular Models on the NVIDIA L40S

VRAM Tier

Troubleshooting

Buying Guide

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