Task cost calculator

The cost of one AI task, then per hour, week and month: input that grows every step, cache reads and writes, visible output and hidden reasoning. Anthropic: Claude Sonnet 5.5 costs $0.348 per L2 task (a 50,000-token document analysed in 3 steps) at list prices. With the prompt cache on (75 % of step 1 cached, earlier context read from cache on later steps) at its listed cache prices, the same task costs $0.082.

Prices as listed in the United States on . Runs in your browser. Your inputs stay on this device. All calculators · API prices · Price change briefings

Task cost & budget: Cumulative task cost above; individual step costs below, each on its own dollar axis. Calculated · L3 coding task Claude Sonnet 5.5 · direct API Solid line · no cache Dashed line · with cache
Task cost & budget.Calculated · L3 coding task Claude Sonnet 5.5 · direct API Solid line · no cache Dashed line · with cache Open image · Explore the chart · Measured Lab · CC BY 4.0
Model
Prices per 1M input / output tokens
Task
steps
tokens
tokens
tokens
tokens
tokens
your estimate, charged at the output price
tasks
3 min between tasks at 20 an hour
Prompt cache
%
the part still cached from the previous task; above 0, later steps read the whole earlier context from cache. Cache prices where the provider lists them, otherwise the input price
decides whether the cache is still warm for the next task; Anthropic lists a price for each

Result Anthropic: Claude Sonnet 5.5 · L2 · 20 tasks per hour · data of 9 Nov 2026

Per task
$0.348
Per hour
$6.96
Per week · 168 h
$1,169.28
Per month · 730 h
$5,080.80

Office hours: $278.40 a week (40 h) · $1,206.38 a month (173.33 h).

Where the money goes in one task
  • Fresh input$0.318159,000 tokens
  • Cache writes$0.00000 tokens
  • Cache reads$0.00000 tokens
  • Visible output$0.0303,000 tokens
  • Hidden reasoningnot includedenter your estimate above; without it the total is a floor
  • Cache: off (0 % cached). This model lists cache prices: reads $0.10, writes $2.50 (5-minute lifetime) per 1M tokens, from the provider’s price list read 9 Nov 2026.
  • Long context: no higher long-context price for this model in our data.
  • Context window: largest step 55,500 input + 1,000 output = 56,500 tokens of 1,000,000 — fits
  • Rate limit: on average 53,000 input and 1,000 output tokens per minute at 20 tasks per hour (cached reads do not count, as Anthropic states): within the Start tier of Anthropic at an even pace (published limits read 17 Oct 2026); bursts within a minute are higher. Published tier limits

Standard tasks, cost per task

Visible output only; hidden reasoning is not included. L1, L2 and L3: list prices with no cache. The two cached columns use the share of each scenario (L2 75 %, L3 85 % of the step 1 input from cache, the whole earlier context from cache on later steps, 20 tasks an hour) at the provider’s listed cache prices, for models whose provider lists them. Prices as listed on 9 Nov 2026.

ModelL1L2L3L2 · 75 % cachedL3 · 85 % cachedPrice from
Anthropic: Claude Haiku 5.5$0.0003$0.017$0.424$0.0048$0.082provider price
Anthropic: Claude Opus 5.5$0.010$0.696$5.44$0.164$0.904provider price
Anthropic: Claude Sonnet 5.5$0.0050$0.348$2.72$0.082$0.452provider price
DeepSeek: DeepSeek V4 Pro 0813$0.0028$0.222$1.77$0.041$0.218provider price
DeepSeek: DeepSeek V4.1 Flash 1017$0.0007$0.051$0.405$0.0097$0.047provider price
Google: Gemini 3.8 Flash$0.0019$0.131$1.02$0.035$0.198provider price
Google: Gemini 4 Argon$0.0050$0.348$2.72cache price not in our datacache price not in our dataprovider price
Mistral: Mistral Large 4$0.0015$0.118$0.940$0.029$0.172provider price
MoonshotAI: Kimi K3$0.0075$0.522$4.08$0.140$0.792provider price
OpenAI: GPT-5.4 Mini$0.0020$0.133$1.03cache price not in our datacache price not in our dataprovider price
OpenAI: GPT-6 Astra$0.025$1.74$13.61$0.480$2.87provider price
OpenAI: GPT-6 Sol$0.0050$0.348$2.72$0.096$0.574provider price
Qwen: Qwen3.8 Max (0902)$0.0042$0.336$2.69cache price not in our datacache price not in our dataprovider price
xAI: Grok 4.5$0.0042$0.336$2.69$0.096$0.614OpenRouter
Z.ai: GLM 5.3$0.0030$0.236$1.88$0.075$0.493provider price

