Meta · OPEN WEIGHTS · FAST · OpenRouter Live ·
meta-llama/llama-3.1-8b-instructLlama 3.1 8B Instruct Pricing, Monthly Cost & VRAM Guide
Sub-cent bulk classification, fine-tuning base, and edge GPU servers.
Input / 1M
$0.05
Cached Input / 1M
$0.025
Output / 1M
$0.08
Context Window
131K
Workload Monthly Cost Projection (1,500 in / 500 out, 25% cached)
| Workload Tier | Monthly Volume | Cost / 1K Requests | Monthly USD |
|---|---|---|---|
| Prototype (1,000 req/day) | 60M tokens | $0.1056 | $3.17 |
| Growth SaaS (10,000 req/day) | 600M tokens | $0.1056 | $31.69 |
| Scale (100,000 req/day) | 6000M tokens | $0.1056 | $316.88 |
Self-Hosting VRAM & Bandwidth-Modeled Throughput (8B Total)
Q4_K_M (4-bit)
6.2 GB
Q6_K (6-bit)
8.4 GB
Q8_0 (8-bit)
10.2 GB
FP16 / BF16
18.6 GB
Cheaper or Comparable Alternatives
Head-to-Head Comparisons
Frequently Asked Questions
How much does Llama 3.1 8B Instruct API cost per 1M tokens?
Llama 3.1 8B Instruct costs $0.05 per 1M input tokens ($0.025 cached input) and $0.08 per 1M output tokens.
Can you self-host Llama 3.1 8B Instruct on a dedicated cloud GPU?
Yes. Llama 3.1 8B Instruct has open weights (8B total params, ~6.2 GB VRAM at Q4). API Always Cheaper on Cost (GPU floor $0.3036/1M > API $0.0575/1M; self-host for privacy only)