OpenModelsHQ

granite-4.2-8b

IBM GraniteLLMDenseApache-2.0

granite-4.2-8b is an open-weight language model from IBM Granite with 8.8B parameters. At 4-bit it needs about 7.3 GB of memory, so the smallest current device that fits it is the Mac mini M6 (16GB).

Overview

Estimated memory at 4-bit
7.3GB

Includes room for an 8k context and runtime overhead. More context needs more memory.

Total parameters
8.8B
Dense
Context window
128K
131,072 tokens
Cheapest API, blended / 1M
$0.0825
₹7.78 · CoreWeave · 3:1 input to output
All IBM Granite API prices

Key information

Lab
IBM Granite
Released
7 Aug 2026
Parameters
8.8B
Type
Language
Context
131,072 tokens
License
Apache-2.0
HF downloads, 30 days
61,675
View all

Will it run on your hardware?

How we estimate
Memory needed vs devices
granite-4.2-8b needs about 7.3 GB at 4-bit, 11.7 GB at 8-bit and 20.8 GB at 16-bit. At 4-bit it fits GeForce RTX 5060 Ti 16GB, GeForce RTX 5090, DGX Spark, Mac Studio M5 Ultra (256GB). Dashed lines are usable memory on each device; a model fits when its estimate stays within 90% of it. Log scale. 8k context.
Memory needed vs devices: data
Estimate or deviceMemory
Q47.3 GB
Q811.7 GB
BF1620.8 GB
RTX 5060 Ti 16 GB16 GB usable
RTX 5090 32 GB32 GB usable
DGX Spark 128 GB108.8 GB usable
Mac Studio M5 Ultra 256 GB192 GB usable

Single-device memory estimate. Pick a device to update the On your device column.

36 GB usable memory

FormatMemory neededOn your deviceExample hardware
4-bit (Q4)≈ 7.3 GBFits 20%Mac mini M6 (16GB)16 GB memory
8-bit (Q8)≈ 11.7 GBFits 32%GeForce RTX 5060 Ti 16GB16 GB memory
16-bit (BF16)≈ 20.8 GBFits 58%Arc Pro B6024 GB memory

Fits means the estimate stays within 90% of usable memory. Tight is above 90% and up to 100%. Too big is above 100%. These are memory checks, not speed or compatibility tests.

Mac allowances are 66% of total RAM up to 36 GB, and 75% above. AI boxes allow 85% because their memory is shared with the operating system.

Where to run it

On a Mac

Start with the MLX files, built for Apple Silicon.

lmstudio-community/granite-4.2-8b-MLX-8bitCheck your Mac

With GGUF

Choose a file for llama.cpp or a compatible app.

bartowski/granite-4.2-8b-GGUFFind compatible hardware

Through an API

CoreWeave (bf16) is the cheapest provider we found.

$0.06 / $0.15

Input / output per 1M tokens
₹5.66 / ₹14 at ₹94.29 per $1

Blended: $0.0825 (₹7.78) per 1M. Ranked by a 3:1 mix of input and output tokens.

MLX on Apple SiliconView repository
mlx_lm.generate --model lmstudio-community/granite-4.2-8b-MLX-8bit \
  --prompt "Explain how a transformer works."
GGUF with llama.cppView repository
llama-cli -hf bartowski/granite-4.2-8b-GGUF \
  -c 8192 -p "Explain how a transformer works."

Example commands built from the repository ids above. They need a working install of MLX or llama.cpp. We have not run them; check each repository for available files.

Hosted API 2

USD and INR per million tokensAll IBM Granite API prices
Precision
CoreWeaveCheapest$0.0825₹7.78$0.06₹5.66$0.15₹14131,072BF16
DeepInfra$0.1075₹10$0.06₹5.66$0.25₹24131,072BF16
View on OpenRouterEndpoint sourceSorted by the blended price: 3 parts input to 1 part output. Context limits differ by provider.

INR at ₹94.29 per $1. Prices fetched 14 Nov 2026.

More about this model

Frequently asked questions

How much memory does granite-4.2-8b need? At an 8k context, about 7.3 GB at 4-bit, 11.7 GB at 8-bit and 20.8 GB at 16-bit (BF16). A longer context needs more.

Can I run granite-4.2-8b on a Mac? The smallest current Mac that fits the 4-bit estimate of 7.3 GB is the Mac mini M6 (16GB). An MLX build is available: lmstudio-community/granite-4.2-8b-MLX-8bit.

Does the full context fit? granite-4.2-8b supports up to 131,072 tokens of context. Our memory estimates use 8k, so long prompts need more memory than shown.

What does it cost through an API? The cheapest provider we found is CoreWeave, at $0.06 per 1M input tokens and $0.15 per 1M output tokens (₹5.66 and ₹14 at 94.29 rupees per dollar). Ranked by a 3:1 mix of input and output tokens.

License in plain English

Apache-2.0. This license permits commercial use, modification and redistribution, with conditions such as keeping the required notices. This summary is not legal advice.

Read Apache-2.0

Read about this license

OMHQ RigBench

Not yet tested. We show no speed or quality score without a measurement.

Revision history and sources