Meta logo

Llama 3 8B Instruct


Llama 3 8B Instruct is Meta logoMeta'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.
Spec
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
Intelligence Index
6.4
#438
Coding Index
4.0
#332
MMLU-Pro
0.4
#298
GPQA
0.3
#395
HLE
0.1
#254
LiveCodeBench
0.1
#299
AIME
0.0
#171
IFBench
0.2
#337
Time to First Token
0.51s
#233
SciCode
0.1
#360
MATH-500
0.5
#155
LCR
0.0
#351
TerminalBench Hard
0.0
#346
TAU2
0.0
#353
Output TPS
82.4
#144

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
OpenRouter logo
OpenRouter
meta-llama/llama-3-8b-instruct
$0.030$0.040
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
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
meta.llama3-8b-instruct-v1:0
$0.300$0.600

Regional pricing

Provider-specific pricing that varies by region.
Amazon Bedrock logo
Amazon Bedrock
8 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Global
Global$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.2 11B128K$0.160$0.160Available
Llama 3.2 1B Instruct128K$0.027$0.080Deprecated
Llama 3.2 3B Instruct131K$0.015$0.020Deprecated
Llama 3.2 90B128K$0.720$0.720Available
Llama 3.2 1B131K$0.100$0.100Available
Llama 3.2 3B131K$0.040$0.080Available
Llama 3.1 70B128K$0.600$0.600Available
Llama 3.1 70B Instruct131K$0.100$0.100Available
Llama 3.1 8B131K$0.030$0.050Available
Llama 3.1 8B Instruct200K$0.020$0.030Available
Llama 3 8B Instruct32K$0.030$0.040Current

Model IDs