Toolsummary · LLM pricing data

Llama 3.1.8 B pricing

Source: litellm · updated 2026-10-28

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 #40 of 713 tracked models by input price.

Price breakdown

MetricUSD
Input, per 1M tokens$0.030
Output, per 1M tokens$0.050
Output รท input multiple1.67×
3:1 blended, per 1M tokens$0.035
Context window131,072 tokens

What a typical workload costs

Monthly volumeInput costOutput costTotal1M 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

ModelInputOutput
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: Ministral 3 B at $0.040 per 1M input tokens.