Skip to content
TopLLM

Llama 3.1 8B Instruct

Open weightsVerified December 1, 2026

Llama 3.1 8B Instruct is a strong fit for high volume work on a budget, self hosting, at $0.05/$0.08 per 1M tokens.

Input$0.05/1M
Output$0.08/1M
Context128K

Pricing and tiers

USD per 1M tokens.

TierInputOutputNotes
Standard$0.05$0.08

Run it locally

8B parameters. Q4_K_M with 32K context needs about 10.6 GB.

Can my GPU or Mac run it? →

Find Llama 3.1 8B Instruct on Ollama

Cheaper alternatives with similar scores

Specs

Company
Meta
Released
July 23, 2024
Weights
Open
Context window
131,072 tokens
Max output
117,964 tokens
Official page
Model documentation

Where Llama 3.1 8B Instruct ranks

Its place on our main guides.

Llama 3.1 8B Instruct questions

How much does Llama 3.1 8B Instruct cost?

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens. The cost calculator turns that into a monthly bill.

What is the context window of Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct reads up to 131,072 tokens and writes up to 117,964 in one reply.

Can I run Llama 3.1 8B Instruct locally?

Yes. At Q4_K_M with 32K context it needs about 10.6 GB, so it fits on 12GB VRAM and up. See the 12GB VRAM guide.

What is a good alternative to Llama 3.1 8B Instruct?

Ling 3.0 Tiny scores close to it for less per token. Compare it head to head with Gemini 4 Neon.