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
| Vendor | IBM Granite |
|---|---|
| Type | Text |
| Context window | 131,000 tokens |
| Pricing | $0.02/M in · $0.11/M out |
| API | Chat Completions |
| Capabilities | Streaming |
Benchmarks
Reasoning
Coding
Agentic
Source: Artificial Analysis
Code example
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!"}]
}'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)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.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- 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