1
0 Comments

The hidden cost of AI coding is context you forgot to remove

One thing I keep noticing in AI coding sessions: the expensive part is not always the hard prompt.

It is the old context that keeps riding along after it stops being useful.

A few examples:

  • terminal logs from a bug that is already fixed
  • files pasted in because they were useful 30 minutes ago
  • summaries that compress confusion instead of clarity
  • retry loops where the model is solving yesterday's version of the task
  • staying on a bigger model because restarting feels slower

The problem is that this waste is invisible while you are working. By the time you check a dashboard or invoice, the behavior already happened.

That is why I built TokenBar as a tiny macOS menu bar token counter. I wanted the AI session to have something closer to a speedometer.

Not because every token is bad. Tokens are useful when they move the task forward.

But when the count keeps climbing and the answer is not getting clearer, that is usually a workflow signal:

  • restart with a cleaner brief
  • trim stale context
  • switch back to a cheaper model
  • stop asking the same fuzzy question in five different ways

The useful metric is not just total spend. It is tokens per useful step.

If you build with AI every day, live token visibility changes the moment you decide to reset the session.

TokenBar: https://tokenbar.site/

on May 11, 2026
Trending on Indie Hackers
I Was Picking the Wrong SaaS Tools for Two Years. Here's the Mistake I Finally Figured Out. User Avatar 117 comments Drop your landing page URL. I'll use Ferguson to tell you why visitors might be leaving User Avatar 66 comments Most early-stage SaaS companies miss churn signals — here’s how to catch them early User Avatar 31 comments Why Remote Teams Stop Talking (And Don't Even Notice It) User Avatar 23 comments How I Run a 1.7M Product Search Engine at 66ms on a $0 Hosting Budget User Avatar 19 comments Built a local-first Amazon profit-by-SKU + QuickBooks/Xero journal tool. Looking for founding users. User Avatar 13 comments