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.050 per 1M input tokens and $0.080 per 1M output tokens. Cached input is $0.025 per 1M. Context window 131,072 tokens.
API id meta-llama/llama-3.1-8b-instruct · OpenRouter · source · updated 2026-09-25 · general-purpose
$0.050
Input / 1M tokens
$0.080
Output / 1M tokens
$0.025
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
- 118K tokens
- Currency
- USD
- Price source
- Provider API
- Last checked
- 2026-09-25
What Meta: Llama 3.1 8B Instruct costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0001 |
| Document summary | 50,000 | 2,000 | $0.0027 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $0.07 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does Meta: Llama 3.1 8B Instruct cost per 1M tokens?
- Meta: Llama 3.1 8B Instruct costs $0.050 per 1M input tokens and $0.080 per 1M output tokens on the standard tier. Cached input is $0.025 per 1M.
- 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 117,964 output tokens.
- Is there a cheaper OpenRouter model than Meta: Llama 3.1 8B Instruct?
- Yes. Mistral: Mistral Nemo is $0.019 per 1M input tokens versus $0.050 for Meta: Llama 3.1 8B Instruct, with a 131,072 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
- Fireworks: Ember-1 $3.00
- Z.ai: GLM 5.3 Prime $2.80
- Qwen: Qwen3.8 Max Prime $4.00
- Space Bunny Alpha Free
- AionLabs: Aion 3.5 Mini $0.700
- AionLabs: Aion 3.5 $3.00
- Upstage: Solar Mini 4 $0.050
- Cohere: Command A+ $0.300
- OpenAI: GPT-6 Luna Pro $0.100
- OpenAI: GPT-6 Luna $0.100
- OpenAI: GPT-6 Sol Pro $2.00
- OpenAI: GPT-6 Sol $2.00
- Anthropic: Claude Opus 5.5 $4.00
- Xiaomi: MiMo-V2.6-Pro-UltraSpeed $4.35
- Xiaomi: MiMo-V2.6-Flash $0.140
- Xiaomi: MiMo-V2.6-Pro $0.435