Granite 4.2 8B

Dense 8B Granite model for enterprise tasks, with a switchable thinking mode and a 128K context window.

IBM·8.79B params·40 layers / 8 KV heads·Max 128K ctx·Apache 2.0
Local Run Command
Q4_K_M minimum memory: 8.5 GB at 16K context.
Artificial Analysis Benchmarkartificialanalysis.ai ↗
Intelligence Index
—
Cloud API median
73 tok/s

Independent benchmark scores sourced from Artificial Analysis.

OpenRouter API & Cloud GPUOpenRouter ↗
Input / 1M
$0.06
Output / 1M
$0.15

VRAM by Quantization (16K context)

Q4_K_M (4-bit)5.0 GB
real file size
2.5 GB8.5 GB7.2 GBBest speed-to-quality balance for local inference (~98% quality)
ollama run granite4.2:8b
Q6_K (6-bit)6.7 GB
real file size
2.5 GB10.3 GB9.0 GBNear-lossless quality with ~35% larger footprint than Q4
ollama run granite4.2:8b-q6_K
Q8_0 (8-bit)8.7 GB
real file size
2.5 GB12.3 GB11.1 GBVirtually indistinguishable from FP16 for coding & reasoning
ollama run granite4.2:8b-q8_0
FP16 / BF16 (16-bit)16.4 GB
real file size
2.5 GB20.4 GB19.1 GBFull native precision; standard for production GPU serving
ollama run granite4.2:8b-bf16

Layer and head counts are read from the published config.json. KV cache is exact for this architecture.

Run Granite 4.2 8B with Ollama, LM Studio, llama.cpp, MLX or vLLM

Command
Ollama
Q4_K_M
granite4.2:8b
5.0 GB
real file size
LM Studio
Q4_K_M
lmstudio-community/granite-4.2-8b-GGUF
5.0 GB
real file size
Not in LM Studio's catalog. Search for lmstudio-community/granite-4.2-8b-GGUF in the app's Discover tab.
llama.cpp
Q4_K_M
lmstudio-community/granite-4.2-8b-GGUF
5.0 GB
real file size
MLX
4-bit
4.7 GB
estimate
No 4-bit MLX build of this model on mlx-community. Convert one with mlx_lm.convert.
vLLM
INT4
5.3 GB
estimate
No INT4 build of this model found for vLLM.

Each runtime loads its own build of the model, so download sizes differ. Sizes marked as real are file sizes read from the Ollama registry or Hugging Face.

Hardware Compatibility Matrix (Q4_K_M · 16K context)

