Skip to main content
Part of your agent spend adds cost without moving the work forward. This page tells you where the dashboard shows each kind of waste, and what to look for.

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.
See Default roles for the roles that include these permissions.

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.
Agent Golf shows calls and failures for each tool, but no cost for each tool, and it does not group MCP calls apart from other tool calls. See Tools and Model Requests.

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.
Look for pull requests with a high CI cost and many re-runs or failed jobs. See Find the pull requests where re-runs drive CI cost.

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.
See Cache hit rate.

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.
Look for one tool with many failures across many sessions. See Find the tool that fails most.