Meta API: models and pricing
Pick up to 3 models · pricing, context and capabilities · simulate your product cost
Data updated on November 14, 2026· 230 models
8 Meta chat models available by API, newest first, with price per million tokens, context and capabilities. Data as of 11/14/2026.
The cheapest Meta API model is Llama 3.1 8B Instruct ($0.020 input and $0.040 output per million tokens). The newest is Llama Guard 4 12B. Prices range from $0.020 to $0.720 per million input tokens. Data as of 11/14/2026.
Input price range
$0.020 – $0.720
per million input tokens
Cheapest model
Llama 3.1 8B Instruct
$0.020 / $0.040
≈ $0.46/month in the example
Newest model
Llama Guard 4 12B
$0.180 / $0.180
≈ $3.42/month in the example
Cached input
$0.170 −51 %
per million tokens on Llama 4 Maverick; 1 models with cache price
Prices are input / output in USD per million tokens. Example: 10,000 requests a month of 1,500 input + 400 output tokens.
Meta vs other AI APIs: the cheapest of each
The cheapest recent model of each provider, next to Llama 3.1 8B Instruct.
| Provider | Model | Input $/1M | Output $/1M | |
|---|---|---|---|---|
| Meta | Llama 3.1 8B Instruct | $0.020 | $0.040 | |
| Qwen | Qwen3.7 Flash | $0.030 | $0.130 | Compare |
| DeepSeek | DeepSeek V4.1 Flash 1017 | $0.038 | $0.500 | Compare |
| Gemma 4 26B A4B | $0.068 | $0.225 | Compare | |
| OpenAI | GPT-6 Luna Pro | $0.100 | $0.500 | Compare |
| Anthropic | Claude Haiku 5.5 | $0.100 | $0.500 | Compare |
| Mistral | Ministral 3 3B 2512 | $0.100 | $0.100 | Compare |
| Moonshot | Kimi K3 | $0.192 | $16.00 | Compare |
| xAI | Grok Build 0.1 | $1.00 | $2.00 | Compare |
| # | Model | Provider | Input $/1M | Output $/1M | Context | Capabilities | Released |
|---|---|---|---|---|---|---|---|
| 1 | Llama Guard 4 12B | Meta | $0.180 | $0.180 | 164 K | 04/30/2025 | |
| 2 | Llama 4 Maverick | Meta | $0.350 | $1.00 | 524 K | 04/05/2025 | |
| 3 | Llama 4 Scout | Meta | $0.100 | $0.300 | 1.3 M | 04/05/2025 | |
| 4 | Llama 3.3 70B Instruct | Meta | $0.710 | $0.710 | 131 K | 12/06/2024 | |
| 5 | Llama 3.2 3B Instruct | Meta | $0.051 | $0.335 | 131 K | 09/25/2024 | |
| 6 | Llama 3.2 1B Instruct | Meta | $0.027 | $0.201 | 60 K | 09/25/2024 | |
| 7 | Llama 3.1 70B Instruct | Meta | $0.720 | $0.720 | 131 K | 07/23/2024 | |
| 8 | Llama 3.1 8B Instruct | Meta | $0.020 | $0.040 | 131 K | 07/23/2024 |
More free tools
See allFrequently asked questions
How much does the Meta API cost?
It depends on the model: from $0.020 to $0.720 per million input tokens. The cheapest is Llama 3.1 8B Instruct ($0.020 / $0.040); the newest is Llama Guard 4 12B ($0.180 / $0.180). Data as of 11/14/2026.
Is the Meta API free?
No: the Meta API is pay-as-you-go, billed per million tokens. The cheapest model, Llama 3.1 8B Instruct, costs $0.020 per million input tokens and $0.040 per million output tokens, so light use costs cents. Any free credits depend on Meta's own offer.
Does the Meta API charge less for cached input?
Yes, on 1 of its 8 models. For example, Llama 4 Maverick charges $0.170 per million cached input tokens instead of $0.350: 51% less. The cache applies when you resend the same beginning of a prompt, like a long system prompt or a document.
How much does the Meta API cost per month?
For 10,000 requests a month of 1,500 input tokens and 400 output tokens: Llama 3.1 8B Instruct costs about $0.46 and Llama Guard 4 12B about $3.42. Each model's page has a calculator for your own numbers.
How many Meta models are available by API?
8 chat models in the catalog, as of 11/14/2026. Each one has its own sheet with pricing, context and capabilities.
Where do the prices come from and how often are they updated?
From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.
What does price per million tokens mean?
It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.
Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.