FlockTab
Back to all articles

Measure cost per completed task, not just tokens

Connect usage to accepted outcomes so a cheap request does not hide an expensive workflow.

FlockTabTeam operations3 min read

A model with a low price per token can still produce an expensive workflow if it needs many retries or leaves work for a person to repair. A more expensive request can be worthwhile when it reliably completes the task. Neither conclusion follows from the price table alone.

Use the completed task as the unit of comparison and keep the acceptance criteria stable.

Define an accepted outcome

A code task might require a reviewed patch and passing targeted tests. A classification task might require a measured accuracy threshold on a labelled evaluation set. A report might require every material claim to trace to a source. Define that outcome before comparing configurations.

An illustrative experiment runs the same set of twenty tasks with two configurations. Record all attempts, not only successful final calls. If one configuration completes eighteen tasks and the other completes ten, dividing total usage by twenty for both would hide their different completion rates.

Keep comparable costs together

For metered API work, aggregate the observed request costs across each task's attempt chain. For subscriptions, report list-price activity as a usage measure and handle seat charges through a separate allocation policy. Do not silently compare an API bill in one column with a subscription's list-price estimate in the other.

Infrastructure and human review may also matter. Record them separately when the data is available, with the assumptions needed to allocate shared resources. A partial metric can be useful if its scope is explicit; it becomes misleading when labelled total cost without those components.

Inspect the failures as carefully as the winners

Look for repeated tool errors, oversized context, unsuitable models, and retries that did not change the conditions of the task. Compare latency and human intervention alongside the monetary metric. A fast answer that fails review is not the same product as an accepted result.

FlockTab supplies named Agent usage and ledger evidence for supported calls. A project still needs its own completion signal from tests, reviews, or the application. The spending meter can support outcome analysis without claiming to determine whether the work was valuable.

Turn the measurement into a decision

Choose one adjustment and repeat the experiment: improve task instructions, narrow context, alter the retry policy, or change the model for a specific task class. Keep the original result for comparison and report the sample size and period.

The FinOps Foundation treats AI cost management as a business-value problem as well as a consumption problem. A practical team version is to review the amount of accepted work obtained for the resources consumed. That gives an engineer a concrete optimization target and gives a team lead a reason to trust the budget discussion.

Sources checked 23 September 2026. Numerical scenarios are illustrative unless explicitly identified as provider data. Vendor limits and interfaces can change; consult the linked documentation for current details.