Model guide
IBM Granite 4.2 30B
Granite 4.2 30B is IBM’s dense instruction model for reasoning, code and tool-enabled tasks. Its official Q4 file is about 17.7 GB before conversation memory and runtime overhead. Compare it with a smaller model on the same source-grounded task.
At a glance
- Parameters
- 29.28B
- Accepts
- Text
- Returns
- Text, including code
- Published context limit
- 131,072 tokens128K native context; longer extended-context configurations are not the default estimate. Start at 4,096 tokens.
- Model format
- Safetensors · GGUF
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 17.72 GBibm-granite (model publisher)granite-4.2-30b-Q4_K_M.gguf
- Languages
- Arabic · Chinese · Czech · Dutch · English · French · German · Italian · Japanese · Korean · Portuguese · Spanish
- License
- Apache-2.0
Will it fit?
IBM Granite 4.2 30B · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.
Check on your computerBest for
- Compare source-grounded answers, reasoning and structured outputs on representative documents.
Choose something else when
- Choose a smaller model when memory is limited or response latency matters more than model capacity.
First setup
Check a representative task
Paste two short records: Record A: shipment 11 November, subject to approval. Record B: shipment 13 November, no approval recorded. Ask which date is approved and why. The answer must distinguish the two dates and say that neither record establishes approval. Run any tool-call test separately in the intended host.
See the IBM model card for the native Transformers path.
Open a terminal in the extracted llama.cpp release folder. On Windows, use .\llama-server.exe instead of ./llama-server.
./llama-server -hf ibm-granite/granite-4.2-30b-GGUF -hff granite-4.2-30b-Q4_K_M.gguf -c 4096 --host 127.0.0.1 --port 8080
Open http://127.0.0.1:8080 after loading. Run the task check. Press Ctrl+C in the server terminal to stop. If the model architecture is unknown, update llama.cpp. If allocation fails, reduce context or use a smaller model.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run. Time the final answer as well as the first generated token.
