Auditing 505.8M tokens: subagents are cheap, cold cache wakeups are what kill your bill

Adorable-Cost-3249 · reddit · 2026-11-12

The author audited step-level token logs across 68 real conversations (4,894 model steps, 505.8M gross tokens) in a local-first personal-assistant workspace (agy-hq on Google Antigravity + a zero-dependency Go helper) to test whether background subagents inflate costs — and found the opposite:

Fixes: an automatic 160k context watermark nudging /compact cut wakeup costs from 252k to 27k tokens (-89.2%); a Go-capped ≤80-line MEMORY.md index preserves long-term context. Other patterns: a PreToolUse hook capping the main chat at 3 read-only checks per turn, model right-sizing (Flash for quick checks, deep reasoning models in isolated git worktrees), tainted-session quarantine with 1-tap SHA-256 approval cards on phone, and 9 standalone ≤150-line SKILL.md files. The full workspace template and Go helper are open-sourced under Apache 2.0 with a 60-second --demo sandbox.

Original post →

More from coding & agent

coding & agent channel →