← All models
IBM · Language model
Granite 4.2 8B
ibm-granite/granite-4.2-8b- Language
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,...
Specifications
- Context window
- 131,072 tokens
- Max output
- 117,964 tokens
- Input
- text
- Output
- text
- Reasoning effort
- high, low, none
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- 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
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"ibm-granite/granite-4.2-8b","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'