Context
128K
Max output
128K
Serving providers
2
Cheapest input
$0.10 /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 expandInput pricing runs from $0.10 to $0.24 per 1M tokens across 2 providers, so the dearest route costs 140% more than the cheapest for the same model.
| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CerebrasCheapest | $0.10 | $0.10 | 1 | ||||||||||||||||
| |||||||||||||||||||
| Snowflake | $0.24 | $0.24 | 1 | ||||||||||||||||
| |||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Cost calculator
estimate your monthly spend on this model$28
estimated / month
Model IDs
copy the exact identifier for your platformcerebras/llama3.1-8bsnowflake/llama3.1-8b
Frequently asked questions
Llama3 1 8B pricing, context and availabilityHow much does Llama3 1 8B cost?
Llama3 1 8B costs $0.10 per 1M input tokens and $0.10 per 1M output tokens at its cheapest provider via Cerebras. Across 2 serving providers, input prices range from $0.10 to $0.24 per 1M tokens.
What is the context window of Llama3 1 8B?
Llama3 1 8B accepts up to 128K tokens of context and can return up to 128K output tokens.
Which providers serve Llama3 1 8B?
Llama3 1 8B is available from 2 serving providers, each with its own pricing and model ID. Cerebras is currently the cheapest.
What can Llama3 1 8B do?
Llama3 1 8B supports tool use.
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 providersMeta Llama 3.1 8B Instruct$0.02/1M · 6 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 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