IBM: Granite 4.2 8B - API in Egypt, billed in EGP
Livegranite-4.2-8bGranite 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,
Modality
Chat
Context window
131K tokens
Max output
16K tokens
Region
US
Weights
Open weights
Published
29 Sept 2026
Pricing
Input
3.44
EGP per 1M tokens
Output
14.33
EGP per 1M tokens
Monthly cost example
386.79 EGP
Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.
Use it via the API
IBM: Granite 4.2 8B works with any OpenAI-compatible SDK — point the base URL at https://dev-backend.sovereigneg.com/v1 and use your SovereignEG API key.
Run inference
OpenAI-compatible — POST /v1/chat/completions — drop-in for any OpenAI SDK.
from openai import OpenAI
client = OpenAI(
base_url="https://dev-backend.sovereigneg.com/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="granite-4.2-8b",
messages=[
{"role": "user", "content": "What are some fun things to do in Cairo?"}
],
)
print(response.choices[0].message.content)import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://dev-backend.sovereigneg.com/v1",
apiKey: "YOUR_API_KEY",
})
const response = await client.chat.completions.create({
model: "granite-4.2-8b",
messages: [
{ role: "user", content: "What are some fun things to do in Cairo?" },
],
})
console.log(response.choices[0].message.content)curl https://dev-backend.sovereigneg.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "granite-4.2-8b",
"messages": [
{"role": "user", "content": "What are some fun things to do in Cairo?"}
]
}'Frequently asked questions
How much does IBM: Granite 4.2 8B cost?
3.44 EGP per 1M input tokens; 14.33 EGP per 1M output tokens. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.
What is the context window of IBM: Granite 4.2 8B?
IBM: Granite 4.2 8B supports a context window of 131,072 tokens (131K), with up to 16,384 output tokens per response.
Where is IBM: Granite 4.2 8B hosted?
IBM: Granite 4.2 8B is served from US (US-hosted inference).
Is IBM: Granite 4.2 8B an open-weights model?
Yes — IBM: Granite 4.2 8B is an open-weights model. You call it through the SovereignEG API like any other catalog model, with per-token EGP billing.
How do I use IBM: Granite 4.2 8B via the API?
IBM: Granite 4.2 8B is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://dev-backend.sovereigneg.com/v1 and call /v1/chat/completions with model "granite-4.2-8b" and your API key.
Related models
View all models →granite-4.2-30b
ibm-granite · Chat · 131K context
9.17 EGP / 1M input tokens
granite-4.2-3b
ibm-granite · Chat · 131K context
1.72 EGP / 1M input tokens
IBM: Granite 4.0 Micro
ibm-granite · Chat · 131K context
0.97 EGP / 1M input tokens
AionLabs: Aion 3.5
aion-labs · Chat · 262K context
171.90 EGP / 1M input tokens