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.
ibm-granite/granite-4.2-8b
- Context
- 131k tokens
- Completion cap
- 117,964
- Tools
- Yes
- JSON
- Yes
- Released
- 2026-08-31
Call it from Geek Hub
Same OpenAI SDK. Change the base URL and the model id.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ibm-granite/granite-4.2-8b",
"messages": [{"role": "user", "content": "Hola"}]
}'Get an API keyFrequently asked questions
- What is 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. Granite 4.2 8B runs on the Geek Hub API (OpenAI-compatible). Model id: ibm-granite/granite-4.2-8b.
- Is Granite 4.2 8B free?
- No. Input is $0.109 per 1M tokens and output is $0.1635 per 1M tokens on Geek Hub (markup included).
- What is the context length of Granite 4.2 8B?
- Granite 4.2 8B has a 131k tokens context window. It supports up to 117,964 completion tokens.
- Does Granite 4.2 8B support tool calling and structured outputs?
- Granite 4.2 8B accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
- When was Granite 4.2 8B released?
- Granite 4.2 8B was released on 2026-08-31.
More models from Ibm-granite
Granite 4.0 MicroGranite-4.0-H-Micro is a 3B parameter from the Granite 4 family of models. These models are the latest in a series of models released by IBM. They are fine-tuned for long...
Granite 4.1 8BGranite 4.1 8B is a dense, decoder-only 8-billion-parameter language model from IBM, part of the Granite 4.1 family. It supports a 131K-token context window and is designed for ent