ibm-granite logo
ibm-granite

IBM: 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. $0.05 per million input tokens, $0.10 per million output tokens. 131,072 token context window, maximum output of 131,072 tokens. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
131,072 tokens
Maximum output
117,964 tokens
Architecture
text->text
Tokenizer
Other
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.05
/M tokens
Output
$0.1
/M tokens
Cache read
$0.05
/M tokens
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"ibm-granite/granite-4.1-8b","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
text
Output
text
API

Supported API parameters

frequency_penaltylogprobsmax_tokenspresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

1 Provider

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

CoreWeave

bf16
Context
131K
Maximum output
118K
Input
$0.050
Output
$0.100
Cache read
$0.050
Cache write
Not provided
ibm-granite

models

All models