Before you begin
- View Own Sessions to open Sessions, Model Requests, and Diagnostics. With View Team Activity, these pages cover all users. Without it, they cover only your own sessions.
- View Pull Requests and Repositories to see the CI runs and their cost.
Tool and MCP calls
The agent sends each tool result back to the model, so each tool call leads to more model requests that you pay for. An MCP tool counts as a tool call like a built-in tool.- Diagnostics > Tools: Top Tools shows up to ten tools with their Calls, Failures, and Failure Rate. Look for the tools with the most calls. An MCP tool shows under the tool name that the harness reports, next to the built-in tools.
- Model Requests: set Type to Tool Call and sort by Cost to see what the requests after tool calls cost.
CI re-runs
Agents push often, and each push and each re-run runs your workflows again. Each run attempt adds its own minutes and cost.- Pull Requests: CI Retry Rate shows the share of re-runs, and CI Over Time shows when it rose. See Cost and CI tiles.
- On a pull request page, the CI Runs card marks each Re-run and shows Spent on failed jobs. Agent Sessions vs. CI marks the runs on commits made during a linked session as Agent Commit.
Cache misses
Most providers charge less for cache reads than for uncached input. A request that reads nothing from the cache pays again for context that the cache could have served. A provider change, a model change, or compaction can cause it.- Needs Attention on the Dashboard shows “Cache hit rate is …” when the rate is low. View Model Usage opens Diagnostics > Models, which shows the cache hit rate of each model. See Needs Attention.
- Sessions and Model Requests: sort by cache hit rate, lowest first, to find the sessions and the requests that read the least from the cache.
- On a session page, Cache Misses after Context Changes shows the requests that read no cache after a provider change, a model change, or compaction. See Session details for when the card shows. The Timeline marks each Cache Miss.
Repeated failures
A failed tool call does not move the work forward, and the agent usually sends another model request to try again. A tool that fails often adds this cost to every session that uses it.- Needs Attention shows “Tool failure rate is …” when the rate is high or rose. View Tool Failures opens Diagnostics > Tool Failures.
- Diagnostics > Tool Failures: Repeated Failures lists each tool that failed, with its Failures and Affected Sessions. Select a row in Recent Failures to open the session at that failure.
- Sessions: set Status to Errors Only to list the sessions with at least one tool failure.