Home / Models / Meta / Llama 3.1 8B Instruct
Meta logoMetaopen weights

Llama 3.1 8B Instruct pricing

$0.05 per 1M input tokens and $0.08 per 1M output tokens. In real work that is 0.01¢ per chat answer and 0.09¢ to summarize a 20-page PDF.

Input / 1M$0.05
Output / 1M$0.08
Cached input / 1M$0.025
Chat answer0.01¢
Context131K
Quality1211 lmarena

What Llama 3.1 8B Instruct costs per task

Token counts estimated from a measured model of the same lab (Qwen3.8 Flash), rescaled by tokenizer. Reasoning tokens are billed as output.

TaskCostTokens usedPrice rankBasis
Answer a chat question
0.01¢$0.13 / 1,000
87 in · 683 out · 909 reasoning8 of 336estimated
Reply to a customer email
<0.01¢$0.07 / 1,000
323 in · 97 out · 587 reasoning11 of 336estimated
Write a 1,500-word blog post
≥0.13¢$1.29 / 1,000
103 in · 0 out · 16,000 reasoning31 of 336estimated
Write 10 product descriptions
≥0.13¢$1.30 / 1,000
342 in · 0 out · 16,000 reasoning40 of 336estimated
Translate 1,000 words
0.02¢$0.17 / 1,000
1,375 in · 1,156 out · 136 reasoning7 of 336estimated
Proofread one page (500 words)
0.02¢$0.18 / 1,000
770 in · 665 out · 1,159 reasoning8 of 336estimated
Summarize a 20-page PDF
0.09¢$0.86 / 1,000
13,015 in · 497 out · 2,141 reasoning17 of 336estimated
Extract data from an invoice
0.02¢$0.20 / 1,000
497 in · 556 out · 1,617 reasoning9 of 336estimated
Analyze a 200-row spreadsheet
≥0.16¢$1.60 / 1,000
6,306 in · 0 out · 16,000 reasoning11 of 336estimated
Answer from 5 retrieved documents (RAG)
0.04¢$0.42 / 1,000
3,721 in · 966 out · 1,912 reasoning11 of 336estimated
Classify 100 support tickets
0.07¢$0.75 / 1,000
1,451 in · 529 out · 7,879 reasoning19 of 336estimated
Review 500 lines of code
≥0.15¢$1.52 / 1,000
4,835 in · 0 out · 16,000 reasoning14 of 336estimated
Write a SQL query
0.02¢$0.22 / 1,000
175 in · 401 out · 2,225 reasoning11 of 336estimated
Run a 50-step coding agent
6.6¢$65.76 / 1,000
2,241,975 in · 15,030 out · 80,850 reasoning28 of 336modeled

Price at every provider

List prices per 1M tokens (input / output) at each host serving Llama 3.1 8B Instruct through OpenRouter today. Hosts can differ in quantization, context and speed.

ProviderInput / outputCached inputContextUptime
DeepInfra logo
DeepInfrafp8
$0.02 / $0.04-131K100%
Novita logo
Novitafp8
$0.02 / $0.05-16K100%
Groq logo
Groqunknown
$0.05 / $0.08$0.025131K100%
C
CoreWeavebf16
$0.22 / $0.22$0.22131K100%
C
Cloudflarefp8
$0.15 / $0.29-32K100%

Price history

First seen in our price history on Sep 5, 2024 at $0.055 input / $0.055 output. Since then the output price moved from $0.055 to $0.08 per 1M tokens (13 changes).

$0$0.023$0.046$0.069$0.092Sep 2024Mar 2025Sep 2025Apr 2026Oct 2026
Output per 1MInput per 1M

FAQ

How much does Llama 3.1 8B Instruct cost?

Llama 3.1 8B Instruct costs $0.05 per 1 million input tokens and $0.08 per 1 million output tokens, with cached input at $0.025 (list price on Oct 18, 2026). In practice one chat answer costs about 0.01¢ and summarizing a 20-page PDF about 0.09¢.

Where is Llama 3.1 8B Instruct cheapest?

Among 5 providers we track, the lowest list price today is at DeepInfra: $0.02 input and $0.04 output per 1M tokens.

Is the Llama 3.1 8B Instruct cost per task measured or estimated?

Estimated: Llama 3.1 8B Instruct was not run directly. Tokens come from Qwen3.8 Flash and are rescaled by the tokenizer of Meta. Real usage can differ.