Models / IBM
IBM
Granite 4.1 8B
ibm-granite/granite-4.1-8b
Granite 4.1 8B is a dense, decoder-only 8-billion-parameter language model from IBM, part of the Granite 4.1 family. It supports a 131K-token context window and is designed for enterprise tasks...
Input
$0.065 / 1M tokens
Output
$0.13 / 1M tokens
Context
131K tokens
Capabilities
✓ Streaming✓ Tool / function calling✓ JSON / structured output○ Vision (image input)
Call this model
Pass ibm-granite/granite-4.1-8b as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ibm-granite/granite-4.1-8b",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.