granite-4.2-3B

IBM

Parameters

3.0B

Architecture

GraniteForCausalLM

Released

25.08.2026

License

Apache License 2.0

Open Weights Commercial Use Multimodal BF16 Granite en de es fr ja pt ar cs it ko nl zh

Input Modalities

text

Output Modalities

text

Context (native)

131,072 tokens

Context (extended)

512,000 tokens

Openness Index Score 100.0/100

About

Granite-4.2-3B is IBM Granite's compact reasoning model - a 3B decoder-only dense Transformer that delivers strong performance on reasoning-intensive tasks via built-in |-|...|-| chain-of-thought (the card's literal thinking delimiters). It is part of the Granite 4.2 generation, which introduces native reasoning (thinking) capabilities with flexible modes - full thinking (default), non-thinking, and low-effort - letting users balance depth versus latency per query.

Architecturally it uses Grouped-Query Attention (GQA) with 40 attention heads / 8 KV heads (head size 64), RoPE with theta 10,000,000, SwiGLU MLP (hidden 8192), RMSNorm, untied embeddings, 40 layers, embedding size 2560, and bfloat16 precision. It natively supports a 128K context window with a long-context extension to 512K, and was tested in English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch and Chinese.

It was post-trained from Granite-4.1-3B-Base through a three-stage pipeline: SFT on instruction-following, chain-of-thought and reasoning data (public permissive datasets, internal synthetic reasoning/tool-calling data, agentic traces, human-authored data); then multi-phase, multi-environment reinforcement learning with Group Relative Policy Optimization (GRPO) across math, code, science, instruction following, tool use, general chat and structured output - most environments provide verifiable rewards (open-ended prompts scored by a generative reward model) - running asynchronous RL (generation and policy updates on separate GPU pools, weights refreshed in flight), followed by preference-alignment RLHF. RL ran on NeMo RL / NeMo Gym on an NVIDIA GB200 NVL72 cluster (CoreWeave).

Best for reasoning, code generation, tool calling, agentic workflows and multilingual dialog. Released August 25, 2026 under Apache 2.0.

Training Data Post-trained from Granite-4.1-3B-Base (pre-trained on large-scale English and multilingual corpora). Stage 2 SFT: public permissive datasets + internal synthetic reasoning/tool-calling/CoT data + agentic traces + human-authored data. Stage 3 RL: multi-phase multi-environment GRPO (math, code, science, IF, tool use, chat, structured output) with verifiable rewards, then preference-alignment RLHF; NeMo RL / NeMo Gym; GB200 NVL72 cluster on CoreWeave.

Benchmark Scores

Benchmark Score Date Standing
BFCL-V4
general_agent
52.13%
—
#18/27
better than 35%
MMLU-Pro
knowledge
18.71%
—
#41/48
better than 15%
MMLU-Redux
knowledge
29.83%
—
#29/30
better than 3%
SWE-bench Verified
coding_agent
41.74%
—
#52/60
better than 14%
Humanity's Last Exam
stem_reasoning
8.52%
—
#65/71
better than 9%
GPQA Diamond
stem_reasoning
27.40%
—
#71/80
better than 11%
Terminal Bench 2.1
coding_agent
14.97%
—
#36/44
better than 19%
SuperGPQA
knowledge
30.86%
—
#22/28
better than 22%
BrowseComp-zh
general_agent
26.73%
—
#7/13
better than 50%
BrowseComp
general_agent
17.87%
—
#36/45
better than 20%

Architecture

Decoder Block input Embedding vocab 100K · d 2560 Full Attention GQA 40:8 ×40 Dense FFN silu · d 8192 Final Norm LM Head vocab 100K output
Attention
Grouped Query Attention (40:8)
Layers
40
Hidden size
2560
Context
131K tokens
RoPE θ
10M
Parameters
3000M

Source: Hugging Face config.json · GraniteForCausalLM · model repo

Type: Decoder-only dense Transformer (GraniteForCausalLM) with reasoning modes
Attention: GQA 40 heads / 8 KV heads (head size 64); RoPE theta 10,000,000; SwiGLU MLP hidden 8192; RMSNorm eps 1e-5
Decoder: Dense decoder-only transformer
Base Model

Granite-4.1-3B-Base

Rl Infrastructure

NeMo RL + NeMo Gym, GB200 NVL72 (CoreWeave)

Thinking Modes

full (default) / non-thinking / low-effort

Training Pipeline

  1. 1
    pretraining

    Pre-training (via Granite-4.1-3B-Base)

    Builds on Granite-4.1-3B-Base, pre-trained on a large-scale English and multilingual corpus.

  2. 2
    sft

    Supervised fine-tuning (reasoning, CoT, tool calling)

    Instruction-following, chain-of-thought and reasoning data from four sources (public permissive, internal synthetic, agentic traces, human-authored); hyperparameters tuned before scaling to all three sizes.

  3. 3
    rl

    Multi-phase multi-environment RL (GRPO)

    GRPO across math, code, science, instruction following, tool use, general chat and structured output; verifiable rewards + generative reward model; asynchronous training (separate generation/update GPU pools, in-flight weight refresh); NeMo RL.

  4. 4
    rl

    Preference alignment (RLHF)

    Final phase tuning helpfulness, conversational quality and safety after the reward-driven RL phases.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Granite-4.1-3B-Base pre-training corpus (English + multilingual) pretraining — —
Public permissive-license instruction/CoT datasets finetune — —
Internal synthetic reasoning / tool-calling / CoT data finetune — —
Agentic traces finetune — —
Curated human-authored data finetune — —
RL environments (math, code, science, instruction following, tool use, general chat, structured output) rl — —

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for granite-4.2-3B — here is where to go next.