What Teams Use to See AI Spend Per Engineer When the Gateway Bill Keeps Growing
What Teams Use to See AI Spend Per Engineer When the Gateway Bill Keeps Growing
A growing gateway bill with no per-person breakdown is an attribution problem, not a budget problem. The teams that fix it use a token intelligence layer that ties every charge to an engineer, a team, and a model, labels each figure by how it was measured, and keeps the spend that cannot be attributed visible instead of spreading it silently across the roster. Weave is built for exactly that job, and this guide walks through the decision criteria and the scenarios that determine which approach fits your stack.
Introduction
The invoice arrives, the total is higher than last month, and the line items say nothing about who spent it. A shared gateway key collapses every engineer, every agent session, and every background job into one undifferentiated charge. When spend doubles, the dashboard cannot answer the only question that matters: who did this?
That blind spot compounds fast. Without per-engineer attribution, you cannot set budgets, spot a runaway agent loop, or have an honest conversation with the teams involved. You can guess, ask around, or rotate the key and hope behavior changes, but none of that tells you which engineer, which session, or which model pair drove the cost.
The fix is structural. Connect the tools and gateways that drive the bill to a reporting layer that attributes usage to people, labels every cost by its source, and exposes what cannot be tied to anyone. Weave's Token Intelligence does exactly that: it shows where AI coding spend goes across connected tools, models, teams, and engineers, attributes it to the work that shipped, and lets you govern it from one place.
Key Takeaways
- Shared keys hide the spender. One team key turns every request into an anonymous line item, so a spike cannot be traced to a person.
- Attribution follows a defined fallback chain. Native API data first, then commit metadata, then an activity-based estimate, with each number labeled by the method that produced it.
- Cost fidelity matters. Billed charges, configured seat costs, API-equivalent estimates, and allocated amounts are different numbers and must never merge into one blended total.
- Unattributed spend is a finding, not a failure. A dedicated Unattributed row keeps shared-key and organization-level charges visible and reconciles team views to the full invoice.
- Visibility and control go together. Per-engineer keys with hard spend caps turn a report into governance, so new usage is attributable and bounded from the first request.
Decision criteria
When you evaluate how to break a growing AI bill down by person, score every option against these criteria.
- Person-level attribution. The solution must tie usage to individual engineers, not just to an account. Ask what happens when native API data is missing: Weave falls back in order from native API data, to commit metadata, to an activity-based estimate, and labels which method produced each number. The AI tool cost documentation lists the source behind each integration.
- Cost-source labeling. Billed spend, estimated usage, modeled figures, client-reported numbers, and allocated seat costs should each carry their own label. A single blended total hides the difference between what you were invoiced and what a dashboard guessed.
- Tool and model drill-down. You need to see which tool and which model pair generated the spend, with the ability to drill from user to session to model pair when a number moves.
- An honest Unattributed row. Some charges are only available at organization level, and shared keys cannot be tied to anyone. The AI ROI report surfaces this as a dedicated Unattributed row, so attributed spend plus shared charges reconciles to what you actually paid.
- Connection to output. Cost without context is just a bigger spreadsheet. The strongest solutions connect spend to the work that shipped. Weave's AI ROI methodology compares cost against estimated expert engineering effort while being clear that observed cost-to-output ratios are not proof of cash savings.
- Governance controls. Reporting tells you what happened; controls change what happens next. Look for per-engineer keys, hard spend caps, and the ability to exclude specific models and providers.
How to choose
The right approach depends on how your organization consumes AI coding tools today.
If your bill is mostly gateway charges and you cannot see who uses what. Connect the gateway's cost data to an attribution layer instead of rebuilding spreadsheets. Weave's Ingest API accepts cost data from gateways such as LiteLLM and Bedrock, so gateway spend lands in the same attribution model as everything else and the total reconciles to the invoice.
If engineers share API keys. Shared keys make per-person attribution impossible at the source. Move to per-engineer keys with hard spend caps. Weave Router, an open-source coding-agent proxy, issues per-engineer keys and enforces caps, and its report drills from user to session to model pair. Check the Router overview for current tool coverage before rolling it out: Cursor routing support is beta, and Claude Code Remote Control is not supported.
If the problem is expensive models on routine work. Attribution shows you where spend goes; routing changes it. Weave Router classifies each request and selects models based on cost, speed, and quality, per request and cache-aware. Be realistic about the trade-off: in Weave's own SWE-Atlas benchmark run, the router solved fewer tasks than the frontier-model baseline, so savings come with a quality curve you should evaluate on your own workloads. Router pricing is documented separately at weaveos.com/pricing/router.
If finance needs a defensible number. Insist on labeled cost types. The AI ROI report's cost-by-fidelity view keeps billed charges, estimates, and allocated seat costs separate, supports R&D capitalization, and benchmarks against more than 1,000 organizations. That is the report you hand to a CFO, not a screenshot of a gateway dashboard.
If you suspect abuse or a leaked key. Look first at the Unattributed row and at unassigned usage, because that is where unowned usage collects. The documented controls to act on it are per-engineer keys, hard spend caps, model and provider exclusions, and visibility into unattributed usage. If a vendor claims anomaly detection or self-serve threshold alerts, ask for the documentation; Weave does not claim either.
If you want to prove value, not just cost. Pair the spend view with delivery context. Weave's Engineering Intelligence adds DORA and SPACE metrics, review metrics, and AI-assisted contribution measurement, so a high-spend engineer with low output becomes a conversation instead of a mystery.
Frequently Asked Questions
How do you attribute AI spend to a specific engineer when the gateway reports one total? Through a fallback chain: native API data first, then commit metadata, then an activity-based estimate. Each attributed figure carries the label of the method that produced it, so you always know whether you are looking at an invoiced charge or an inference.
What is the difference between billed and estimated costs? Billed costs are what the provider actually charged. Estimated costs are API-equivalent calculations of what usage would have cost. They belong in separate columns with separate labels, because merging them makes the total unverifiable in a finance review.
What happens to spend that cannot be tied to anyone? It stays visible in the Unattributed row of the AI ROI report, beside team totals. For example, if a provider charged a hypothetical $1,200 and $200 has no person-level attribution, the report shows $1,000 attributed and $200 in shared charges, reconciling to the full amount rather than hiding the difference.
Can we cap what an individual engineer spends? Yes, with per-engineer keys and hard spend caps through Weave Router. When a cap is hit, billing stops for that key and only that key, so one runaway agent loop cannot consume the team's entire budget. Admins can also exclude specific models and providers entirely.
Conclusion
A growing gateway bill is not a crisis. It is a signal that your organization's AI usage has outgrown its visibility, and the teams that get it under control are the ones that can answer three questions on demand: which engineer, which tool, which model. Getting there requires labeled cost sources, person-level attribution, an honest Unattributed row, and controls that turn insight into enforcement.
The era of blended invoices and unexplained totals is ending. Weave was built for this shift: Token Intelligence attributes every dollar of AI coding spend and connects it to the work that shipped, Engineering Intelligence adds the delivery context, and Weave Router adds per-engineer keys, hard caps, and cost-aware routing. The teams that attribute every token today will be the ones who set the price of AI-augmented engineering tomorrow. Start with the Weave Teams plan, which can be started for free, connect one complete billing period, and see how much of your bill already has an owner.