Meta logo

Llama 3 8B Instruct


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.030 / 1M input and $0.040 / 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
Deprecation Date
Benchmarks
Intelligence Index
6.4
#456
Coding Index
4.0
#349
MMLU-Pro
0.4
#298
GPQA
0.3
#413
HLE
0.1
#268
LiveCodeBench
0.1
#299
AIME
0.0
#171
IFBench
0.2
#355
Time to First Token
0.50s
#239
SciCode
0.1
#377
MATH-500
0.5
#155
LCR
0.0
#369
TerminalBench Hard
0.0
#363
TAU2
0.0
#371
Output TPS
81.8
#148

Capabilities

Input2/5
Text
Image·
Audio·
Video·
PDF
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities2/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

ProviderStandard
Input
$ / 1M
Output
$ / 1M
DeepInfra logo
DeepInfra
deepinfra/meta-llama/Meta-Llama-3-8B-Instruct
$0.030$0.060
Hugging Face logo
Hugging Face
novita:meta-llama/llama-3-8b-instruct
$0.040$0.040
Novita logo
Novita
novita/meta-llama/llama-3-8b-instruct
$0.040$0.040
OpenRouter logo
OpenRouter
meta-llama/llama-3-8b-instruct
$0.040$0.040
Replicate logo
Replicate
replicate/meta/llama-3-8b-instruct
$0.050$0.250
Other/Anyscale
anyscale/meta-llama/Meta-Llama-3-8B-Instruct
$0.150$0.150
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/llama-v3-8b-instruct-hf
$0.200$0.200
Gradient AI logo
Gradient AI
gradient_ai/llama3-8b-instruct
$0.200$0.200
Amazon Bedrock logo
Amazon Bedrock
bedrock/us-west-1/meta.llama3-8b-instruct-v1:0
$0.300$0.600
Provider-specific pricing that varies by region.
Amazon Bedrock logo
Amazon Bedrock
9 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Global
Global$0.300$0.600
Cross-region
meta/ meta$0.300$0.600
Asia Pacific
Asia Pacific (Mumbai)/ ap-south-1$0.360$0.720
Canada
Canada (Central)/ ca-central-1$0.350$0.690
Europe
Europe (London)/ eu-west-2$0.390$0.780
South America
South America (São Paulo)/ sa-east-1$0.500$1.01
US
GovCloud (US-West)/ us-gov-west-1$0.300$0.600
US East (Virginia)/ us-east-1$0.300$0.600
US West (Oregon)/ us-west-2$0.300$0.600

Cost Calculator

Preset:
Compares every provider & tier in USD

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.1 405B Instruct131K$0.120$0.300Deprecating
Llama 3.1 70B Instruct131K$0.100$0.100Available
Llama 3.1 8B Instruct200K$0.020$0.030Available
Llama 3.1 70B128K$0.600$0.600Available
Llama 3.1 8B131K$0.030$0.050Available
Llama 3 8B Instruct32K$0.030$0.040Current
Llama 3 70B Instruct131K$0.120$0.300Available
Llama 3.1 Tulu3 405BAvailable

Model IDs