Skip to content
LLMs
Meta Llama logo

Meta Llama API pricing

8 models · US

The Llama open-weight release line - downloadable weights served by dozens of competing hosts.

Open weightsDocs
Cheapest input / 1M
$0.050

Llama 3.1 8B Instruct

Priciest input / 1M
$0.400

Llama 3.1 70B Instruct

Largest context
1.3M

Llama 4 Scout

Models tracked
8

All Meta Llama models

Cheapest first, by blended cost.

Language models with price per million tokens and context window
#ModelBlended / 1MInput / 1MOutput / 1MContextCapabilities
1$0.057$0.050$0.080131K
ToolsOpen weights
2$0.071$0.027$0.20160K
Open weights
3$0.120$0.050$0.330131K
Open weights
4$0.180$0.180$0.180164K
VisionOpen weights
5
Meta Llama logo
Llama 4 Scout

Meta Llama

$0.282$0.180$0.5901.3M
ToolsVisionOpen weights
6$0.290$0.220$0.500131K
ToolsOpen weights
7$0.304$0.188$0.6521.0M
ToolsVisionOpen weights
8$0.400$0.400$0.400131K
ToolsOpen weights

Frequently asked

How much does the Meta Llama API cost?

Meta Llama models in this directory range from $0.050 to $0.400 per million input tokens. The cheapest is Llama 3.1 8B Instruct; the most expensive is Llama 3.1 70B Instruct.

How many models does Meta Llama offer?

8 models are tracked here, with the largest context window being 1.3M tokens on Llama 4 Scout.