Skip to main content
IBM · Text Generation · Micro tier (~3B)

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

Not Set
0.7
96 chars
Press Ctrl + Enter to run
Idle

Output will stream here once you run a prompt.

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (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


Official Model Card

About Granite 4.0 H Micro

Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.

Granite 4.0 H Micro model-card specifications
AttributeVerified Value
Model NameGranite 4.0 H Micro
Canonical IDgranite-4.0-h-micro
MakerIBM
FamilyIBM Granite 4.0
TaskText Generation
ParametersMicro tier (~3B)
ArchitectureHybrid Mamba-2 / Transformer
Context Window128K tokens
CapabilitiesStreaming · Function calling
LicenseApache 2.0
Release2025

Confirmed Providers

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.

Cloudflare Workers AIStandard AccessNo Key Saved
Model ID: @cf/ibm-granite/granite-4.0-h-micro$0.017 in / $0.112 out per 1M tokens

Included in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).

Add Key

Benchmark Runner

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.


Integration

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
}'

Head-to-Head

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