All answers

Token economics for hundreds of engineers on AI coding tools is killing us. What actually reduces spend?

Dennis PilarinosDennis Pilarinos·Nov 6, 2026·Context Engine · Engineering Insights

Four things, in this order: get per-user spend reports, set caps that block, set the default model and effort centrally, then stop paying every agent to rediscover the same codebase. Unblocked does the last one: an agent makes one context_research call over MCP and gets a cited answer from code, PRs, issues, docs and Slack, instead of dozens of file reads and searches.

To reduce AI coding tool spend across hundreds of engineers, change the defaults everyone works with. What works is four moves made once for the whole org: see spend per person, turn on caps that block, set the default model and effort centrally, and cut the repeated cost of every agent learning the same codebase. Rediscovery spend is the tokens your agents use reading code, docs and history to rebuild an understanding that another engineer's agent already built yesterday. Unblocked cuts it: instead of opening dozens of files and searches, an agent makes one context_research call through MCP and gets a synthesized answer with citations from code, pull requests, issues, docs and Slack. Per-developer habits, such as clearing sessions and trimming CLAUDE.md, are covered in how to cut agent token usage in Claude Code and Cursor (now Grok Build).

Start with per-user numbers, not the invoice#

The invoice hides who spent it, on which model, and why. Anthropic's Claude Code docs give a baseline. "Across enterprise deployments, the average cost is around $13 per developer per active day and $150-250 per developer per month, with costs remaining below $30 per active day for 90% of users" (Claude Code costs docs). By our arithmetic, 300 engineers at that monthly range is $45,000 to $75,000 a month on one tool.

Teams we talk to worry that Claude is moving from seats to usage-based billing. On new Enterprise plans it already has. Anthropic's pricing page lists Enterprise at "$20 per seat per month + tax, plus usage billed at API rates, so cost scales with the models and tasks your team runs" (Claude pricing). Team seats include a usage allowance, but Team is "for teams of 2 to 150", so an org of hundreds lands on Enterprise. There the seat is a small fixed fee and token volume is most of the bill.

Each tool has a per-user report:

  • Claude for Teams and Enterprise: a spend report "shows estimated spend per user and per model, with CSV export, updated daily". On Team, it covers usage-credit spend only, since usage inside the seat allowance is not metered in dollars. Enterprise adds an analytics API for per-user cost.
  • Claude Console (API): workspace cost reporting, plus a per-user dashboard and analytics API.
  • Amazon Bedrock, Google Cloud or Microsoft Foundry: your cloud bill, plus OpenTelemetry, which the docs call "the only option that streams per-user token and cost metrics into your own observability stack in near real time".

Then divide by output. Cost per merged pull request is the number that tracks value, and the unit economics of AI coding shows how to compute it.

Turn on caps that block, not caps that email#

A hard cap is a spend limit that blocks further usage when it is reached, instead of sending an alert. Check that each tool's cap is a hard cap.

ToolWhere the cap livesWatch for
Claude Code (Team)Spend limits at org, group or member levelThe seat allowance is the default ceiling; usage credits go past it
Claude Code (Enterprise)Spend limits at org, group or user level, plus pooled group budgetsA member with no limit anywhere is not capped
Claude Code (Console)Workspace spend limitsWith custom rate limits, Claude Code traffic counts toward the org's API limits
Cursor (Teams)One shared prepaid balance and one cap for the teamGranular spend controls are listed for Enterprise only
GitHub CopilotBudgets at user, cost center, org and enterprise level"Stop usage" is off by default

On GitHub, the "Stop usage when budget limit is reached" setting is "off by default", and without it "charges continue to accrue past the limit" (GitHub Copilot budgets). Anthropic's Enterprise guide agrees: "No limit anywhere = no limit" (Claude Enterprise consumption guide). Cursor gives Teams "one cap for the whole team", and the docs list "granular spend controls" under what Enterprise adds (Grok Build models and pricing).

Set the default model and effort centrally#

The model is the biggest price dial. Anthropic's docs name the common cause of high spend: "long sessions that were never cleared or to Opus left as the default model". Their advice is to use Sonnet for most coding and save Opus "for complex architectural decisions or multi-step reasoning".

So make it a setting. In Claude Code, a plain model setting is "an initial selection, not enforcement". Managed settings can restrict choices with availableModels and cap effort with maxEffortLevel (Claude Code model configuration). Effort matters because thinking tokens bill as output tokens. In Cursor, check which Auto mode your team uses: Cost mode "draws from your weekly pool whatever model serves it", while on Teams and Enterprise with Grok Build Router on, Balance and Intelligence "bill at the routed model's list price".

Cut the rediscovery, which no cap touches#

After caps and defaults, much of the remaining bill is repeated work. Each engineer's agent opens the same services, reads the same files, and searches the same docs to answer the same questions: who owns this, why was it built this way, what changed last week. An April 2026 study of coding agents on SWE-bench Verified found "input tokens rather than output tokens driving the overall cost". It also found that "runs on the same task can differ by up to 30x in total tokens" (Bai et al., arXiv). Input is what the agent reads, so that is the cost to attack.

Anthropic suggests a skill describing "your project's architecture, key directories, and naming conventions" to save that reading. A hand-written skill helps, but it goes stale and cannot hold the history in PRs, tickets and Slack.

Give every agent one shared source of context#

A context engine is a service that indexes code and its history once and answers questions about it for every person and agent. Unblocked is a context engine. Its context_research tool "runs a multi-source research query across code, pull requests, documentation, issues, and messaging" and returns a summary plus the sources behind it (Unblocked docs). It works in Claude Code, Cursor, Codex, GitHub Copilot in VS Code and other MCP tools. With Data Shield on, answers respect each source's permissions (Data Shield). We measured this on 2026-04-16 on a production repository with the same prompt and the same model, with and without Unblocked attached. With it, the agent used 42 percent fewer tokens and made 29 tool calls instead of 80 (same prompt, same model, different context). That is one run on one repository, so test on yours before budgeting on it.

David Knell, Distinguished Platform Engineer at Drata, put the return this way: "Unblocked has improved our productivity and consistency across the board. The return on investment has been evident in the time saved and the reduced frustration among the team."

The order matters. Reports and caps stop the waste you can see. Shared context removes the cost that grows with headcount. AI tokenomics covers the wider cost model.