SI Agent News
DevelopingClaude

A free calculator estimates what Claude Code costs when you pay per token

A small tool shared on Show HN turns Claude Code usage into a monthly dollar estimate, which helps anyone paying by the token set a budget first.

$2.80example daily spend shown in the estimator

The short version

Why it matters

Coding agents can use far more text than a normal chat, so a bill can surprise you. Putting a number on it before you start lets you set a ceiling and compare it with real usage. The tool is niche, but the habit applies to any provider.

What the calculator does

As modelfold.ai reported on its own page, the tool estimates the API token spend when Claude Code calls ModelFold. It does not price a Claude subscription, which Anthropic bills separately and which is not included here.

Each request is rounded up, then multiplied by the number of requests and days. In the example on the page, 1,760 requests in a month works out to 560 credits, or $2.80, per day, and 7 credits per request.

Three presets, all editable

The page gives three planning assumptions. They are guesses to start from, not a measurement of your account.

A token is a chunk of text, roughly a word fragment. The page says to change the counts to match the context you actually send.

Why agent bills climb

The newsletter's explanation: in an agent loop, each step resends the whole conversation so far, plus new material such as file contents and command results. Early text is paid for again at every step. Cost therefore follows history length times number of steps, not the length of the answer.

As a made-up toy case, if each step adds 5,000 tokens, 10 steps process 275,000 tokens and 20 steps process 1,050,000. Doubling the steps nearly quadruples the total. That is why long sessions can cost disproportionately more.

How to read the result

This is an estimate. Real usage varies with the size of tool output, the model and how often cached text is reused. We have not tested the calculator, and the pricing data it uses may not be current.

The tool also ties into ModelFold. To pay these prices, you point Claude Code at ModelFold's Anthropic-compatible endpoint with a ModelFold API key. That is a separate account and a separate bill from Anthropic's own.

What to watch

Try it

Pick the preset closest to how you work, edit it to your real token counts, then compare the monthly figure with a week of actual usage on your billing page.

Sources and links

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Listen to the AI Wire headlines

Listen to the AI Wire

Listen to our daily AI shows every morning: on your commute, in the shower, wherever you are

Listen to the daily shows

First reported by modelfold.ai · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

More AI news