Models Model details

IBM Granite

IBM: Granite 4.2 8B

ibm-granite/granite-4.2-8b

Granite 4.2 8B is a dense reasoning model from IBM. It is suited for mathematics, code generation, multilingual dialogue, and agentic workflows that need multi-step reasoning. It supports full, low-effort, and non-thinking modes. The model supports 12 languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese.

Input
$0.06

/ 1M tokens

Output
$0.25

/ 1M tokens

Context window
131.07K

tokens

Limits

Context

131,072

tokens

Max output

117,964

90% of the context window

Parameters

8,791,592,960

Model facts

Author

IBM Granite

Tokenizer

Other

Modality

Text -> Text

License

Apache-2.0

Created

Aug 31, 2026

Hugging Face

ibm-granite/granite-4.2-8b

Default generation parameters

temperature

1

top_p

0.95

Reasoning

Default HighHighLowNone

Publication status

Hugging Face: verifiedLicense: publishedParameter count: published

Modalities

Input · TextOutput · Text

Generation controls

Frequency penaltyInclude reasoningLogit biasLogprobsMax tokensMin pPresence penaltyReasoningReasoning effortRepetition penaltyResponse formatSeedStopStructured outputsTemperatureTool choiceToolsTop kTop logprobsTop p

Capability scores

1.3
Agentic index

Better than 14% of models compared

22.4
Coding index

Better than 19% of models compared

11.1
Intelligence index

Better than 25% of models compared