Complex · Where a helper’s habits come from, and what running it takes
Adding up a whole job
Counting tokens one call at a time misses calls that repeat, retry or loop. Spend per task adds every token a job used, from the question to the finished work. Measure it before and after each change. A change that makes one call smaller can still make a task need more calls.
Example
Maple Mart, one soap order, start to finish call 1 read the shelf count 1,200 tokens call 2 check the supplier list 900 tokens call 3 a retry, no answer 900 tokens call 4 write the order 700 tokens Spend per task: 3,700 tokens. With prompt caching, the same start is not read fresh each time, so it costs less.
Try it Yourself
A task used three calls: 500, 800 and 700 tokens. What is its spend per task? Type the number.
Exercise
Milo makes one call smaller, but the task now needs five calls. What should he check?