Llama 3.1.8 B pricing
Source: litellm · updated 2026-11-18
Short answer: Llama 3.1.8 B costs $0.030 per million input tokens and $0.050 per million output tokens. That is a 3:1 blended rate of $0.035 per million tokens, ranking it #45 of 833 tracked models by input price.
Input / 1M
$0.030
Output / 1M
$0.050
Output ÷ input
1.67×
Context window
131,072
Price breakdown
| Metric | USD |
|---|---|
| Input, per 1M tokens | $0.030 |
| Output, per 1M tokens | $0.050 |
| Output ÷ input multiple | 1.67× |
| 3:1 blended, per 1M tokens | $0.035 |
| Context window | 131,072 tokens |
| Vendor | llamagate |
What a typical workload costs
| Monthly volume | Input cost | Output cost | Total |
|---|---|---|---|
| 1M in / 250K out | $0.030 | $0.013 | $0.043 |
| 10M in / 2.5M out | $0.300 | $0.125 | $0.425 |
| 100M in / 25M out | $3.00 | $1.25 | $4.25 |
Other llamagate models
| Model | Input | Output |
|---|---|---|
| Gemma 3.4 B | $0.030 | $0.080 |
| Llama 3.2.3 B | $0.040 | $0.080 |
| Qwen 3.8 B | $0.040 | $0.140 |
| DeepSeek Coder 6.7 B | $0.060 | $0.120 |
| Codellama 7 B | $0.060 | $0.120 |
Compare against
Cheaper alternatives
Next cheaper option: Ling 3.0 Flash at $0.021 per 1M input tokens. Next step up: GLM 5.3 Flash at $0.024 per 1M input tokens.
Spotted a price that is out of date? Submit a correction.