Find the waste. Test the fixes. Keep the savings.

metermaid finds avoidable cost across your agent workflows — repeated calls, oversized tool output, restarts, missed caching, the wrong model on the wrong task — helps your engineers test the fixes, and measures what changed. Start with a free audit that never leaves your machine.

341,054 public agent runs16 model labels4 frameworksOpen source, keys and traces stay local
Ticket · examplefrom 20,000 public runs

Oversized tool output, re-sent every step. 55% of SWE-agent runs on Open-SWE v1.1 carry a single tool result over 20,000 characters. The same tasks on a bash-only scaffold: 0.1%.

Proposed fixBound tool output
OwnerPlatform engineer
StatusProposed
Every finding becomes a ticket: evidence, a proposed fix, an owner, and a result once it has been tested. This one is from the public Index; yours come from your own runs. See a full sample report.

Agent spend lands in four buckets. You only want to pay for one.

metermaid produces this split for every task type from your own billing data and traces, joined to outcomes. The shares here are measured on one group of the Index — Qwen3-Coder-480B on OpenHands, 20,000 public runs, cached pricing basis. Yours will differ, and that difference is where the money is.

46%
5%
17%
32%
The rest

The first four fifths of runs, minus the waste below. Where nearly all the resolved tasks are, and the only bucket you want to be paying for.

Mechanical waste

Loops, blind retries, oversized tool output re-sent every step. 4% of estimated spend across the whole Index — cheap to find, cheap to fix, and the first thing we show you.

Failed runs

Hit a cap, exhausted context, cut off mid-call. Produced nothing. 0% in the curated Claude training sets, 55% for GPT-4o under a 30-step cap, 98% for a 1.7B model.

Low-yield tail

The longest fifth of runs: 21–72% of a group's estimated spend, returning 8–285× fewer resolved tasks per dollar than the shortest fifth.

The three waste shares are measured separately and can overlap slightly — a long run can also be a failed run — so the bar draws them as disjoint and the first bucket is the remainder. On your own data the split is exclusive, computed per run.

The Agent Waste Index

What 341,054 public agent runs across 11 datasets, from 2024 Llama agents to Claude 3.7 Sonnet, say about where the money goes. Public, reproducible, every retraction and correction included — five so far.

40%

of estimated spend goes to the longest fifth of runs across the whole set (37% under cached pricing) — 50% for the median group, and up to 72% in a single one. Resolve falls from the shortest fifth to the longest in 17 of the 18 groups that carry resolve labels — to well under half the rate at the median (0.42×), and anywhere from 0.15× to 0.91× by group.

<1.5%

of Claude 3.7 Sonnet and Qwen3-Coder-480B runs loop or blindly retry. In 2024-era open models it was 9–31%. The classic failure is a weak-model problem now.

0.1 vs 55%

of runs dragging oversized tool output, same trace version, same tasks: bash-only scaffold vs SWE-agent. The bash-only one also resolves 30% against 53%: cheaper per solved task, far fewer solved.

4% 8% 13% 24% 51% 59%46%37%28%19% shortest fifthlongest fifthruns by length share of spend resolve rate

Claude 3.7 Sonnet, 14,374 runs, uncached basis. Resolve falls from the shortest to the longest fifth in 17 of the 18 groups that carry resolve labels — Claude 3.5, Qwen3-Coder, Llama, Open-SWE v1.0, v1.1 and v1.2. The exception is GPT-4o under a 30-step cap, whose shortest runs resolve nothing at all.

What it means

Success rates fall steadily as runs get longer, while every step costs more than the last because the context grows. By the last fifth of a run, a dollar buys between an eighth and a 285th of what the first dollar bought, depending on the model.

Most teams set a hard step cap or none, and almost none measures the trade-off. A cap still pays for every step up to the cap, so it is a test to run, not a saving to assume. The free audit computes this curve from your own runs; the pilot tests the fixes it points at.

Read the full Index

Connect, decompose, fix, verify.

One workflow, your own data, a measured result.

  1. Connect billing, traces, and outcomes

    Read-only admin keys for Anthropic and OpenAI, run from your own machine. Trace files from SWE-agent, mini-swe-agent, OpenHands, or plain message lists. Outcomes from whatever your workflow already records: a test result, a merge, one boolean per run. Nothing is uploaded unless you send share.json.

  2. Decompose spend into the four buckets

    Cost per successful task with every attempt counted, restarts included. Your resolve-by-length curve. Failed-run cost. Where oversized tool output is being re-sent, where retries repeat the same failing call, where caching is missed. Spend nobody owns.

  3. Test the fixes, with the trade-off shown

    Up to three changes chosen for your workflow: bounded tool output, retry recovery, prompt caching, restart reuse, and batch or model experiments where your data says they are worth it. Your engineers make the change; we prepare it when that helps.

  4. Verify the result

    Baseline against each fix and the combined configuration, on the same tasks, with quality, coverage and uncertainty shown. Individual fixes are never added up: the combined number is the claim, and a negative or inconclusive result is reported as one.

