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.

ProviderModelInput $/1MOutput $/1M
MetaLlama 3.1 8B Instruct$0.020$0.040
QwenQwen3.7 Flash$0.030$0.130Compare
DeepSeekDeepSeek V4.1 Flash 1017$0.038$0.500Compare
GoogleGemma 4 26B A4B $0.068$0.225Compare
OpenAIGPT-6 Luna Pro$0.100$0.500Compare
AnthropicClaude Haiku 5.5$0.100$0.500Compare
MistralMinistral 3 3B 2512$0.100$0.100Compare
MoonshotKimi K3$0.192$16.00Compare
xAIGrok Build 0.1$1.00$2.00Compare
#ModelProviderInput $/1MOutput $/1MContextCapabilitiesReleased
1Llama Guard 4 12BMeta$0.180$0.180164 K04/30/2025
2Llama 4 MaverickMeta$0.350$1.00524 K04/05/2025
3Llama 4 ScoutMeta$0.100$0.3001.3 M04/05/2025
4Llama 3.3 70B InstructMeta$0.710$0.710131 K12/06/2024
5Llama 3.2 3B InstructMeta$0.051$0.335131 K09/25/2024
6Llama 3.2 1B InstructMeta$0.027$0.20160 K09/25/2024
7Llama 3.1 70B InstructMeta$0.720$0.720131 K07/23/2024
8Llama 3.1 8B InstructMeta$0.020$0.040131 K07/23/2024

More free tools

See all

Frequently 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.