Hormouz AIHormouzSign in

IBM: Granite 4.0 Micro: AI model

Granite 4.0 Micro is a compact 3B model from IBM’s Granite 4 family, fine-tuned for long-context tool calling. Reachable from inside Iran through Hormouz.

Context window:
131,000 tokens
Input:
$0.02/1M tokens
Output:
$0.11/1M tokens
Type:
text
  • Streaming
  • Long context

Granite 4.0 Micro is a compact model with around 3B parameters from the Granite 4 family. That family is the latest in the series and emphasizes efficiency and small size.

The model is specifically fine-tuned for long-context tool calling and carries a context window of up to 131K tokens, which makes it a good fit for lightweight assistants, automated pipelines and cost-sensitive applications. Access runs through Hormouz behind an OpenAI-compatible API.

Pricing is usage-based: $0.017 per million input tokens and $0.112 per million output tokens. Hormouz provides stable access to the model from inside Iran.

Granite-4.0-H-Micro is a 3B parameter from the Granite 4 family of models. These models are the latest in a series of models released by IBM. They are fine-tuned for long...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ibm-granite/granite-4.0-h-micro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorIBM Granite
TypeText
Context window131,000 tokens
Pricing$0.02/M in · $0.11/M out
APIChat Completions
CapabilitiesStreaming

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
33.6%
HLE
Humanity's Last Exam
5%
IFBench
Instruction-following
24.8%
AA-LCR
Long-context reasoning
7%
CritPt
Research-level physics reasoning
0%
AA Omniscience
Broad factual knowledge accuracy
9.3%
Non-Hallucination
Rate of avoiding fabricated answers
4.2%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
1.5%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
12.6%

Source: Artificial Analysis

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ibm-granite/granite-4.0-h-micro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="ibm-granite/granite-4.0-h-micro",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "ibm-granite/granite-4.0-h-micro",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the IBM: Granite 4.0 Micro API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches IBM: Granite 4.0 Micro and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does Granite 4.0 Micro cost?
Billing is usage-based: $0.017 per million input tokens and $0.112 per million output tokens, making it very cost-efficient.
How do I access Granite 4.0 Micro from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to the model from inside Iran, with no foreign credit card or circumvention tooling required.
Is Granite 4.0 Micro compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and code run without a rewrite.
What is Granite 4.0 Micro good for?
This compact model is fine-tuned for long-context tool calling, lightweight assistants and cost-sensitive applications.
What are the size and context window of Granite 4.0 Micro?
It has around 3B parameters and a context window of up to 131K tokens.

Updated 2026-10-13