Llama 3 8B Instruct is Meta's language model with a 32K context window and up to 8K output tokens, available from 9 providers, starting at $0.03 / 1M input and $0.04 / 1M output. Meta's 8B instruction-tuned LLM from the Llama 3 generation, offering fast and cost-effective instruction-following across diverse tasks.
Specifications
Canonical IDmeta-llama-3-8b-instruct
TypeLanguage
StatusActive
CreatorMetaMeta
Providers
Context Window32K tokens
Max Output8K tokens
Input ModalitiesPDFText
Output ModalitiesText
Parameters8B
HuggingFace Likes4,486
HuggingFace Downloads (30d)1,342,402
HuggingFace Downloads (all-time)40,122,839
Release Date · 2 years ago
Knowledge Cutoff · 2 years ago
Deprecation Date
Benchmarks
Intelligence Index
1.2
#472
MMLU-Pro
0.4
#298
GPQA
0.3
#427
HLE
0.1
#283
LiveCodeBench
0.1
#299
AIME
0.0
#171
IFBench
0.2
#371
Time to First Token
0.49s
#247
SciCode
0.1
#390
MATH-500
0.5
#155
LCR
0.0
#385
TerminalBench Hard
0.0
#377
TAU2
0.0
#387
Output TPS
81.0
#150

Capabilities

Input2/5
Text
Image·
Audio·
Video·
PDF
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities3/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs
Native JSON Schema
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Amazon Bedrock logo
Amazon Bedrock
meta.llama3-8b-instruct-v1:0
$0.3$0.6
Anyscale logo
Anyscale
anyscale/meta-llama/Meta-Llama-3-8B-Instruct
$0.15$0.15
Cloudflare Workers AI logo
Cloudflare Workers AI
@cf/meta/llama-3-8b-instruct
$0.282$0.827
DeepInfra logo
DeepInfra
deepinfra/meta-llama/Meta-Llama-3-8B-Instruct
$0.03$0.06
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/llama-v3-8b-instruct-hf
$0.2$0.2
Gradient AI logo
Gradient AI
gradient_ai/llama3-8b-instruct
$0.2$0.2
Novita logo
Novita
novita/meta-llama/llama-3-8b-instruct
$0.04$0.04
OpenRouter logo
OpenRouter
meta-llama/llama-3-8b-instruct
$0.14$0.14
Replicate logo
Replicate
replicate/meta/llama-3-8b-instruct
$0.05$0.25

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Llama 3.3 70B Instruct131K$0.100$0.200Available
Llama 3.2 3B Instruct131K$0.015$0.020Deprecated
Llama 3.2 1B Instruct131K$0.027$0.080Deprecated
Llama 3.2 11B128K$0.160$0.160Available
Llama 3.1 405B Instruct131K$0.120$0.300Deprecating
Llama 3.1 70B Instruct131K$0.120$0.300Available
Llama 3.1 8B Instruct200K$0.020$0.030Available
Llama 3.1 70B128K$0.360$0.360Available
Llama 3.1 8B131K$0.030$0.050Available
Llama 3 8B Instruct32K$0.030$0.040Current
Llama 3 70B Instruct131K$0.120$0.300Deprecated

Model IDs

@cf/meta/llama-3-8b-instruct
accounts/fireworks/models/llama-v3-8b-instruct
accounts/fireworks/models/llama-v3-8b-instruct-hf
accounts/fireworks/models/llama-v3-8b-instruct-v0
anyscale/meta-llama/Meta-Llama-3-8B-Instruct
bedrock/ap-south-1/meta.llama3-8b-instruct-v1:0
bedrock/ca-central-1/meta.llama3-8b-instruct-v1:0
bedrock/eu-west-1/meta.llama3-8b-instruct-v1:0
bedrock/eu-west-2/meta.llama3-8b-instruct-v1:0
bedrock/sa-east-1/meta.llama3-8b-instruct-v1:0
bedrock/us-east-1/meta.llama3-8b-instruct-v1:0
bedrock/us-gov-east-1/meta.llama3-8b-instruct-v1:0
bedrock/us-gov-west-1/meta.llama3-8b-instruct-v1:0
bedrock/us-west-1/meta.llama3-8b-instruct-v1:0
deepinfra/meta-llama/Meta-Llama-3-8B-Instruct
fireworks_ai/accounts/fireworks/models/llama-v3-8b-instruct-hf
gradient_ai/llama3-8b-instruct
huggingface-llm-gradientai-llama-3-8B-instruct-262k
huggingface-llm-llama-3-8b-instruct-gradient
llama-3-instruct-8b
meta-llama-3-8b-instruct
meta-llama/llama-3-8b-instruct
meta-llama/Meta-Llama-3-8B-Instruct
meta-textgeneration-llama-3-8b-instruct
meta-textgenerationneuron-llama-3-8b-instruct
meta.llama3-8b-instruct-v1:0
novita/meta-llama/llama-3-8b-instruct
replicate/meta/llama-3-8b-instruct
vertex_ai/meta/llama3-8b-instruct-maas