Meta-llama

Llama API Pricing (Meta-llama) (Updated 2026)

Compare pricing for all 51 Meta-llama Llama models. Prices shown per 1M tokens with historical trends.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

51
Total Models
$0.02
Cheapest Input (per 1M)
10486K
Max Context Length

Model Release Timeline

15 releases
Jul 2024
$0.02 / $0.04
Jul 2024
$1.50 / $1.50
Jul 2024
$0.34 / $0.39
Aug 2024
$0.00 / $0.00
Sep 2024
$0.03 / $0.05
Sep 2024
$0.02 / $0.02
Sep 2024
$0.06 / $0.06
Dec 2024
$0.10 / $0.32
Apr 2025
$0.10 / $0.30
Apr 2025
$0.20 / $0.60
Aug 2026
$0.30 / $0.90
Aug 2026
$0.10 / $0.20
Sep 2026
$1.25 / $4.25
Sep 2026
$0.10 / $0.20
Oct 2026
$1.25 / $4.25
Spacing represents time between releases
Jul 2024→Oct 2026

All Meta-llama Models

Compare pricing for all 51 Meta-llama models.

View Provider Pricing
Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Model
Context
Input
Output
Cached Input
Cache Write
MMLU
GPQA
Actions
131K
$0.000
$0.000
-
-
—
—
Try
10.5M
$0.000
$0.000
-
-
—
—
Try
33K
$0.000
$0.000
-
-
—
—
Try
60K
$0.020
$0.020
$0.05
-
7.6
3.4
Try
16K
$0.020
$0.040
$0.0075
-
31.1
8.7
Try
80K
$0.030
$0.050
$0.05
-
24.4
3.8
Try
8K
$0.040
$0.040
$0.1
-
17.8
2.1
Try
8K
$0.050
$0.080
$0.1
-
—
—
Try
131K
$0.060
$0.060
$0.1
-
—
—
Try
131K
$0.100
$0.100
$0.05
-
—
—
Try
131K
$0.100
$0.100
$0.05
-
—
—
Try
1.0M
$0.100
$0.200
$0.002
-
—
—
Try
328K
$0.100
$0.300
-
-
—
—
Try
131K
$0.100
$0.320
$0.1
-
48.1
10.5
Try
-
$0.100
$0.500
$0.004
$0.125
—
—
Try
1.0M
$0.100
$0.200
$0.002
-
—
—
Try
16K
$0.200
$0.200
$0.1
-
—
—
Try
16K
$0.200
$0.200
$0.1
-
—
—
Try
16K
$0.200
$0.200
$0.1
-
—
—
Try
16K
$0.200
$0.200
$0.1
-
—
—
Try
16K
$0.200
$0.200
$0.1
-
—
—
Try
4K
$0.200
$0.200
$0.1
-
—
—
Try
4K
$0.200
$0.200
$0.1
-
—
—
Try
4K
$0.200
$0.200
$0.1
-
—
—
Try
4K
$0.200
$0.200
$0.1
-
—
—
Try
8K
$0.200
$0.200
$0.1
-
—
—
Try
1.0M
$0.200
$0.600
$0.17
-
—
—
Try
131K
$0.300
$0.900
$0.04
-
—
—
Try
131K
$0.340
$0.390
$0.45
-
47.9
14.2
Try
8K
$0.510
$0.740
$0.45
-
—
—
Try
131K
$0.600
$1.200
-
-
—
—
Try
131K
$0.720
$0.720
-
-
—
—
Try
16K
$0.776
$0.776
$0.45
-
—
—
Try
16K
$0.900
$0.900
$0.45
-
—
—
Try
16K
$0.900
$0.900
$0.45
-
—
—
Try
4K
$0.900
$0.900
$0.45
-
—
—
Try
4K
$0.900
$0.900
$0.45
-
—
—
Try
4K
$0.900
$0.900
$0.45
-
—
—
Try
16K
$0.900
$0.900
$0.45
-
—
—
Try
16K
$0.900
$0.900
$0.45
-
—
—
Try
16K
$0.900
$0.900
$0.45
-
—
—
Try
4K
$0.900
$0.900
$0.45
-
—
—
Try
131K
$0.900
$0.900
$0.45
-
—
—
Try
8K
$0.900
$0.900
$0.45
-
—
—
Try
128K
$0.900
$0.900
$0.45
-
—
—
Try
1.0M
$0.900
$0.900
-
-
—
—
Try
1.0M
$1.250
$4.250
$0.15
-
—
89.0
Try
1.0M
$1.250
$4.250
$0.15
-
—
93.5
Try
131K
$1.500
$1.500
-
-
—
—
Try
4K
$1.950
$2.560
-
-
—
—
Try
-
$4.000
$20.000
$0.2
-
—
—
Try

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

Showing lowest price across all providers. Benchmarks from Artificial Analysis and HuggingFace Open LLM Leaderboard.

Cost vs. Quality

Compare Meta-llama models by benchmark performance and cost.

X-axis:
Y-axis:
Loading chart...
Llama 3.3 70B Instruct
Meta-llama Models

Community Ratings

Rate how well Meta-llama models perform across popular AI coding tools.

Historical Pricing Trends

Price Changes Over Time

No historical pricing data available for this provider.

Try Meta-llama Models

Cost Calculator

Estimate your costs for any Meta-llama model based on expected token usage.

Open Cost Calculator

Try in Playground

Test Meta-llama models directly in your browser.

Open Playground

Frequently Asked Questions

Currently, Llama 3.2 1B Instruct is the most affordable at $0.02 per 1M input tokens.
Count your input tokens (prompt) and expected output tokens (response). Use the formula: (input_tokens/1M × input_price) + (output_tokens/1M × output_price). Our pricing calculator can help automate this.
Meta-llama pricing varies by model. Input costs range from $0.02 to $4.00 per 1M tokens. See the table above for specific model pricing.