Price Per TokenPrice Per Token
Meta-llama

Llama 3 8B Instruct API Pricing 2026

Compare pricing, benchmarks, and providers for Llama 3 8B Instruct. Find the best value for your use case.

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

115 out of our 301 tracked models have had a price change in January.

Make informed model choices with updates on pricing, new releases, and tools with our weekly newsletter.

Last updated: January 14, 2026 at 08:06 AM

Overview

Llama 3 8B Instruct was released on April 18, 2024. Pricing starts at $0.030 per million input tokens and $0.060 per million output tokens. The model supports a context window of up to 8K tokens. API access is available through Meta-llama.

Context Window
8K
tokens
Pricing
Input$0.030
Output$0.060
per 1M tokens
Speed
Output68 tok/s
TTFT0.35s
median latency
Capabilities
Text only

Pricing Comparison

Compare Llama 3 8B Instruct with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Context
Actions
$0.030
$0.060
8,192
Try
$0.025
$0.080
8,192
Try
$0.027
$0.200
60,000
Try
$0.028
$0.054
32,768
Try
$0.030
$0.110
131,072
Try
$0.030
$0.110
32,768
Try
$0.030
$0.090
32,768
Try
$0.030
$0.100
131,072
Try
$0.030
$0.110
131,072
Try
$0.030
$0.110
32,768
Try
$0.030
$0.090
8,192
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Llama 3 8B Instruct is available from multiple providers with different pricing and availability.

5
Providers
$0.030
Cheapest Input/M
$0.040
Cheapest Output/M
OpenRouter
Best Price

Provider Pricing

5 models

Provider
Input $/M
Output $/M
Uptime
OpenRouter
OpenRouter
Best Price
$0.030
$0.060
-
D
DeepInfra
Best Price
$0.030
$0.060
100.0%
N
Novita
$0.040
$0.040
100.0%
T
Together
$0.100
$0.100
99.9%
C
Cloudflare
$0.280
$0.830
-
Provider pricing data sourced from OpenRouter and Helicone

Cost vs. Quality

Compare Llama 3 8B Instruct's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Llama 3 8B Instruct
Other models

Detailed Benchmark Scores

Intelligence
8.7 (4th pct)
Coding
4.0 (5th pct)
Math
-
MMLU Pro
40.5 (11th pct)
GPQA
29.6 (12th pct)
LiveCodeBench
9.6 (4th pct)
AIME
- (0th pct)
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Llama 3 8B Instruct

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Llama 3 8B Instruct directly in your browser.

Open Playground

Frequently Asked Questions

Llama 3 8B Instruct costs $0.000030 per 1,000 input tokens and $0.000060 per 1,000 output tokens.
Llama 3 8B Instruct is available from 5 provider(s). OpenRouter offers the best price.
We compare Llama 3 8B Instruct with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Meta-llama Models

See pricing for all Meta-llama models.

View all Meta-llama models →