Meta · live price
Llama 3.1 8B Instruct API pricing
Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to...
Small and cheap (under $1 per 1M)Tool calling
- Input
- $0.02
- per 1M tokens
- Output
- $0.04
- per 1M tokens
- Cached input
- –
- per 1M tokens
- Context
- 131K
- 16K max output
List price from OpenRouter, which passes Meta's price through without markup. Refreshed hourly. Released July 23, 2024. Model id meta-llama/llama-3.1-8b-instruct.
What Llama 3.1 8B Instruct costs in practice
At list price, before any batch or caching discount.
1,000 chat messages
$0.04
1,000 input + 500 output tokens each
1,000 RAG questions
$0.18
8,000 input + 500 output tokens each
100 coding-agent steps
$0.07
30,000 input + 2,000 output tokens each, no caching
Llama 3.1 8B Instruct price history
Price last changed on 2026-11-09. We record prices daily since 2026-10-01.
Llama 3.1 8B Instruct price by host
4 hosts serve this model. Prices are the same or higher than list; the cheapest are first.
- DeepInfra$0.02 in · $0.04 out · 131K ctx · 100.0% uptime 24h
- Groq$0.05 in · $0.08 out · 131K ctx · 100.0% uptime 24h
- Amazon Bedrock$0.22 in · $0.22 out · 131K ctx · 100.0% uptime 24h
- CoreWeave$0.22 in · $0.22 out · 131K ctx · 100.0% uptime 24h
Where to buy Meta credits for less
Llama 3.1 8B Instruct costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
Llama 3.1 8B Instruct cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$1.40/ month(quotes below are for $5.00: purchases run from $5.00 to $10,000.00)
Cheaper alternatives to Llama 3.1 8B Instruct
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| inclusionAI: Ling 3.0 Tiny | $0.015 | $0.045 |
Other Meta models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Llama 3.1 70B Instruct | $0.72 | $0.72 |
| Llama 3.2 3B Instruct | $0.05 | $0.33 |
| Llama 3.3 70B Instruct | $0.71 | $0.71 |
| Llama 4 Scout | $0.1 | $0.3 |
| Llama 4 Maverick | $0.35 | $1 |
| Llama Guard 4 12B | $0.18 | $0.18 |