This model was retired on 2026-04-14. The pricing below is the last-known rate, kept for migration reference.

Meta Llama 3.1 8B InstructDeprecated

MetaReleasedJul 23, 2024KnowledgeDec 2023
Tool useStructured output
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 providerInput /1MOutput /1MEndpoints
Nebius$0.02$0.061
DeepInfra$0.03$0.051
Friendliai$0.10$0.101
SambaNova$0.10$0.201
Hyperbolic$0.12$0.301
Azure$0.30$0.611

Price history

input + output $/1M since we started tracking
Input Output
Input down 93% since first tracked
$0.000$0.200$0.400$0.600$0.800Oct 23Jan 5Aug 22Jun 22$0.050$0.020

Cost calculator

estimate your monthly spend on this model
$9
estimated / month

Model IDs

copy the exact identifier for your platform
nebius/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 availability

Is 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 lineup
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