Home › Providers › meta-llama › Meta: Llama 3.1 8B Instruct
Meta: 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...
How much does Meta: Llama 3.1 8B Instruct cost for a real workload?
At 10M input + 2M output tokens per month, Meta: Llama 3.1 8B Instruct costs about $0.66 ($0.5 input + $0.16 output). Try your own volumes in the cost calculator.
What are cheaper alternatives to Meta: Llama 3.1 8B Instruct?
- IBM: Granite 4.0 Micro — $0.017 in / $0.112 out per 1M
- Nex AGI: Nex-N2.5-Mini — $0.025 in / $0.1 out per 1M
- OpenAI: gpt-oss-20b — $0.018 in / $0.09 out per 1M
- Google: Gemma 3 4B — $0.04 in / $0.05 out per 1M
- Sao10K: Llama 3 8B Lunaris — $0.04 in / $0.05 out per 1M
- inclusionAI: Ling 3.0 Flash — $0.021 in / $0.063 out per 1M
Compare Meta: Llama 3.1 8B Instruct with other models
Meta: Llama 3.1 8B Instruct vs Meta: Llama 3.2 1B InstructMeta: Llama 3.1 8B Instruct vs Meta: Llama Guard 4 12BMeta: Llama 3.1 8B Instruct vs Meta: Llama 3.2 3B InstructMeta: Llama 3.1 8B Instruct vs Meta: Llama 4 ScoutMeta: Llama 3.1 8B Instruct vs Meta: Llama 3.3 70B InstructMeta: Llama 3.1 8B Instruct vs Meta: Llama 3.1 70B Instruct
Frequently asked questions
How much does Meta: Llama 3.1 8B Instruct cost?
Meta: Llama 3.1 8B Instruct costs $0.05 per 1M input tokens and $0.08 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $0.66.
What is the context window of Meta: Llama 3.1 8B Instruct?
Meta: Llama 3.1 8B Instruct has a context window of 131,072 tokens and can return up to 117,964 output tokens per response.
What are cheaper alternatives to Meta: Llama 3.1 8B Instruct?
Cheaper models include IBM: Granite 4.0 Micro ($0.017 in / $0.112 out), Nex AGI: Nex-N2.5-Mini ($0.025 in / $0.1 out), OpenAI: gpt-oss-20b ($0.018 in / $0.09 out). See the full list on this page.
Is Meta: Llama 3.1 8B Instruct free to use?
No. Meta: Llama 3.1 8B Instruct is a paid model at $0.05 input / $0.08 output per 1M tokens. 20 free models are listed on the free models page.
Provider: meta-llama · Model ID: meta-llama/llama-3.1-8b-instruct · Modality: text->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices