II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-user-experience-gap-user-006
GAP-USER-006: Real-Time Cost Tracking overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-user-experience-gap-user-006.
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
# GAP-USER-006: Real-Time Cost Tracking
| Field | Value |
|-------|-------|
| Category | user-experience |
| Priority | High |
| Effort | M |
| Status | Partial |
## Description
Real-time cost tracking during active orchestration with per-model pricing, token breakdown, and cost threshold breakpoints for budget management.
## Current State
tokens:stats provides post-hoc analysis from run journals. No real-time cost visibility during active orchestration.
## Target State
Real-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.
## Dependencies
- [GAP-SUBOBS-003](../subagent-observability/GAP-SUBOBS-003.md) -- per-subagent token tracking
- [GAP-SESSION-004](../session-management/GAP-SESSION-004.md) -- session-level cost budgets
## Key Files
| Component | Path |
|-----------|------|
| Token stats | `packages/sdk/src/cli/` |
| Embedded SDK dashboard (new) | `packages/sdk/src/dashboard/` |
## Recommendation
Phase 2 implementation. Accumulate token counts from task results. Apply per-model pricing. Surface in run:status and embedded SDK dashboard. Add cost threshold breakpoints.
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)