Meta: Llama 3 8B Instruct✓ Catalog verified
Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 8B instruct-tuned version was optimized for high quality dialogue usecases. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, click here. Usage of this model is subject to Meta's Acceptable Use Policy.
Overview
Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 8B instruct-tuned version was optimized for high quality dialogue usecases. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, click here. Usage of this model is subject to Meta's Acceptable Use Policy.
Access: available through the official Meta API. Context window: 8K.
Specifications
| API identifier | meta-llama/llama-3-8b-instruct |
| Provider | Meta |
| Model type | Text LLM |
| Context window | 8K catalog |
| Input modalities | text |
| Output modalities | text |
| Released | Apr 18, 2024 |
| Tokenizer | Llama3 |
| Instruction format | llama3 |
| Moderated | No |
| Architecture modality | text->text |
Pricing
Live pricing components for meta-llama/llama-3-8b-instruct as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $3e-8 | $0.03 / 1M | Per input token |
| Completion tokens | $4e-8 | $0.04 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.02Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | Not advertised | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | ✓ Supported | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call Meta: Llama 3 8B Instruct through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="meta-llama/llama-3-8b-instruct",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| Google: Gemma 2 27B | 8K | $0.65 | View → | |
| Google: Gemma 2 9B | 8K | $0.03 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does Meta: Llama 3 8B Instruct cost?
$0.03 per 1M input tokens and $0.04 per 1M output tokens on the official Meta API.
What is the context window of Meta: Llama 3 8B Instruct?
Meta: Llama 3 8B Instruct supports up to 8K tokens of context.
Does Meta: Llama 3 8B Instruct support tool / function calling?
Yes, Meta: Llama 3 8B Instruct supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access Meta: Llama 3 8B Instruct?
Use the official Meta API with the model id `meta-llama/llama-3-8b-instruct`. See the Quick start section above for code examples.