Use Unstoppable Code to trace a coding run’s usage back to delegated work and workflow retries. Its Cost panel lets you inspect chat activity and workflow attempts. Devin Cloud’s phase timeline is useful when the question is where a cloud session spent its time.
The scenario. A coding agent needs three attempts to fix CHECKOUT-184, a bug where a shipping discount disappears when a customer changes their delivery address. Setup stalls on the first attempt. The second run changes the wrong validation path. The third passes. The team wants to know which part of that history cost them and what to change on the next ticket.
Open the original session alongside its activity log and the checkout test output. Mark where setup ended, when each attempt began, and where the test first passed. Keep those markers together. When each retry started in a new chat, collect every session ID before comparing usage so you include the unsuccessful attempts as well as the run that passed.
Unstoppable Code. Find work hidden behind a short chat. You need the desktop worktree and retained observability records. The product walkthrough says retention defaults to seven days, can be raised to 90, and does not backfill expired records. Unstoppable Code Cost panel walkthrough
- In the checkout worktree, run Open Cost panel from the command palette. Select the chat for
CHECKOUT-184, or sort Chats by Highest cost if several chats worked on the ticket. - In Session breakdown → Cost, check the share attributed to chat turns as well as subagents and other delegated work. Look at background work separately. Use Activity to locate slow turns and frequently used tools, and Context to check for compactions.
- If the attempts ran as pipeline retries, open the run under Pipeline runs and inspect its Cost details by step and attempt. For a figure you plan to report, check By billing. Subscription and AI Credits dollar figures represent estimates at API prices. Session breakdown and billing views
A large delegation share gives you a reason to inspect whether several workers searched the same checkout code. If their work overlapped, give each worker an explicit area to investigate, or assign the narrowly scoped retry to one agent.
Devin Cloud. Separate setup time from implementation time. You need access to the completed cloud session. Cognition’s workshop guide describes Session Insights as post-session analytics with Agent Compute Unit (ACU) usage and a phase timeline. There’s also an activity summary. Cognition session guide
- Open the completed session and record its ACU usage from Session Insights.
- Inspect the phase timeline, then use the activity summary to see which commands ran and when checkout files started changing.
- Look for the blocking command when setup took most of the time. When edits came first, match the test commands and changed files to the attempts in the activity timeline so you can tell which retry is worth investigating. Cognition session guide
The timeline measures phase duration. The ACU figure is session-level in the documented view. When setup keeps stalling while resolving dependencies, fix or document the bootstrap step before changing the implementation prompt.
Kilo Code. Locate the costly request in a retry sequence. You need the VS Code task with its chat history. Kilo documents a task timeline at the top of chat and a cost estimate for each request in the history. VS Code task timeline · Request cost estimates
- Open the task and expand the timeline. Look at the activity bars and the input and output totals. Check the cache reads against writes.
- Use the test failures in the transcript to mark the retries. Compare the request estimates around each failure and the next model response.
- Inspect what entered the conversation before the highest-estimate request. If the agent pasted an entire test-suite log before rediscovering the same failure, give it the single test target and the expected assertion on the next ticket. For bring-your-own-key usage, use the provider’s billing record to check the charge. VS Code task timeline · Kilo billing and estimates
Claude Code. Check whether the main conversation rebuilt its cache. You need the interactive session and a version that exposes the documented prompt-cache statistics. Run /usage in the session you want to inspect. Claude Code usage and cache statistics
- Read Session → Usage by model and capture input and output. Save the cache-read and cache-write totals too.
- Read Prompt cache (main) for reported misses and expected rebuilds. Compare the timing of the last reported miss and any likely-cause hint with events in the transcript, such as changes to the available tools.
- If you can reproduce the pattern on the next checkout task, record
/usageafter each attempt while keeping the model and tool set stable. That gives you an attempt-by-attempt comparison. A single end-of-session snapshot gives you aggregate usage and main-conversation cache diagnostics. Claude Code usage and cache statistics
Amp. Separate model activity from the cost of running the orb. In the thread’s More Actions menu, open Cost & Usage. Compare the thread timeline with the failed test and retry markers before attributing spend. If you already have API access, the thread usage endpoint separates per-model activity from orb and tool usage. Collect separate thread IDs if attempts ran in different threads. The API figure covers the named thread and has a retention window. Amp threads · Amp thread usage API
Cline. Find the costly attempt after the task has closed. Search History for CHECKOUT-184. Sort by Most Expensive or Most Tokens. Reopen the matching task and use the conversation and command history with the test output to identify the retry you want to investigate. Check whether each attempt was stored as its own task before comparing totals. Use the provider’s billing record if you need the actual charge. Cline task history
Use the measurement that answers the question. Kilo can help compare individual requests, and Claude Code shows main-conversation cache activity. Keep the units separate. A timeline answers a different question than an estimate in dollars. On the next similar ticket, change one thing while keeping the acceptance criteria comparable.
