Black Friday: up to 20% extra credit, until Cyber Monday. See the offer

Textby IBM Granite

Granite 4.2 8B

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,...

  • By price it is among the cheapest of the 339 text models GenMagic runs (21st cheapest).
  • It scores 5.1 on the Artificial Analysis Intelligence Index, 116th of the 126 text models with a score.
  • It has scores on 7 public benchmarks, listed below with their sources.
  • It was listed on Aug 31, 2026.

Data last changed Nov 19, 2026 · tracked since Oct 29, 2026 · Every model change

No subscription: pay per answer from a top-up, starting with $0.50 of free credit. Every language model's price per token

Try Granite 4.2 8B

Generate with Granite 4.2 8B right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

131K tokens

Max output

118K tokens

Input price

$0.09 / 1M tokens

Output price

$0.23 / 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.

1.3

source date 2026-11-18
Source: openrouter

22.4

source date 2026-11-18
Source: openrouter

5.1

source date 2026-11-24
Source: openrouter
GPQA DiamondReasoning & Knowledge

65.7%

source date 2026-10-01
Source: openrouter
LMArena (Coding)Instruction & Preference

1374 Elo

source date 2026-09-11
Source: lmarena
LMArena (Overall)Instruction & Preference

1317 Elo

source date 2026-09-11
Source: lmarena
tau-bench (Airline)Agentic & Tool Use

58.3%

source date 2026-10-01
Source: openrouter

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
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." }]
  }'
Python (openai SDK)
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

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick IBM: Granite 4.2 8B, or enter ibm-granite/granite-4.2-8b as an expression.
  4. 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.

ModelProviderPriceContext
IBM: Granite 4.2 8B (this model)IBM Granite$0.09 in / $0.23 out per 1M tokens131K
PrismML: Ternary Bonsai 2 9BPrism Ml$0.12 in / $0.20 out per 1M tokens262K
Qwen: Qwen3.5-9BQwen$0.13 in / $0.18 out per 1M tokens262K
Reka EdgeReka$0.15 in / $0.15 out per 1M tokens16K
Mistral: Ministral 3 3B 2512Mistral AI$0.15 in / $0.15 out per 1M tokens131K
Tencent: Hy-MT2-1.8BTencent$0.066 in / $0.27 out per 1M tokens8K

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.

DateChangeBeforeAfter
Nov 19, 2026Updated: coding index, agentic index--
Nov 16, 2026Price down 0%$0.09 in / $0.38 out per 1M tokens$0.09 in / $0.23 out per 1M tokens
Nov 14, 2026Price down 0%$0.09 in / $0.23 out per 1M tokens$0.09 in / $0.38 out per 1M tokens
Nov 12, 2026Price down 0%$0.09 in / $0.38 out per 1M tokens$0.09 in / $0.23 out per 1M tokens
Nov 4, 2026Price down 0%$0.09 in / $0.23 out per 1M tokens$0.09 in / $0.38 out per 1M tokens
Nov 3, 2026Updated: intelligence index--
Nov 1, 2026Price 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 19, 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.