# Attribute an agent trace's inference and tool cost — acceptance checklist

Record evidence for every checked item. Unchecked or untested is not a pass. This checklist does not execute an integration or authorise external actions.

## Required inputs

- [ ] A redacted trace export with root, parent, span, request and attempt identifiers, timestamps and a stated capture or sampling policy.

- [ ] Model and tool usage receipts for the traced attempts, including failed calls, retries and any provider request identifiers.

- [ ] Dated model rate schedules and tool charge terms with billing units, service tiers, cache and reasoning rules, currency and effective windows.

- [ ] The agent, prompt, routing and tool versions plus evidence classifying the selected root tasks as completed, failed or unresolved.

- [ ] An attribution policy for shared work, aggregate versus leaf usage, redaction and scope, agreed with the cost owner.

## Output checks

- [ ] Capture and sampling limits are recorded; an unobserved call is not assumed to be free or absent.

- [ ] Root, parent and child spans are distinguished, and the same aggregate usage is not charged again at every nesting level.

- [ ] Repeated telemetry records are deduplicated without deleting distinct billable retry attempts.

- [ ] Each priced event matches its model or tool identity, effective rate window, service tier and currency.

- [ ] Cache and reasoning counters are checked for inclusion in other quantities before charging them separately.

- [ ] Shared calls and orphan spans follow a documented allocation rule or remain unattributed; they are not assigned to whichever task looks cheapest.

- [ ] Cost per completed task reports the completed-task denominator, failed-task cost and unresolved outcomes rather than dropping unsuccessful work.

- [ ] Proposed reductions in calls, context or retries retain their quality and safety questions; reconstructed spend is not invoiced spend or proven avoidable cost.

## Deliverables

- [ ] Trace scope manifest, event graph and usage-join exceptions.

- [ ] Non-duplicating billable-event ledger with calculation and rate-source links.

- [ ] Stage and task cost attribution with unpriced coverage and separate outcome populations.

- [ ] Optimisation review cards naming event witnesses, quality risks and evidence still needed.

## Evidence and decision

Evidence links: [fill in]
Untested paths: [fill in]
Unresolved findings: [fill in]
Reviewer: [fill in]
Decision and scope: [fill in]

## Boundaries

- This is analysis of supplied exports. LangSmith Evaluator offers output/trajectory guidance, not a billing connector or a complete trace-cost adapter; no workspace query, feedback, upload or model execution is authorised.

- The provider-quote skill informs identity and rate-scope checks only. Its two-seller uncached-input/output checker does not calculate nested trace costs, tool fees, special token billing or an invoice total.

- The operator supplies the event normaliser and calculation sheet. The evidence reviewer checks provenance and population claims; no resource may invent a missing usage counter, price or task-success label.

- Trace coverage and prices may be incomplete. A subtotal is labelled with its priced population, and optimisation requires a separate authorised quality comparison before any savings claim.

Workflow: https://undominated.ai/workflows/#inspect-agent-trace-cost
