iiRecord
Agentic AI Atlas · GAP-USER-006: Real-Time Cost Tracking
page:docs-harness-features-backlog-gaps-user-experience-gap-user-006a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-user-experience-gap-user-006

Structured · live

GAP-USER-006: Real-Time Cost Tracking json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/user-experience/gap-user-006.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-user-experience-gap-user-006",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/user-experience/gap-user-006.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/user-experience/GAP-USER-006.md",
    "sourceKind": "repo-docs",
    "title": "GAP-USER-006: Real-Time Cost Tracking",
    "displayName": "GAP-USER-006: Real-Time Cost Tracking",
    "slug": "docs/harness-features-backlog/gaps/user-experience/gap-user-006",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/user-experience/GAP-USER-006.md",
    "article": "\n# GAP-USER-006: Real-Time Cost Tracking\n\n| Field | Value |\n|-------|-------|\n| Category | user-experience |\n| Priority | High |\n| Effort | M |\n| Status | Partial |\n\n## Description\nReal-time cost tracking during active orchestration with per-model pricing, token breakdown, and cost threshold breakpoints for budget management.\n\n## Current State\ntokens:stats provides post-hoc analysis from run journals. No real-time cost visibility during active orchestration.\n\n## Target State\nReal-time cost accumulation from task results. Per-model pricing (configurable). Cost visible in run:status and embedded SDK dashboard. Cost threshold breakpoints auto-pause when budget exceeded.\n\n## Dependencies\n- [GAP-SUBOBS-003](../subagent-observability/GAP-SUBOBS-003.md) -- per-subagent token tracking\n- [GAP-SESSION-004](../session-management/GAP-SESSION-004.md) -- session-level cost budgets\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Token stats | `packages/sdk/src/cli/` |\n| Embedded SDK dashboard (new) | `packages/sdk/src/dashboard/` |\n\n## Recommendation\nPhase 2 implementation. Accumulate token counts from task results. Apply per-model pricing. Surface in run:status and embedded SDK dashboard. Add cost threshold breakpoints.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-user-experience-gap-user-006",
      "kind": "contains_page"
    }
  ]
}