# Granite 4.1 8B API Pricing

As of October 10, 2026, Granite 4.1 8B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens on Weights & Biases. It has a 131,000-token context window.

- Page: https://models.litellm.ai/models/granite-4.1-8b
- LiteLLM model name: `wandb/ibm-granite/granite-4.1-8b`
- Context window: 131,000 tokens
- Added to LiteLLM: August 27, 2026
- Deprecation date: October 5, 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Weights & Biases | `wandb/ibm-granite/granite-4.1-8b` | $0.05 | $0.10 | – | – | – | 131K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Weights & Biases: $0.15

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Weights & Biases: $0.52

## Features

Supported: none listed.
Not supported: Image input.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="wandb/ibm-granite/granite-4.1-8b",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Granite 4.1 8B cost?

Granite 4.1 8B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens on Weights & Biases.

### What is the context window of Granite 4.1 8B?

Granite 4.1 8B has a 131,000-token context window.

### Which providers offer Granite 4.1 8B?

Granite 4.1 8B is available from Weights & Biases through LiteLLM, using the model name wandb/ibm-granite/granite-4.1-8b.

### How do I call Granite 4.1 8B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="wandb/ibm-granite/granite-4.1-8b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Granite 4.1 8B support?

It does not support image input.

### When did LiteLLM add Granite 4.1 8B?

Granite 4.1 8B was added to LiteLLM's model price file on August 27, 2026.

### Is Granite 4.1 8B being deprecated?

Weights & Biases deprecated wandb/ibm-granite/granite-4.1-8b on October 5, 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
