# Agent trace cost attribution worksheet

Blank working document. Replace placeholders with your own evidence; an empty field is unknown, not a passing result.

Owner: [fill in]
Source revision: [fill in]
Environment: [fill in]
Evidence date: [fill in]

## Trace and attribution scope

Trace export identity and capture policy: ___
Agent / prompt / routing / tool revisions: ___
Root-task population and outcome source: ___
Currency and time window: ___
Shared-work attribution rule: ___

## Execution-to-usage join

| Root / span | Parent | Request / attempt ID | Usage receipt | Aggregate or billable leaf | Join uncertainty |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Deduplication and orphan handling: ___

## Charge reconstruction

| Billable event | Quantity and unit | Rate/source/effective date | Inclusion or tier rule | Supported charge | Unpriced dimension |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Calculation file and rounding basis: ___

## Stage and task totals

| Stage / root cohort | Priced events | Unpriced / unattributed events | Supported subtotal | Task-outcome denominator |
| --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ |
Failed-task cost: ___
Invoiced versus reconstructed amount: ___

## Optimisation evidence cards

| Hypothesis | Event witness | Proposed change | Quality / safety risk | Comparison needed | Owner |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Savings status: not measured
Prompt, routing or tool changes: not authorised by this worksheet

## 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

Original worksheet: MIT. Linked resources retain their own licences and setup requirements.
