Skip to content

Meta: Llama 3.1 8B Instruct

Meta

Meta: Llama 3.1 8B Instruct by Meta costs $0.05 per 1M input tokens and $0.08 per 1M output tokens, with a 131K-token context window.

Pricing

Input (per 1M tokens)
$0.05
Output (per 1M tokens)
$0.08
Cached input (per 1M)
$0.03

Specifications

Provider
Meta
Context window
131K tokens
Parameters
—
Released
—
Open weights
—
Frontier model
No
Hugging Face
meta-llama/Meta-Llama-3.1-8B-Instruct

Benchmarks

Speed & latency

Time to first token
1.54s
Output speed
149 tok/s

Fastest host: novita (via hf-router).

Compare Meta: Llama 3.1 8B Instruct with…

FAQ

How much does Meta: Llama 3.1 8B Instruct cost?

Meta: Llama 3.1 8B Instruct is priced at $0.05 per 1M input tokens and $0.08 per 1M output tokens. Output tokens cost more than input.

What is Meta: Llama 3.1 8B Instruct's context window?

Meta: Llama 3.1 8B Instruct supports a context window of 131K tokens — the maximum prompt plus response length it can handle in a single request.

Is Meta: Llama 3.1 8B Instruct open weight?

Open-weight status for Meta: Llama 3.1 8B Instruct is not recorded in our dataset.

Data as of 2026-10-14. Source: Pricing via OpenRouter API, openrouter.ai. Pricing is per 1M tokens (USD); confirm with the provider before production use.