granite 4.2 30b
29.3B parameters · 128k context · Apache 2.0 · released 2026-08-25
chatcodingagenticreasoning
In short
granite 4.2 30b is an open model from IBM with 29.3B parameters. At Q4_K_M, granite 4.2 30b needs about 20 GB of memory at 8k context and 20 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the UK that runs granite 4.2 30b fully in memory at 8k context is the NVIDIA GeForce RTX 3090, £1,330 at Amazon, at about 25 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the UK today
AMD Radeon RX 7900 XTX, used at eBay
Runs granite 4.2 30b at Q5_K_M fully in memory at 8k context, about 23 tok/sest.
£999
In stock, checked
What to run it on in the UK
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA GeForce RTX 309025tok/sest.Q5_K_M
£1,330
Best value
NVIDIA GeForce RTX 309025tok/sest.Q5_K_M
£1,330
Fastest
NVIDIA GeForce RTX 509042tok/sest.Q6_K
£5,000
Mac
Mac Studio M3 Ultra 96GB16tok/sest.Q8_0
£4,949
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
1 other card or machine we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| Q4_K_Mgguf | 16.8 GB | 19.5 GB | 25.7 GB | 33.9 GB | 50.2 GB |
| Q5_K_Mgguf | 19.6 GB | 22.3 GB | 28.5 GB | 36.7 GB | 53.0 GB |
| Q6_Kgguf | 22.8 GB | 25.6 GB | 31.7 GB | 39.9 GB | 56.3 GB |
| Q8_0gguf | 29.0 GB | 31.7 GB | 37.9 GB | 46.1 GB | 62.4 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/granite-4.2-30b-GGUF:Q4_K_M - LM Studio
lms get bartowski/granite-4.2-30b-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/granite-4.2-30b-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/granite-4.2-30b-GGUF:Q5_K_M - LM Studio
lms get bartowski/granite-4.2-30b-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/granite-4.2-30b-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/granite-4.2-30b-GGUF:Q6_K - LM Studio
lms get bartowski/granite-4.2-30b-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/granite-4.2-30b-GGUF:Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/bartowski/granite-4.2-30b-GGUF:Q8_0 - LM Studio
lms get bartowski/granite-4.2-30b-GGUF@q8_0 - llama.cpp
llama-server -hf bartowski/granite-4.2-30b-GGUF:Q8_0
- Ollama
Notes
Native context is 128K; the card also claims a long-context extension to 512K, but all serving examples use 131072. The card recommends a vLLM reasoning parser that needs vLLM v0.20 or later (SGLang v0.5.18+ also works), with temperature=1.0 and top_p=0.95 required.
Questions
- How much VRAM does granite 4.2 30b need?
- At Q4_K_M, granite 4.2 30b needs about 20 GB of memory at 8k context and 20 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running granite 4.2 30b locally?
- The cheapest hardware in the UK that runs granite 4.2 30b fully in memory at 8k context is the NVIDIA GeForce RTX 3090, £1,330 at Amazon, at about 25 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 42 tok/s.
- What is the cheapest way to run granite 4.2 30b in the UK today?
- The AMD Radeon RX 7900 XTX, £999 used at eBay, in stock: it runs granite 4.2 30b at Q5_K_M fully in memory at 8k context, at about 23 tok/s (estimated).
- Can I run granite 4.2 30b on a 16 GB GPU?
- Only partly: at 8k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 7 tok/s on the Intel Arc A770 16GB (estimated).
- Can I run granite 4.2 30b on a 24 GB GPU?
- Yes: at Q5_K_M it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 27 tok/s (estimated).
- How do I run granite 4.2 30b locally?
- With Ollama: ollama run hf.co/bartowski/granite-4.2-30b-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is granite 4.2 30b released under?
- Apache 2.0, which allows commercial use.