granite-4.1-8b vs phi-4
Specs, VRAM requirements and download trends — updated 21 August 2026.
ibm-granite · A · Open weights
Params
8.8 B
Context
131,072
30d
192 K
apache-2.0 · commercial OK
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | granite-4.1-8b | phi-4 |
|---|---|---|
| Deployment | Open weights | Open weights · also via API |
| Parameters | 8.8 B | 14.7 B |
| Architecture | GraniteForCausalLM | Phi3ForCausalLM |
| Context length | 131,072 | 16,384 |
| Licence | apache-2.0 | mit |
| Commercial use | Allowed | Allowed |
| Languages | — | 1 |
| Downloads 30d | 192,200 | 275,580 |
| Downloads all time | 6.1 M | 14.9 M |
| Quantizations on the Hub | SAFETENSORS | SAFETENSORS |
| Gated | No | No |
| First seen on the Hub | 2026-04-06 | 2024-12-11 |
| API input price / 1M tokens | not on OpenRouter | $0.07 |
| API output price / 1M tokens | not on OpenRouter | $0.14 |
| Est. cost per 1M input + 1M output tokens | not on OpenRouter | $0.21 |
| Cached input / 1M tokens | not on OpenRouter | — |
| AA Intelligence Index | not on OpenRouter | — |
| AA Coding Index | not on OpenRouter | — |
| AA Agentic Index | not on OpenRouter | — |
| Max output tokens | not on OpenRouter | 14,745 |
| API providers | not on OpenRouter | 1 |
| Tool calling | not on OpenRouter | No |
| Reasoning mode | not on OpenRouter | No |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
phi-4
$0.21
Download trend
Daily snapshots, last 90 days (13 Aug – 10 Nov)
4.2 M192 K
granite-4.1-8b
phi-4
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
phi-4 · fp16
34.9 GB / 24 GB
granite-4.1-8b · fp16 @ 128K ctx
40.9 GB / 24 GB