ibm-granite logo

IBM: Granite 4.2 8B

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

Modalities

TextText

In / out price

$0.060 / $0.25 per 1M

Context

131K

Released

Aug 31, 2026

Why use Granite 4.2 8B

  • Step-by-step reasoning mode
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.060 / 1M tokens
Output$0.25 / 1M tokens
Cached input (read)$0.015 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

How it ranks

Intelligence index11.1
Coding index22.4
Agentic index1.3

Source: Artificial Analysis (artificialanalysis.ai) via OpenRouter (openrouter.ai/rankings).

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
IBM: Granite 4.2 8B$0.0005$0.548$0.548

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

IBM: Granite 4.2 8B

131,072 tokens ≈ 198 pages

Fits: uses 92% of the window.

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from ibm-granite