Llama 4 Maverick API pricing

Meta's Llama 4 Maverick. Available at listed at platform rate (no published official USD price).

In short: Llama 4 Maverick costs $0.07 per 1M input tokens and $0.35 per 1M output tokens. No official USD list price is published for this model, so it bills at platform rate. The reason to use it is access and consolidated billing rather than a discount. At 50M input and 10M output a month that is about $7. Rates verified 2026-11-14.
RouteInput / 1MOutput / 1M
Platform rate$0.07$0.35

USD, standard tier. Rate read from the live rate config on 2026-11-14. Meta publishes no USD list price for this model, so nothing here is cross-checked against one — this is a gateway rate, not a discount.

Check live rates on the platform →Free to sign up · $1 minimum top-up · No prepayment

Specifications

VendorMeta
Context window—
Max output—
CategoryUS frontier

What Llama 4 Maverick costs at your volume

Usage levelInput / output per monthMonthly cost
Light, prototyping, a few thousand calls5M / 1M$0.70
Working (one developer), daily use50M / 10M$7.00
Heavy — team or agent loops in production500M / 100M$70.00

Calculated at $0.07 input / $0.35 output per 1M tokens, 5.0× apart on this model, assuming a 5:1 input-to-output ratio. That ratio is the single largest source of error in this table: resend-heavy workloads drift well past it, and at 5.0× the correction is not linear. The cost calculator takes the actual figures.

What Llama 4 Maverick is for

$0.07 per million input tokens puts Llama 4 Maverick low enough that volume stops being the first question. This is a model you can point at thousands of calls a day and not think about: summarisation at scale, autocomplete, extraction pipelines, tier-one filtering in front of a stronger model.

Two honest limits. At 5.0×, output is still the majority of the bill, so this is not the cheapest option for genuinely long generation. And at this price the saving from staying cheap is small — escalating a hard case to a flagship costs pennies next to the cost of getting it wrong.

Where Llama 4 Maverick sits in the index

Llama 4 Maverick is 22 of 231 on input rate and 41 of 231 on output rate. A gap of 19 places, because on this model the output rate is 5.0× the input rate, steeper than the index median of 4.0× An output-heavy workload therefore leaves it almost where it started, which is why the cheapest model per input token is routinely not the cheapest per task. Percentile is the share of the 231 models in this index that cost more than Llama 4 Maverick.

Llama 4 Maverick against all 231 models in the rate index. Rates checked 2026-11-14.
Ranked byPositionPercentileRate
Input rate22 of 23190%$0.07
Output rate41 of 23182%$0.35
Agent mix 1:3, blended41 of 23182%$0.28

On an agent mix the lowest blended rate in the same index is Gemma2 9B It at $0.01 per 1M tokens (about 28).0× less than this model at the same ratio. Across the whole index, sorting by input price alone moves a model by as much as 77 places; on Llama 4 Maverick specifically the shift is 19 — which is what the re-ranked index exists to show.

Llama 4 Maverick is 22 of 231 across every model in the index; the comparison that usually settles a choice is Meta's own lineup further down.

Llama 4 Maverick among the 28 US frontier-family models

Llama 4 Maverick is the 4th cheapest of the 28 US frontier-family models in this index at $0.07 per 1M input tokens. The range inside that group runs from GPT-5 nano at $0.025 to GPT-6 Astra at $5, a spread of 200×, and this one sits at 2.8× the group's cheapest tier.

Llama 4 Maverick against the rest of the group, by input rate per 1M tokens. Rates checked 2026-11-14. Showing 9 of 28 Those closest in rate to this one.
ModelIn / 1MOut / 1Mvs this
GPT-5 nano$0.025$0.20.36×
GPT-6 Luna$0.05$0.250.71×
Claude Haiku 5.5$0.05$0.250.71×
Llama 4 Maverick$0.07$0.35—
GPT-5.6 Luna$0.1$0.61.43×
GPT-5 mini$0.125$11.79×
Gemini 2.5 Flash$0.15$1.2512.14×
Gemini 3.7 Flash$0.375$1.8755.36×
Claude Haiku 4.5$0.5$2.57.14×

On input rate alone, stepping up to GPT-5.6 Luna costs 1.4× the input rate and dropping to Claude Haiku 5.5 cuts it by 29%. Both measured at 2026-11-14, the same check as every other rate on this page.

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
MiniMax M3.1 FlashMiniMax$0.075 / $0.3−$0.04
GPT-6 LunaOpenAI$0.05 / $0.25−$0.12
Claude Haiku 5.5Anthropic$0.05 / $0.25−$0.12

Blended comparison (input + output per 1M). Price is one axis These are the three closest to Llama 4 Maverick in blended rate, not interchangeable substitutes for it.

Calling Llama 4 Maverick

