Token counts are the easiest AI coding number to collect. Every assistant reports them, every dashboard can chart them, and a ranking by tokens takes one line of SQL. That is why some companies have tried to use them as a measure of how much developers get done. This guide explains what actually drives a token count, why that makes it a weak signal of useful work, and which measures answer the questions people are really asking.
What a token count measures
A token is a chunk of text that a model reads or writes. A token count for a developer adds up everything their assistant sent to the model and received back: the prompt, the conversation so far, file contents, tool results, the model's reasoning and its answer.
Most of that is context, not output. Anthropic's Claude Code documentation explains that Claude Code sends the full conversation with every request, so a one-line question in a session that has been open all day still draws usage for the whole conversation. A small question can be large in tokens.
What drives the number up
Many things raise a token count without any change in the work done:
- Long sessions. History grows with every turn and is sent again each time.
- Cache misses. After a break longer than the cache lifetime, the next message reprocesses the full context.
- Background work. Scheduled tasks, session recaps, idle compaction and goal check-ins can use tokens while nobody is typing.
- Subagents and agent teams. Each one keeps its own context and sends its own requests.
- Large instruction files and tools. Content loaded at the start of every session is paid for in every session.
- Model and tokenizer. Anthropic notes that its newer models use a tokenizer that produces more tokens for the same text than earlier models. The same work can produce different counts on different models.
Several of these are habits worth fixing, but they are cost habits, not output.
What drives the number down
Good practice often lowers tokens. Anthropic's advice for reducing usage includes clearing context between unrelated tasks, choosing a smaller model for simple work, writing specific prompts instead of broad ones, and using plan mode before large changes. A developer who follows that advice will use fewer tokens for the same task. A metric that rewards high counts would rank them lower.
Why it fails as a target
Once a number becomes a target, people can raise it without doing more useful work. Token counts are especially easy to raise: leave a session open, ask broad questions, run an agent in a loop. The data then tells you about the incentive, not the work.
Counts also do not compare across tools. GitHub meters Copilot in AI credits, Claude Team and Enterprise seats draw from usage allowances, and API users pay per token at model-specific rates. Adding them up produces a number with no consistent unit.
What to look at instead
Start from the question being asked.
| Question | Better measure | Where to get it |
|---|---|---|
| What does it cost? | Spend per team per month against budget | Vendor invoices and billing exports |
| Are we using what we pay for? | Active people per team compared with seats | Vendor admin dashboards |
| Is delivery changing? | Team delivery metrics such as change lead time, deployment frequency and change fail rate | Your CI/CD and incident data |
| Where is the friction? | What developers report, plus patterns in their own sessions | Retrospectives; personal tools such as Claude Code's /insights |
| Is one setup wasting tokens? | Token use by cause for one person's own sessions | Claude Code's /usage attribution; local tools |
The DORA team recommends applying its delivery metrics at the application or service level, with the goal of improving a team's performance over time rather than competing with other teams. That is a useful default for any AI-related measure too.
Where token counts do help
Tokens are useful as a cost driver you can act on, read by the person who caused them. Claude Code's /usage command attributes recent usage to skills, subagents, plugins and MCP servers, and suggests changes. A developer who sees that one instruction file is sent with every request can trim it. At team level, total tokens by model help forecast API spend. Neither use needs a ranking of people.
For a step-by-step cost calculation, see AI coding cost per developer. For team-level adoption measures, see How to measure AI coding adoption without ranking developers.
When Insaidy helps
Insaidy is an independent Velantix product with plugins for VS Code, Visual Studio and JetBrains. It reads supported assistant activity on the developer's computer, including Claude Code, GitHub Copilot Chat and, in the VS Code plugin, Codex. Its private "Only for you" view shows recorded token and cache usage, request sizes and context next to fixed-rule coaching, so a developer can see what drives their own counts. Personal use is free.
Insaidy does not score developers, and it does not measure output or delivery. In a Company workspace, owners, admins and assigned managers see named metrics, including usage counts, for the people in their scope. If you share those numbers, use them for conversations and cost planning, not as targets.
Sources
All pages were checked on 10 November 2026.
- Manage costs effectively (Claude Code docs)
- Claude model pricing (Claude Platform docs)
- Usage-based billing for organizations and enterprises (GitHub Docs)
- DORA's software delivery performance metrics (DORA)