Toolsummary · LLM pricing data

Granite 4.0 H Micro vs Llama 3.1.8 B Instruct: cost comparison

Prices updated 2026-10-28 · computed from live provider data

Short answer: Llama 3.1.8 B Instruct is cheaper on a 3:1 input/output blend — $0.025 per million tokens versus $0.041, a 39% difference. Llama 3.1.8 B Instruct offers the larger context window at 131,072 tokens, against 131,000 for Granite 4.0 H Micro.

Head to head

Granite 4.0 H MicroLlama 3.1.8 B Instruct
Input, per 1M tokens$0.017$0.020
Output, per 1M tokens$0.112$0.040
Blended 3:1, per 1M$0.041$0.025
Context window131,000131,072
Vendorcloudflaremeta-llama

Monthly cost at real volumes

Workload (input / output)Granite 4.0 H MicroLlama 3.1.8 B Instruct
1M in / 250K out$0.045$0.030
10M in / 2.5M out$0.450$0.300
100M in / 25M out$4.50$3.00

Which should you pick?

Pick Llama 3.1.8 B Instruct when you need the longer context window (131,072 vs 131,000 tokens). Pick Llama 3.1.8 B Instruct when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.

Related