API bills are driven by three things people rarely track: how long the prompt is, how often it is resent, and the fact that output costs several times input.

Computed from this tool’s default settings — requests per day and the rest as most people start. Change them below for your own case.
About $410.40 a month, $228.00 of it output. If a large part of your input is a fixed prefix, prompt caching is the first thing to try — set the hit rate above to see the effect.
Monthly spend from requests, prompt length and price — with caching.
About $410.40 a month, $228.00 of it output. If a large part of your input is a fixed prefix, prompt caching is the first thing to try — set the hit rate above to see the effect.
Every input moves the result for a reason. This is what each one does and where to find the value for your own machine.
| Setting | Default | What it changes |
|---|---|---|
| Requests per day | 1000 | Your own figure, starting from 1,000. Change it to match what you actually run. |
| Input tokens per request | 2000 | Your own figure, starting from 2,000. Change it to match what you actually run. |
| Output tokens per request | 500 | Your own figure, starting from 500. Change it to match what you actually run. |
| Input price | 3 per 1M | Your own figure in per 1M, starting from 3. Change it to match what you actually run. |
| Output price | 15 per 1M | Your own figure in per 1M, starting from 15. Change it to match what you actually run. |
| Prompt cache hit rate | 0 % | Cached input typically bills at a tenth of the normal input rate. |
The same calculation run at a range of settings, with everything else left at its default. These are computed by the tool itself, not written by hand.
| Prompt cache hit rate | Per month | Per day | Per year | Input share |
|---|---|---|---|---|
| 0 | $410.40 | $13.50 | $4,928 | $182.40/mo |
| 25 | $369.36 | $12.15 | $4,435 | $141.36/mo |
| 50 | $328.32 | $10.80 | $3,942 | $100.32/mo |
| 75 | $287.28 | $9.45 | $3,449 | $59.28/mo |
| 100 | $246.24 | $8.10 | $2,957 | $18.24/mo |
About $410.40 a month, $228.00 of it output. If a large part of your input is a fixed prefix, prompt caching is the first thing to try — set the hit rate above to see the effect.
No lookup tables and no invented constants. Here is the arithmetic, so you can check it against your own numbers.
Providers bill input and output separately, and output is usually four to five times the input rate. Long system prompts are therefore cheap per token but expensive in aggregate, because they are resent on every request.
Prompt caching is the biggest single lever on a repetitive workload: a cached read commonly costs a tenth of a fresh input token, so a high hit rate on a large fixed prefix can change the bill by an order of magnitude.
API prices are inputs rather than constants, because providers change them and a hard-coded number would quietly go wrong. The defaults were current when this tool was written — check your provider’s pricing page and correct them if they have moved.
These are well-founded engineering estimates, not benchmark results. Your quantisation, runtime and context length all move the real number, and usable memory is an assumption rather than a specification. See the full methodology for every assumption behind these figures.
The three situations that bring people to this calculation.
Forecast the bill at your expected volume.
Find whether input or output is the problem.
See what a good hit rate is worth.
Four steps, no account, nothing leaves your browser.
Start at the top of the panel. Every figure recalculates as you change it — there is no submit button, because watching the number move is the point.
5 further settings: input tokens per request, output tokens per request, input price, output price, prompt cache hit rate. Defaults are the common case, so change only what differs for you.
The large figure answers the question. The table underneath shows how the answer changes across nearby settings, which is usually where the decision actually gets made.
The arithmetic is written out above. If a number looks wrong for your hardware, the assumptions are the first place to look — usable memory and quantisation are the two that vary most.
The questions people ask about this, answered without hedging.
Usually the system prompt. It is resent on every request, so a long one multiplies across your whole volume. Output pricing is also typically four to five times input, so verbose responses cost more than they look.
A cached input token commonly bills at about a tenth of a fresh one. With a large fixed prefix and a high hit rate, that can cut the input side by most of its value.
Whichever dominates your bill — set the numbers above and look. Chat workloads with long documents are input-heavy; generation and agent workloads are often output-heavy.
No, and they are inputs for exactly that reason. Check your provider’s pricing page and correct them; the arithmetic around the price is what does not go stale.
All 50 run on the same arithmetic, so answers across them agree.
Different ways of asking the same question, all resolved above.
Sizing is only half the problem. Model Radar takes your hardware and shows which models actually run on it, ranked by what they are good at — the same arithmetic as this page, applied to every model worth running.