Know what every agent PR cost, and whether it behaved.
One receipt per pull request: what it cost, how long the agent worked, and which rules it kept.
Counts and timings only. No prompts, code or file paths.
- CostWhat the branch spent, with the tokens behind it.
- TimeHow long the agent worked, and how many calls failed.
- RulesWhich rules it kept, and the one it broke.
See a pull request get built
An agent works, the pull request gets its receipt, and the month stays on budget.
How a receipt is made. From the branch to one short receipt.
- 01Work as usualYour agent opens a branch and a pull request the way it does today. Nothing to tag or install per repo.
- 02Earlyman adds it upCost, tokens, sessions, agent time, failed calls and rule checks are gathered from the logs your agent already keeps.
- 03Read one receiptEach pull request gets one short receipt you can check before you merge.
Open a pull request to see its receipt.
The real layout, with sample data. Nothing you click is sent or saved.
Good morning. 4 things need you. Most urgent: a stuck agent is still costing money.
- An agent has made no progress for 2 hA tool call is still pending. Stop it or start it again.$3.10 / h
- PR #214 broke a rule: force push to mainBlocked before it ran. The agent carried on.1 rule
- Search subagents run on the largest model418 of 483 this week. A smaller model is enough for search.−$38 / week
- This session has run for 9 hHand off to a fresh session to stop paying for old context.−$6 / day
All caught up.
-
Tokens2.4MSessions2ModelOpusRuleforce push to main · blocked
-
Tokens910kSessions1ModelSonnetRulesall kept
-
Tokens7.1MSessions7ModelOpusRulesall kept
-
Tokens380kSessions1ModelHaikuRulesall kept
Click a pull request to open its receipt.
- checkout-retryOpusstuck 2 h$3.10 / h
- invoice-exportSonnetrunning$1.20 / h
- search-docsOpusrunning$2.40 / h
- test-fixerHaikurunning$0.18 / h
- 8 moremixeddone$0.00 / h
- No force push to mainblocked PR #2141 hit
- No secrets in commits0 hits
- Ask before deleting files3 hits
- Stop an agent idle for 30 m2 hits
3 of 4 rules on.
Last 7 days · $126 · busiest Thursday, $31
- Opus54 %$71.40
- Sonnet31 %$18.90
- Haiku11 %$1.30
- Local 8B4 %$0.00
A smaller model is enough for 418 search calls on Opus this week. Move them to Haiku: −$38 / week
Questions
Does a receipt include my code or prompts?
No. A receipt holds counts and timings only: money, tokens, time, failures and which rules held. No prompts, code or file paths.
How exact is the cost?
It is an estimate from the token counts in your logs and the public price of each model, and it is marked as one.
Which agents does it cover?
Claude Code today. Other coding agents are on the roadmap.