1
0 Comments

The most expensive part of my AI workflow was not the prompt. It was the retry loop.

While building TokenBar, I noticed something annoying about my own dev workflow.

I kept treating token usage like a pricing problem.

But a lot of my spend was really a retry problem.

A chat would get bloated. The task would get fuzzier. The model would miss once, then I would clarify, rerun, paste in more logs, switch models, and try again.

The original prompt was not that expensive.

The loop was.

That changed how I think about context windows.

Bigger context windows are useful, but they also make it easier to keep a mediocre session alive for too long. You can keep stuffing in code, tool output, and old decisions instead of resetting the conversation and stating the task cleanly.

What helped me was seeing token usage live while I worked.

Not because I obsess over every cent.

Because the meter became a workflow signal.

If token usage jumped fast while progress stayed flat, it usually meant one of three things:

  1. I was dragging too much stale context forward
  2. I was using a bigger model before the task really needed it
  3. I was in a retry loop and should restart with a cleaner prompt

That is the behavior change I wanted, and it is a big part of why I built TokenBar for macOS.

Live token visibility has been more useful for debugging my workflow than any after-the-fact spend report.

https://tokenbar.site/

on May 10, 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 102 comments Drop your landing page URL. I'll use Ferguson to tell you why visitors might be leaving User Avatar 64 comments AI helped me ship faster. Then I forgot what my product actually does. User Avatar 40 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