granite-4.2-30b

Granite-4.2-30B is the flagship reasoning model in the Granite 4.2 family. It delivers the strongest performance across reasoning-intensive tasks by leveraging built-in <think>...</think> chain-of-thought. It supports flexible thinking modes — full thinking (default), non-thinking, and low-effort — allowing users to balance depth vs. latency on a per-query basis.

Context
131K
Input price
$0.16/1M tokens
Output price
$0.65/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
JSON Mode
Infrastructure
Streaming

Details

Model IDibm-granite/granite-4.2-30b
Provider DeepInfra
Creator ibm-granite
Family—
License—
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window131K tokens
Max input—
Max output—
Reasoning tokensYes
Knowledge cutoff—
Release date—
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.16
Output
$0.65
Cache write
—
Cache read
$0.04
Batch in
—
Batch out
—

API

GET/v1/models/deepinfra/ibm-granite/granite-4.2-30b