For finance and operators

The line item gets line items.

  • Spend by agent, key, and owner across Anthropic and OpenAI, including the spend nobody owns.
  • Cost per successful task, restarts included, checked against the provider's own cost report.
  • A savings record after each verified fix: gross, net of what the fix costs to run, and whether it held at the next check.
  • The question to start with: what share of last month's agent spend produced nothing? If nobody can answer, that is the finding.
For engineers and heads of AI

Instrument for outcome and length, not loops.

  • Resolve-by-length curves per task type and the expected value of each additional step.
  • Scaffold and model comparisons on cost, not only capability. Oversized tool output is the most common scaffold-level waste in the data, and the easiest to bound.
  • Detectors as diagnostics: loops, blind retries, context bloat, caps killing runs, unbounded tool results.
  • Fixes as diffs and config changes your team reviews and ships. We prepare them when that helps; we never merge for you.

Free to look. Paid to fix, and to keep it fixed.

The audit and the Index pipeline are open source and stay that way. You pay for the pilot that tests fixes on your workflow and measures the result, and for the checks that keep the savings when models, prompts and scaffolds change.

Free Local Audit
$0
Anyone with trace files or an admin key.
  • Spend audit against your Anthropic and OpenAI admin APIs, read-only, from your machine
  • Trace audit: loops, blind retries, oversized tool output, restarts, runs that ended without a result
  • Your run-length curve and your position against 341,054 public runs
  • Nothing leaves your machine unless you send share.json
Optimization Pilot Start here
$3,000–$5,000fixed. One workflow, four weeks once the data is ready.
Engineering teams with one workflow worth fixing.
  • A cost and outcome baseline, with coverage stated
  • Up to three fixes chosen for your workflow, ranked by expected dollars, evidence and effort
  • Each fix and the combined configuration measured against the baseline on the same tasks, quality included
  • $3,000 when your engineers implement; $5,000 when we do substantial implementation

What the report looks like

Continuous Review
From $1,000per month, by workflow count and volume.
Teams that want the savings to survive the next model change.
  • Repeat checks weekly and after each release or model change
  • Regression alerts against your verified baseline, with an owner and a next step
  • Savings history: gross, net of overhead, and whether it held
  • Limited triage; larger engineering work scoped separately

We recommend the pilot only when the free audit finds an opportunity worth several times its price, and continuous review only when the verified saving is several times the fee. If neither is true we say so, and you keep the audit.

Get your audit.

Run it yourself and nothing leaves your machine. Send us share.json, the allowlisted export with pseudonymised ids and no commands or run ids, and we come back with the findings, your run-length curve, and where you sit against 341,054 public runs. Or leave your email and we set the audit up with you.

One reply from a person. No newsletter. Nothing leaves your machine unless you send share.json.

# clone and install
git clone https://github.com/metermaidai/audit
cd audit && pip install requests

# spend audit: read-only admin API, runs locally
export ANTHROPIC_ADMIN_KEY=sk-ant-admin-...
python metermaid_audit.py --share

# trace audit: loops, retries, big output, restarts
python trajectory_audit.py ./your-traces --share

# share.json is the only file meant to leave your machine

Questions we already get

Does any of my data leave my machine?

Not with the CLI. It reads your provider's admin API or your trace files locally and writes a report to disk. The only file meant to leave your machine is share.json, built by allowlist: totals, shares, per-detector counts and pseudonymised ids, never run ids, commands, prompts, tool output, or owner emails. It lists inside itself what it never contains, and the tool prints what it holds before writing it.

Why is the audit free if that's where the findings come from?

Because finding is the easy part. The pilot is where the value is: a baseline, up to three fixes tested on your workflow, and the combined result measured with quality included. Continuous review is for keeping those savings when models, prompts and scaffolds change. If one audit fixes your problem for good, you weren't a customer, and we're glad it helped.

The Index stops at Claude 3.7 and GPT-4o. What about current frontier models?

Those are the strongest models in the set that carry outcome labels, alongside Qwen3-Coder-480B. Newer entries arrive without them: gpt-5-nano has no resolve labels, and the 120,000 Open-SWE runs carry no model attribution on the dataset card at all, so we label them by trace version rather than guess. Leaderboard and academic trace archives for newer models are access-restricted. The patterns hold from a 1.7B model to Claude 3.7 Sonnet, which is why we expect them to hold, but that is an expectation. Contributed production runs are how the next edition gets there.

Isn't this just a tracing tool or a FinOps tool?

Tracing tools show engineers calls, tokens, and latency. FinOps tools show finance the invoice. Neither ties cost to a completed task with every attempt counted, and neither tests a fix against a baseline on the same tasks. metermaid reads trace files those tools can export and does the comparison.

Are the dollar figures in the Index real?

No, and every table says so. Public datasets carry no per-run cost, so dollars are estimated from characters at Sonnet-class rates. The percentages and orderings are what we stand behind. Your own audit prices from your traces' recorded cost or your provider's usage and a dated rate card, and says which.