Can NVIDIA L40 (48 GB) run Granite 4.2 30B?

Yes. NVIDIA L40 (48 GB) runs Granite 4.2 30B at Q8_0 with a 16K context, using 35.0 GB of 46.2 GB usable memory at an estimated 19.3–26 tok/s. The largest context that still fits at Q8_0 is 32K.

Asking through an AI agent? Point it at llms.txt or the JSON API.

Open in calculator
Fits comfortablyQ8_0 · 16K context
19.3–26 tok/s
35.0 GBof 46.2 GB usable memory
76% used
Weights29.0 GBKV cache4.0 GBOverhead2.0 GB
11.2 GB free

Every quantization on L40 48GB

Q4_K_M (4-bit)
granite4.2:30b
16.5 GB
real file size
22.0 GBFits comfortably64K
33–45 tok/s
Calibrated
Q6_K (6-bit)
granite4.2:30b-q6_K
22.4 GB
real file size
28.1 GBFits comfortably64K
25–34 tok/s
Calibrated
Q8_0 (8-bit)
granite4.2:30b-q8_0
29.0 GB
real file size
35.0 GBFits comfortably32K
19.3–26 tok/s
Calibrated
FP16 / BF16 (16-bit)
granite4.2:30b-bf16
41.8 GB
real file size
48.4 GBPartial offload4K
2.2–5.2 tok/s
Estimate

NVIDIA L40 (48 GB) has 46.2 GB usable for models out of 48 GB of VRAM. Max context is the longest window that still loads without spilling out of that memory. The label under each speed says whether it was measured, scaled from measurements on this hardware, or modelled.

Granite 4.2 30B on L40 48GB by runtime

Command
Ollama
Q8_0
granite4.2:30b-q8_0
29.0 GB
real file size
35.0 GBFits comfortably19.3–26 tok/s
LM Studio
Q8_0
lmstudio-community/granite-4.2-30b-GGUF
29.0 GB
real file size
35.0 GBFits comfortably19.3–26 tok/sNot in LM Studio's catalog. Search for lmstudio-community/granite-4.2-30b-GGUF in the app's Discover tab.
llama.cpp
Q8_0
lmstudio-community/granite-4.2-30b-GGUF
29.0 GB
real file size
35.0 GBFits comfortably19.3–26 tok/s
vLLM
FP8
29.3 GB
estimate
35.4 GBFits comfortably15.9–27 tok/s
3 requests in parallel
No FP8 build of this model found for vLLM.

Each runtime loads its own build, so sizes differ. Ollama, LM Studio and llama.cpp use GGUF files, vLLM the original safetensors weights or an FP8 / INT4 build. Numbers above this table are for Ollama.

Cost per 1M tokens at 1M tokens/day

Local on L40 48GB
—

$6.76/mo power

Rented cloud GPU
$1.78

1x RTX A6000 (48 GB) on RunPod at $0.33/hr

OpenRouter API
—

Not listed on OpenRouter

There is no API price to compare against. Assumes 75% input and 25% output tokens, one request at a time. Rent on RunPod

Questions and answers

Can NVIDIA L40 (48 GB) run Granite 4.2 30B?

Yes. NVIDIA L40 (48 GB) runs Granite 4.2 30B at Q8_0 with a 16K context, using 35.0 GB of 46.2 GB usable memory at an estimated 19.3–26 tok/s. The largest context that still fits at Q8_0 is 32K.

How fast is Granite 4.2 30B on NVIDIA L40 (48 GB)?

About 19.3–26 tok/s at Q8_0. Scaled from 1 published llama.cpp measurement on this GPU.

How much context can Granite 4.2 30B use on NVIDIA L40 (48 GB)?

At Q8_0 the largest context that fits is 32K tokens. Q4_K_M: 64K, Q6_K: 64K, FP16: 4K.