IbmbalancedTool use

Granite 4 H Small

20K context·~15K words·20K max output
Context window20Ktokens
Max output20Ktokens

Context window

This model accepts 20K tokens in one request (~15K words of text).

Context window size20K tokens
4K32K128K1M10M

What fits in one request

  • Short document
    About 1,500 words of text
    Fits
  • Long document
    About 37K words of text
    Won't fit
  • Small codebase
    About 150K words of text
    Won't fit
  • Full novel
    About 375K words of text
    Won't fit

Specifications

Context size, pricing, and release info in one place.

Context window
20,480 tokens (20K)
Max output tokens
20,480 tokens (20K)
Speed tier
balanced
Provider
Ibm
Input cost
$0.060/M / 1M tokens
Output cost
$0.250/M / 1M tokens

Capabilities

See which features this model supports, such as vision, tools, and streaming.

Supported (3)
Tool use
Supported
Function calling
Supported
Streaming
Supported
Not supported (5)
Vision
Not supported
Extended thinking
Not supported
Web search
Not supported
Batch API
Not supported
Prompt caching
Not supported

Best for

Jump to a guide or ranking that matches each workload.

Compare Granite 4 H Small

Open a side-by-side comparison with one click.

Frequently asked questions

Short answers about context size and how this model behaves.

Granite 4 H Small has a context window of 20K tokens (20,480 tokens). This is sufficient for most chat, summarization, and moderate document tasks.

More from Ibm

Other models by Ibm in our catalog.

Powered by Mem0

Use a smaller model.
Get better results.

Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.

Example: a multi-turn chat session

Without Mem0~128K tokens sent
Full history
Repeated info
Old context
With Mem0~20K tokens sent
Key memories
Current turn

80% less to send — works with any model