Last refreshed 2026-06-15. Next refresh: weekly.
Why use Granite 4.1 8B on OpenRouter?
OpenRouter offers Granite 4.1 8B with pay-as-you-go pricing at $0.05/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Setup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: ibm-granite/granite-4.1-8bibm-granite/granite-4.1-8bRequest example
ibm-granite/granite-4.1-8b.Gotchas
- Use provider model ID "ibm-granite/granite-4.1-8b", not the LLMReference slug "granite-4.1-8b".
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.05 |
| Output tokens | $0.10 |
Capabilities
No model capability flags are currently sourced.
About Granite 4.1 8B
IBM Granite 4.1 8B is a dense decoder-only transformer instruct model with 40 layers, 4096 embedding size, GQA (32 attention heads, 8 KV heads). Supports multilingual dialog (12 languages), code with FIM, tool-calling/function-calling, RAG, and summarization. Trained on NVIDIA GB200 NVL72 cluster. Apache 2.0. Benchmarks: MMLU 73.84, HumanEval 85.37, GSM8K 92.49, BFCL v3 68.27.
FAQ
What does Granite 4.1 8B cost on OpenRouter?
On OpenRouter, Granite 4.1 8B costs $0.05 per 1M input tokens and $0.1 per 1M output tokens.
What is the context window for Granite 4.1 8B on OpenRouter?
Granite 4.1 8B supports a 131k token context window on OpenRouter.
What API model ID do I use for Granite 4.1 8B on OpenRouter?
Use the model ID ibm-granite/granite-4.1-8b when calling OpenRouter's API.
Who created Granite 4.1 8B?
Granite 4.1 8B was created by IBM Research as part of the Granite 4.1 model family.
Is Granite 4.1 8B open source?
Granite 4.1 8B is open source under Apache 2.0 according to the seed data.