Try Granite 4.2 8B
Generate with Granite 4.2 8B right here. Verify your email to start with free credits.
Specifications
Context window
131K tokens
Max output
118K tokens
Input price
$0.09 / 1M tokens
Output price
$0.38 / 1M tokens
Cached input
$0.022 / 1M tokens
Benchmarks
How Granite 4.2 8B scores on public benchmarks. Each card links to the benchmark explainer and to the original source.
Compare against every model in the full benchmark matrix.
Capabilities
Reasoning
Works through multi-step problems before answering, for harder tasks.
Tool use
Can call functions and tools, enabling agentic and structured workflows.
Structured output
Returns validated JSON that conforms to a schema you define.
Use Granite 4.2 8B through the API
The model id is ibm-granite/granite-4.2-8b. Requests bill your GenMagic balance at the price above, and each response reports what it cost.
curl https://genmagic.co/api/v1/chat/completions \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ibm-granite/granite-4.2-8b",
"messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
}'from openai import OpenAI
client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")
resp = client.chat.completions.create(
model="ibm-granite/granite-4.2-8b",
messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)From an AI agent, call generate_text with "model": "ibm-granite/granite-4.2-8b" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.
Use Granite 4.2 8B in n8n
- In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
- Set Resource to Text and Operation to Generate.
- In Model Name or ID, pick IBM: Granite 4.2 8B, or enter
ibm-granite/granite-4.2-8bas an expression. - Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.
Ready-to-import workflows that already use the node are on GenMagic for n8n.
Similar-priced text models from other providers
Other text models GenMagic runs at a comparable price, on the same balance and API key.
| Model | Provider | Price | Context |
|---|---|---|---|
| IBM: Granite 4.2 8B (this model) | IBM Granite | $0.09 in / $0.38 out per 1M tokens | 131K |
| Mistral: Ministral 3 8B 2512 | Mistral AI | $0.23 in / $0.23 out per 1M tokens | 262K |
| Meta: Muse Spark 1.3 Contributor | Meta | $0.15 in / $0.30 out per 1M tokens | 1M |
| NVIDIA: Nemotron 3 Nano 30B A3B | NVIDIA | $0.09 in / $0.36 out per 1M tokens | 262K |
| Nex AGI: Nex-N2.5-Pro | NEX-AGI | $0.11 in / $0.38 out per 1M tokens | 262K |
| Qwen: Qwen3.5-Flash | Qwen | $0.098 in / $0.39 out per 1M tokens | 1M |
Price and listing history
Every change GenMagic has recorded for Granite 4.2 8B since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.
| Date | Change | Before | After |
|---|---|---|---|
| Nov 4, 2026 | Price down 0% | $0.09 in / $0.23 out per 1M tokens | $0.09 in / $0.38 out per 1M tokens |
| Nov 3, 2026 | Updated: intelligence index | - | - |
| Nov 1, 2026 | Price up 36% | $0.066 in / $0.17 out per 1M tokens | $0.09 in / $0.23 out per 1M tokens |
Where these figures come from
- Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
- Specs and description: as IBM Granite publishes them (model card on Hugging Face), checked daily.
- Benchmarks: 7 scores from Artificial Analysis and OpenRouter, LMArena, re-read daily. Each score above links to its source.
- Changes: the data on this page last changed on Nov 4, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.
Generate with Granite 4.2 8B today
One GenMagic plan unlocks Granite 4.2 8B and every other model across text, image, audio, and video.