Atlas / Models / Ibm Granite / IBM: Granite 4.2 8B

IBM: Granite 4.2 8B✓ Catalog verified

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

Input price
$0.10 /1M
Output price
$0.15 /1M
Context
131K
Modalities
text
Released
Aug 31, 2026
Tool calling
✓ Yes
Atlas signal
91/100
01

Overview

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

Access: available through the official Ibm Granite API. Context window: 131K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Sep 2, 2026
02

Specifications

API identifieribm-granite/granite-4.2-8b
ProviderIbm Granite
Model typeText LLM
Context window131K catalog
Input modalitiestext
Output modalitiestext
ReleasedAug 31, 2026
ModeratedNo
Architecture modalitytext->text
Supported parameters
frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": 0.95,
  "temperature": 1
}
03

Pricing

Live pricing components for ibm-granite/granite-4.2-8b as published in the catalog.

$0.10
Input /1M
$0.15
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$1e-7$0.10 / 1MPer input token
Completion tokens$1.5e-7$0.15 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$0.08Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual UnderstandingNot advertisedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

IBM: Granite 4.2 8B
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
92signal
Science Signal (GPQA proxy)
79signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call IBM: Granite 4.2 8B through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="ibm-granite/granite-4.2-8b",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does IBM: Granite 4.2 8B cost?

$0.10 per 1M input tokens and $0.15 per 1M output tokens on the official Ibm Granite API.

What is the context window of IBM: Granite 4.2 8B?

IBM: Granite 4.2 8B supports up to 131K tokens of context.

Does IBM: Granite 4.2 8B support tool / function calling?

Yes, IBM: Granite 4.2 8B supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access IBM: Granite 4.2 8B?

Use the official Ibm Granite API with the model id `ibm-granite/granite-4.2-8b`. See the Quick start section above for code examples.