LiteLLMLiteLLM/ MODELS

Granite 4.0 H Micro API Pricing

1 providercloudflare/@cf/ibm-granite/granite-4.0-h-microCompare
Input / output
$0.017 / $0.112 per 1M tokens
Context
131K tokens
Max output
131K tokens

As of November 24, 2026, Granite 4.0 H Micro costs $0.017 per 1M input tokens and $0.112 per 1M output tokens on Cloudflare Workers AI. It has a 131,000-token context window and returns up to 131,000 tokens per response.

Prices updated Checked

Granite 4.0 H Micro pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Granite 4.0 H Micro prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
Cloudflare Workers AIcloudflare/@cf/ibm-granite/granite-4.0-h-micro$0.017$0.112131K

What Granite 4.0 H Micro costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Cloudflare Workers AI$0.09

100 long-document requests with 100,000 input and 2,000 output tokens each

Cloudflare Workers AI$0.1924

Granite 4.0 H Micro cost calculator

At Cloudflare Workers AI's price ($0.017 input, $0.112 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $0.73 a day, about $21.90 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.000073
Per day
$0.73
Per month (30 days)
$21.90

Granite 4.0 H Micro features

Input: text. Output: text.

Use Granite 4.0 H Micro with LiteLLM

Call Granite 4.0 H Micro through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="cloudflare/@cf/ibm-granite/granite-4.0-h-micro",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: granite-4.0-h-micro
    litellm_params:
      model: cloudflare/@cf/ibm-granite/granite-4.0-h-micro
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "granite-4.0-h-micro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Granite 4.0 H Micro FAQ

How much does Granite 4.0 H Micro cost?

Granite 4.0 H Micro costs $0.017 per 1M input tokens and $0.112 per 1M output tokens on Cloudflare Workers AI.

What is the context window of Granite 4.0 H Micro?

Granite 4.0 H Micro has a 131,000-token context window and returns up to 131,000 tokens per response.

Which providers offer Granite 4.0 H Micro?

Granite 4.0 H Micro is available from Cloudflare Workers AI through LiteLLM, using the model name cloudflare/@cf/ibm-granite/granite-4.0-h-micro.

How do I call Granite 4.0 H Micro with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="cloudflare/@cf/ibm-granite/granite-4.0-h-micro", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Granite 4.0 H Micro support?

Granite 4.0 H Micro supports function calling.

When did LiteLLM add Granite 4.0 H Micro?

Granite 4.0 H Micro was added to LiteLLM's model price file in June 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.

LiteLLM docs: Cloudflare Workers AI.

Provider pages: Cloudflare Workers AI.