Skip to content
Meta

Llama 3.1 8B Instruct API pricing.

Llama 3.1 8B Instruct is Meta’s model on the API market, released 23 Jul 2024. Prices are per million tokens in USD, as last read from the price list.

$0.050Input / 1M
$0.080Output / 1M
131KContext
118KMax output
Capability scores
Epoch AI
Maths2 of 4 benchmarks12
Science and knowledge1 of 2 benchmarks3
CodingNot tested by Epoch
Reasoning and puzzlesNot tested by Epoch
Agents and long tasksNot tested by Epoch

Each bar is this model's score in that area. The white tick marks the best score any model Epoch has tested reaches there.

Maths
12average of 2 of 4 Epoch results
OTIS Mock AIME1.7%
MATH level 523%
Science and knowledge
3average of 1 of 2 Epoch results
GPQA Diamond27%

The index combines many benchmarks into one general-capability score; the range is how sure Epoch is of the number. Each area score is this site's average of the model's Epoch results in that area, where 0 is what guessing would score and 100 is perfect. Compare every model, and value for money →

Source: Epoch AI, Capabilities & benchmarking (licensed CC BY 4.0). Data refreshed 2 November 2026. These are Epoch's own tests; other benchmark sites can rank models differently.

Specification
USD per million tokens
Provider
Meta
Model id
meta-llama/llama-3.1-8b-instruct
Input
$0.050
Output
$0.080
Cached input
$0.025
Context window
131K tokens
Maximum output
118K tokens
Takes
text
Returns
text
Tool use
Yes
Reasoning
Not reported
Released
23 Jul 2024
First tracked
17 Sept 2026

At $0.050 per million input tokens, Llama 3.1 8B Instruct is dearer than 19 of the 340 models on the price list.

Price changes
Tracked since 17 Sept 2026

No price change has been recorded since tracking began on 17 Sept 2026. Prices are checked every six hours, and any change is listed here and on model changes.

Want an email when this model's price changes? Tell us →

More from Meta
Cheapest input first
  1. Llama 3.2 1B Instruct$0.027 in · $0.20 out
  2. Llama 3.2 3B Instruct$0.051 in · $0.34 out
  3. Llama 4 Scout$0.10 in · $0.30 out
  4. Llama 3.3 70B Instruct$0.10 in · $0.32 out
  5. Llama Guard 4 12B$0.18 in · $0.18 out
  6. Llama 4 Maverick$0.19 in · $0.65 out
  7. Llama 3.1 70B Instruct$0.40 in · $0.40 out

Prices and specifications come from OpenRouter’s catalogue, last read 2 Nov 2026. A provider’s own price may differ; how this is collected.