Try in playground
Test IBM Granite 4.0 in the Runpod Hub playground.
| Endpoint | https://api.runpod.ai/v2/granite-4-0-h-small/runsync |
| Pricing | $10.00 per 1M tokens |
| Type | Text generation |
Request
All parameters are passed within theinput object in the request body.
Array of message objects with role and content.
The role of the message author. Use
system, user, or assistant.The content of the message.
Maximum number of tokens to generate.
Controls randomness in generation. Lower values make output more deterministic. Range: 0.0-1.0.
Seed for reproducible results. Set to -1 for random.
Restricts sampling to the top K most probable tokens.
Nucleus sampling threshold. Range: 0.0-1.0.
Response
Unique identifier for the request.
Request status. Returns
COMPLETED on success, FAILED on error.Time in milliseconds the request spent in queue before processing began.
Time in milliseconds the model took to generate the response.
Identifier of the worker that processed the request.
Cost calculation
IBM Granite 4.0 charges $10.00 per 1M tokens. Example costs:| Tokens | Cost |
|---|---|
| 1,000 tokens | $0.01 |
| 10,000 tokens | $0.10 |
| 100,000 tokens | $1.00 |
| 1,000,000 tokens | $10.00 |