Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

Meta: Llama 3.1 8B Instruct 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. Meta: Llama 3.1 8B Instruct from OpenRouter costs $0.020 per 1M input tokens and $0.040 per 1M output tokens. Context window 131,072 tokens.

API id meta-llama/llama-3.1-8b-instruct · OpenRouter · source · updated 2026-11-10 · general-purpose

$0.020
Input / 1M tokens
$0.040
Output / 1M tokens
—
Cached input / 1M
131K
Context window

Meta: Llama 3.1 8B Instruct specifications

Provider
OpenRouter
API id
meta-llama/llama-3.1-8b-instruct
Model type
general-purpose
Context window
131K tokens
Max output
16K tokens
Currency
USD
Price source
Provider API
Last checked
2026-11-10

What Meta: Llama 3.1 8B Instruct costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0000
Document summary50,0002,000$0.0011
1M tokens in, 200K out1,000,000200,000$0.03

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Meta: Llama 3.1 8B Instruct price history

RecordedInput /1MOutput /1M
2026-11-09$0.020$0.040
2026-10-29$0.050$0.080
2026-10-28$0.020$0.040
2026-08-27$0.050$0.080

Common questions

How much does Meta: Llama 3.1 8B Instruct cost per 1M tokens?
Meta: Llama 3.1 8B Instruct costs $0.020 per 1M input tokens and $0.040 per 1M output tokens on the standard tier.
What is Meta: Llama 3.1 8B Instruct's context window?
Meta: Llama 3.1 8B Instruct accepts up to 131,072 tokens in a single request, and can return up to 16,384 output tokens.
Is there a cheaper OpenRouter model than Meta: Llama 3.1 8B Instruct?
Yes. Free Models Router is free per 1M input tokens versus $0.020 for Meta: Llama 3.1 8B Instruct, with a 200,000 token context window.
Where does this Meta: Llama 3.1 8B Instruct price come from?
From the OpenRouter catalogue, because OpenRouter does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from OpenRouter's own — verify before committing spend.

Head-to-head comparisons

Other OpenRouter models

See all OpenRouter pricing →