Skip to content
Rapid Router
← All models

Granite 4.2 8B

deepinfra/ibm-granite/granite-4.2-8b

Deepinfra model · Served by DeepInfra · live on the gateway · :free available

Input / 1M
$0.060
Output / 1M
$0.250
Context
131K tokens
Max output
118K tokens
Input
Text
Released
1mo ago

Pricing

Input tokens$0.060 per 1M
Output tokens$0.250 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

About 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,...

ReasoningTools

What it supports

  • Tool calling (function calling)
  • JSON mode and structured output
  • Image input (vision)
  • Audio input
  • Extended reasoning
  • Streaming responses
  • OpenAI SDK, Anthropic SDK and any OpenAI-compatible client

Make a request

curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepinfra/ibm-granite/granite-4.2-8b",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Frequently asked

How do I call Granite 4.2 8B through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to deepinfra/ibm-granite/granite-4.2-8b. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

What is the context window of Granite 4.2 8B?

Granite 4.2 8B has a context window of 131,072 tokens on Rapid Router, and returns up to 117,964 output tokens per reply.

Is there a free version of Granite 4.2 8B?

Yes. Call deepinfra/ibm-granite/granite-4.2-8b:free and the request is paid for from Rapid Router's sponsored daily pool, within the free tier's daily request limit.

What can Granite 4.2 8B do?

On Rapid Router, Granite 4.2 8B supports tool calling, JSON mode, extended reasoning.

More Deepinfra models