4 minute read

If you pay for one AI coding plan, your problem is simple: don’t hit zero before Tuesday.

If you pay for three—Claude, Codex, and Antigravity—you don’t actually have three meters. You have at least four weekly clocks (because Antigravity meters Gemini and Claude/GPT separately), three five-hour burst windows, and an optional pile of banked reset credits with their own expiration dates. None of them roll over. Anything left at 11:59 PM on reset day vanishes; anything pushed past 100% forty-eight hours early stalls your week.

For months I handled that in my head. Open a terminal, remember that Claude was tight from yesterday’s subagent run, guess whether Codex /fast was still turned on, switch Antigravity from a heavy planner model down to gemini-4-neon at medium effort so implementation would move faster and sip quota, then forget to switch back when an architectural problem showed up. Every ten minutes I was making a tiny routing decision that had nothing to do with the code I was writing.

The weekly window is the real price

API-equivalent dollars ($10.2k across 36.71B tokens, 140,330 turns, 2,665 sessions, and 98.3% cache reuse in a recent 30-day snapshot) are a useful ruler for comparing volume across months. They are a terrible way to steer Tuesday afternoon.

Inside a fixed subscription, an unused 40% on a window resetting in fourteen hours has zero salvage value, while the last 15% on a window with four days left is precious. What matters is usable allowance divided by hours remaining, weighted by whether a five-hour burst cap is about to trip first.

Once aispend.live could read all three providers locally—Claude’s usage endpoint, Codex’s account/rateLimits/read RPC (including banked reset inventory), and agy --print /usage—the obvious embarrassment showed up immediately: the dashboard knew which subscription had expiring surplus and which one was running hot, and it still expected me to copy-paste commands by hand.

(Along the way, we also caught a subtle live collector bug: untouched 100% rolling quotas in agy --print /usage reported 1970-01-01T00:00:00Z—Unix epoch 0—which threw Invalid reset or observation time and hid wide-open AGY Gemini and Claude/GPT allowances until we fixed the parser.)

Plan on Frontier, build on a workhorse, verify somewhere else

The biggest waste in my own logs wasn’t bad prompts. It was leaving a frontier model with high reasoning effort turned on after the hard thinking was already over.

Most real engineering work breaks cleanly into four roles:

  1. Orchestrator (Plan & Design): Deciding module boundaries, diagnosing a subtle race, writing a spec. Needs a frontier tier (Carbon, Opus, Fable, Sol) at high effort—usually 10–15% of turns.
  2. Implementor (Build Fast): Turning an agreed plan into ten clean edits and passing tests. Needs a fast, balanced workhorse (gemini-4-neon-medium, gpt-6.1-terra, claude-sonnet) on whichever open quota has the highest reset urgency. Runs 70–80% of volume, moves twice as fast, and burns expiring surplus first.
  3. Verifier (Test & Review): Reading diffs, running suites, checking edge cases on a different open subscription from the implementor so verification neither drains the primary coding meter nor rubber-stamps its own blind spots.
  4. Grunt (Mechanical): Docs, formatting, version bumps, search on Flash, Luna, or Haiku at low effort.
1
2
3
4
5
6
7
8
# Live cross-provider check + Surface Verdict (Native CLI vs Pi Guard)
npm run check -- --live

# 24h vs 7-day Efficiency Scorecard + 7-detector waste audit
npm run waste

# Print or launch the optimal native CLI / Pi Guard command for a work profile
npm run launch -- --live --mode teamwork

Here is a real npm run check -- --live readout from the local collectors:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
AI SPEND LIVE | Multi-Subscription Check-In (Direct live collectors · 2026-11-30 07:07:05Z)
[ACCELERATE] Run AGY /swarm (54% Gemini · 100% Claude/GPT open) · hold Claude (40h to reset)
Order: AGY > Codex > Claude  |  Next unlock: Codex Weekly limit resets in 11h

Antigravity (AGY)  [SURPLUS]    54% left  resets in 3d 10h  safe 12.9%/day
  Gemini weekly          [###########---------]  54% left  resets in 3d 10h
  Claude/GPT weekly      [####################] 100% left  resets in 7d
Codex              [EXHAUSTED]   0% left  resets in 11h     1 banked reset
Claude             [EXHAUSTED]   0% left  resets in 40h

Auto-Role Split (Plan Frontier · Build Fast · Cross-Verify)
  [ORCHESTRATOR] AGY Gemini     · gemini-4-carbon-high
  [IMPLEMENTOR]  AGY Gemini     · gemini-4-neon-medium
  [VERIFIER]     AGY Claude/GPT · claude-sonnet-5-medium

No LLM sits in the middle deciding any of this. It is plain arithmetic over timestamps and percentages on 127.0.0.1.

Proving a workflow got cheaper without lying to yourself

It is embarrassingly easy to build a “cost optimizer” chart that always goes up and to the right by multiplying blocked requests by an imaginary price. Instead, npm run waste compares your last 24 hours against your prior 7-day baseline using four ratios that hold up even when workday length changes:

  • Mean & Median Tokens per Turn (24h vs 7d): In a live local run, 24h usage dropped to 169,704 tokens/turn vs 179,432 tokens/turn on the 7-day baseline (5.4% leaner).
  • Preventable Waste Share (% of tokens): Tokens spent in >150k context streaks, above Codex’s 272k 2x cliff, or in /fast + xhigh on tiny <400-output turns—down to 30.1% (-6 percentage points) in that same 24h window.
  • Workhorse vs. Frontier Mix (%): Keeping frontier models around 15–30% for planning and hard debugging while workhorses carry the rest.
  • Captured Allowance at Reset (%): Optimizing isn’t hoarding; leaving 65% of a paid plan unspent at reset is just another kind of waste.
1
2
3
4
5
6
7
8
Token Efficiency & Leak Audit (Score: 60/100)
  Proof: 24h vs 7d baseline: 169,704 tok/turn (5.4% leaner than 7d avg 179,432) · preventable waste 30.1% (-6 pts)
  [HIGH LEAK] Context gravity in 166 long sessions  -> /clear
              166 sessions replayed >150k tokens for 5+ consecutive turns (3,000,469,924 tok).
  [MED LEAK]  Overpowered speed/effort on 837 small routine turns  -> /effort medium
              837 short turns (<400 output tok) ran with /fast or xhigh/max effort (229,681,324 tok).
  [LOW LEAK]  90% of 24h tokens ran on Frontier models instead of workhorses  -> npm run launch -- --role implementor
              Frontier models (Opus/Fable/Sol/Carbon) carried 90% of volume; workhorses carried 10%.

Everything stays local-only, plain Node with zero dependencies, and privacy-by-construction. You can explore the public aggregate demo and deterministic Guard playground at aispend.live.

Details

Published: