by IBMReleased Aug 31, 2026
ibm-granite/granite-4.2-8bGranite 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,...
| Billed for | You pay |
|---|---|
| Input tokens | $0.072 / 1M |
| Output tokens | $0.30 / 1M |
| Cached input, read | $0.018 / 1M |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "ibm-granite/granite-4.2-8b", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.072 per million input tokens and $0.30 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0003.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id ibm-granite/granite-4.2-8b. The token's AI credit pays for each call.
Up to 131,072 tokens of context, and up to 117,964 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| DeepInfrabf16 | 100% |
| CoreWeavebf16 | 100% |