LiteLLMModels

Granite 4 H Small API Pricing

As of October 10, 2026, Granite 4 H Small costs $0.0636 per 1M input tokens and $0.265 per 1M output tokens on IBM watsonx.ai. It has a 131,072-token context window and returns up to 131,072 tokens per response.

Model ID watsonx/ibm/granite-4-h-smallPrices updated Checked
Input
$0.0636 / 1M tokens
Output
$0.265 / 1M tokens
Context window
131,072 tokens
Max output
131,072 tokens
Providers
1
Added to LiteLLM
October 2025

Granite 4 H Small 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.

ProviderModel name in LiteLLMInputOutputContext
IBM watsonx.aiwatsonx/ibm/granite-4-h-small$0.0636$0.265128K

What Granite 4 H Small costs in practice

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

IBM watsonx.ai$0.2597

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

IBM watsonx.ai$0.689

Granite 4 H Small features

Use Granite 4 H Small with LiteLLM

Call Granite 4 H Small 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="watsonx/ibm/granite-4-h-small",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: granite-4-h-small
    litellm_params:
      model: watsonx/ibm/granite-4-h-small
      # 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 sk-1234" \
  -d '{
    "model": "granite-4-h-small",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Granite 4 H Small FAQ

How much does Granite 4 H Small cost?

Granite 4 H Small costs $0.0636 per 1M input tokens and $0.265 per 1M output tokens on IBM watsonx.ai.

What is the context window of Granite 4 H Small?

Granite 4 H Small has a 131,072-token context window and returns up to 131,072 tokens per response.

Which providers offer Granite 4 H Small?

Granite 4 H Small is available from IBM watsonx.ai through LiteLLM, using the model name watsonx/ibm/granite-4-h-small.

How do I call Granite 4 H Small with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="watsonx/ibm/granite-4-h-small", 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 H Small support?

Granite 4 H Small supports function calling and parallel tool calls. It does not support image input.

When did LiteLLM add Granite 4 H Small?

Granite 4 H Small was added to LiteLLM's model price file in October 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: IBM watsonx.ai.

Provider pages: IBM watsonx.ai.