Llama-3.1-8B-Instruct pricing & specs

Meta · released 2024-07-23 · ● verified 2026-10-11

input / 1M$0.02via Novita AI
output / 1M$0.05via Novita AI
context16.4K
max output16.4K

// price history ($/1M tokens)

$0.0575
input $/1Moutput $/1M2024-07-23 → 2026-10-11

// cheaper or similar alternatives

modelinoutctxvs Llama-3.1-8B-Instruct
Llama 3.2 1B Instruct$0.02$0.02131K−27.3%
Voxtral Mini 3B 2507$0.04$0.0432.8K+45.5%
Gemma 4 E2B IT$0.04$0.08131.1K+81.8%
Qwen3.7 Flash$0.03$0.131M+100%
Gemma 3 12B IT$0.05$0.10131.1K+127.3%

// price by host

hostin $/1Mout $/1M
Novita AI$0.02$0.05
Cloudflare Workers AI$0.152$0.287
Amazon Bedrock$0.22$0.22

// faq

How much does Llama-3.1-8B-Instruct cost?

Llama-3.1-8B-Instruct costs $0.02 per million input tokens and $0.05 per million output tokens (cheapest tracked host: Novita AI). At 50M input and 10M output tokens per month that is about $1.50.

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

16.4K tokens, with up to 16.4K output tokens per request.

What are cheaper alternatives to Llama-3.1-8B-Instruct?

Llama 3.2 1B Instruct ($0.02 in / $0.02 out) offer the same input types and capabilities for less.

Is Llama-3.1-8B-Instruct open weights?

Yes. It is available from 3 tracked hosts; the cheapest is Novita AI at $0.02 input and $0.05 output per million tokens.

// spec sheet

input / 1M
$0.02
output / 1M
$0.05
blended (3:1)
$0.0275
context
16.4K
max output
16.4K
input types
text
reasoning
no
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
2023-12
price source
Novita AI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Llama 3.2 1B Instruct$0.02$0.02$1.20
Llama-3.1-8B-Instruct$0.02$0.05$1.50
Voxtral Mini 3B 2507$0.04$0.04$2.40
Gemma 4 E2B IT$0.04$0.08$2.80

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.