AI API PricesMeta (Llama) › Llama 4 Maverick

Llama 4 Maverick pricing

Llama 4 Maverick API cost from Meta (Llama) — $0.270 per 1M input tokens and $0.850 per 1M output tokens. Open weights (Together AI). Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.270
per 1M input tokens
Output price
$0.850
per 1M output tokens
Context window
500K
tokens per request
Reference call
$0.0011
1K in + 1K out

Open weights open weights 500K context · all prices USD per 1M tokens, list price last verified 2026-06-27.

Llama 4 Maverick capabilities & limits

Representative specs for this tier — confirm exact limits in the Meta (Llama) docs.

Context window500K
Max output16K
Knowledge cutoff2025
API formatOpenAI-compatible
✓ Vision✓ Tools / functions✓ JSON / structured✓ Batch API✓ Open weights

API acting up? Check Meta (Llama) status ↗ · all AI API status

Call Llama 4 Maverick from your code

The exact model string and endpoint to use. Works with the OpenAI SDK — just point base_url at the URL below.

Model stringmeta-llama/Llama-4-Maverick-17B-128E-Instruct
Base URLhttps://api.together.xyz/v1
API key envTOGETHER_API_KEY
curl https://api.together.xyz/v1/chat/completions \
  -H "Authorization: Bearer $TOGETHER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/Llama-4-Maverick-17B-128E-Instruct",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Model strings follow each provider's naming convention; confirm the current id in the Meta (Llama) docs before relying on it.

What a Llama 4 Maverick API call actually costs

Blended input + output cost at Llama 4 Maverick's list rates — useful yardsticks before you commit to volume.

$0.0011
Short call
1K in · 1K out
$0.0012
Chat turn
3K in · 500 out
$0.0063
RAG / long prompt
20K in · 1K out
$1.12
1M in + 1M out
bulk job

Llama 4 Maverick cost calculator

Enter your monthly volume to estimate the Llama 4 Maverick bill. Runs entirely in your browser.

Estimated monthly cost

For the full multi-model breakdown, use the cost calculator.

Meta (Llama) models — Llama 4 Maverick in context

How Llama 4 Maverick prices against its siblings. Cheapest reference cost first.

Model Input /1M Output /1M Cost / call* Context Type
Llama 3.1 8B
Open weights
$0.200 $0.200 $0.0004 128K Open weights open
Llama 4 Scout
Open weights (Groq)
$0.110 $0.340 $0.0005 128K Open weights open
Llama 4 Maverick
Open weights (Together AI)
$0.270 $0.850 $0.0011 500K Open weights open
Llama 3.3 70B
Open weights
$1.04 $1.04 $0.0021 128K Open weights open

*Reference cost of one call with 1,000 input + 1,000 output tokens — a neutral yardstick. Use the calculator for your real usage. Cheapest row highlighted.

Cheaper than Llama 4 Maverick? In the same open weights tier, Llama 3.1 8B runs $0.200 in / $0.200 out. The overall cheapest model tracked is Gemini 1.5 Flash-8B — see the cheapest LLM API guide.

How Llama 4 Maverick pricing works

Llama 4 Maverick is billed per token: a lower input price of $0.270 per million tokens for everything you send, and a higher output price of $0.850 per million for everything the model generates. To turn that into a real Llama 4 Maverick bill, multiply by your monthly request volume and average prompt/response length — the calculator above does exactly that.

Llama 4 Maverick does not list a separate cached-input rate, so every input token bills at $0.270 per million. If repeated context is a big part of your prompts, a model with prompt caching may end up cheaper in practice.

List prices move fast — always confirm the current numbers on the official Meta (Llama) pricing page before relying on them for budgeting.

Llama 4 Maverick pricing FAQ

How much does the Llama 4 Maverick API cost?

Llama 4 Maverick costs $0.270 per 1M input tokens and $0.850 per 1M output tokens. A typical 3K-input / 500-output call works out to about $0.0012.

What is Llama 4 Maverick's context window?

Llama 4 Maverick has a 500K-token context window. Tokens you put in the prompt are billed at the $0.270 per 1M input rate.

Does Llama 4 Maverick charge extra for output tokens?

Yes. Output (generated) tokens cost $0.850 per 1M, versus $0.270 per 1M for input — about 3.1× more, which is normal for LLM APIs.

Is there a cheaper alternative to Llama 4 Maverick?

In the same open weights tier, Llama 3.1 8B (Meta (Llama)) is cheaper at $0.200 in / $0.200 out. The overall cheapest model on the market is Gemini 1.5 Flash-8B.

Is Llama 4 Maverick open weights?

Yes — Llama 4 Maverick is released as open weights, so you can self-host it instead of paying per-token API rates. The prices here are a representative hosted endpoint.

Compare Llama 4 Maverick with other models