# Granite 4.2 8B

> Granite 4.2 8B is an open-weight language model from IBM, released on 31 Aug 2026. It accepts text and generates text, with a 131K-token context window and up to 118K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.06 per million input tokens and $0.25 per million output tokens (OpenRouter), across 1 provider we track.

Source page: https://www.aimodel.directory/models/granite-4-2-8b
Last verified: 4 Oct 2026

## Specifications

- **Developer:** IBM
- **Release date:** 31 Aug 2026 (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Status:** Generally available
- **Weights:** Open weights (source: Hugging Face, https://huggingface.co/ibm-granite/granite-4.2-8b)
- **License:** apache-2.0 (source: Hugging Face, https://huggingface.co/ibm-granite/granite-4.2-8b)
- **Parameters:** 8.8B (source: Hugging Face, https://huggingface.co/ibm-granite/granite-4.2-8b)
- **Context window:** 131K (131,072 tokens) (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Max output:** 118K tokens (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Input:** Text (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Output:** Text (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Reasoning mode:** Yes (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Tool calling:** Yes (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Structured output:** Yes (source: OpenRouter, https://openrouter.ai/ibm-granite/granite-4.2-8b)
- **Hugging Face:** ibm-granite/granite-4.2-8b (source: Hugging Face, https://huggingface.co/ibm-granite/granite-4.2-8b)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.06 | $0.25 | $0.01 | 131K |

## FAQ

### What is the context window of Granite 4.2 8B?

Granite 4.2 8B has a context window of 131,072 tokens (131K) and can generate up to 117,964 tokens in a single response, according to OpenRouter.

### How much does the Granite 4.2 8B API cost?

Granite 4.2 8B is listed from $0.06 per million input tokens and $0.25 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.

### Is Granite 4.2 8B open source?

Granite 4.2 8B is an open-weight model: its weights are published on Hugging Face as ibm-granite/granite-4.2-8b under the apache-2.0 license. Check the license terms before commercial use.

### When was Granite 4.2 8B released?

IBM released Granite 4.2 8B on 31 Aug 2026, according to OpenRouter.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "Granite 4.2 8B", https://www.aimodel.directory/models/granite-4-2-8b