IBM Granite

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

Context window
131Ktokens
Max output
118Ktokens
Input
$0.06/ 1M
Output
$0.25/ 1M

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://neurongate.net/v1",
    api_key="sk-ng-your-api-key",
)

completion = client.chat.completions.create(
    model="ibm-granite/granite-4.2-8b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.00006
Typical chat turn1K in · 500 out$0.000185
Document analysis10K in · 2K out$0.0011
Long context100K in · 10K out$0.0085
Estimated cost per request$0.000185

Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.

Frequently asked questions

What is IBM 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,...

How much does IBM Granite 4.2 8B cost?

IBM Granite 4.2 8B is priced at $0.06 per 1 million input tokens and $0.25 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).

Does IBM Granite 4.2 8B support streaming?

Yes, IBM Granite 4.2 8B supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.

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

IBM Granite 4.2 8B has a context window of 131K tokens (~98K words). Maximum output is 118K tokens.

Does IBM Granite 4.2 8B support function calling (tools)?

Yes, IBM Granite 4.2 8B supports function calling / tool use via NeuronGate's standard API.

How do I use IBM Granite 4.2 8B with NeuronGate?

Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id ibm-granite/granite-4.2-8b in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.