Granite 4.0 H Small
granite-4.0-h-smallPricing
List prices at Replicate, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.06 | $0.25 |
What it costs a month
At Replicate list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$36.75
- RAG over documents2,000 requests a day, 8K in / 0.6K out$37.80
- Coding agent1,000 requests a day, 40K in / 2K out$87.00
- Overnight batch20,000 requests a day, 4K in / 0.4K out$204
Where to run it
1 host serve Granite 4.0 H Small. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
ReplicateInference granite-4.0-h-small | $0.06 / $0.25 | granite-4.0-h-small |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
- Open weights
- License: Apache-2.0Runtimes: Ollama, llama.cpp, vLLM
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Replicate.
Smaller IBM models
No cheaper IBM model keeps its key capabilities.
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
- 2% less
- 7% less
- 7% less
- 7% less
Model line
Newer and older versions, at each lab's own price.
- UndatedGranite 4 H SmallLatest$0.0636 / $0.265
- UndatedGranite 4.0 H SmallThis page$0.06 / $0.25
Call it
Using Replicate's API.
from litellm import completion
response = completion(
model="replicate/granite-4.0-h-small",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Granite 4.0 H Small cost?
On Replicate, Granite 4.0 H Small costs $0.06 per million input tokens and $0.25 per million output tokens.
Which APIs offer Granite 4.0 H Small?
Granite 4.0 H Small runs on 1 API: Replicate.
Is Granite 4.0 H Small being retired?
No retirement date is scheduled for it on any API we track.
Is there a newer version of Granite 4.0 H Small?
Yes. Granite 4 H Small is the newest model in this line.
What are cheaper alternatives to Granite 4.0 H Small?
Models that cost less and keep most of what it can do: Nemotron 3.5 Lightning on Nebius AI Studio (2% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Granite 4.0 H Small's API model id?
Use granite-4.0-h-small with Replicate.
Sources
Raw catalog entry for granite-4.0-h-small on Replicate
{
"input_cost_per_token": 6e-8,
"litellm_provider": "replicate",
"mode": "chat",
"output_cost_per_token": 2.5e-7,
"source": "https://replicate.com/ibm-granite/granite-4.0-h-small",
"supports_function_calling": true,
"supports_system_messages": true
}