Can NVIDIA L4 (24 GB) run Granite 4.2 30B?

Yes, but it is tight. NVIDIA L4 (24 GB) runs Granite 4.2 30B at Q4_K_M with a 16K context, using 22.0 GB of 22.8 GB usable memory at an estimated 11.7–19.4 tok/s.

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

Open in calculator
Tight fitQ4_K_M · 16K context
11.7–19.4 tok/s
22.0 GBof 22.8 GB usable memory
96% used
Weights16.5 GBKV cache4.0 GBOverhead1.5 GB
0.8 GB free

Every quantization on L4 24GB

Q4_K_M (4-bit)
granite4.2:30b
16.5 GB
real file size
22.0 GBTight fit16K
11.7–19.4 tok/s
Estimate
Q6_K (6-bit)
granite4.2:30b-q6_K
22.4 GB
real file size
28.1 GBPartial offload—
1.8–4.3 tok/s
Estimate
Q8_0 (8-bit)
granite4.2:30b-q8_0
29.0 GB
real file size
35.0 GBToo large—
—
FP16 / BF16 (16-bit)
granite4.2:30b-bf16
41.8 GB
real file size
48.4 GBToo large—
—

NVIDIA L4 (24 GB) has 22.8 GB usable for models out of 24 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 L4 24GB by runtime

Command
Ollama
Q4_K_M
granite4.2:30b
16.5 GB
real file size
22.0 GBTight fit11.7–19.4 tok/s
LM Studio
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBTight fit11.7–19.4 tok/sNot in LM Studio's catalog. Search for lmstudio-community/granite-4.2-30b-GGUF in the app's Discover tab.
llama.cpp
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBTight fit11.7–19.4 tok/s
vLLM
INT4
17.7 GB
estimate
23.3 GBToo large—No INT4 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 L4 24GB
$9.02

$4.50/mo power + $9,580 hardware over 36 months

Rented cloud GPU
$0.50

1x RTX 3090 (24 GB) on Vast.ai at $0.18/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 Vast.ai

Questions and answers

Can NVIDIA L4 (24 GB) run Granite 4.2 30B?

Yes, but it is tight. NVIDIA L4 (24 GB) runs Granite 4.2 30B at Q4_K_M with a 16K context, using 22.0 GB of 22.8 GB usable memory at an estimated 11.7–19.4 tok/s.

How fast is Granite 4.2 30B on NVIDIA L4 (24 GB)?

About 11.7–19.4 tok/s at Q4_K_M. Modelled from memory bandwidth and model size. No published measurement covers this setup.

How much context can Granite 4.2 30B use on NVIDIA L4 (24 GB)?

At Q4_K_M the largest context that fits is 16K tokens.