Llama 3.1 8B Instruct API price
Input, per 1M tokens
$0.020
Output, per 1M tokens
$0.040
Cheapest at Hugging Face; 6 sellers compared below.
Cost calculator: where to buy, and what it costs you
Pick a use case, a volume and a provider. Monthly figures assume 30 days.
1,500 input and 400 output tokens per request, 30% of input cached.
Spotted a wrong or outdated price? Report it and we fix it at the next update.
Test a seller of this model with your own key, on your own machine.
- Context window
- 131K131,072 tokens
- Last checked
- 29 Nov, 18:17 UTC
Price history
Cheapest standard price per 1M tokens, recorded every 6 hours since 16 Oct 2026.
- Novita no longer listed under this name in our data (was $0.020 / $0.050)
- Nous Research raised input $0.020 to $0.050 (+150%), output $0.040 to $0.080 (+100%)
- OpenRouter raised input $0.020 to $0.050 (+150%), output $0.040 to $0.080 (+100%)
- LowRouter cut input $0.060 to $0.020 (-67%), output $0.060 to $0.040 (-33%)
- Hopscotch (Promo) no longer listed under this name in our data (was $0.010 / $0.025)
- Hopscotch no longer listed under this name in our data (was $0.020 / $0.050)
- Nous Research cut input $0.050 to $0.020 (-60%), output $0.080 to $0.040 (-50%)
- OpenRouter cut input $0.050 to $0.020 (-60%), output $0.080 to $0.040 (-50%)
- Hopscotch (Promo) cut input $0.025 to $0.010 (-60%), output $0.040 to $0.025 (-38%)
- Hopscotch cut input $0.050 to $0.020 (-60%), output $0.080 to $0.050 (-38%)