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've been building for months and made $0. Here's the honest psychological reason — and it's not what I expected. User Avatar 177 comments 7 years in agency, 200+ B2B campaigns, now building Outbound Glow User Avatar 79 comments This system tells you what’s working in your startup — every week User Avatar 53 comments 11 Weeks Ago I Had 0 Users. Now VIDI Has Reviewed $10M+ in Contracts - and I’m Opening a Small SAFE Round User Avatar 46 comments The "Book a Demo" Button Was Killing My Pipeline. Here's What I Replaced It With. User Avatar 39 comments I built a desktop app to move files between cloud providers without subscriptions or CLI User Avatar 24 comments