The identifier you send is llama-4-maverick. Copy it exactly, because a mismatch returns a model error rather than a connection error, which sends most people to debug the wrong thing. Everything else is a base URL argument (Llama 4 Maverick's own SDKs work unchanged).

from openai import OpenAI

client = OpenAI(base_url="https://aicomp.ai/v1", api_key="sk-...")

resp = client.chat.completions.create(
    model="llama-4-maverick",
    messages=[
        {"role": "system", "content": "Answer in one short paragraph."},
        {"role": "user", "content": "Explain what changed in this release."},
    ],
    max_tokens=300,
)

# prompt_tokens / completion_tokens 是真实账单的唯一依据 —— 记下来,别猜
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)

Log the usage object on every call, not just while you are optimising. On Llama 4 Maverick output costs 5.0× what input costs, so the same monthly token count bills very differently depending on how much of it comes back as output — measure your own split before extrapolating from the headline input rate, because rates move with vendor promotions.

Setting it up

Pointing an existing integration at Llama 4 Maverick is a base URL change, not a rewrite. Pick your tool:

What different usage shapes cost on Llama 4 Maverick

A monthly token budget does not convert cleanly into a monthly invoice, and Llama 4 Maverick is an ordinary case rather than an extreme one: output is priced at 5.0× input, above the median of 4.0× across the 231 models in our index. Everything follows from that one number At 5:1 it is manageable, at 1:1 the same token count costs half as much. Below are five shapes real Llama 4 Maverick deployments fall into, each costing it out at the split it actually produces.

One month on Llama 4 Maverick, five workload shapes — gateway rates checked 2026-11-14
WorkloadTokensOutput shareMonthly costvs cheapest in index
Classification / tagging
100k short jobs, 300 in / 20 out
32M6%$2.82.4×
Support triage
20k conversations, 1.5k in / 400 out
38M21%$4.92.1×
RAG question answering
50k questions, 6k in / 500 out
325M8%$29.752.4×
Agent loop (coding)
8k sessions, 400k in / 6k out
3248M1%$240.82.7×
Long-form generation
5k documents, 2k in / 4k out
30M67%$7.71.8×

The cheapest comparison is GPT-5 nano at $0.025 / $0.2 per 1M — 1.9× cheaper than Llama 4 Maverick on a blended rate. Treat it as a rate floor, not a recommendation: it says nothing about whether GPT-5 nano can do the work you need Llama 4 Maverick for.

Read the table as a sanity check rather than a forecast. If your own output share sits anywhere near 3%, everything above is priced almost entirely at Llama 4 Maverick's $0.07 input rate; at 40% the $0.35 output rate has taken the larger half. Nobody's split is exactly the one you assumed when you picked the model, which is why the calculator asks for it before quoting anything.

FAQ

How much does Llama 4 Maverick cost per million tokens?

$0.07 per million input tokens and $0.35 per million output tokens. No official USD list price is published for this model, so it is billed at platform rate.

Is Llama 4 Maverick cheaper than buying direct?

There is no published official USD price to compare against for this model, it is billed at platform rate, and the reason to route it through a gateway is access and consolidated billing rather than a discount.

What does Llama 4 Maverick cost per month in practice?

At a 5:1 input-to-output ratio it is about $0.70 a month for light use (5M input tokens) and roughly $70.00 for heavy use (500M input). Agent workloads sit at the high end here because every turn resends the context and Llama 4 Maverick bills output at 5.0x input — see what actually drives Claude Code cost.

Which models cost about the same as Llama 4 Maverick?

The comparison table further up this page lists the three closest to Llama 4 Maverick's $0.42 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $0.07 per input token is only half the equation, the other half is how many tokens a model needs before it finishes the task.

How do I start using Llama 4 Maverick?

You need an API key, then point your client at the gateway base URL with llama-4-maverick as the model id. On Llama 4 Maverick it is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools. The Llama 4 Maverick snippet is in the calling section above.

What is the Llama 4 Maverick API price per 1M tokens?

$0.07 per 1M input and $0.35 per 1M output. The two directions are quoted separately because a request is billed twice (once for what you send, once for what comes back) and on Llama 4 Maverick they differ by 5.0x.

How much more does Llama 4 Maverick charge for output than input?

Output tokens cost 5.0x what input tokens do here — $0.07 per 1M in against $0.35 per 1M out. The median output-to-input multiple across our full price index is 4.0x, so this model sits above that line. It matters more than it looks: on Llama 4 Maverick a coding agent's output takes 50% of the bill, so the input rate people usually compare is the smaller half. See why output pricing dominates.

How much does Llama 4 Maverick cost for a coding agent?

About $70.00 a month at 500M input and 100M output tokens, the shape a coding assistant really produces, because every turn resends the whole context and the model writes more than it reads. The biggest lever is not the model but how much context you resend each turn At 70 dollars a month on Llama 4 Maverick, halving the resend roughly halves that. See what actually drives agent cost.

Does Llama 4 Maverick have an official list price?

No, Meta does not publish a USD list price for this model, so there is nothing to compare against and it bills at platform rate: $0.07 in / $0.35 out per 1M. The reason to route it through a gateway is access and one consolidated bill across vendors, not a discount.

Get Llama 4 Maverick access