AI API PricesMeta (Llama) › Llama 4 Scout

Llama 4 Scout pricing

Llama 4 Scout API cost from Meta (Llama) — $0.110 per 1M input tokens and $0.340 per 1M output tokens. Open weights (Groq). Estimate your real monthly bill below, then compare it against every other model.

Input price
$0.110
per 1M input tokens
Output price
$0.340
per 1M output tokens
Context window
128K
tokens per request
Reference call
$0.0005
1K in + 1K out

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

Llama 4 Scout capabilities & limits

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

Context window128K
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 Scout 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-Scout-17B-16E-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-Scout-17B-16E-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 Scout API call actually costs

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

$0.0005
Short call
1K in · 1K out
$0.0005
Chat turn
3K in · 500 out
$0.0025
RAG / long prompt
20K in · 1K out
$0.450
1M in + 1M out
bulk job

Llama 4 Scout cost calculator

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

Estimated monthly cost

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

Meta (Llama) models — Llama 4 Scout in context

How Llama 4 Scout 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 Scout? 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 Scout pricing works

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

Llama 4 Scout does not list a separate cached-input rate, so every input token bills at $0.110 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 Scout pricing FAQ

How much does the Llama 4 Scout API cost?

Llama 4 Scout costs $0.110 per 1M input tokens and $0.340 per 1M output tokens. A typical 3K-input / 500-output call works out to about $0.0005.

What is Llama 4 Scout's context window?

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

Does Llama 4 Scout charge extra for output tokens?

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

Is there a cheaper alternative to Llama 4 Scout?

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 Scout open weights?

Yes — Llama 4 Scout 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 Scout with other models