Skip to content
IBM Watsonx

Ibm/Granite 4 H Small

Ibm/Granite 4 H Small is available via IBM Watsonx with a 20K context window and up to 20,480 output tokens. Pricing: $0.0600/1M input tokens, $0.2500/1M output tokens.

Ibm/Granite 4 H Small Pricing & Specifications

Input Price$0.060 per 1M tokens
Output Price$0.25 per 1M tokens
Context Window20,480 tokens (20K)
Max Output20,480 tokens
ProviderIBM Watsonx

What is Ibm/Granite 4 H Small?

Ibm/Granite 4 H Small is a large language model by IBM Watsonx with a 20K context window and up to 20,480 output tokens. It costs $0.060 per 1M input tokens and $0.25 per 1M output tokens. Ibm/Granite 4 H Small is available via IBM Watsonx with a 20K context window and up to 20,480 output tokens. Pricing: $0.0600/1M input tokens, $0.2500/1M output tokens.

Capabilities

text function calling

Ibm/Granite 4 H Small Cost Examples

Short prompt (500 tokens)

$0.000030

Medium prompt (2K tokens)

$0.00012

Long output (4K tokens)

$0.00100

Count tokens for Ibm/Granite 4 H Small

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Ibm/Granite 4 H Small

IBM Watsonx

Ibm/Granite Guardian 3 2 2b

$0.10/1M in 8K ctx

IBM Watsonx

Ibm/Granite Vision 3 2 2b

$0.10/1M in 8K ctx

IBM Watsonx

Meta Llama/Llama 3 2 1b Instruct

$0.10/1M in 128K ctx

IBM Watsonx

Mistralai/Mistral Small 2503

$0.10/1M in 32K ctx

Frequently Asked Questions

How much does Ibm/Granite 4 H Small cost per token? +
Ibm/Granite 4 H Small costs $0.060 per 1M input tokens and $0.25 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000185.
What is the context window for Ibm/Granite 4 H Small? +
Ibm/Granite 4 H Small supports a context window of 20,480 tokens (20K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Ibm/Granite 4 H Small? +
Ibm/Granite 4 H Small can generate up to 20,480 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Ibm/Granite 4 H Small good for coding tasks? +
Yes, Ibm/Granite 4 H Small supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All IBM Watsonx Models