# Granite 4.0 H Micro API Pricing

As of October 10, 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.

- Page: https://models.litellm.ai/models/granite-4.0-h-micro
- LiteLLM model name: `cloudflare/@cf/ibm-granite/granite-4.0-h-micro`
- Context window: 131,000 tokens
- Max output: 131,000 tokens
- Added to LiteLLM: June 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Cloudflare Workers AI | `cloudflare/@cf/ibm-granite/granite-4.0-h-micro` | $0.017 | $0.112 | – | – | – | 131K |

## Cost examples

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

## Features

Supported: Function calling.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="cloudflare/@cf/ibm-granite/granite-4.0-h-micro",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
