ibm/granite-4.2-8bOpen WeightsReasoning model for deliberate analysis, multi-step problem solving, and tool use
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ Granite 4.2 8B natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
API CALL INVOCATION EXAMPLE
// Example: Calling Granite 4.2 8B via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.IBM_API_KEY,
});
const response = await client.chat.completions.create({
model: "ibm/granite-4.2-8b",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
This model supports prompt caching at $0.05 / 1M tokens, saving up to 50% on repetitive MCP tool definitions and system instructions.
MODEL RESOURCES
More Models by Ibm
Alternative and family models from the same lab
Compact open-weight hybrid Granite model for lightweight enterprise chat and tool calling
Open-weight hybrid model for enterprise chat, coding, retrieval-augmented generation, and tool-calling workloads