Can AMD Radeon RX 7900 XTX (24 GB) run Granite 4.2 30B?

Yes, but it is tight. AMD Radeon RX 7900 XTX (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 40–54 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
40–54 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 RX 7900 XTX 24GB

Q4_K_M (4-bit)
granite4.2:30b
16.5 GB
real file size
22.0 GBTight fit16K
40–54 tok/s
Calibrated
Q6_K (6-bit)
granite4.2:30b-q6_K
22.4 GB
real file size
28.1 GBPartial offload—
4.9–11.5 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—
—

AMD Radeon RX 7900 XTX (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 RX 7900 XTX 24GB by runtime

Command
Ollama
Q4_K_M
granite4.2:30b
16.5 GB
real file size
22.0 GBTight fit40–54 tok/s
LM Studio
Q4_K_M
lmstudio-community/granite-4.2-30b-GGUF
16.5 GB
real file size
22.0 GBTight fit40–54 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 fit40–54 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 XTX 24GB
$1.79

$3.68/mo power + $1,800 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 AMD Radeon RX 7900 XTX (24 GB) run Granite 4.2 30B?

Yes, but it is tight. AMD Radeon RX 7900 XTX (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 40–54 tok/s.

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

About 40–54 tok/s at Q4_K_M. Scaled from 2 published llama.cpp measurements on this GPU.

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

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