Meta: Llama 3 8B Instruct API Pricing

by meta-llama · 8K context window · #7 cheapest paid

$0.0300
Input /1M tokens
$0.0400
Output /1M tokens
8K
Context window

Explore the pricing for Meta's Llama 3 8B Instruct API. This page details the cost structure for this powerful large language model, crucial for ML engineers evaluating LLM API options. Input tokens are priced at $0.03000 per 1 million tokens, while output tokens cost $0.04000 per 1 million tokens, resulting in a total cost of $0.0700 per 1 million tokens. Llama 3 8B Instruct offers a context window of 8,192 tokens. As a practical example, if your application processes 10 million tokens daily, your estimated monthly cost would be approximately $21.00. Make informed decisions about your LLM implementation using Meta's meta-llama provider.

Monthly Cost Examples

Assuming 50% input / 50% output token split

UsageMonthly cost
100K tokens/month<$0.01
1M tokens/month$0.04
10M tokens/month$0.35
100M tokens/month$3.50

Compare with other models

Meta: Llama 3 8B Instruct vs OpenAI: GPT-4o →Meta: Llama 3 8B Instruct vs OpenAI: GPT-4o-mini →Meta: Llama 3 8B Instruct vs OpenAI: o1 →

Automate your model selection

StormRouter sends each request to the cheapest model that can handle it.
Only use Meta: Llama 3 8B Instruct when your quality requirements demand it.

Try StormRouter free →

Similar models

Free Models RouterFree/1MStepFun: Step 3.5 Flash (free)Free/1MArcee AI: Trinity Large Preview (free)Free/1MUpstage: Solar Pro 3 (free)Free/1MLiquidAI: LFM2.5-1.2B-Thinking (free)Free/1MLiquidAI: LFM2.5-1.2B-Instruct (free)Free/1M