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
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 CounterSimilar Models to Ibm/Granite 4 H Small
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.