Metric glossary
This page lists the figures of each page: what each one means, the panel that shows it, and the playbook that acts on it. The first table defines the terms that the other tables use. A “–” in the Playbook column means that no playbook starts from the figure.
Four words mark where a figure comes from:
| Mark | Meaning |
|---|---|
| estimate, estimated cost | Tokens priced at API list prices; or, for a tool result, its bytes divided by 4. Not a bill and not a count. |
| measured | A plan limit reading that the provider reported. |
| estimated (Limits) | A plan limit figure rebuilt from the last reading and the use counted since. |
| model-judged | A judgment that Claude Code’s /insights wrote about a session. An opinion, not a measurement. |
Terms on every page
Section titled “Terms on every page”| Term | Definition |
|---|---|
| Session | One Claude Code, Codex or Grok conversation, with its subagents. A session is in a view when it has a request in the range; Activity’s Judgments view counts it by its start time instead. |
| Source | The agent that wrote the session: Claude Code, Codex or Grok. |
| Project | The repository or folder a session ran in. |
| Automated session | A session of a known automated project, a session with no user prompt, or a session in a temporary folder with at most one prompt. Left out unless Include automated sessions is on; Errors has no such control and always counts them. See Filters. |
| Main thread | The session’s own requests and tool calls, as opposed to its subagents’. |
| Subagent | An agent that the session started for part of the work. Its requests count in tokens and cost, never as turns. A Grok subagent’s tool calls show on its parent session; its tokens are part of the parent’s turn and count once. |
| Request | One model response in a transcript, counted once. For Grok, one model call: Grok reports usage per turn, and the app splits it over the turn’s calls by their context size, so a call’s share is an estimate. |
| Prompt | A message that you sent. A run of /context is not a prompt. |
| Interrupted prompt | A prompt whose work you stopped before the agent finished. |
| Turn | On Context: a main-thread request with at least 2,000 prompt tokens. On Activity, “turns per prompt” counts every main-thread request. |
| Tokens | Input, output (thinking included), cache read and cache write tokens of the requests, added up. |
| Prompt tokens | What a request read: input, cache read and both cache writes. Also called context. |
| Tool call | One use of a tool by the agent. A failed tool call returned an error. |
| Commit | A git commit shell call that succeeded. |
| Test run | A shell call that runs tests, a build, a linter or a type check. |
| Active time | The time between a session’s main-thread requests and tool calls, less every pause over 20 minutes. |
| Model time, tool time | The time a Claude Code session spent waiting on the model and running tools, subagents included, from the line Claude Code writes when the session ends. A Grok session has model time from the API time each turn reports, and no tool time. Codex and older Claude Code sessions record none. Model time can exceed active time, because subagents run at the same time. |
| Active day | A day with at least one prompt. |
| Previous period | The same number of days just before the range. The All range has none. |
| Estimated cost | Each request’s tokens times its model’s API list price. A Grok request costs what Grok reported instead. See How cost is estimated. |
| Unpriced model | A model with no price in the price table. Its tokens count; its cost is unknown and left out of totals. |
| Cache read | Prompt tokens read from the prompt cache, at a fraction of the input price. |
| Cache write | Prompt tokens written to the cache, with a 5-minute or a 1-hour lifetime. Costs more than plain input. |
| Cache hit | Cache read tokens over all prompt tokens. Context calls it the cache-hit ratio. |
| Long-prompt tier | The higher prices that some models charge for a whole request once its prompt passes a set size. |
| Context window | The most tokens a model can read in one request. See Context windows and plan limit windows. |
| Compaction | The agent replaces the session’s history with a summary to free context. |
| Near the limit | 80% or more of the context window. |
| Error loop | The same tool failing 3 times or more in a row within one session. Activity counts error loops. Errors groups every failure into an incident, which can hold a single failure. |
| Plan limit window | A stretch of time, such as 5 hours or a week, over which a plan caps use. |
| Point | 1% of a plan limit. |
Activity
Section titled “Activity”See Activity.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Commits, prompts, sessions, active days | Counts over the view, with the change against the previous period. | Heading (commits, prompts); Sessions tile (sessions, active days) | Weekly review |
| Turns per prompt, tool calls per prompt | Main-thread requests, and main-thread tool calls, per prompt. | The line under the heading | Babysit agents less |
| N things to look at | How many of the four lines below show. | Needs attention | Weekly review |
| N error loops | Error loops in the view. Marks the card ● Act. | Needs attention | Kill repeated tool failures |
| N sessions reached 80%+ of the context window | Sessions whose peak context was near the limit. | Needs attention | Keep context lean |
| N tools fail over 10% of calls | Tools that failed more than 10% of at least 20 calls. | Needs attention | Kill repeated tool failures |
| N failed test runs of M | Failed test runs out of all test runs. | Needs attention | Kill repeated tool failures |
| Errors per 100 calls | Failed tool calls per 100 tool calls. Marked worse when it goes up. | Work health; Project metrics | Kill repeated tool failures |
| Test runs passed | The share of test runs that passed. Marked worse when it goes down. | Work health | Kill repeated tool failures |
| Prompts interrupted | The share and count of prompts that were interrupted. In Claude Code, a tool call you reject counts as an interruption. Marked worse when it goes up. | The line under the heading | Babysit agents less |
| Subagents | The share of tokens that came from subagents. | Work health; Project metrics | – |
| Median session | The median active time of a session. The tile’s note also gives the active time in all and, when recorded, the thinking time. | The Sessions tile | – |
| Output speed | Output tokens per second of model time, over the sessions that record model time. Claude Code and Grok only, whole-session, subagents included. Its note adds the time waiting on the model and running tools, and a small line its trend. Marked worse when it goes down. | Work health; Sessions tab (Model and Tok/s columns); session sheet | – |
| Work per day, or per week | Commits, prompts or sessions per day, with errors per 100 calls on a track under the bars. One bar per week when the view spans more than 60 days. Select a bar to narrow the tabs to its days. | Work per day | Weekly review |
| Step (calendar) | One shade of the Activity calendar. Steps are cut at the median, the 80th and the 95th percentile of the days with any of the measure, over 53 weeks, so there are up to four. The key gives each step’s numbers. | Activity calendar | – |
| Peak context | The largest request of a session, with its share of the window when that is 80% or more. | Sessions tab | Keep context lean |
| Failed, Compactions, Commits, Tests | Per session: failed tool calls, compactions, commits, and test runs passed of run. | Sessions tab | Retro on one project |
| Tokens / prompt | A project’s tokens per prompt. | Projects tab | Retro on one project |
| Error loops (per project) | A project’s error loops. Tinted when 2 or more and above the median project. | Projects tab | Kill repeated tool failures |
| Calls, Failed, p50, p95 | Per tool: calls, failure rate, and the median and 95th-percentile time from call to result. | Tools and MCP tab | Kill repeated tool failures |
| Hook runs, Failed, Avg | Per hook: runs, failed runs and average time. | Tools and MCP tab | – |
See Cost. Every cost is an estimate at API list prices. Grok requests use the cost Grok reported instead.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Estimated cost | The view’s estimated cost, and its comparison with the previous period: a multiple from 2× up, a percentage below. | Heading | Spend less for the same output |
| thin history | The previous period has prompts on fewer than half as many days as this one, so the comparison says little. | Heading | – |
| On pace for | This month’s cost up to yesterday, plus the mean daily cost of the last 7 complete days times the days left. | Plan gauge | Spend less for the same output |
| N× plan | The month’s pace over the plan’s monthly price, counting only the agents with a known plan. | Plan gauge | Spend less for the same output |
| +? | The cost leaves out requests of unpriced models. | Beside a cost | – |
| Change by project | Each project’s cost against the previous period; “new” when it had no usage before. | Project spend and change | Retro on one project |
| Reported, Other | In the cost flow: Reported is the cost an agent reported with no split by token kind, including a Grok turn’s with no model name, shown as “(no model name)”; Other is the one node that holds a column’s small names, past its five costliest or under 1% of the cost. | Where the cost goes | Spend less for the same output |
| Cost per commit | Estimated cost over commits, for the view and against the median project. An outlier costs over twice the median and holds at least 2% of the spend: ▲ Watch, and ● Act from 4 times. | What stands out; Tokens and cache; Project spend and change | Spend less for the same output |
| Peak day | The costliest day, as a multiple of the median day with spend. ▲ Watch at 3 times or more, with 5 or more days of spend. | What stands out | Spend less for the same output |
| Cache hit | Cache read tokens over all prompt tokens. | Tokens and cache; Project spend and change | Spend less for the same output |
| 1h writes | The share of cache write tokens that use the 1-hour lifetime. | Tokens and cache; the project table’s export | Spend less for the same output |
| Subagent cost | The share of estimated cost that came from subagents. | Tokens and cache; the project table’s export | Spend less for the same output |
| Cost per day | Estimated cost per day, stacked by project, model or agent, with a 7-day average when the view has 14 days or more. | Estimated cost per day | Compare Claude Code, Codex and Grok |
| Tokens per day | Tokens per day by kind: Input, Output, Thinking, Cache read, Cache write 5m, Cache write 1h. The Scale switch shows Volume or Share; Share titles the chart Token share per day. | Tokens per day | – |
| Share of spend | A project’s share of the view’s cost. | Project spend and change | Retro on one project |
| Model and effort share | The share of cost of each model and effort level; fast-mode requests form their own rows. | Models and effort | Spend less for the same output |
| Per prompt | Estimated cost and tokens per prompt. | Tokens and cache; the project table’s export | Spend less for the same output |
| Cost by token kind | A two-sided chart of each token kind’s share of tokens against its share of cost: Input, Output + thinking, Cache read, Cache write 5m and Cache write 1h. The cost side leaves out Grok’s reported cost. | Tokens and cache | Spend less for the same output |
| Est. cost (session) | A session’s estimated cost; with a day selected, its cost on that day. | Most expensive sessions | Spend less for the same output |
Context
Section titled “Context”See Context. Every figure comes from the transcripts; no configuration file is read.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Starting context | The prompt tokens of a session’s first turn: what the model read before any work. | Heading; Starting context | Keep context lean |
| Median, 10th percentile, 90th percentile | The spread of starting context over a project’s sessions. The 10th percentile approximates the fixed overhead. | Starting context by project | Keep context lean |
| Share of window | The median of starting context over each session’s window. | Starting context by project | Keep context lean |
| Median start by week | The weekly median of starting context, by week of session start, with its 25th to 75th percentile band. A hollow dot rests on fewer than 3 sessions. | Starting context | Keep context lean |
| Growth curve | The median context at each turn, up to turn 100, over the sessions that reach it. A point needs 5 sessions. | Growth | Keep context lean |
| Added per prompt | The median, over sessions, of the tokens a session adds per prompt. A fall, as after a compaction, adds nothing. | Growth | Keep context lean |
| Sessions compacted | The count of sessions with a recorded first compaction. | Growth | Keep context lean |
| Before the first compaction; Turns to first compaction | The median number of turns before a session’s first compaction. | Growth; Growth by project | Keep context lean |
| Active time before it | The median active minutes before the first compaction. | Growth; Growth by project | Keep context lean |
| Peak | The most prompt tokens a session reached, as a share of its window. | Window pressure | Keep context lean |
| Peak bands | The share of sessions that peaked under 25%, at 25–50%, 50–80%, 80–90% and 90% or more of the window, per window size. A peak at an edge belongs to the band above it. | Window pressure | Keep context lean |
| Sessions by start and peak | One dot per session by starting context and peak share; a ring marks a session that compacted. | Window pressure | Keep context lean |
| Total result size, Estimated tokens | The bytes of the main-thread tool results by tool or MCP server, and those bytes divided by 4. | What fills context | Keep context lean |
| Main thread / Subagents | Tool result bytes read by the main thread, and by subagents, which never entered the main context. | What fills context | Keep context lean |
| Largest tool results | The 25 largest main-thread tool results, with tool, input and session. | Largest tool results drawer | Keep context lean |
| Cache-hit ratio | Cache read tokens over all prompt tokens, per day or week and per project. | Context’s Cost section | Spend less for the same output |
| Cache break | A main-thread request after the first turn with at least 20,000 prompt tokens, less than half read from the cache. Its cause is a model switch, expired, or other. A Grok break is never expired: xAI states no cache lifetime. | Context’s Cost section; Sessions where caching broke drawer | Spend less for the same output |
| Uncached tokens, Their input cost | The prompt tokens of a session’s cache breaks that were not read from the cache, and their cost. | Sessions where caching broke drawer | Spend less for the same output |
| Long-prompt tier, Long-tier requests | The cost and the count of requests priced on the long-prompt tier. | Context’s Cost section | Spend less for the same output |
Context tips
Section titled “Context tips”Each tip fires from a fixed rule. A tip carries ▲ Warning, or ● Critical where the table says so.
| Tip | Fires when | Playbook |
|---|---|---|
| Sessions start with a large context | A project’s median starting context is 30,000 tokens or more. | Keep context lean |
| Sessions compact repeatedly | A session compacted 3 times or more. ● Critical from 6. |
Keep context lean |
| Sessions reach the limit of the window | A session peaked at 80% or more of its window. Always ● Critical. |
Keep context lean |
| Tool results fill the context | A main-thread tool result is 100,000 bytes or more. ● Critical from 400,000 bytes. |
Keep context lean |
| The prompt cache breaks within sessions | A session has 2 cache breaks or more. | Spend less for the same output |
| Requests are priced on the long-prompt tier | The long-prompt-tier cost is at least $1 and at least 10% of the view’s estimated cost. | Spend less for the same output |
Errors
Section titled “Errors”See Errors. Errors counts automated sessions too.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Failed tool calls | Tool calls that returned an error, each sorted into one error type. | Heading | Kill repeated tool failures |
| Error rate | Failed tool calls as a share of all tool calls. | Summary; chart | Kill repeated tool failures |
| Change | The error rate against the comparison period: the same number of days before, or for All the earlier half of the calls. “–” when either side has fewer than 200 tool calls. | Summary; type table | Kill repeated tool failures |
| Incident | A retry loop: failures of one tool, by one agent, with one error type, each at most 10 minutes after the previous one, with at most 2 successful calls of that tool in between. | Summary; type detail | Kill repeated tool failures |
| Recovered (Next call OK) | The agent’s next call of that tool after the incident succeeded. Otherwise the incident reads Failed again or Gave up. | Type detail | Kill repeated tool failures |
| Not recovered | The share of incidents whose outcome is not recovered. The summary says it as “did not recover”. | Summary; type table | Kill repeated tool failures |
| Fixes applied | The error types that you marked as fixed, and the open types that still have a ready-made fix. | Summary | Kill repeated tool failures |
| Uncategorized | The share of errors in the catch-all types: Other, Other non-zero exit and MCP tool error. | Under the heading | – |
| Errors, share | A type’s failed calls, and its share of the view’s errors, drawn as a bar under the count. | Type table | Kill repeated tool failures |
| Time lost | The time in retry loops: each incident’s first failure to its last, summed. | Type table; type detail | Kill repeated tool failures |
| Rate, Trend | A type’s errors per 100 tool calls, and that rate over the range, with a tick on the day its fix was applied. | Type table | Kill repeated tool failures |
| Open fixes | Up to four open types with a ready-made fix, most time lost first. | Where to start | Kill repeated tool failures |
| Rising fastest | Up to four types whose rate rose by more than 10% of its earlier value, with at least 5 errors now. | Where to start | Kill repeated tool failures |
| Before and after the fix | A type’s error rate before and since the day you marked a fix, over all time. The verdict is Rate lower, Rate higher or Rate unchanged. It reads Not enough calls yet until the calls since the fix number at least 200 and enough for the old rate to have produced 5 errors. | Type detail; Applied fixes in Where to start | Kill repeated tool failures |
| Noise | Harness errors, user rejections and the types you muted. Hide noise and muted leaves them out. | Type table toolbar; type detail | Kill repeated tool failures |
Limits
Section titled “Limits”See Limits. Open windows cover the whole account and ignore the range.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Percent used | The share of a window’s allowance used now, measured or estimated. | Heading; card headers | Stop hitting plan limits |
| Headroom | The percent left and the time to the window’s reset. | Card footers | Stop hitting plan limits |
| at its limit, runs out | The window is at 100%, or is forecast to reach 100% before its reset. | Heading; card headers | Stop hitting plan limits |
| Limits tab pill | The percent of the fullest open window (≈ for estimates). It turns amber or red with a ring when a window is at its limit, forecast to run out, or at 90% or more. |
The Limits tab, on every page | Stop hitting plan limits |
| Forecast cone | Where the percent used goes by the reset, from your activity by hour of day. The cone covers your usual pace and the window’s own recent pace, and turns amber when its high edge reaches 100% before the reset. | Window cards | Stop hitting plan limits |
| Reaches 100% at | The forecast time the window reaches 100%, before its reset. | Heading; window cards | Stop hitting plan limits |
| Last 24 h pace | The forecast if your use of the last 24 hours continued to the reset. | Window cards | Stop hitting plan limits |
| Usual pace; safe pace | Your average rate for the provider, and the rate that ends at exactly 100% at the reset (the safe-pace line on the chart, “would use it all” in Details). | Card footers; Details | Stop hitting plan limits |
| ahead of pace, behind pace | The forecast reaches 100% before the reset, or about N% would go unused. | Window cards | Stop hitting plan limits |
| Send work to | The provider with the most headroom at the current pace, when two providers or more have a forecast. | Under the heading | Compare Claude Code, Codex and Grok |
| Counted use | The local agent use that the app prices from transcripts. Use elsewhere, such as claude.ai, shows only at the next measured reading. | What used this window | Stop hitting plan limits |
| What used this window | The top three projects and models of a window by estimated cost, with their share and points. | Window cards | Stop hitting plan limits |
| Calibrated window | A window with a known estimated cost per point, worked out from past readings. A window calibrates once it has moved 5 points while its use was counted. | Window cards; What a point buys | – |
| Cap in money | The calibrated cost of one point, times 100, at API list prices. | Window cards | Spend less for the same output |
| avg N% unused | The average share of a limit still unused when its full-length windows reset, in the range. | Past windows | Spend less for the same output |
| Final, At 100% for | A closed window’s final percent, and how long it stayed at its limit. | Past windows table | Stop hitting plan limits |
| $ a point, Tokens a point | The estimated cost of one point of a limit, and the tokens of each model that one point buys. | What a point buys drawer | Spend less for the same output |
| Commits a point | A project’s commits per point of a limit. | What a point buys drawer | Retro on one project |
Judgments
Section titled “Judgments”See Judgments, Activity’s second view. The figures are model-judged unless the table says “measured”. They cover Claude Code sessions only.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Sessions analysed | The Claude Code sessions of the view that /insights judged, out of those stored. |
Coverage note; Outcomes at a glance | Get sessions to finish |
| Outcome | Whether a session met its goal: fully, mostly, partially or not achieved, or unclear. | Outcomes; session cards | Get sessions to finish |
| Fully or mostly achieved | The count and share of analysed sessions with one of those two outcomes. | Outcomes at a glance | Get sessions to finish |
| Partially, Not achieved | Sessions that met some of the goal, and sessions whose goal was abandoned or failed. | Outcomes at a glance | Get sessions to finish |
| Dissatisfied | Sessions where the model saw you push back. | Outcomes at a glance | Get sessions to finish |
| Friction | A label for what got in the way, counted by times reported and by sessions. Similar labels form a family. | Friction categories | Get sessions to finish |
| Friction cost, active time (measured) | The estimated cost and the active time of the whole sessions that reported a friction, each session once. Not the cost of the friction alone. | Friction categories | Get sessions to finish |
| Outcome trend | Per week of session start, the share of the week’s analysed sessions in each outcome, with the week’s sessions over its bar. | Outcome trend | Get sessions to finish |
| Cost, peak context, tool errors (measured) | A session’s estimated cost, its peak context as a share of the model’s window, and its failed tool calls, over the whole session. | Session cards | Get sessions to finish |
| Satisfaction signals, helpfulness | The satisfaction signals the model saw, and its rating of Claude’s help from essential to unhelpful. | Satisfaction and helpfulness | Get sessions to finish |
| Goal, session type | What a session set out to do, and the model’s label for its shape, such as single task. | Goals, Session types drawers | – |
| Session figures (measured) | Lines added and removed, files modified, git pushes, median session duration and response time, and languages, as /insights counted them. |
Session figures drawer | – |
| Coverage, run (measured) | Sessions analysed per project, and per /insights run. A run is the judgments written within an hour of each other. |
Coverage drawer | Get sessions to finish |
See Live. Live lists the sessions whose newest line is less than 10 minutes old.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| approval? | A shell call with no result for more than 30 seconds. Inferred. | Rail; wall; status strip | Babysit agents less |
| your turn | The agent finished its turn and waits for your prompt. The label counts up. | Rail; wall; status strip | Babysit agents less |
| working | The session runs a tool or is thinking. | Rail; wall | – |
| idle, ended | No line for 5 minutes; a Claude Code session that you closed, or a Grok session after Grok exits. | Rail; wall | – |
| N waiting for you | The sessions in approval? and your turn. Also the count in the tab title and the badge on the Live tab in the navigation, on every page. | Rail footer; tab title; Live tab | Babysit agents less |
| Context window, % used | The context of the newest main-thread request over the model’s window, with a mark at each compaction. The status strip’s meter takes the warning color above 80%. | Status strip; rail entries; wall tiles | Keep context lean |
| Cost, Tools, Errors | The selected session’s cost, tool calls and failed tool calls so far. | Status strip | – |
| Cache read | The share of the session’s prompt tokens read from the cache. | Status strip | Spend less for the same output |
| Pulse | The last 10 minutes: the context of each main-thread request as a line, and a tick for each tool call that ended, upright for a success, ✕ for a failure. | Status strip | – |
| Plan limits | The newest plan limit use for the session’s source, with its reset time behind a toggletip. Warning color and “near” above 80%. | Status strip | Stop hitting plan limits |
Project
Section titled “Project”See Project. Its blocks repeat the figures of the other pages for one project. These figures show only here.
| Figure | Meaning | Where | Playbook |
|---|---|---|---|
| Context grid | A typical session’s window as 200 cells: the median starting context, what the median peak adds, and free space. | Context | Keep context lean |
| Overhead by category | The tokens of each category that a /context snapshot lists as loaded before the first prompt, such as memory files and MCP tools. |
Context, after Measure now | Keep context lean |
| Deferred tokens | Tool definitions that the snapshot lists as not loaded. They take no context. | Context | Keep context lean |
| What loads before your first prompt | The snapshot’s categories ranked by tokens, with each MCP server, memory file, custom agent and skill under its category, and how often Claude Code called each server and skill in the view. | Context | Keep context lean |
| Sessions near the context limit | The project’s sessions that peaked at 80% or more of their window. | Context | Keep context lean |
| Cheap, much done; Costly, much done; Cheap, little done; Costly, little done | The four quadrants of the session plot, split at the median estimated cost and the median tool calls of the sessions shown. Costly and much done mean above the median; a session on a line counts as cheap, or as little done. “Done” counts tool calls, not results. | Sessions by cost and tool calls | – |
| Share of each open window | The project’s share of a plan limit window’s counted use, with its points, when it is among the window’s top three. | Plan limits | Stop hitting plan limits |
| Top error types | The project’s five most frequent error types, with rate and change. | Errors | Kill repeated tool failures |
| Outcomes, Top friction | The outcomes of the project’s analysed sessions, and its three most reported kinds of friction. Model-judged. | Session judgments | Get sessions to finish |
For the whole page, use Retro on one project.
Playbooks that start from a filter
Section titled “Playbooks that start from a filter”Three playbooks start from a control, not from one figure.
| Control | Playbook |
|---|---|
| The Source filter | Compare Claude Code, Codex and Grok |
| Include automated sessions | Separate automated sessions from yours |
| Live’s Full text toggle, and the project filter | Share your screen safely |