Juraj Blahunka

Claude Max is worth 24x what I pay, and I was wasting most of it

7 min read

I added up every token in my Claude Code sessions from the last 30 days and priced them at Anthropic’s API rates. It came to $2,463. I’m on Claude Max, which costs $100 a month.

That sounds like a bargain, and it is one. Then I lined the same numbers up with my weekly resets:

Week (reset to reset) At API prices Weekly limit used, roughly
Oct 24 - Oct 31 $110 7%
Oct 31 - Nov 7 $144 9%
Nov 7 - Nov 14 $275 18%
Nov 14 - Nov 21 $1,212 79%

One heavy week and three idle ones. At API prices, about $4,390 of allowance expired in that month without doing anything.

Check yours, then read on for how I measured it and what I changed:

Read my sessions in ~/.claude/projects. Add up the tokens per model for the last 30 days, counting each message id once, including cache reads and both kinds of cache writes, and price them at current API rates. Break it down by week.

Why the weeks matter

Max gives you a 5-hour limit and a weekly limit. The weekly one resets at a fixed time each week, and you start every week with the full allowance again. Whatever you didn’t use by reset day doesn’t help you the next week.

/usage in Claude Code shows how much of the week you’ve used. It doesn’t show how much of the week has passed, so 39% looks fine on its own. On a Tuesday it’s fine. On a Thursday evening it means most of the week is about to expire.

How I measured it

Claude Code keeps every session as a JSONL file in ~/.claude/projects. Each assistant message carries a usage block with its token counts: input, output, cache reads, and cache writes split into 5-minute and 1-hour writes.

I summed those per model, counting each message id once, and priced each token type with Anthropic’s pricing page:

Per million tokens Input 5m cache write 1h cache write Cache read Output
Opus 5.5 $4 $5 $8 $0.20 $20
Sonnet 5.5 $2 $2.50 $4 $0.10 $10
Haiku 5.5 $0.10 $0.125 $0.20 $0.01 $0.50

Haiku 5.5 costs 5x for any request whose prompt is over 100K tokens, and I priced those requests that way. Almost all of it is Opus: $2,436 of the $2,463. Most of that is cache reads, because every turn of a long session reads the whole conversation back from the cache.

Two things surprised me on the way. Claude Code writes almost all of its Opus cache with the 1-hour lifetime, which costs 2x input, not 1.25x. My first estimate assumed the cheaper one and came out about $250 too low. And the same message shows up in a transcript more than once: my last 30 days have 69,254 usage entries for 30,043 messages. A straight sum more than doubles the cost, so count each message id once.

The weekly percentages are an estimate. This week /usage showed 47% used, and my sessions this week came to $721 at API prices, so a full week is worth roughly $1,535 to me. I divided each past week by that. It assumes the plan limit tracks API cost, which is close enough when almost everything is Opus, but Anthropic doesn’t publish how the limit is counted.

A status bar that shows the pace

I run my agents in Herdr, a desktop app for terminals and coding agents. Its whole interface is files: layouts, keys and panels live in ~/.config/herdr-app, and the window redraws itself when they change. A mod is a small JavaScript file that draws one part of the window. I wrote two for the status bar, next to each other.

Claude plan usage. Every two minutes, a short shell script reads the login Claude Code keeps in the macOS keychain and asks Anthropic for the same plan usage /usage shows. The mod draws a bar for the 5-hour window and one for the week, and next to the weekly bar, how far I am over or under an even pace:

5h ▬▬▬ 32%   wk ▬▬▬▬ 47% (-3)

Pace is the percentage used minus the percentage of the week gone. -3 means I’m 3 points behind spending the week evenly. The tooltip adds where the week ends at the current rate ("~95% at reset"), or the day and time I’d hit the limit if I’m ahead.

Two details matter more than the drawing. The token never reaches the mod: the script makes the request and passes back only the response, and curl reads the header from stdin, so the token doesn’t show up in the process list. And the script never refreshes the token. Claude Code rotates it whenever it runs, and a second refresher would race it and could sign it out. The usage endpoint is the one Claude Code’s own /usage uses, which is undocumented, so it can change without notice.

If you only use Claude Code, you don’t need any of this. Its status line gets the same weekly numbers as rate_limits.seven_day.used_percentage and rate_limits.seven_day.resets_at on Pro and Max, and one prompt sets it up:

Add my weekly plan pace to my Claude Code status line. Use rate_limits.seven_day.used_percentage and rate_limits.seven_day.resets_at from the status line input. Show the % used, how many points over or under an even pace I am, and where I’ll end the week at this rate.

OpenRouter balance. The second mod shows my OpenRouter balance and what I’ve spent today, refreshed every five minutes. OpenRouter is where I pay per token for everything outside the plan, such as the images for these posts. A small script reads the key from a .env file, so the key never reaches the mod either.

The two sit side by side on purpose, because they ask for opposite things. The plan is prepaid, so unused capacity is the waste. OpenRouter is pay as you go, so every dollar on it is real. One glance tells me which one to push and which one to watch.

Using the rest of the week

Knowing I’m under pace only helps if there is work ready to start. The fix was to stop starting work one prompt at a time.

I keep a backlog of everything I want done in my app: features, bugs, research. When the weekly bar is behind, I give the backlog to one Claude Code session and tell it it’s the manager. It doesn’t write code. It starts a Herdr agent for each item and takes it through the same steps:

  1. The agent writes a plan, and the manager approves it.
  2. It builds the item and commits each working chunk, with tests and a screen recording as proof.
  3. It reviews its own diff with fresh subagents, while GPT reviews it in parallel.
  4. It reproduces each finding and fixes the real ones.
  5. The manager checks the proof itself, merges, ships a beta, and starts the next item.

The week of Nov 14 to 21, at 79%, is the week I started running it. Before that, my usage tracked the hours I spent at the keyboard. Now it tracks the length of the backlog.

I’ve packaged it as a skill: manager. It runs on Herdr’s hc command to start, message and wait on the agents, so it needs Herdr as it is. The pipeline itself works anywhere, and its rules that cost hours when missed are worth reading on their own. Where the time of such a run actually goes is in an earlier post: mostly simulators, not the model.

Now the opposite problem

This week I’m on pace: half the week gone, half the limit used. The waste is gone, and a new risk took its place.

A manager with a long backlog never runs out of work, so it can run out of plan instead. If the weekly limit runs out on a Wednesday, every agent stops mid-item until the reset, and nothing ships for the rest of the week.

So I read the same status bar the other way now. Under pace means start more work. Over pace means slow down: fewer agents at once, and the big jobs wait for the reset. The number I watch most is in the tooltip: when the week runs out at the current rate. It has to stay after the reset.

Run the prompt at the top of the post and see what your last 30 days were worth.