---
name: "Show token cost breakdown in expanded work item detail panel"
---

# Story 309: Show token cost breakdown in expanded work item detail panel

## User Story

As a project owner viewing a work item in the web UI, I want to see a per-agent token cost breakdown in the expanded detail panel, so that I can understand where tokens were spent on that story.

## Acceptance Criteria

- [ ] WorkItemDetailPanel fetches token cost data using the existing /work-items/:story_id/token-cost endpoint
- [ ] Shows per-agent session breakdown: agent name, model, token counts (input/output/cache), cost in USD
- [ ] Shows total cost for the story
- [ ] Shows empty state when no token data exists for the story

## Out of Scope

- TBD
