Skip to content

Granite 4.2 8B

ToolsReasoning
ibm-granite/granite-4.2-8b

IBM Granite · 131K context · text → text · Aug 2026 · 3 upstreams

Granite 4.2 8B is the mid-size dense reasoning model in IBM's Granite 4.2 family, with full, low-effort, and non-thinking modes, tool calling, and a 131K-token context window.

Bring your own keyAnyRouter has no platform route for Granite 4.2 8B. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
131K
input / 1M (list)
$0.06
output / 1M (list)
$0.25
routes
3
speed, 24h
—

Routes, in fallback orderThe first healthy route answers. Add a key to use a BYOK route.

3
  1. 1DeepInfraYour key · not addedBYOK–
  2. 2OpenRouterYour key · not addedBYOK–
  3. 3Hugging FaceYour key · not addedBYOK–

Try itOne message, one streamed reply

Type a message and see the reply stream in here.

Uptime, last 48 hours

OKDegradedDown—

Details

Owner
IBM Granite
Kind
Chat
Released
Aug 2026
Context
131K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions

Quick start

Code

POST /api/v1/chat/completionsSDK docs
import osfrom openai import OpenAI client = OpenAI(    api_key=os.environ["ANYROUTER_API_KEY"],    base_url="https://anyrouter.dev/api/v1",) resp = client.chat.completions.create(    model="ibm-granite/granite-4.2-8b",    messages=[{"role": "user", "content": "Say hi in 3 words."}],)print(resp.choices[0].message.content)
More details: pricing table, filters, performance, links

Upstreams and pricing

ProviderAccessStatusProvider details
Your own key (BYOK) — provider bills you, $0 AnyRouter fee
0.06 list0.25 list
0.06 list0.25 list
0.06 list0.25 list

Which key answers this model

Your request → your own keys first (none added yet). The provider bills you; AnyRouter adds $0.

If none of your keys can serve it → the shared pool: keys other people donated. You pay the list price from AnyRouter credits, and the donor earns a reward.

Pool for this model: not covered yet.

Share cards
Granite 4.2 8B share card
Granite 4.2 8B
DeepInfra upstream share card
DeepInfra upstream
OpenRouter upstream share card
OpenRouter upstream
Hugging Face upstream share card
Hugging Face upstream