Skip to content
AI Dev Toolkit.
Esc
  • Loading…

Provider

Meta AI API pricing: every Llama and Muse model, per million tokens

The Meta AI API costs from $0.02 (Llama 3.1 8B Instruct) to $4 (Muse Wonder) per million input tokens and from $0.04 to $20 per million output tokens. Its newest model, Muse Ember, costs $0.10 input and $0.50 output and was first listed on 2026-11-09. None of its models charges more for long prompts: the price is flat across the context window. Prices checked 2026-11-22.

Models
16
Cheapest input
$0.02
Priciest input
$4
Largest context
1,048,576
With caching
11 of 16
Open weights
9 of 16

Filter and sort Meta models in the comparison table

Line-up

How much does each Meta AI model cost?

ModelInput / 1MOutput / 1MCached / 1MContextMax outputReleased
Muse Ember$0.10$0.50$0.0041,048,576–2026-11-09
Muse Spark Open$1.25$4.25$0.151,048,576–2026-10-15
Muse Wonder$4$20$0.201,048,576–2026-10-12
Muse Spark 1.3$1.25$4.25$0.151,048,576–2026-09-02
Muse Spark 1.3 Contributor$0.10$0.20$0.0021,048,576–2026-09-02
Muse Spark 1.2 Contributor$0.10$0.20$0.0021,048,576–2026-08-21
Muse Glimmer 30B$0.35$1.50$0.04131,072–2026-08-09
Muse Spark 1.2$1.25$4.25$0.151,048,576–2026-08-05
Muse Spark 1.1$1.25$4.25$0.151,048,576–2026-07-16
Llama Guard 4 12B$0.18$0.18–163,84016,3842025-04-30
Llama 4 Maverick$0.35$1$0.17524,28832,7682025-04-05
Llama 4 Scout$0.10$0.30–327,68016,3842025-04-05
Llama 3.3 70B Instruct$0.71$0.71$0.71128,000–2024-12-06
Llama 3.2 3B Instruct$0.05$0.33–131,072–2024-09-25
Llama 3.1 70B Instruct$0.72$0.72–131,0728,1922024-07-23
Llama 3.1 8B Instruct$0.02$0.04–131,07216,3842024-07-23

Prices in US dollars per 1M tokens, newest first. Release dates are when our source first listed the model.

Cheapest

Llama 3.1 8B InstructMeta$0.02 in · $0.04 out

Largest context

Muse EmberMeta1,048,576 tokens

Newest

Muse EmberMeta2026-11-09

Cheapest

What is the cheapest Meta AI model?

By blended price (three parts input to one part output), the cheapest is Llama 3.1 8B Instruct at $0.025 per million tokens, and the most expensive is Muse Wonder at $8: 320× as much. Picking the smallest model that does the job well is usually the biggest saving available, ahead of any discount.

The largest context window is Muse Ember’s 1,048,576 tokens.

Discounts

Does Meta offer prompt caching or batch discounts?

11 of 16 of the line-up has a cached-input price, which helps chatbots and agents that resend the same instructions. 1 of 16 can run through a batch API at a discount, for work that can wait up to a day. 12 of 16 accept images as input.

  • None of its models charges more for long prompts: the price is flat across the context window.

Prompt caching calculator · Batch API calculator · LLM cost calculator

Compare

How do Meta AI prices compare with other providers?

The median Meta model costs $0.575 per million tokens blended. The providers closest to that are Cohere ($0.60), MiniMax ($0.4825) and ByteDance Seed ($0.6875).

Head to head: Llama 4 Maverick vs Llama 4 Scout, gpt-oss-120b vs Llama 4 Maverick.

History

How have Meta AI API prices changed?

  1. Llama 3.2 3B Instruct · Price cut, −1.6% blended

    Input
    from $0.0509 to $0.05
    −1.8%
    Output
    from $0.335 to $0.33
    −1.5%
  2. Muse Glimmer 30B · Price increase, +21% blended

    Input
    from $0.30 to $0.35
    +17%
    Output
    from $1.20 to $1.50
    +25%
  3. Llama 3.2 3B Instruct · Price increase, +1.6% blended

    Input
    from $0.05 to $0.0509
    +1.8%
    Output
    from $0.33 to $0.335
    +1.5%
  4. Llama 3.3 70B Instruct · Price increase, +11% blended

    Input
    from $0.59 to $0.71
    +20%
    Output
    from $0.79 to $0.71
    −10%
    Cached input
    from $0.295 to $0.71
    +141%
  5. Llama 3.1 8B Instruct · Price cut, −57% blended

    Input
    from $0.05 to $0.02
    −60%
    Output
    from $0.08 to $0.04
    −50%

The latest 5 price moves. Every change is in the AI pricing changes log.

FAQ

Meta AI API questions

How much does the Meta AI API cost?

Meta’s 16 models range from $0.02 to $4 per million input tokens and from $0.04 to $20 per million output tokens. The newest, Muse Ember, costs $0.10 and $0.50. Estimate your own bill in the LLM cost calculator.

What is the cheapest Meta AI model?

By blended price (three parts input to one part output) it is Llama 3.1 8B Instruct, at $0.02 input and $0.04 output per million tokens. The most expensive is Muse Wonder, at $4 and $20.

Which Meta AI model has the largest context window?

Muse Ember, with 1,048,576 tokens per request. The window is shared between your prompt and the reply.

Does Meta offer prompt caching or batch discounts?

In our data, 11 of 16 of Meta’s models have a published cached-input price and 1 of 16 have a published batch price. Both can cut costs substantially for repeated prompts or work that can wait.

Prices checked · Page updated

Sources: OpenRouter models API and LiteLLM model prices and context windows, checked daily. Not affiliated with Meta. Confirm critical numbers on the provider’s pricing page. See our methodology.

Keep exploring