Skip to content
Method note · 29 Oct 2026

How we count the cost of one task

The formula behind every cost per task number on this site.

One taskinput tokenscachedoutputcost per tasktokens × price

A price per million tokens does not tell you what a feature costs. A feature runs tasks. A task sends input tokens, may reuse cached tokens, and returns output tokens. The cost of one task is the sum of those three parts.

The formula

cost per task = input tokens  x input price
              + cached tokens x cached price
              + output tokens x output price

We take token counts from the provider response for each task. We take prices from the provider list price on the run date. We record both in the run manifest, so you can recompute any number.

Why the median

One task can cost much more than another because the input is longer. The median over runs resists those outliers. We also show the minimum and the maximum, so you can see the spread.

Where to check it

The methodology page lists every setting we hold fixed. The data page has the raw numbers.

Cite this note

Windage Labs. (2026). How we count the cost of one task. https://www.windagelabs.com/research/how-we-count-the-cost-of-one-task