Meta-llama API Pricing (Updated 2026)
Compare pricing for all 42 Meta-llama models. Prices shown per 1M tokens with historical trends.
Get our weekly newsletter on pricing changes, new releases, and tools.

Deploy OpenClaw in Under 1 Minute— We handle hosting, scaling, and maintenance
Overview
Model Release Timeline
12 releasesAll Meta-llama Models
Compare pricing for all 42 Meta-llama models.
Model | Context | Input | Output | Coding | MMLU | GPQA | Cache Read | Cache Write | Actions |
|---|---|---|---|---|---|---|---|---|---|
60K | $0.020 | $0.020 | 1.9 | 20.0 | 19.6 | $0.05 | - | ||
16K | $0.020 | $0.050 | 11.6 | 47.6 | 25.9 | $0.1 | - | ||
80K | $0.030 | $0.050 | 8.3 | 34.7 | 25.5 | $0.05 | - | ||
8K | $0.030 | $0.040 | 9.6 | 40.5 | 29.6 | $0.1 | - | ||
131K | $0.049 | $0.049 | 11.0 | 46.4 | 22.1 | $0.1 | - | ||
8K | $0.050 | $0.080 | — | — | — | $0.1 | - | ||
328K | $0.080 | $0.300 | 29.9 | 75.2 | 58.7 | - | - | ||
131K | $0.100 | $0.100 | — | — | — | $0.05 | - | ||
131K | $0.100 | $0.100 | — | — | — | $0.05 | - | ||
131K | $0.100 | $0.320 | 28.8 | 71.3 | 49.8 | $0.13 | - | ||
1.0M | $0.150 | $0.600 | 39.7 | 80.9 | 67.1 | - | - | ||
16K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
16K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
16K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
16K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
16K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
4K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
4K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
4K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
4K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
8K | $0.200 | $0.200 | — | — | — | $0.1 | - | ||
131K | $0.340 | $0.390 | 23.2 | 67.6 | 40.9 | $0.45 | - | ||
8K | $0.510 | $0.740 | 19.8 | 57.4 | 37.9 | $0.45 | - | ||
131K | $0.600 | $1.200 | — | — | — | - | - | ||
131K | $0.720 | $0.720 | — | — | — | - | - | ||
16K | $0.776 | $0.776 | — | — | — | $0.45 | - | ||
16K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
16K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
4K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
4K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
4K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
16K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
16K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
16K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
4K | $0.900 | $0.900 | 9.8 | 40.6 | 32.7 | $0.45 | - | ||
131K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
8K | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
1.0M | $0.900 | $0.900 | — | — | — | $0.45 | - | ||
128K | $0.900 | $0.900 | 21.4 | 67.1 | 43.2 | $0.45 | - | ||
131K | $0.900 | $0.900 | 30.5 | 73.2 | 51.5 | $0.45 | - | ||
4K | $1.950 | $2.560 | — | — | — | - | - | ||
33K | $4.000 | $4.000 | — | — | — | - | - |
* 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.
Community Ratings
Rate how well Meta-llama models perform across popular AI coding tools.
Historical Pricing Trends
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 CalculatorTry in Playground
Test Meta-llama models directly in your browser.
Open Playground