TokenRoute
Get started
Back to models

IBM: Granite 4.2 8B

ibm-granite/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,...

Pricing

Input$0.0700 /M
Output$0.1050 /M
Cache read$0.0350 /M

Specs

Context length131.1K tokens
Max output118K tokens
Inputtext
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

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

Supported parameters

frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
min_p
presence_penalty
reasoning
reasoning_effort
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p