Context
8K
Max output
8K
Serving providers
2
Cheapest input
$0.05 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
ReplicateCheapest$0.05$0.251
ComponentUnitStandardBatchCached
Text input/1M tok$0.0500
Text output/1M tok$0.2500
Vercel AI GatewayCheapest$0.05$0.081

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.100$0.200$0.300Apr 29Jul 30Jun 22$0.080$0.050

Cost calculator

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

Model IDs

copy the exact identifier for your platform
replicate/meta/llama-3-8bvercel_ai_gateway/meta/llama-3-8b

Frequently asked questions

Llama 3 8B pricing, context and availability

How much does Llama 3 8B cost?

Llama 3 8B costs $0.05 per 1M input tokens and $0.08 per 1M output tokens at its cheapest provider via Replicate.

What is the context window of Llama 3 8B?

Llama 3 8B accepts up to 8K tokens of context and can return up to 8K output tokens.

Which providers serve Llama 3 8B?

Llama 3 8B is available from 2 serving providers, each with its own pricing and model ID. Replicate is currently the cheapest.

What can Llama 3 8B do?

Llama 3 8B supports tool use.

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