← All news

News / AI models / IBM

Granite 4.2 8B

Granite 4.2 8B is an open-weight model by IBM, released 31 Aug 2026. It reads text and writes text, with a context window of 131K tokens and up to 118K tokens out. Through OpenRouter it costs $0.06 per million input tokens and $0.15 per million output tokens.

Facts from OpenRouter and Hugging Face · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $0.2 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "ibm-granite/granite-4.2-8b", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of Granite 4.2 8B?

Granite 4.2 8B has a context window of 131,072 tokens, about 197 pages of text, and can write up to 117,964 tokens in one reply.

How much does Granite 4.2 8B cost?

Through OpenRouter, $0.06 per million input tokens and $0.15 per million output tokens. The maker's own price can differ.

Is Granite 4.2 8B open source?

Yes, its weights are published on Hugging Face as ibm-granite/granite-4.2-8b under the apache-2.0 licence.

When was Granite 4.2 8B released?

It became available on 31 Aug 2026.

Something wrong? Email hello@capylaunch.com. All AI models