Meta: Llama 3.1 8B Instruct

8B

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.

Context
131K
Max output
118K
Input price
$0.05/1M tokens
Output price
$0.08/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode

Details

Model IDmeta-llama/llama-3.1-8b-instruct
Provider OpenRouter
Creator meta-llama
Familyllama-3.1
License—
Status—
Typechat
Input modalitiestext
Output modalitiestext
Open weight—
Parameters8B
Architecture—
Context window131K tokens
Max input—
Max output118K tokens
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.05
Output
$0.08
Cache write
—
Cache read
$0.03
Batch in
—
Batch out
—

Family Comparison: llama-3.1

ModelContextMax outPricing
Meta: Llama 3.1 8B Instruct131K118K$0.05$0.08
Meta: Llama 3.1 70B Instruct131K16K$0.4$0.4
NVIDIA: Llama 3.1 Nemotron Ultra 253B v1131K—$0.6$1.8
NVIDIA: Llama 3.1 Nemotron 70B Instruct131K16K$1.2$1.2
Meta: Llama 3.1 405B (base)33K33K$4$4

API

GET/v1/models/openrouter/meta-llama/llama-3.1-8b-instruct

Meta: Llama 3.1 8B Instruct

meta-llama/llama-3.1-8b-instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.

Changes · 8 entries
meta-llama/llama-3.1-8b-instructupdateca7a400Nov 2, 2026, 03:02 AM
context_window16384→131072
max_output_tokens16384→117964
pricinginput$0.02→$0.05output$0.05→$0.08cached input$0.025
meta-llama/llama-3.1-8b-instructupdatee3d7dedAug 31, 2026, 04:13 AM
max_output_tokens131072→117964
meta-llama/llama-3.1-8b-instructupdate20c73acJul 17, 2026, 02:34 AM
max_output_tokens16384→131072
pricinginput$0.02→$0.05output$0.03→$0.08cached input$0.025
meta-llama/llama-3.1-8b-instructupdated68a4f1Jun 10, 2026, 02:10 AM
pricingoutput$0.05→$0.03
meta-llama/llama-3.1-8b-instructupdate73d11c6May 18, 2026, 03:39 AM
context_window16384→131072
meta-llama/llama-3.1-8b-instructupdate1cd659eMar 24, 2026, 04:19 AM
capabilitiesjson modeyes
meta-llama/llama-3.1-8b-instructupdate2b100acMar 23, 2026, 05:30 AM
model_typechat
parameters8
release_date2024-07-23
taglineMeta's latest class of model (Llama 3.1) launched with a ...
tools["function_calling"]
meta-llama/llama-3.1-8b-instructcreate7f5c66fMar 21, 2026, 05:16 AM