IBM · 2026-08-25 · major
IBM Granite 4.2 — open reasoning models with a thinking switch
Granite 4.2 is IBM's first family of dense reasoning models, released under Apache-2.0 in 3B, 8B and 30B sizes. Each model has a thinking mode you can switch off, and the 8B and 30B learned to use tools inside live sandboxes.

IBM's first dense reasoning models, in 3B, 8B and 30B, with Apache-2.0 weights and a thinking mode you can switch off.
Quick facts
| Maker | IBM |
|---|---|
| Sizes | 3B, 8B, 30B (dense, decoder-only) |
| License | Apache-2.0 |
| Context window | 128K tokens, extendable to 512K |
| Training data | ~15T pre-training tokens, 7.2M SFT samples |
| What's new | Switchable thinking mode; agentic RL for the 8B and 30B |
| Availability | Hugging Face, Ollama, GitHub, LM Studio, OpenRouter, Replicate |
Benchmarks
What is it?
A switchable thinking mode is the headline change in Granite 4.2, IBM's first family of dense, decoder-only reasoning models. The family ships in three sizes with open Apache-2.0 weights. Every size can plan step by step before it answers, or skip reasoning entirely when the question is simple.
How does it work?
Each model is pre-trained from scratch on roughly 15 trillion tokens, then fine-tuned on chain-of-thought, reasoning and agent-trajectory data, then put through a multi-stage reinforcement learning pipeline. For the 8B and 30B, the last stage is agentic RL: the model acts inside live software-engineering, terminal and web-search environments and is rewarded on whether the task was actually solved.
Why does it matter?
Apache-2.0 weights let a team download Granite 4.2, fine-tune it on their own data and ship it without a license negotiation, which matters most where sending data to a hosted API is not an option. IBM aimed the agentic training at the work it names directly — software engineering and terminal-based coding — so the smaller sizes are pitched at running real agents rather than demos.
Who is it for?
enterprise ML teams and self-hosters
Frequently asked questions
- Is IBM Granite 4.2 free for commercial use?
- Yes. IBM published every Granite 4.2 size under the Apache-2.0 license, so organizations can download the weights, fine-tune them, and put them into production without restrictions. There is no separate commercial tier and no usage cap tied to the weights themselves. Hosting costs depend on whichever provider or hardware you choose to run them on.
- How is Granite 4.2 different from Granite 4.1?
- Granite 4.2 is IBM's first family of dense, decoder-only reasoning models, where earlier Granite generations did not reason step by step before answering. The 30B model is built on the Granite-4.1-30B-Base foundation and then taken through supervised fine-tuning and reinforcement learning stages that add native thinking and tool use.
- Can you turn off reasoning in Granite 4.2?
- Yes. Granite 4.2 wraps its reasoning in <think> tags and exposes an enable_thinking flag you can set to False to skip it entirely. A low_effort setting sits in between, spending a short reasoning budget on easy questions. Thinking is on by default, so simple prompts do not need the full chain of thought.
- How good is Granite 4.2 at terminal and agent tasks?
- On Terminal-Bench 2.1, Granite 4.2 30B scores 29.24 and the 8B scores 20.56. Those two sizes went through an agentic reinforcement learning stage where the model acts inside live software-engineering, terminal and web-search environments and is rewarded only when the task is actually solved, rather than on how the answer looks.
Try it
Download the weights at huggingface.co/ibm-granite/granite-4.2-30b