All models

Llama 3.1 8B Instruct

open source

Meta model, released 23 Jul 2024.

$0.05
per 1M input tokens
$0.08
per 1M output tokens
$0.025
per 1M cached-read tokens
Calculate what your real prompts cost on Llama 3.1 8B Instruct

Price history

input $/1M output $/1M7 Jul 202615 Jul 2026

Specifications

Lab
Meta
Released
23 Jul 2024
Context window
131k tokens
Max output
131k tokens
Input modalities
text
Output modalities
text
Knowledge cutoff
2023-12-31
Open source
Yes

Benchmarks

BenchmarkCategoryScoreAs of
LMArena (Chatbot Arena)coding1195.2 (1187.81202.6)12 Aug 2026
LMArena (Chatbot Arena)overall1186.7 (1182.61190.8)12 Aug 2026

LMArena (Chatbot Arena) data © their authors, CC-BY-4.0

Frequently asked questions

How much does Llama 3.1 8B Instruct cost?

Llama 3.1 8B Instruct costs $0.05 per 1M input tokens and $0.08 per 1M output tokens (list price, updated every 6 hours).

What is Llama 3.1 8B Instruct's context window?

Llama 3.1 8B Instruct supports a 131k-token context window with up to 131k output tokens.

Related models