Evaluation
Measure cost per successful skill outcome
Connect token, tool, and retry costs to validated task results.
A cheaper model call may raise end-to-end cost if it leaves more work for tool retries, cleanup, or manual review. An outcome-based cost measure ties the resources used during a workflow to the number of requests that produced a valid result.
Define the accounting boundary
Include inference, tool fees, and relevant repair or review time consistently. Record which costs are estimates. A team can start with model token counts and direct metered tool costs, then add operational costs where they affect the comparison. Keep failed and interrupted runs in the workload denominator.
Pair cost with task success
Compute total cost divided by the number of validated successes and show success rate beside the result. Also inspect the distribution by request complexity. A few high-cost failed cases may drive the cost figure while a broad reduction in run time helps the majority of users.
Diagnose the contributors
Look at cache-hit behavior, redundant tool calls, repeated model turns, and queue time. When a change reduces one expense, verify it preserves scope and quality. Removing an evidence retrieval step can lower token use while weakening the endpoint you consider a successful result.