agent-cost-audit · monthly report

This machine spent $4,410.12 on AI coding in the last 30 days.

Daily spend bars, model side-by-side, top-5 expensive projects, and three paste-ready waste-cleanup findings — everything below is produced by the open-source codeburn CLI reading session files on the local disk. No API keys, no proxies, no remote service.

Period: Last 30 Days · Currency: USD · Sessions: 2,110 · API calls: 37,844 codeburn report · generated 2026-06-11
real 30-day codeburn output · project paths anonymized to workspace-NNN; all $ / token / call / session / one-shot-rate values are unmodified codeburn output (none hand-typed)
Total cost
$4,410.12
37,844 API calls across 2,110 sessions
Output tokens
29.4M
3.98B cache-read · 199M cache-write
Cache hit
100%
Cache-read share of total input volume
Net spend
$4,410.12
After proxy / subscription credits ($0.00 saved)

Daily spend · 30 days

05-22$505-23$605-24$5805-25$605-26$10905-27$12105-28$23305-29$46905-30$22205-31$14006-01$15706-02$31806-03$26106-04$42106-05$22906-06$19506-07$26006-08$27306-09$21306-10$26906-11$432
≥ 60% of peak 30 – 60% < 30%

Cost by model

ModelCostCallsEdit turnsOne-shot$ / edit
Opus 4.7$3,340.9125,06836171.2%$9.25
Opus 4.8$829.385,08920595.6%$4.05
Sonnet 4.6$194.053,9832882.1%$6.93
Haiku 4.5$45.453,5879851.0%$0.46
GPT-5.5$0.3360$0.33

Top 5 expensive projects

workspace-001$106.46445 calls · 1 sess
workspace-002$96.61371 calls · 1 sess
workspace-003$95.24465 calls · 1 sess
workspace-004$84.67457 calls · 1 sess
workspace-005$63.64406 calls · 2 sess

Top 5 highest-cost sessions

ProjectDateCostCallsSession
workspace-0012026-06-03$106.46445sess-3ff4d836
workspace-0022026-06-07$96.61371sess-192682a9
workspace-0032026-06-03$95.24465sess-f5d897e7
workspace-0042026-06-08$84.67457sess-0e1a475f
workspace-0062026-06-02$63.30329sess-1d6df6a9

codeburn optimize — paste-ready waste-cleanup findings

01

Claude edits more than it reads

High

Claude made 3148 reads and 3242 edits (ratio 1.0:1). A healthy ratio is 4+ reads per edit. Editing without reading leads to retries and wasted tokens.

Potential savings · ~5.9M tokens (~$4.35)

Before editing any file, read it first. Before modifying a function, grep for all callers. Research before you edit.
02

114 possibly low-worth expensive sessions

High

Sessions with meaningful spend but weak delivery signals: workspace-001/sess-3ff4d836 on 2026-06-03: $106.46 (12 retries); workspace-002/sess-192682a9 on 2026-06-07: $96.61 (7 retries); workspace-003/sess-f5d897e7 on 2026-06-03: $95.24 (10 retries); workspace-004/sess-0e1a475f on 2026-06-08: $84.67 (20 retries, no one-shot edit turns); workspace-006/sess-1d6df6a9 on 2026-06-02: $63.30 (12 retries)

Potential savings · ~1823.8M tokens (~$1346.83)

Before continuing, name the deliverable in one sentence (PR title, file changed, command output you expect). Stop and check with me if (a) you spend more than 10 minutes without an edit, or (b) the same approach fails twice. Do not retry past two attempts on any single fix.
03

167 context-heavy sessions

High

Effective input/cache tokens swamp output in these sessions: workspace-007/sess-3f4f7dbd on 2026-06-05: 9.7M effective input/cache vs 185.7K output (52.4:1); workspace-015/sess-034bc6c0 on 2026-06-08: 6.5M effective input/cache vs 145.0K output (44.9:1); workspace-005/sess-524c68a6 on 2026-06-01: 6.5M effective input/cache vs 172.5K output (37.5:1); workspace-031/sess-9fecf7f1 on 2026-06-05: 4.3M

Potential savings · ~79.6M tokens (~$58.75)

Start fresh before continuing. Use only the current goal, the relevant files, the failing command/output, and the constraints below. Restate the working context in under 10 bullets before editing.
04

38 high-cost session outliers

High

Sessions costing more than 2x their peer-session average in the same project: workspace-051/sess-b003a67c on 2026-05-29: $13.43 (4.4x avg); workspace-062/sess-2b2698be on 2026-05-29: $9.12 (4.2x avg); workspace-064/sess-36599d9b on 2026-05-28: $8.26 (5.6x avg); workspace-033/sess-5c916e2a on 2026-05-24: $6.88 (2.1x avg); workspace-105/sess-456b17bf on 2026-05-28: $4.57 (8.6x avg); +33 more. These

Potential savings · ~69.7M tokens (~$51.48)

Before making changes, summarize the smallest viable plan. Keep context narrow, avoid broad searches, and stop after the first working patch so I can review before continuing.
05

Claude is re-reading the same files

High

762 redundant re-reads across sessions. Top repeats: courses.ts (355x), example-tasks.ts (82x), learn-courses.test.ts (54x). Each re-read loads the same content into context again.

Potential savings · ~457.2K tokens (~$0.338)