Price Per TokenPrice Per Token
Meta-llama

Llama 3.1 8B Instruct API Pricing 2026

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

Get our weekly newsletter on pricing changes, new releases, and tools.

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

8 Ways to Use Fewer Tokens
Last updated: April 1, 2026 at 08:39 AM

Overview

Llama 3.1 8B Instruct was released on July 23, 2024. Pricing starts at $0.020 per million input tokens and $0.050 per million output tokens. The model supports a context window of up to 16K tokens. API access is available through Meta-llama.

Context Window
16K
tokens
Pricing
Input$0.020
Output$0.050
Cached$0.100
per 1M tokens
Speed
Output179 tok/s
TTFT0.47s
median latency
Capabilities
Tools

Pricing Comparison

Compare Llama 3.1 8B Instruct with 0 similar models by price.

Current Pricing (per 1M tokens)

1 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.020
$0.050
11.6
47.6
25.9
16,384
Try

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

Compare Providers

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

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Llama 3.1 8B Instruct perform? Vote based on your experience.

Cost vs. Quality

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

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

Detailed Benchmark Scores

Intelligence
11.8 (14th pct)
Coding
4.9 (7th pct)
Math
4.3 (5th pct)
MMLU Pro
47.6 (12th pct)
GPQA
25.9 (8th pct)
LiveCodeBench
11.6 (5th pct)
AIME
7.7 (14th pct)
Aider
37.6 (15th pct)
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Llama 3.1 8B Instruct

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Llama 3.1 8B Instruct directly in your browser.

Open Playground

Frequently Asked Questions

Llama 3.1 8B Instruct costs $0.000020 per 1,000 input tokens and $0.000050 per 1,000 output tokens.
Llama 3.1 8B Instruct is available from 0 provider(s). Check the comparison table offers the best price.
We compare Llama 3.1 8B Instruct with 0 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 →