Meta Llama 3.1.8 B vs GLM 4.5 Air Fp 8: cost comparison
Prices updated 2026-11-04 · computed from live provider data
Short answer: Meta Llama 3.1.8 B is cheaper on a
3:1 input/output blend — $0.200 per million tokens versus
$0.425, a 53% difference.
GLM 4.5 Air Fp 8 offers the larger context window at 131,072 tokens, against 16,384 for Meta Llama 3.1.8 B.
Head to head
| Meta Llama 3.1.8 B | GLM 4.5 Air Fp 8 | |
|---|---|---|
| Input, per 1M tokens | $0.200 | $0.200 |
| Output, per 1M tokens | $0.200 | $1.10 |
| Blended 3:1, per 1M | $0.200 | $0.425 |
| Context window | 16,384 | 131,072 |
| Vendor | together_ai | together_ai |
Monthly cost at real volumes
| Workload (input / output) | Meta Llama 3.1.8 B | GLM 4.5 Air Fp 8 |
|---|---|---|
| 1M in / 250K out | $0.250 | $0.475 |
| 10M in / 2.5M out | $2.50 | $4.75 |
| 100M in / 25M out | $25.00 | $47.50 |
Which should you pick?
Pick GLM 4.5 Air Fp 8 when you need the longer context window (131,072 vs 16,384 tokens). Pick Meta Llama 3.1.8 B when price per token dominates your workload — high-volume classification, extraction, or batch summarisation.