Can AMD Radeon RX 7900 XT (20 GB) run Granite 4.2 30B?

Only partly. At Q4_K_M Granite 4.2 30B needs 22.0 GB, more than the 18.9 GB of usable VRAM on AMD Radeon RX 7900 XT (20 GB). The rest runs on the CPU, which cuts generation to about 5.5–12.0 tok/s.

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

Open in calculator
Partial offloadQ4_K_M · 16K context
5.5–12.0 tok/s
22.0 GBof 18.9 GB usable memory
116% used
Weights16.5 GBKV cache4.0 GBOverhead1.5 GB
+3.1 GB over limit

Every quantization on RX 7900 XT 20GB

Q4_K_M (4-bit)
granite4.2:30b
16.5 GB
real file size
22.0 GBPartial offload—
5.5–12.0 tok/s
Estimate
Q6_K (6-bit)
granite4.2:30b-q6_K
22.4 GB
real file size
28.1 GBToo large—
—
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—
—

AMD Radeon RX 7900 XT (20 GB) has 18.9 GB usable for models out of 20 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 RX 7900 XT 20GB by runtime

Command
Ollama
Q4_K_M
granite4.2:30b
16.5 GB
real file size
22.0 GBPartial offload5.5–12.0 tok/s
LM Studio
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBPartial offload5.5–12.0 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 GBPartial offload5.5–12.0 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 RX 7900 XT 20GB
—

Does not fit

Rented cloud GPU
$0.50

1x RTX 3090 (24 GB) on Vast.ai at $0.18/hr

OpenRouter API
—

Not listed on OpenRouter

Local cost is not shown because the model does not fit. Assumes 75% input and 25% output tokens, one request at a time. Rent on Vast.ai

Questions and answers

Can AMD Radeon RX 7900 XT (20 GB) run Granite 4.2 30B?

Only partly. At Q4_K_M Granite 4.2 30B needs 22.0 GB, more than the 18.9 GB of usable VRAM on AMD Radeon RX 7900 XT (20 GB). The rest runs on the CPU, which cuts generation to about 5.5–12.0 tok/s.

How fast is Granite 4.2 30B on AMD Radeon RX 7900 XT (20 GB)?

It does not run at a usable speed: Granite 4.2 30B does not fit into the memory of AMD Radeon RX 7900 XT (20 GB).

How much context can Granite 4.2 30B use on AMD Radeon RX 7900 XT (20 GB)?

None of the standard quantizations fit AMD Radeon RX 7900 XT (20 GB), so there is no usable context length.