IBM's dense decoder-only 8B parameter language model from the Granite 4.1 family. Supports 131K-token context, tool calling, RAG, code generation with fill-in-the-middle, text summarization, classification, and extraction across 12 languages. Released under Apache 2.0.
131K tokens
2
available
Cheapest
OpenRouter
$0.15/1M tokens
IBM watsonx.ai, OpenRouter
Sorted by total cost (input + output per 1M tokens). Click a row to view provider details.
| Provider | Pricing (per 1M) | Rate Limits | Regions | Health | Latency |
|---|---|---|---|---|---|
In: $0.05Out: $0.10 | 60 RPM / 200K TPM | us-east-1 | Healthy | 0ms | |
In: $0.20Out: $0.40 | 100 RPM / 300K TPM | us-south-1eu-de-1eu-gb-1 | Healthy | 0ms |
Use this model via OpenRouter with an OpenAI-compatible SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "ibm-granite/granite-4.1-8b",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);Using OpenRouter API • OpenAI-compatible SDK