Assumptions

WhatValueWhy
Tokenizer factor1.00Token counts are taken as entered; provider tokenizers differ.
Retries1.00No repeated requests for broken output.
Cacheyour share, 0 % by defaultCache read and write prices come from the provider’s price page where it lists them, with the date it was read; a price it does not list is charged at the input price. Step 1 reads your cached share when the cache is still warm from the previous task and writes it otherwise. From step 2 the whole earlier context of the task is read from cache and only the new tokens of the step are written, as providers bill a loop that resends its history; where the provider lists no write price, the new tokens cost the input price. At 0 % nothing is cached. Cache storage fees (Gemini) are not included.
Cache lifetime5 minutes or 1 hourYour setting. The cache is warm for the next task when tasks come more often than this. Anthropic lists separate write prices for 5 minutes and 1 hour; other price pages in our data do not state a lifetime.
Long contextprovider’s priceWhere the provider charges more above a token threshold, every step above it is priced at the higher rate: input, cache and output.
Hidden reasoningyour estimateEnter tokens per step; they are charged at the output price.
Month730 hRound-the-clock workload; office hours would be 173 h.

Formula: for each step, input = input at step 1 + growth × (step − 1) + tool schema; cost = fresh input × input price + cache writes × cache-write price + cache reads × cache-read price + (visible output + hidden reasoning) × output price, per million tokens. The methodology explains how prices are read; API prices: caching and batch compares cache and long-context prices by model.

Explore the numbers

Calculated · L3 coding task

Every step carries the conversation forward.

Claude Sonnet 5.5 · direct API

$2.7215 steps · no cache1,315,500 input tokens
$0.45215 steps · with cacheThe same conversation and output
Cumulative cost · USD$0$1$2$3$0.00$0.10$0.20$0.30$2.72$0.452Cost of each step · USD051015Completed stepsCumulative cost · USD$0$1$2$3$0.00$0.10$0.20$0.30$2.72$0.452Cost of each step · USD051015Completed steps

Solid line · no cacheDashed line · with cache

Every step: no cache and with cache
StepNo cacheWith cache
1$0.090$0.022
2$0.103$0.026
3$0.116$0.027
4$0.129$0.028
5$0.142$0.028
6$0.155$0.029
7$0.168$0.030
8$0.181$0.030
9$0.194$0.031
10$0.207$0.032
11$0.220$0.032
12$0.233$0.033
13$0.246$0.034
14$0.259$0.034
15$0.272$0.035

Assumption: 85% of the first step is cached; earlier context is read from cache on later steps. 20 tasks/hour · 5-minute cache · no hidden reasoning or retries.

Initial input 42,200 tokens; growth 6,500 tokens/step; visible output 600 tokens/step. Each step uses its own whole-request context tier.

Step 15 costs $0.272 without cache; the first step costs $0.090. The lower bars show the growth of each request.

Calculated · L2 document task

Your budget buys complete tasks.

The same token workload and cache pattern for each model.

Claude Sonnet 5.5 · no cache57 tasks
$0.348 per task
Claude Sonnet 5.5 · cached244 tasks
$0.082 per task
Claude Opus 5.5 · no cache28 tasks
$0.696 per task
Claude Opus 5.5 · cached122 tasks
$0.164 per task
0 tasks300 tasks

Assumption: $20.00 budget. Complete tasks = floor(budget ÷ unrounded task price).

Claude Sonnet 5.5 · no cache287 tasks
$0.348 per task
Claude Sonnet 5.5 · cached1,221 tasks
$0.082 per task
Claude Opus 5.5 · no cache143 tasks
$0.696 per task
Claude Opus 5.5 · cached610 tasks
$0.164 per task
0 tasks1,500 tasks

Assumption: $100.00 budget. Complete tasks = floor(budget ÷ unrounded task price).

Assumption: 159,000 input tokens and 3,000 visible output tokens per task; 75% of the first step is cached, followed by all earlier context. 20 tasks/hour · 5-minute cache. No hidden reasoning or retries.

Preset scenarios are calculated from this build’s published prices. The chart does not follow edits to calculator inputs.

Sources: this page; published model prices (data (JSON)); task assumptions (data (JSON)). Published prices · Observed responses · Calculated scenarios · Assumptions stated with each chart.