aiapicompareaiapicompare
aiapicompare › All models › granite 4.2 30b

granite 4.2 30b: API pricing compared

granite 4.2 30b is available from 1 provider(s). Cheapest: DeepInfra at $0.160 per 1M input tokens and $0.650 per 1M output tokens. Context window: up to 131 072 tokens. Developer: ibm-granite.

ProviderInput $/1MOutput $/1MContext
DeepInfra
ibm-granite/granite-4.2-30b
$0.160$0.650131KGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with DeepInfra

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
    model="ibm-granite/granite-4.2-30b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is granite 4.2 30b cheapest?

Currently at DeepInfra ($0.160 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use granite 4.2 30b in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from ibm-granite

Granite 4.2 8Bgranite 4.2 3b