Granite 4.0 Micro vs Llama 3.1 8B Instruct

Price, context window & benchmark comparison

IBM Granite

Granite 4.0 Micro

IBM Granite
$0.017 / $0.11
Input / Output · per 1M tokens
VS
Meta Llama

Llama 3.1 8B Instruct

Meta Llama
$0.02 / $0.04
Input / Output · per 1M tokens
Compare different models
IBM Granite
Meta Llama
Verdict: Llama 3.1 8B Instruct is 39% cheaper than Granite 4.0 Micro on a typical 3:1 input/output mix. Llama 3.1 8B Instruct has the larger context window (131K vs 131K).
Granite 4.0 MicroLlama 3.1 8B Instruct
Input price / 1M$0.017$0.02
Output price / 1M$0.11$0.04
Blended price (3:1)$0.0408$0.025
Cached input / 1M——
Context window131K131K
Max output118K16K
Intelligence index5.1—
Coding index—5.4
Providers——
Best provider uptime (30m)——
Vision inputNoNo
ReasoningNoNo
Tool callingNoYes
Released2025-10-202024-07-23
Retirement——

Cost calculator

FAQ

Which is cheaper, Granite 4.0 Micro or Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct is 39% cheaper than Granite 4.0 Micro on a typical 3:1 input/output mix.

Granite 4.0 Micro vs Llama 3.1 8B Instruct: which has a bigger context window?

Granite 4.0 Micro: 131,000 tokens. Llama 3.1 8B Instruct: 131,072 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Granite 4.0 Micro ≈ $90.00, Llama 3.1 8B Instruct ≈ $60.00.

More comparisons