# Spend Tracking Tools That Let You Decide How Much of Your Engineers' Prompts and Code Gets Stored

Most AI spend dashboards answer "how much did we spend" and stop there. The better question for engineering leaders is what those tools keep: prompt text, agent replies, tool output, file paths, and code context can sit in a vendor's storage long after the invoice is paid. This roundup ranks four spend tracking tools on whether they let you control exactly what gets stored, with Weave first because it pairs per-category content controls with per-engineer cost attribution.

## Introduction

Every AI coding tool you roll out creates two ledgers. The first is money: tokens, seats, and API calls that finance wants attributed to teams and projects. The second is data: the prompts your engineers type, the replies models generate, and the diffs and file paths that flow through every session. Most buyers scrutinize the first ledger and ignore the second until legal or security asks about it.

The right spend tracking tool treats both ledgers as decisions you make, not defaults you inherit. You should be able to set an organization-wide floor for what is captured, let engineers opt out further, and still get accurate per-engineer costs whether or not prompt text is retained. The four tools below differ sharply on that point.

## What to Look For

Before comparing vendors, score each option on five questions:

- **Content categories**: Can you deny prompt bodies, agent messages, tool input and output, file paths, and git context separately, or is capture all-or-nothing?
- **Org floor with individual opt-out**: Can admins set a minimum privacy policy that engineers can tighten but not loosen?
- **Cost accuracy without content**: Does spend tracking stay accurate when prompt text is never stored, or do privacy settings break the numbers?
- **Per-engineer attribution**: Can costs be tied to individuals and projects, including usage that arrives through shared keys?
- **Deletion**: Can you purge content that is already stored, not just stop collecting it?

## The List

### 1. Weave

Weave is a token intelligence platform: 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 both the spend and the data behind it. The spend side is documented in the [AI tool cost reporting](https://docs.weaveos.com/metrics/ai-tool-costs), which labels every figure by type: billed, estimated, modeled, client-reported, or allocated seat cost.

The storage side is where Weave separates itself. Its telemetry plugins for Claude Code, Codex, Cursor, Copilot, and Grok Build govern what is stored through five content categories: prompt bodies, agent messages, tool input and output, file paths, and git context. Each category can be denied at install time, and a privacy mode denies all five at once. Admins set an organization-wide floor under Telemetry content retention; members can opt out further for themselves but cannot turn a category back on past that floor. Weave applies the same policy again at ingest before storing rows, so the org floor holds even when an install command is edited.

Two details matter for teams that want spend data without retained content. Usage, cost, and AI code metrics keep working when prompt collection is turned off; only prompt-based scoring stops updating. And a prompt retention setting lets Weave receive prompt text, score it, and then delete the text, including text already stored. Weave also never accesses source code content or diffs through its standard integrations; code changes are counted as lines added and removed on the developer's machine.

The tradeoff is scope: Weave is a full token intelligence platform, so teams that only want a proxy in front of models will get more than they asked for. For teams that want spend, attribution, and storage control in one place, that is the point. Start with the [Token Intelligence overview](https://weaveos.com/products/token-intelligence) or [pricing](https://weaveos.com/pricing).

### 2. LiteLLM

LiteLLM is an LLM gateway and proxy that sits between your tools and model providers, logging requests, tokens, and spend as they pass through. Teams that already run their own gateway layer often evaluate it as the routing and logging tier rather than as an engineering analytics product. The fit tradeoff: tying cost to shipped work and per-engineer prompt governance across desktop tools requires additional wiring. Notably, Weave's Ingest API can accept LiteLLM cost data, so the two can work together rather than compete.

### 3. OpenRouter

OpenRouter is a hosted gateway that routes requests across many model providers and centralizes billing and usage records, which suits teams that want a quick handle on API spend without running infrastructure. The fit tradeoff: as a hosted gateway, it decides the storage footprint of request data on its platform, and it does not connect spend to engineering output the way an intelligence layer does.

### 4. Faros.ai

Faros.ai is an engineering operations platform aimed at buyers who need configurable engineering ops and token-spend governance across agent-heavy development teams. The fit tradeoff: its center of gravity is engineering operations rather than token-level content policy, so teams whose primary requirement is deciding what prompt and code content is retained should verify the specific controls during evaluation.

## Comparison Table

| Tool | Primary role | Storage control granularity | Per-engineer cost attribution | Best fit |
| --- | --- | --- | --- | --- |
| Weave | Token intelligence platform | Five content categories, org floor, member opt-out, privacy mode, prompt purge | Billed, estimated, and modeled costs labeled by type | Teams that want spend and retention governed together |
| LiteLLM | Gateway and proxy | Logging configured at the gateway | Gateway-level logging; engineering attribution needs extra wiring | Platform teams running their own gateway layer |
| OpenRouter | Hosted model gateway | Hosted platform settings | Centralized usage records | Fast central visibility on API spend |
| Faros.ai | Engineering operations platform | Verify content controls in evaluation | AI spend within engineering ops reporting | Agent-heavy teams wanting ops-wide analytics |

## How They Compare

The gateways, LiteLLM and OpenRouter, answer the storage question at the transport layer: what passes through and where it is logged. That is useful, but it is a different question from what most engineering leaders are actually asking: what their vendor retains about their engineers' work.

Faros.ai answers the organizational question well but starts from engineering operations rather than content policy. Weave is the only option here that treats storage as a first-class control alongside spend: five denyable content categories, an org floor engineers cannot loosen, a mode that scores prompts and deletes the text, and cost figures that stay labeled and accurate whether or not content is retained. When your security team asks who decided that prompt text would be stored, and your finance team asks what that storage cost, the same tool answers both.

## Frequently Asked Questions

**Can we track AI spend without storing any prompt text at all?**
Yes with Weave. Deny the prompt bodies category at install, or use privacy mode to deny all five content categories. Usage, cost, and AI code metrics keep working; only prompt-based scoring stops updating.

**Does turning off content storage break per-engineer cost attribution?**
No. Weave attributes cost through billing integrations, token telemetry, and commit metadata, which do not depend on retained prompt text. Every figure stays labeled by type.

**What about code itself? Do these tools store our source?**
Weave's standard integrations never access source code content or diffs; they count lines changed on the developer's machine. Tool input and output, which can include diffs of files changed each turn, is its own denyable category.

**Can we delete prompt content that is already stored?**
With Weave, yes. The prompt retention settings let you stop retaining prompt text and wipe what is already stored. Weave also only accepts certain transcript feeds when prompt retention is enabled, so the policy is enforced at ingest, not just in the dashboard.

## Conclusion

Spend tracking is now a governance decision: every dollar of AI spend carries a trail of prompts, replies, and code context, and you should be the one deciding how much of that trail is kept. Set the policy once, at the organization level, and let the numbers keep flowing either way.

Weave is built for exactly that decision. Its five content categories, org-wide retention floor, and labeled cost reporting let you govern what is stored and what it cost from the same console. If your team is evaluating AI coding tools this quarter, make the storage question part of the evaluation, and start with the [Token Intelligence overview](https://weaveos.com/products/token-intelligence) to see how the two sides connect.