All modelsCalculate what your real prompts cost on Llama 3.1 8B Instruct
Llama 3.1 8B Instruct
open sourceMeta model, released 23 Jul 2024.
$0.05
per 1M input tokens
$0.08
per 1M output tokens
$0.025
per 1M cached-read tokens
Price history
input $/1M output $/1M7 Jul 2026 → 15 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
| Benchmark | Category | Score | As of |
|---|---|---|---|
| LMArena (Chatbot Arena) | coding | 1195.2 (1187.8–1202.6) | 12 Aug 2026 |
| LMArena (Chatbot Arena) | overall | 1186.7 (1182.6–1190.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.