All models
Meta
Llama 3.1 8B Instruct fastruns locally
meta/llama-3-1-8b
Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to...
Input / 1M
$0.050
USD per million tokens
Output / 1M
$0.080
USD per million tokens
Est. cost / token
$0.000000057
$0.058 per 1M, 3:1 mix
Context window
131K
max output 118K
Major features
Open weightsCachingJSON schemaTools
Task suitability (heuristic 1–5, not a benchmark)
- coding3
- reasoning2
- math2
- summarization4
- extraction4
- classification4
- chat3
- creative3
- translation4
- vision1
- long context3
- agentic3
Run it locally
Will it run on my machine? →ollama run llama3.1:8b| Quantization | Quality | Memory needed (8K ctx) |
|---|---|---|
| Q2_K | poor | 5.2 GB |
| Q3_K_M | fair | 5.8 GB |
| Q4_K_Mrecommended | good | 6.8 GB |
| Q5_K_M | very good | 7.6 GB |
| Q6_K | excellent | 8.6 GB |
| Q8_0 | near-lossless | 10.6 GB |
| F16 | lossless | 18.5 GB |
Estimates.
Price history
| Recorded | Input | Output | Cached | Source |
|---|---|---|---|---|
| 2026-11-05 03:20 | $0.050 | $0.080 | $0.025 | openrouter |
A row is added whenever a sync detects a price change. Vendor pricing source
Pricing (USD per 1M tokens)
- Input
- $0.050
- Output
- $0.080
- Cached input
- $0.025
- Blended (3:1)
- $0.058
Details
- Company
- Meta
- Version
- 3.1
- Family
- Llama
- Released
- 2024-07-23
- Parameters
- 8B
- Max output
- 118K
- Open weights
- Yes
- Inputs
- text
- Last synced
- 46 min ago