Back to Models

IBM: Granite 4.1 8B

ibm-granite/granite-4.1-8b

Description

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...

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: IBM: Granite 4.1 8B (ibm-granite/granite-4.1-8b)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "ibm-granite/granite-4.1-8b",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the IBM: Granite 4.1 8B model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.05$ / 1M tokens
  • Output: 0.1$ / 1M tokens

Token Limits

  • Max Output: 131,072 tokens
  • Max Context: 131,072 tokens

Subscription Tiers

  • free
  • pro
  • ultimate