Cloudflare

Llama 4 Scout (Workers AI) token cost calculator

Llama 4 Scout 17B on Workers AI for edge-friendly open instruction following.

Published list rates

Input

$0.27

per 1M tokens

Output

$0.85

per 1M tokens

Context window

131,000

tokens

Pricing source: Cloudflare Workers AI pricing

Token cost calculator

List prices are stored in US dollars. Conversions use the units-per-dollar exchange-rate snapshot last checked 2026-07-31

Estimate from text

Calculate from a token total

Project monthly volume

Uses the input/output mix above and a 30-day month: requests per day × tokens per request × 30.

Estimated cost

Estimated tokens
Characters
Words
Input tokens
Output tokens
Input cost
Output cost
Total cost
Combined price per 1M tokens
Estimated monthly cost
Estimated daily cost

Cost by token volume

Compare input-only, output-only, and 70/30 mixed workloads from one token to 100 billion. Intermediate bands make smaller production steps easier to price.

Tokens Input only Output only 70/30 mix
1 $0.00000027 $0.00000085 $0.000000444
10 $0.000003 $0.000009 $0.000004
100 $0.000027 $0.000085 $0.000044
200 $0.000054 $0.00017 $0.000089
300 $0.000081 $0.000255 $0.000133
400 $0.000108 $0.00034 $0.000178
500 $0.000135 $0.000425 $0.000222
1,000 $0.00027 $0.00085 $0.000444
2,000 $0.00054 $0.0017 $0.000888
5,000 $0.00135 $0.00425 $0.00222
10,000 $0.0027 $0.0085 $0.00444
25,000 $0.00675 $0.02125 $0.0111
50,000 $0.0135 $0.0425 $0.0222
100,000 $0.027 $0.085 $0.0444
250,000 $0.0675 $0.2125 $0.111
500,000 $0.135 $0.425 $0.222
1,000,000 $0.27 $0.85 $0.444
5,000,000 $1.35 $4.25 $2.22
10,000,000 $2.70 $8.50 $4.44
50,000,000 $13.50 $42.50 $22.20
100,000,000 $27.00 $85.00 $44.40
500,000,000 $135.00 $425.00 $222.00
1,000,000,000 $270.00 $850.00 $444.00
10,000,000,000 $2,700.00 $8,500.00 $4,440.00
100,000,000,000 $27,000.00 $85,000.00 $44,400.00

Tokens available by budget

See how many tokens a fixed budget buys at the published rates. Display-currency values use the current exchange-rate snapshot shown on the page.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 37,037 11,765 22,523
$0.1 370,370 117,647 225,225
$0.5 1.85M 588,235 1.13M
$1.00 3.7M 1.18M 2.25M
$5.00 18.5M 5.88M 11.3M
$10.00 37M 11.8M 22.5M
$20.00 74.1M 23.5M 45M
$25.00 92.6M 29.4M 56.3M
$30.00 111.1M 35.3M 67.6M
$50.00 185.2M 58.8M 112.6M
$100.00 370.4M 117.6M 225.2M
$250.00 925.9M 294.1M 563.1M
$500.00 1.85B 588.2M 1.13B
$1,000.00 3.7B 1.18B 2.25B
$5,000.00 18.5B 5.88B 11.3B
$10,000.00 37B 11.8B 22.5B

Cost profile

  • A workload with 70% input and 30% output costs $0.444 per 1 million total tokens and $44.40 per 100 million.
  • At the same token count, output costs 3.15 times the input rate. Response length therefore deserves its own budget limit.
  • Filling the 131,000-token context window with input alone would cost about $0.03537, before any output.

About Cloudflare

Edge compute and storage products with usage-based add-ons. The Llama 4 Scout (Workers AI) page covers this meter in detail; the Cloudflare hub gathers the rest of the lineup with a pricing table, list-rate ranges, and calculators side by side.

See all Cloudflare models and the pricing table

How the text estimate works

For rough planning, CostUse uses about four characters per token and about 0.75 words per token. Actual tokenization changes with language, model, formatting, and special tokens.

These results use public list prices. Cache eligibility, batch or priority modes, long-context surcharges, discounts, and regional billing can change the final invoice.

Questions about this rate

How much is 1 million mixed tokens on Llama 4 Scout (Workers AI)?

About $0.444 at a 70% input / 30% output mix using list prices verified 2026-07-30.

How much are 100 million mixed tokens?

About $44.40 at the same 70/30 mix — useful for rough monthly volume planning.

What is the Llama 4 Scout (Workers AI) price per million input and output tokens?

Input $0.27 and output $0.85 per 1M tokens (USD list rates). Use the calculator above with your real token mix.

Is the text-to-token estimate exact?

No. The estimator approximates tokens from characters and words. Real bills depend on the provider tokenizer, special tokens, and discounts (cache, batch, priority).

What does cost per token mean, and why is output usually more expensive?

Providers charge for tokens processed. Output tokens (generated replies) often cost several times more than input tokens (your prompt), so completion length can dominate the bill.

Related models