Granite 4.2 8B
Granite 4.2 8B is a dense reasoning model from IBM.
Model by IBM
Install
Pick your client. Read the repository before you give any tool access to your data.
{
"model": "ibm-granite/granite-4.2-8b",
"baseURL": "https://openrouter.ai/api/v1"
}OpenAI-compatible API: point any OpenAI SDK at the base URL and use this model id.
Settings it needs
OPENROUTER_API_KEYrequiredsecret
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-generation, model-inference
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Price and limits
| Variant | Input $/M tokens | Output $/M tokens | Cached input $/M |
|---|---|---|---|
| Standard | $0.06 | $0.25 | $0.015 |
Price as of Oct 26, 2026 from OpenRouter. Prices change often; check before you rely on one.
- Provider
- IBM
- Model id
ibm-granite/granite-4.2-8b- Context window
- 131,072 tokens (131K)
- Max output
- 117,964 tokens
- Input
- text
- Output
- text
- Tool calling
- Yes
- Structured outputs
- Yes
- Reasoning
- Yes
- Weights
- Open: ibm-granite/granite-4.2-8b
- Released
- Aug 31, 2026
Details
- Auth
- API key
- License
- License unknown
- First seen
- Oct 24, 2026
- Last checked
- Oct 26, 2026
- Source
- OpenRouter
More from IBM
- 0.742score
ContextForge MCP Gateway
IBM
Open source registry and proxy that federates MCP, A2A and REST/gRPC APIs under central governance.
InfrastructureAFreshness: A★ 4.7Kgateway - 0.636score
IBM watsonx Orchestrate ADK
IBM
Python library and CLI for building agents that run on IBM watsonx Orchestrate, with a local Developer Edition for testing.
HarnessAFreshness: A★ 177↓ 24.8K/wk - 0.577score
Granite 4.0 Micro
IBM
Granite-4.0-H-Micro is a 3B parameter from the Granite 4 family of models.
ModelAFreshness: A$0.017 / $0.112131K ctxOpen weights - 0.564score
Granite Guardian
IBM
IBM model family that judges whether LLM inputs and outputs meet criteria such as jailbreak, harm and hallucination checks.
Observability toolAFreshness: Aguardrails - 0.450score
IBM watsonx Orchestrate
IBM
IBM platform for building, orchestrating and governing AI agents from one control plane, with a 30-day trial and fixed monthly plans
BuilderCFreshness: C
Cite this page
Granite 4.2 8B: price, context window, tool use. Agent Mart. https://agentmart.dev/models/ibm-granite-granite-4-2-8b (last updated 2026-10-26)