This model was retired on 2026-04-14. The pricing below is the last-known rate, kept for migration reference.
Context
131K
Max output
131K
Serving providers
6
Cheapest input
$0.02 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Pricing by serving provider
last-known · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Nebius | $0.02 | $0.06 | 1 | ||||||||||||||||
| |||||||||||||||||||
| DeepInfra | $0.03 | $0.05 | 1 | ||||||||||||||||
| |||||||||||||||||||
| Friendliai | $0.10 | $0.10 | 1 | ||||||||||||||||
| |||||||||||||||||||
| SambaNova | $0.10 | $0.20 | 1 | ||||||||||||||||
| |||||||||||||||||||
| Hyperbolic | $0.12 | $0.30 | 1 | ||||||||||||||||
| |||||||||||||||||||
| Azure | $0.30 | $0.61 | 1 | ||||||||||||||||
| |||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Input down 93% since first tracked
Cost calculator
estimate your monthly spend on this model$9
estimated / month
Model IDs
copy the exact identifier for your platformnebius/meta-llama/Meta-Llama-3.1-8B-Instructdeepinfra/meta-llama/Meta-Llama-3.1-8B-Instructfriendliai/meta-llama-3.1-8b-instructsambanova/Meta-Llama-3.1-8B-Instructhyperbolic/meta-llama/Meta-Llama-3.1-8B-Instructazure_ai/Meta-Llama-3.1-8B-Instruct
Frequently asked questions
Meta Llama 3.1 8B Instruct pricing, context and availabilityIs Meta Llama 3.1 8B Instruct still available?
Meta Llama 3.1 8B Instruct was retired on 2026-04-14. The pricing on this page is the last-known rate, kept for migration reference.
How much did Meta Llama 3.1 8B Instruct cost?
Meta Llama 3.1 8B Instruct's last-known pricing, before it was retired on 2026-04-14, was $0.02 per 1M input tokens and $0.05 per 1M output tokens.
What was the context window of Meta Llama 3.1 8B Instruct?
Meta Llama 3.1 8B Instruct had a 131K token context window and could return up to 131K output tokens.
What could Meta Llama 3.1 8B Instruct do?
Meta Llama 3.1 8B Instruct supported tool use and structured output.
Other Meta models
compare pricing across the Meta lineupLlama 3.3 70B Instruct$0.12/1M · 11 providersLlama 4 Scout 17B 16e Instruct$0.05/1M · 10 providersLlama 3.1 8B Instruct$0.02/1M · 6 providersLlama 4 Maverick 17B 128e Instruct FP8$0.05/1M · 6 providersLlama 3.2 3B Instruct$0.02/1M · 5 providersLlama 3.2 11B Vision Instruct$0.05/1M · 5 providersMeta Llama 3.1 70B Instruct$0.12/1M · 5 providersLlama Guard 3 8B$0.02/1M · 4 providers
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI