Repository navigation
Description
What happened
PR #6938 (merged 2026-09-10) persists token-count telemetry for cancelled runs but not dollar cost. The follow-up attempt to also persist total_cost_usd (PR #7208) was closed unmerged, with the author's closing rationale explicitly stating that total_cost_usd is a non-authoritative list-price estimate and that users should compute their own dollar cost from the now-persisted token counts using their own contracted rates.
What could go better
A follow-up search of docs/guides found an existing 'Cost data contract' section in docs/guides/infrastructure/distributed-tracing.md that correctly states fullsend does not calculate or backfill cost from tokens, and a similar caveat in docs/guides/user/tracing-with-mlflow.md — but neither, nor any other doc found, explains which persisted token fields to use (e.g., input/output vs. cache-read vs. cache-creation tokens) or shows an example computation. The PR #7208 closing decision assumes users will self-serve this calculation, but as of this retro no doc supports that. I'm confident this gap exists (checked the two most relevant existing docs directly) but have not surveyed every guide in the repo, so there is a small chance a doc I didn't find already covers this.
Proposed change
Add a short 'Computing dollar cost from token telemetry' subsection near the existing 'Cost data contract' section in docs/guides/infrastructure/distributed-tracing.md (or a new docs/guides/user page if that's a better fit), listing the specific persisted token fields (input, output, cache-read, cache-creation) and a worked example multiplying by a hypothetical contracted per-token rate, with a note that these are the same fields introduced by PR #6938.
Validation criteria
The doc is merged and linked from the existing 'Cost data contract' section. Track whether the next 2 user questions (support channel, issue, or Slack) asking 'how do I get dollar cost for a cancelled run' can be answered by linking this doc rather than an ad hoc explanation.
Generated by retro agent from #7208
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Sep 11, 2026
🤖 Finished Triage · ✅ Success · Started 12:05 PM UTC · Completed 12:09 PM UTC
Commit:
25d0852· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.38
fullsend-ai-triage commentedon Sep 11, 2026
Verified the described gap directly: the 'Cost data contract' section in docs/guides/infrastructure/distributed-tracing.md documents the persisted token fields and states fullsend performs no token-to-cost calculation, but stops short of a worked example. No open PR references or closes this issue, and it is distinct from the sibling issue #7229 (which covers documenting OpenShell's signal contract in an ADR, a separate concern from the same retro run).
Recommended placement: a new subsection directly after 'Cost data contract' in distributed-tracing.md, cross-linked from that section, listing the four persisted per-iteration token fields and a worked example against a hypothetical contracted rate.
Labels: Matches the repo's established pattern for retro-agent-filed doc-currency gaps (e.g. #6987, #6941): a low-priority, non-bug documentation chore scoped to docs/guides.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Sep 11, 2026
🤖 Finished Code · ✅ Success · Started 12:11 PM UTC · Completed 12:19 PM UTC
Commit:
25d0852· View workflow run →Runtime: pi · Model: xai/grok-4.6 · Effort: high · Cost: $3.22
docs(#7230): document reasoning tokens in cost-from-telemetry guide
docs(#7230): scope reasoning-token cost term to Codex, note span asym…
docs(#7230): scope Codex reasoning guidance to non-zero, not complete…
docs(#7230): scope cancelled-run cost/reasoning zero claims to Claude…
docs(#7230): fix pi reasoning/output disjointness claim
docs(#7230): clarify token telemetry runtime rules
docs(#7230): refresh token pricing guide and address reviews
docs(#7230): clarify Codex readiness and missing cost cases
docs(#7230): explain cost estimates from token telemetry
Merge pull request fullsend-ai#7232 from fullsend-ai/agent/7230-token…
docs(#7230): explain cost estimates from token telemetry