LLM Usage & Budget Modeler
Project the full monthly and annual LLM API bill for a production AI product from one usage profile — monthly active users, requests per user, tokens in and out per request, and the per-million-token price you pay. Token prices are inputs you type, never numbers baked into the tool, because provider rates change constantly: the dated example presets below are a starting point you should always verify against the provider's current pricing page. The math is plain arithmetic — cost = (tokens ÷ 1,000,000) × price-per-1M, input and output priced separately — but the two numbers most teams skip are the ones this modeler puts front and center: cost per monthly active user and cost per request. A multi-step agent multiplies token usage by the number of model calls per user action, so the steps-per-request field is here to catch the single most common cause of a surprise bill. Everything runs in your browser; nothing is stored or sent anywhere.
per MAU / month
all steps included
Tokens are scaled by your steps-per-request figure (1×). All figures use the prices you entered — confirm current rates on the provider’s pricing page.
View the TypeScript implementation on GitHub: packages/calc/src/llm-usage-modeler.ts · view tests
What this means
The arithmetic of an LLM bill is simple — tokens divided by a million, times a price. What makes it surprising is that the cost lives in the parts teams do not model: how many times the model is called per user action, and what that works out to per user once you have a hundred thousand of them. This modeler is built around those two numbers. The headline is the monthly bill, but the figures worth watching are cost per MAU and cost per request, because those are the ones you can compare directly against the margin each user generates.
Prices are inputs, not constants, on purpose. In my experience the most dangerous tool in this category is one with last quarter’s prices hard-coded inside it: it returns a confident, precise, wrong number, and nobody re-checks it because it looks authoritative. The example presets here are dated and labeled, the engine takes the price you type, and the math file is open source so you can confirm there is no hidden assumption. When I built this, that was the non-negotiable design rule — the tool should never know a price you didn’t give it.
The other lever people underestimate is steps per request. A chat turn is one model call; an agent that parses intent, plans, retrieves, synthesizes, and reviews is five. I’ve seen teams estimate an agent’s cost from a single-call figure and land at a fifth of the real bill, then treat the gap as a mystery. It is not a mystery: it is the steps multiplier. Set it honestly and the projection matches the invoice.
Worked example
Take a product with 10,000 monthly active users, each making 20 requests a month — that is 200,000 requests for the month. Each request sends 500 input tokens and gets back 200 output tokens, and it is a single chat turn (1 step). At a price of $3 per 1M input and $15 per 1M output tokens, the totals are 200,000 × 500 = 100,000,000 input tokensand 200,000 × 200 = 40,000,000 output tokens. Cost is (100M ÷ 1M) × $3 = $300 plus (40M ÷ 1M) × $15 = $600, so the monthly bill is $900 — $10,800 a year. Per user that is $0.09/month, and per request $0.0045.
Now make it an agent. Keep everything the same but set steps to 3— the model is called three times per user action. Token usage triples to 300M input and 120M output, and the bill triples with it to $2,700/month, or $32,400/year, and $0.27 per user. Nothing about the user count or request count changed; the entire increase came from the steps multiplier. That is the line item that turns a comfortable $0.09/MAU consumer product into a $0.27/MAU number you have to defend against your per-user margin — and the reason the steps field is the first thing to get right before you trust any agent budget.
Frequently asked questions
The information and tools on this website are for general educational purposes only and do not constitute financial, investment, legal, or tax advice. Consult a licensed professional for decisions specific to your situation.