Price Per TokenPrice Per Token
Meta-llama

Llama 3 8B API Pricing 2026

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

8 Ways to Use Fewer Tokens

Get the free PDF guide — practical tips to cut your token usage and API costs. Subscribe to the Price Per Token newsletter and download instantly.

Last updated: March 9, 2026 at 08:02 PM

Overview

Llama 3 8B. Pricing starts at $0.050 per million input tokens and $0.080 per million output tokens. The model supports a context window of up to - tokens. API access is available through Meta-llama.

Context Window
-
tokens
Pricing
Input$0.050
Output$0.080
Cached$0.100
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
Text only

Pricing Comparison

Compare Llama 3 8B 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.050
$0.080
-
Try

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

Compare Providers

Llama 3 8B 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 8B perform? Vote based on your experience.

Cost vs. Quality

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

X-axis:
Y-axis:
Loading chart...
Other models

Try Llama 3 8B

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Llama 3 8B directly in your browser.

Open Playground

Frequently Asked Questions

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