Details
11.5 GBFits comfortably8.8–12.0 tok/s—Granite 4.2 8B on M1 16GB →
48.0 GBFits comfortably36–49 tok/s—Granite 4.2 8B on M1 Max 64GB →
98.0 GBFits comfortably58–78 tok/s—Granite 4.2 8B on M1 Ultra 128GB →
18.0 GBFits comfortably13.7–18.5 tok/s—Granite 4.2 8B on M2 24GB →
48.0 GBFits comfortably44–59 tok/s—Granite 4.2 8B on M2 Max 64GB →
152 GBFits comfortably64–87 tok/s—Granite 4.2 8B on M2 Ultra 192GB →
27.0 GBFits comfortably19.5–26 tok/s—Granite 4.2 8B on M3 Pro 36GB →
48.0 GBFits comfortably44–59 tok/s—Granite 4.2 8B on M3 Max 64GB →
98.0 GBFits comfortably44–59 tok/s—Granite 4.2 8B on M3 Max 128GB →
11.5 GBFits comfortably15.1–20 tok/s—Granite 4.2 8B on M4 16GB →
24.0 GBFits comfortably15.1–20 tok/s—Granite 4.2 8B on M4 32GB →
36.0 GBFits comfortably33–45 tok/s—Granite 4.2 8B on M4 Pro 48GB →
48.0 GBFits comfortably33–45 tok/s—Granite 4.2 8B on M4 Pro 64GB →
48.0 GBFits comfortably56–76 tok/s—Granite 4.2 8B on M4 Max 64GB →
98.0 GBFits comfortably56–76 tok/s—Granite 4.2 8B on M4 Max 128GB →
98.0 GBFits comfortably56–76 tok/s—Granite 4.2 8B on Studio M4 Max 128GB →
204 GBFits comfortably65–88 tok/s—Granite 4.2 8B on M3 Ultra 256GB →
430 GBFits comfortably65–88 tok/s—Granite 4.2 8B on M3 Ultra 512GB →
24.0 GBFits comfortably24–33 tok/s—Granite 4.2 8B on M1 Pro 32GB →
24.0 GBFits comfortably25–34 tok/s—Granite 4.2 8B on M2 Pro 32GB →
27.0 GBFits comfortably37–50 tok/s—Granite 4.2 8B on M3 Max 36GB →
11.5 GBFits comfortably15.1–20 tok/s—Granite 4.2 8B on Air M4 16GB →
24.0 GBFits comfortably15.1–20 tok/s—Granite 4.2 8B on Air M4 32GB →
18.0 GBFits comfortably33–45 tok/s—Granite 4.2 8B on M4 Pro 24GB →
11.5 GBFits comfortably20–28 tok/s—Granite 4.2 8B on Air M5 16GB →
24.0 GBFits comfortably20–28 tok/s—Granite 4.2 8B on Air M5 32GB →
48.0 GBFits comfortably42–57 tok/s—Granite 4.2 8B on M5 Pro 64GB →
98.0 GBFits comfortably74–99 tok/s—Granite 4.2 8B on M5 Max 128GB →
24.0 GBFits comfortably23–31 tok/s—Granite 4.2 8B on mini M6 32GB →
48.0 GBFits comfortably42–57 tok/s—Granite 4.2 8B on mini M5 Pro 64GB →
98.0 GBFits comfortably74–99 tok/s—Granite 4.2 8B on Studio M5 Max 128GB →
430 GBFits comfortably119–162 tok/s—Granite 4.2 8B on Studio M5 Ultra 512GB →
11.2 GBFits comfortably48–64 tok/s1×Granite 4.2 8B on RTX 3060 12GB →
9.2 GBTight fit83–112 tok/s1×Granite 4.2 8B on RTX 3080 10GB →
22.8 GBFits comfortably98–133 tok/s1×Granite 4.2 8B on RTX 3090 24GB →
15.0 GBFits comfortably40–54 tok/s1×Granite 4.2 8B on RTX 4060 Ti 16GB →
15.0 GBFits comfortably85–115 tok/s1×Granite 4.2 8B on RTX 4070 Ti S 16GB →
15.0 GBFits comfortably95–129 tok/s1×Granite 4.2 8B on RTX 4080 S 16GB →
22.8 GBFits comfortably112–152 tok/s1×Granite 4.2 8B on RTX 4090 24GB →
15.0 GBFits comfortably114–155 tok/s1×Granite 4.2 8B on RTX 5070 Ti 16GB →
15.0 GBFits comfortably118–160 tok/s1×Granite 4.2 8B on RTX 5080 16GB →
30.5 GBFits comfortably187–253 tok/s1×Granite 4.2 8B on RTX 5090 32GB →
22.8 GBFits comfortably117–158 tok/s1×Granite 4.2 8B on RX 7900 XTX 24GB →
15.0 GBFits comfortably77–104 tok/s1×Granite 4.2 8B on RX 9070 XT 16GB →
10.2 GBFits comfortably69–93 tok/s1×Granite 4.2 8B on RTX 2080 Ti 11GB →
7.3 GBPartial offload10.5–12.0 tok/s2×Granite 4.2 8B on RTX 3060 Ti 8GB →
7.3 GBPartial offload10.5–12.0 tok/s2×Granite 4.2 8B on RTX 3070 8GB →
11.2 GBFits comfortably85–115 tok/s1×Granite 4.2 8B on RTX 3080 Ti 12GB →
22.8 GBFits comfortably111–150 tok/s1×Granite 4.2 8B on RTX 3090 Ti 24GB →
7.3 GBPartial offload7.1–12.0 tok/s2×Granite 4.2 8B on RTX 4060 8GB →
7.3 GBPartial offload7.5–12.0 tok/s2×Granite 4.2 8B on RTX 4060 Ti 8GB →
11.2 GBFits comfortably59–79 tok/s1×Granite 4.2 8B on RTX 4070 12GB →
11.2 GBFits comfortably69–93 tok/s1×Granite 4.2 8B on RTX 4070 S 12GB →
11.2 GBFits comfortably68–91 tok/s1×Granite 4.2 8B on RTX 4070 Ti 12GB →
15.0 GBFits comfortably90–121 tok/s1×Granite 4.2 8B on RTX 4080 16GB →
15.0 GBFits comfortably58–78 tok/s1×Granite 4.2 8B on RTX 5060 Ti 16GB →
11.2 GBFits comfortably82–111 tok/s1×Granite 4.2 8B on RTX 5070 12GB →
15.0 GBFits comfortably71–96 tok/s1×Granite 4.2 8B on RX 7800 XT 16GB →
18.9 GBFits comfortably79–107 tok/s1×Granite 4.2 8B on RX 7900 XT 20GB →
15.0 GBFits comfortably76–103 tok/s1×Granite 4.2 8B on RX 9070 16GB →
15.0 GBFits comfortably44–59 tok/s1×Granite 4.2 8B on RX 9060 XT 16GB →
46.2 GBFits comfortably87–118 tok/s1×Granite 4.2 8B on RTX A6000 48GB →
46.2 GBFits comfortably111–150 tok/s1×Granite 4.2 8B on RTX 6000 Ada 48GB →
93.0 GBFits comfortably182–246 tok/s1×Granite 4.2 8B on PRO 6000 96GB →
15.0 GBFits comfortably53–72 tok/s1×Granite 4.2 8B on RTX A4000 16GB →
22.8 GBFits comfortably84–113 tok/s1×Granite 4.2 8B on RTX A5000 24GB →
18.9 GBFits comfortably48–65 tok/s1×Granite 4.2 8B on RTX 4000 Ada 20GB →
30.5 GBFits comfortably74–100 tok/s1×Granite 4.2 8B on RTX 5000 Ada 32GB →
46.2 GBFits comfortably104–173 tok/s1×Granite 4.2 8B on PRO 5000 48GB →
46.2 GBFits comfortably80–109 tok/s1×Granite 4.2 8B on PRO W7900 48GB →
30.5 GBFits comfortably76–103 tok/s1×Granite 4.2 8B on AI PRO R9700 32GB →
22.8 GBFits comfortably39–64 tok/s1×Granite 4.2 8B on L4 24GB →
46.2 GBFits comfortably93–126 tok/s1×Granite 4.2 8B on L40S 48GB →
38.5 GBFits comfortably111–185 tok/s1×Granite 4.2 8B on A100 40GB →
77.5 GBFits comfortably121–164 tok/s1×Granite 4.2 8B on A100 80GB →
77.5 GBFits comfortably145–196 tok/s1×Granite 4.2 8B on H100 80GB →
137 GBFits comfortably159–264 tok/s1×Granite 4.2 8B on H200 141GB →
175 GBFits comfortably173–288 tok/s1×Granite 4.2 8B on B200 180GB →
15.0 GBFits comfortably32–44 tok/s1×Granite 4.2 8B on T4 16GB →
46.2 GBFits comfortably75–102 tok/s1×Granite 4.2 8B on A40 48GB →
46.2 GBFits comfortably98–133 tok/s1×Granite 4.2 8B on L40 48GB →
115 GBFits comfortably36–49 tok/s—Granite 4.2 8B on DGX Spark 128GB →
96.0 GBFits comfortably32–43 tok/s—Granite 4.2 8B on Ryzen AI Max+ 395 128GB →
48.0 GBFits comfortably32–43 tok/s—Granite 4.2 8B on Ryzen AI Max+ 395 64GB →

Frequently asked questions

How much VRAM does Granite 4.2 8B require?

At Q4_K_M quantization with a 16K context window, Granite 4.2 8B needs 8.5 GB total VRAM (5.0 GB weights + 2.5 GB KV cache + runtime overhead). In full FP16 precision, it requires 20.4 GB.

Can an RTX 4090 (24 GB) run Granite 4.2 8B?

Yes. At Q4_K_M with 16K context Granite 4.2 8B needs 8.5 GB, which fits a single 24 GB RTX 4090 at an estimated 112–152 tok/s.

How do I run Granite 4.2 8B locally with Ollama?

Install Ollama and run `ollama run granite4.2:8b` in your terminal. Make sure your GPU or Apple Silicon unified memory meets the 8.5 GB Q4_K_M requirement.