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 50 GB at 128k, counting the weights, the KV cache and runtime buffers. Nothing we price in Canada runs granite 4.2 30b fully in memory at 128k context at a usable speed; see the table for what comes closest.
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
Nothing in stock in Canada today runs granite 4.2 30b fully in memory at 128k context at 15 tok/s or more. A shorter context needs less memory; the table below shows what comes closest.
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
41 other cards and machines 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 50 GB at 128k, counting the weights, the KV cache and runtime buffers.
- Can I run granite 4.2 30b on a 16 GB GPU?
- No: it does not fit in 16 GB at 128k context, even with system RAM.
- Can I run granite 4.2 30b on a 24 GB GPU?
- No: it does not fit in 24 GB at 128k context, even with system RAM.
- 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.