Meta logo

Llama 3.1 8B Instruct


Llama 3.1 8B Instruct is Meta logoMeta's language model with a 200K context window and up to 128K output tokens, available from 15 providers, starting at $0.020 / 1M input and $0.040 / 1M output. An 8B instruction-tuned Llama 3.1 model with 128K context, offering fast and efficient performance for dialogue, summarization, and tool-use tasks.
Spec
Canonical IDmeta-llama-3-1-8b-instruct
TypeLanguage
StatusActive
CreatorMetaMeta
Providers
Context Window200K tokens
Max Output128K tokens
Input ModalitiesImageText
Output ModalitiesText
Parameters8B
Release Date · 2 years ago
Intelligence Index
11.8
#246
Coding Index
4.9
#236
Math Index
4.3
#183
MMLU-Pro
0.5
#221
GPQA
0.3
#310
HLE
0.1
#167
LiveCodeBench
0.1
#227
AIME
0.1
#105
IFBench
0.3
#226
Time to First Token
0.44s
#168
SciCode
0.1
#264
MATH-500
0.5
#129
AIME 2025
0.0
#183
LCR
0.2
#168
TerminalBench Hard
0.0
#219
TAU2
0.2
#207
Output TPS

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

ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Nebius logo
Nebius
meta-llama/Meta-Llama-3.1-8B-Instruct
$0.020$0.060
Novita logo
Novita
meta-llama/llama-3.1-8b-instruct
$0.020$0.050
OpenRouter logo
OpenRouter
meta-llama/llama-3.1-8b-instruct
$0.020$0.050
Lambda logo
Lambda
llama3.1-8b-instruct
$0.025$0.040
DeepInfra logo
DeepInfra
meta-llama/Meta-Llama-3.1-8B-Instruct
$0.030$0.050
Nscale logo
Nscale
meta-llama/Llama-3.1-8B-Instruct
$0.060$0.060
Fireworks AI logo
Fireworks AI
accounts/fireworks/models/llama-v3p1-8b-instruct
$0.100$0.100
FriendliAI logo
FriendliAI
meta-llama-3.1-8b-instruct
$0.100$0.100
OVHcloud logo
OVHcloud
Llama-3.1-8B-Instruct
$0.100$0.100
SambaNova logo
SambaNova
Meta-Llama-3.1-8B-Instruct
$0.100$0.200
Hyperbolic logo
Hyperbolic
meta-llama/Meta-Llama-3.1-8B-Instruct
$0.120$0.300
Databricks logo
Databricks
databricks-meta-llama-3-1-8b-instruct
$0.150$0.450
Perplexity logo
Perplexity
llama-3.1-8b-instruct
$0.200$0.200
Amazon Bedrock logo
Amazon Bedrock
meta.llama3-1-8b-instruct-v1:0
$0.220$0.220$0.110$0.110
Azure AI Foundry logo
Azure AI Foundry
Meta-Llama-3.1-8B-Instruct
$0.300$0.610

Regional pricing

Provider-specific pricing that varies by region.
Amazon Bedrock logo
Amazon Bedrock
5 regions
RegionStandardBatch
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Global
Global$0.220$0.220$0.110$0.110
Cross-region
US (cross-region)/ us$0.220$0.220$0.110$0.110
US
US East (Ohio)/ us-east-2$0.220$0.220$0.110$0.110
US East (Virginia)/ us-east-1$0.220$0.220$0.110$0.110
US West (Oregon)/ us-west-2$0.220$0.220$0.110$0.110

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Llama 3.3 70B Instruct131K$0.720$0.720Available
Llama 3.3 70B Instruct131K$0.100$0.300Available
Llama 3.3Available
Llama 3.3 70B Instruct Turbo131K$0.130$0.390Available
Llama 3.3 70B Versatile128K$0.590$0.790Available
Llama 3.3 8B Instruct128KAvailable
Llama 3.2 11B Vision Instruct128K$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 90B Vision Instruct128K$0.720$0.720Available
Llama 3.1 8B Instruct200K$0.020$0.040Current

HuggingFace

5,708 likes9,310,661 downloads/month139,563,148 total downloads

Model IDs