Opening the trace
When a turn ends, the "Trace" button under it opens that turn's trace in the right panel. While a turn is running, a "Trace" button also appears and you can watch the running turn's steps live. In the "Trace" tab, "Previous turn" and "Next turn" move between the session's turns.
The trace is kept in a separate file next to the session file and holds no content: your prompt, the model's answer and tool outputs are not written. Only measurements (duration, tokens, cost, status code) and short, masked summaries are kept. If the file passes 5 MB, recording stops and a "Trace limit reached" line appears.
The summary and the marked steps
"Turn summary" gives six numbers: duration, number of model requests, total tokens, cost, retries and approval waiting. This is where you see what's unusual: if 3 of a 4-minute turn's minutes were approval waiting, the agent wasn't slow, the card was waiting for you.
Below it are two short lists. "3 slowest steps" shows the model requests and tools that took longest; "3 outputs that used the most tokens" shows the tool outputs that grew the model input most. In the timeline these steps carry "slow" and "tokens" badges.
Reading a model request row
Each model request is a row such as "Model request #3". It shows the model name, when the first byte arrived ("first byte 2.1 s"), the total time and the token split ("input 48K · output 1.2K · cache 41K"). A long first byte means the wait happened before the model started producing its answer; a long total with a short first byte means the answer itself was long.
On a tool output row you may see a note such as "carried into the next 9 requests ≈ 180K tokens". When the agent reads a file, that output becomes part of the conversation and goes back into the input of every later model request. A single 20K-token output across nine requests means 180K tokens of input in total. This is the most common reason a turn is expensive and it drains your plan's weekly limit quickly.
The cache column is the part of the input that was sent before and read at the cheaper cached price. If most of a large input comes from cache, the turn costs less than the total tokens suggest.
Retries, approvals and the crew
- A "Retry" row shows the failed request's status code and how long the app waited before retrying ("503 · waited 4 s"). Many retries in a turn explain the time; they have nothing to do with the agent's work.
- An "Approval" row shows which tool waited, for how long, and who answered the card: you or the reviewer; allowed, always allowed, refused or stopped.
- With the approval reviewer on, its decisions appear as "Reviewer decision" rows. What the reviewer approves is in the approval reviewer guide.
- If the crew worked, each member's steps are grouped together. The "Member" filter shows everyone, the lead only or a single member, and each group shows whether it finished, finished partly or failed.
- "Compaction" is where a long conversation was summarized; "Helper request" covers background requests such as writing a commit message or reading an image.
The "Steps shown" filter narrows the timeline: all, model only, tools only or waits only.
What to do about what you find
- If one file read carries a lot of tokens, ask the agent to look only at the relevant part of the file, or split the file before starting.
- If the turn mostly waited for approval, switching to "Allow edits" mode or turning on the approval reviewer shortens the waiting.
- If there are many retries, the problem is temporary; try again later or pick another model from the model menu.
- If the turn is expensive, the model menu lists each model's price per 1 million tokens; try the same task with a cheaper model. The session's spending is at the bottom of the window, and the monthly breakdown is under Settings → Usage.
How much of your weekly limit a turn uses depends on the number of requests and the size of the context. Your plan's percentage and reset time are on the account page.