Meta Llama API pricing
Every Llama model we track, with the cheapest input and output rates per 1M tokens across 14 providers. Collected daily.
Llama API prices by model
Standard (real-time) rates per 1M tokens, newest first. The cheapest input and the cheapest output are often on different hosts, so each is shown with its own host. Batch and cached-input rates are on each model page.
| Model | Cheapest input | Cheapest output |
|---|---|---|
| Llama 4 Maverick 17B128K context | $0.240Amazon AWS | $0.970Amazon AWS |
| Llama 4 Scout328K context | $0.085Liquid Inference | $0.300OpenRouter |
| Llama 3.3 70B128K context | $0.100Deep Infra | $0.320Deep Infra |
| Llama 3.2 3B128K context | $0.020Liquid Inference | $0.020Liquid Inference |
| Llama 3.2 1B128K context | $0.027Prime Intellect | $0.060Together AI |
| Llama 3.2 Instruct 11B | $0.160Amazon AWS | $0.160Amazon AWS |
| Llama 3.2 Instruct 90B | $0.720Amazon AWS | $0.720Amazon AWS |
| Llama 3.1 8B128K context | $0.020Liquid Inference | $0.040OpenRouter |
| Llama 3.1 70B128K context | $0.399Liquid Inference | $0.399Liquid Inference |
| Llama 3.1 405B128K context | $3.50Together AI | $3.50Together AI |
| Llama 3 8B8K context | $0.030Liquid Inference | $0.060Liquid Inference |
| Llama 3 70B8K context | $0.880Together AI | $0.880Together AI |
| Llama Guard 3 | $0.055Liquid Inference | $0.055Liquid Inference |
What 1,000 Llama requests cost
An estimate for one example request: 3,000 input tokens, 50% of them a cached prefix, and 400 output tokens, the same shape as our customer support chatbot comparison. Each cost uses one provider's own input, cached-input and output rates; where a provider publishes no cached-input rate, cached tokens are billed at its full input rate.
| Model | Lowest cost |
|---|---|
| Llama 4 Maverick 17B | $1.11Amazon AWS |
| Llama 4 Scout | $0.420OpenRouter |
| Llama 3.3 70B | $0.428Deep Infra |
| Llama 3.2 3B | $0.068Liquid Inference |
| Llama 3.2 1B | $0.161Prime Intellect |
| Llama 3.2 Instruct 11B | $0.544Amazon AWS |
| Llama 3.2 Instruct 90B | $2.45Amazon AWS |
| Llama 3.1 8B | $0.076OpenRouter |
Llama price history
Average input price per 1M tokens across the providers serving each model, last 90 days.
Frequently Asked Questions
Which Llama model has the lowest API prices?
Of the 13 Llama models we track, Llama 3.2 3B has the lowest input rate right now: $0.020 per 1M tokens on Liquid Inference. Llama 3.2 3B has the lowest output rate: $0.020 per 1M tokens on Liquid Inference. Which is cheaper for you depends on how many input tokens you send per output token. Prices are collected daily from 14 providers.
Where is Llama 4 Maverick 17B cheapest?
Llama 4 Maverick 17B is served by 5 providers we track. The lowest rates are $0.240 per 1M input tokens on Amazon AWS and $0.970 per 1M output tokens on Amazon AWS. Throughput, latency and context limits differ between hosts, so check the model page before committing.
What does a typical Llama 4 Maverick 17B request cost?
A chat request with 3,000 input tokens and 400 output tokens costs about $1.11 per 1,000 requests at Amazon AWS's current rates, the lowest of the providers we track. Your cost depends on how long your prompts and answers are; the estimate table above shows the same request on other Llama models.