Granite 4.0 H Micro
Granite 4.0 H Micro is a text generation model by IBM (IBM Granite 4.0, Micro tier (~3B)). Compact hybrid-architecture model from IBM Granite 4.0 built for fast enterprise instruction following, summarization, and low-cost text generation.
Selected Model
Granite 4.0 H Micro
granite-4.0-h-micro
Connect Your API Key for the Selected Provider to Run Live
Cloudflare Workers AI
Transport: Stateless proxy · Key setup guide
Output will stream here once you run a prompt.
API Call Cost Estimator
Published RatePre-Run Char EstimateInput (34 tok)
$0.000001
$0.017 / 1M
Output (0 tok)
$0.00
$0.112 / 1M
Approx. Call Cost
$0.000001
Est. ~4 chars/tok
Total Tokens
34
Estimated count
About Granite 4.0 H Micro
Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.
| Attribute | Verified Value |
|---|---|
| Model Name | Granite 4.0 H Micro |
| Canonical ID | granite-4.0-h-micro |
| Maker | IBM |
| Family | IBM Granite 4.0 |
| Task | Text Generation |
| Parameters | Micro tier (~3B) |
| Architecture | Hybrid Mamba-2 / Transformer |
| Context Window | 128K tokens |
| Capabilities | Streaming · Function calling |
| License | Apache 2.0 |
| Release | 2025 |
Where to Run Granite 4.0 H Micro
Only providers whose official model lists confirm this model are listed below, each with verified per-million token pricing, account requirements, key status, and a direct launch action.
@cf/ibm-granite/granite-4.0-h-micro$0.017 in / $0.112 out per 1M tokensIncluded in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).
Measured Results
Dated outputs, latency, and token metrics produced by scripts/run-benchmarks.ts with the provider used and measurement date.
No Measured Benchmark Results Yet for Granite 4.0 H Micro
Benchmark measurements are never fabricated. Run scripts/run-benchmarks.ts with a supported provider API key and commit data/results/{model-id}.json to publish dated outputs, latency, and token metrics.
API Code Snippets
Copy ready-to-run curl, JavaScript, and Python code snippets for any confirmed provider offering this model.
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/ibm-granite/granite-4.0-h-micro" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "system",
"content": "You are a concise technical assistant."
},
{
"role": "user",
"content": "Explain the core capabilities and ideal use cases of Granite 4.0 H Micro in two crisp sentences."
}
],
"temperature": 0.7,
"max_tokens": 512,
"stream": true
}'Model Comparisons
Explore enabled comparison pages or launch an interactive side-by-side test in the Compare tool.
No Pre-Built Comparison Pages Enabled for Granite 4.0 H Micro
Launch the interactive Compare tool to test this model side by side against any other model or provider right now.
Frequently Asked Questions
What Is Granite 4.0 H Micro Best Suited For?
Granite 4.0 H Micro is designed for text generation workloads by IBM. Compact hybrid-architecture model from IBM Granite 4.0 built for fast enterprise instruction following, summarization, and low-cost text generation.
How Can I Run Granite 4.0 H Micro Live in the Browser?
Select one of the 1 confirmed provider listed in the Where to Run section, add your browser-stored API key for that provider, and run prompts directly in the live playground above.
Related Models and Tools
Text Generation Tool
Open the dedicated text generation tool.
Compare Side by Side
Benchmark Granite 4.0 H Micro against other models with your own prompt.
AI Model Cost Calculator
Forecast daily and monthly token spend for Granite 4.0 H Micro.
AI Models Finder
Return to the searchable directory of 33 AI models.