Agent Harness Tutorial · Cost
Cost: where the money goes
An agent costs money in two ways. Every turn spends a little on the model (tokens in and out), and the platform costs a fixed amount every month whether anyone talks to it or not. The harness measures the first per turn, caps it with budgets, and keeps the second small.
Goes inA turn, and a month of running
What happensPrice every model call as it happens; stop a turn that gets too dear; watch the monthly bill
Comes outA cost per turn you can see in the trace, and no surprises on the invoice
The two numbers to remember. An agentic turn on the demo costs well under a tenth of a cent: between $0.00014 and $0.00093 in the real flows. A direct, refused or blocked turn costs $0 in model tokens. The hard ceiling per turn is $0.50, about 500 times what a real turn has used.
Look inside
The cost of one turnReal flows, cheapest to dearest: $0 on the direct path, under $0.001 in the loop.Budgets, layer by layerPer call, per trip, per turn, per conversation, per minute, per month: what each caps and what happens when it is hit.How cost is measuredA price table, a meter per turn, and the cost on every span.The monthly billWhich Azure services the demo pays for every month.How we keep it lowRoute around the model, pick the cheapest model that passes, keep the prompt cache warm.Who checks cost, and whenInline every call, online in minutes, at release, daily, monthly.What it would cost at scale2,000 conversations a day: the model isn't the biggest cost, and people cost the most.