IBM: Granite 4.1 8B

Models

Model details

IBM: Granite 4.1 8B

Model
ibm-granite/granite-4.1-8b
Provider
openrouter
API
openai-completions
Base URL
https://openrouter.ai/api/v1
Input
text
Reasoning
No
Context window
131,072
Max tokens
131,072
Cost / million input
$0.05
Cost / million output
$0.1
Cost / million cache read
$0.05
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "openrouter": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "ibm-granite/granite-4.1-8b",
          "name": "IBM: Granite 4.1 8B",
          "reasoning": false,
          "input": [
            "text"
          ],
          "contextWindow": 131072,
          "maxTokens": 131072,
          "cost": {
            "input": 0.049999999999999996,
            "output": 0.09999999999999999,
            "cacheRead": 0.049999999999999996,
            "cacheWrite": 0
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://openrouter.ai/api/v1"
    }
  }
}