Context
8K
Max output
8K
Serving providers
4
Cheapest input
$0.05 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower. A Vercel reseller quote is the price Vercel lists for serving this model, not the maker list price, so it moves when Vercel re-routes.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $0.05 to $0.20 per 1M tokens across 3 providers, so the dearest route costs 300% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
ReplicateCheapest$0.05$0.251
Standardreplicate/meta/llama-3-8b
ComponentUnitStandard
Text input/1M tok$0.05
Text output/1M tok$0.25
VercelVercel reseller quote$0.05$0.081
Fireworks AI$0.20$0.201
Ollama$0.00$0.001

Price history

listed seller prices, input and output per 1M tokens
Input Output
$0.00$0.10$0.20$0.30Apr 29Jul 30Dec 9Jun 22$0.08$0.05

Cost calculator

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

Model IDs

copy the exact identifier for your platform
ollama/llama3:8breplicate/meta/llama-3-8bvercel_ai_gateway/meta/llama-3-8bfireworks_ai/accounts/fireworks/models/llama-v3-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 from Replicate, and $0.08 per 1M output tokens as a Vercel reseller quote. A Vercel reseller quote is the price Vercel lists for serving this model, not the maker list price, so it moves when Vercel re-routes. Across 3 serving providers, input prices range from $0.05 to $0.20 per 1M tokens.

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 4 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
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI