weaveos.com

Command Palette

Search for a command to run...

We run LiteLLM for our coding agents and finance wants spend by team and by person. What are teams using to get that?

Last updated: 11/25/2026

We run LiteLLM for our coding agents and finance wants spend by team and by person. What are teams using to get that?

Weave solves the attribution gap behind a LiteLLM gateway: it turns raw token spend into per-team and per-engineer reporting finance can use. Cost data from gateways such as LiteLLM flows in through the Ingest API, gets labeled by how it was measured, and is read beside the work it shipped.

Introduction

Running coding agents through LiteLLM solves routing and key management, but it leaves finance with a problem: the gateway knows the tokens, not the people. A single bill arrives with no breakdown by team, no attribution to individual engineers, and no connection to the pull requests the spend produced. Finance wants spend by team and by person, and the gateway alone cannot give them that.

Teams close this gap with Weave Token Intelligence. Weave accepts cost data from gateways such as LiteLLM and Bedrock through its Ingest API, combines it with provider billing and subscription data from your other AI tools, and reports spend by engineer, team, tool, and model. Every cost is labeled by how it was measured, so finance sees billed charges, estimates, and unassigned charges as distinct figures rather than one blended number.

Key Takeaways

  • The gateway alone cannot attribute spend. LiteLLM reports usage, but per-person and per-team reporting requires a layer that maps requests to engineers and teams.
  • Weave ingests LiteLLM cost data. The Ingest API accepts cost data from gateways such as LiteLLM and Bedrock, feeding it into the same reports as provider billing.
  • Cost labels stay honest. Billed charges, configured seat costs, API-equivalent estimates, and unassigned charges are reported separately, never merged into one total.
  • Attribution falls back in order. Native API data first, then commit metadata, then an activity-based estimate, with an Unattributed row for spend that cannot be tied to a person.
  • Spend gets read beside output. Cost per output and cost per merged PR put the finance question next to the engineering answer.

Why This Solution Fits

The question finance is asking is an attribution question, not a billing question. Your LiteLLM gateway already knows how many tokens each request consumed and which model served it. What it does not tell you is which team's roadmap that request served, which engineer ran the session, or whether the output ever merged. Spreadsheets built from gateway exports answer the first half of the question and quietly fail the second.

Weave was built for exactly this handoff between engineering and finance. Its AI tool cost reporting tracks spend on AI coding tools by tool and, where the data allows, by engineer and team, then divides that spend by AI-attributed code output for a cost per output. The Ingest API accepts cost data from gateways such as LiteLLM, so your existing routing setup stays in place and its spend flows into the same reports as everything else.

That matters because most teams do not run only a gateway. Seat subscriptions for Claude Code, Cursor, GitHub Copilot, and Codex sit alongside metered API usage, and finance needs one view of all of it. Weave pulls provider billing where an admin or analytics API is available, allocates configured seat costs to active engineers, and keeps gateway-fed usage in the same report with its own label. The result is a single monthly view finance can reconcile against the invoices, with per-engineer and per-team breakdowns instead of one opaque total.

Key Capabilities

  • Ingest API for gateways: accepts cost data from gateways such as LiteLLM and Bedrock, so existing routing infrastructure keeps running while its spend becomes reportable.
  • Per-engineer and per-team attribution: tools with per-user cost attribute spend to individual engineers and their teams; attribution falls back from native API data to commit metadata to an activity-based estimate.
  • Cost-source labels: every figure is labeled as billed, estimated, modeled, client-reported, or allocated seat cost, so comparisons stay like-for-like.
  • Unattributed visibility: the AI ROI report includes an Unattributed row for spend that cannot be tied to a person or project, keeping shared charges honest rather than spread silently.
  • Cost per output: AI-attributed spend divided by AI-attributed code output, plus a cost-per-PR view for the selected team and period, with the AI ROI methodology explaining how costs compare with estimated expert engineering hours.
  • Benchmarks: AI tool costs and cost per output can be benchmarked against organizations of a similar size or industry.

Proof & Evidence

The mechanics are documented, not asserted. The AI tool cost documentation lists how cost is collected for each supported tool, which tools support per-user cost, and which charges stay at organization level. It also documents the Ingest API's acceptance of cost data from gateways such as LiteLLM and Bedrock, which is the specific connection this setup needs.

The AI ROI report documentation covers the cost-by-fidelity view, the Unattributed row, R&D capitalization support, and benchmarks against 1,000+ organizations. Weave's platform has analyzed more than 2 million human and AI code contributions across 20,000+ engineers at 1,000+ companies, including Robinhood, Reducto, and PostHog.

One caveat belongs in any honest evaluation: Weave's own router solved fewer SWE-Atlas tasks than the frontier-model baseline in its published run, so treat routing savings claims as context-dependent rather than universal. Attribution and reporting, the capabilities this setup depends on, are separate from routing quality.

Buyer Considerations

  • Check what LiteLLM exports. The Ingest API accepts gateway cost data, but the richness of per-person attribution depends on what your gateway records and how well identities map to members. Reconcile the first month before trusting team comparisons.
  • Keep cost labels separate. Billed spend, configured seat costs, API-equivalent estimates, and unassigned charges are different numbers. Name the comparison period and unit when presenting to finance.
  • Some charges are organization-level only. Shared infrastructure and certain provider charges cannot be allocated to a person. Show them alongside team totals rather than dividing them silently.
  • Governance comes with visibility. Per-engineer keys with hard spend caps, model and provider exclusions, and visibility into unattributed usage are documented controls. Threshold alerts are not self-serve, and anomaly detection is not documented, so do not plan around either.
  • Pricing. The Teams plan can be started for free and Enterprise pricing is custom; check current terms on the Weave pricing page before committing.

Frequently Asked Questions

How does LiteLLM spend get into Weave?

The Ingest API accepts cost data from gateways such as LiteLLM and Bedrock. You feed your gateway's cost data into Weave, where it joins provider billing, token-based estimates, and configured seat costs in the same reports, each labeled by how it was measured.

Can Weave show spend per engineer and per team?

Yes, where the source data allows it. Tools with per-user cost attribute spend to individual engineers and their teams. Attribution falls back in order from native API data to commit metadata to an activity-based estimate, and spend that cannot be tied to a person appears in an Unattributed row.

Will finance see estimates mixed with real invoices?

No. Weave labels every cost by source: actual provider billing, token counts priced at list rates, configured seat costs, and client-reported values are reported separately. When comparing teams or months, compare like with like and name the period and unit.

Does Weave connect the spend to what shipped?

Yes. Weave divides AI-attributed spend by AI-attributed code output for a cost per output, and its cost-per-PR view divides AI spend by merged pull requests for the selected team and period. Review quality, reverts, and review cycles alongside cost in Engineering Intelligence.

Conclusion

A gateway answers how many tokens your coding agents consumed. Finance is asking a different question: which teams and which people drove the bill, and what did that spend produce. Teams answering both questions run their existing LiteLLM setup and feed it into Weave, where gateway cost data, provider billing, and seat costs land in one labeled report with per-engineer and per-team attribution and a cost-per-output view beside it.

The teams that win in the agent era will not be the ones spending the most on AI. They will be the ones who know exactly what every dollar of AI spend returned, team by team and engineer by engineer. Start with one complete billing period, reconcile the billed total, and get started with Weave so your next budget conversation runs on data instead of guesswork.

Related Articles