Tool
What is your LLM API bill, and where could it come down?
Enter your model and usage to estimate your monthly bill, then see the saving range from four common levers: prompt caching, batch processing, routing simple requests to a cheaper model and capping output length. Every price and assumption is visible and editable, and nothing you enter leaves your browser.
Price table used by this tool
Published list prices in US dollars per million tokens, last verified 2026-11-13. Published list prices from each provider's own pricing page, read on 2026-11-13. Prices change often and some have scheduled changes, so check the linked page before you commit to a plan. Only models whose prices were verified on that date are listed. Use Custom price for anything else, for negotiated rates or for a model hosted by a cloud marketplace.
| Provider and model | Input | Output | Cached input | Batch | Source |
|---|---|---|---|---|---|
| Anthropic Claude Fable 5.2 | $8 | $40 | $0.2 | 50% off | Anthropic pageverified 2026-11-13 |
| Anthropic Claude Opus 5.5 | $4 | $20 | $0.2 | 50% off | Anthropic pageverified 2026-11-13 |
| Anthropic Claude Sonnet 5.5 | $2 | $10 | $0.1 | 50% off | Anthropic pageverified 2026-11-13 |
| Anthropic Claude Haiku 5.5 | $0.1 | $0.5 | $0.01 | 50% off | Anthropic pageverified 2026-11-13 |
| OpenAI gpt-6-astra | $10 | $50 | $1 | 50% off | OpenAI pageverified 2026-11-13 |
| OpenAI gpt-6.1-sol | $2 | $10 | $0.1 | 50% off | OpenAI pageverified 2026-11-13 |
| OpenAI gpt-6.1-terra | $1 | $5 | $0.05 | 50% off | OpenAI pageverified 2026-11-13 |
| OpenAI gpt-6-luna | $0.1 | $0.5 | $0.01 | 50% off | OpenAI pageverified 2026-11-13 |
| Google Gemini 3.1 Pro Preview | $2 | $12 | $0.2 | 50% off | Google pageverified 2026-11-13 |
| Google Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | 50% off | Google pageverified 2026-11-13 |
| Google Gemini 3.5 Flash-Lite | $0.3 | $2.5 | $0.03 | 50% off | Google pageverified 2026-11-13 |
How it works
Step 1
Enter what you use
Pick your model, or enter your own prices. Add your monthly requests and the average input and output tokens per request. Your provider's usage dashboard shows these numbers.
Step 2
Set your assumptions
For each lever, set a low case and a high case: how much of your prompt repeats, how much work can wait, how many requests are simple, how much shorter the output could be. Switch off levers that do not fit.
Step 3
Read the range and the order
You get your estimated bill now, a saving range per lever, a combined range that does not count the same dollar twice, and a suggested order to try the levers in, weighing saving against effort.
What it assumes
- Prices are the published list prices on the dates shown in the table. Your contract, discounts, credits or a cloud marketplace may differ. Use Custom price for those.
- Your average tokens per request are typical of all requests. If a few requests are very large, the average hides them.
- The saving ranges come only from the low and high values you set. The defaults are starting points, not measurements of your traffic.
- Caching, batch and routing are applied in a fixed order (output cap, routing, caching, batch) so the combined figure does not double count.
- Batch discounts stack on cached input only where the provider's page shows that they do. Storage fees for cached context, cache write premiums and quality-check costs are not counted.
- Requests are billed once. Retries, failed calls and unused reasoning tokens are in your average if you measured them from billing data, and missing if you did not.
Methodology
The starting point is one line of arithmetic. Your monthly cost is the number of requests, multiplied by the cost of one request. One request costs its input tokens times the input price plus its output tokens times the output price, with prices quoted per million tokens. Nothing more is hidden in the base figure. If your real invoice is higher, the usual reasons are that your average token counts are too low, that hidden reasoning tokens are billed as output, or that retries and failed calls add volume that the dashboard counts separately.
Each lever is then computed from the numbers you choose, using only the published prices in the table. The tool never invents a typical saving. It runs the same arithmetic twice, once with your low case and once with your high case, and shows both ends. If you set the sliders at 10 percent and 40 percent, you see what those two assumptions are worth, nothing else.
Prompt caching
Providers that offer caching bill repeated input tokens at a lower cached price when a request starts with a prefix they have seen recently. The saving is the share of input tokens that repeat, multiplied by the gap between the normal and the cached input price. It only helps when the repeated part comes first and is identical, so a system prompt that embeds a timestamp or a user name near the top will not cache. Some providers also charge more to write the cache, and some charge storage for cached context. Those costs are not in the tool, which is one reason the low case should be cautious. If a model has no published cached price, the lever is switched off.
Batch processing
Batch interfaces accept requests that finish within a longer window, often up to a day, in return for a published discount. The saving is the share of requests that can wait, multiplied by that discount. It fits nightly enrichment, back-fills, evaluations and bulk classification. It does not fit anything a person is waiting on, and it adds work: you need to submit jobs, collect results later and handle partial failures. The tool applies the batch discount to cached input only for the models where the provider shows that the two combine.
Routing simple requests to a cheaper model
Here the saving is the share of requests you move, multiplied by the difference in cost per request between your current model and the cheaper one, at your own token counts. This lever has the largest swing and the largest risk. A smaller model can fail quietly on requests that look easy, and the cost of a wrong answer is not in the arithmetic. Before you count this saving, test the cheaper model on a sample of real requests, and keep a path to send uncertain ones back to the larger model. That fallback path means the share you can safely move is usually lower than the share that looks simple.
Output token cap
Output tokens are usually priced several times higher than input tokens, so shorter answers can matter. You enter the reduction in average output length. The saving is the tokens you no longer generate multiplied by the output price. Cutting length blindly can truncate answers or remove content people need, so treat this as a prompt and format change to test, not a hard limit to set and forget.
Combining levers without double counting
If you add the four standalone savings together you overstate the total, because the levers overlap. A request routed to a cheaper model cannot also get the larger model's cache discount, and shortening output shrinks what routing and batch have left to discount. The tool therefore applies the levers in a fixed order: output cap first, then routing, then caching, then batch. Each lever is measured as the drop in cost when it is added to the ones before it. The table shows both numbers, alone and in combination, so you can see the overlap.
The suggested order
The order to try levers divides the middle of each saving range by a rough effort weight (S is 1, M is 2, L is 3). That favours cheap, safe changes over large ones. It is a heuristic, not a plan. Your codebase, your quality bar and your team may rank the levers differently, which is why every input is visible.
What it leaves out
Fine-tuning, self-hosting, cheaper retrieval, shorter prompts through better design, fewer calls through better product design, and the engineering time each change takes are not modelled. Neither are volume discounts, committed spend and regional pricing uplifts that may apply to you. The tool is a way to decide what to measure first. For a review of your actual setup, see the LLM cost audit skill or ask a founder to look at it.
Questions
Does this tool call an AI model or send my numbers anywhere?
No. It is plain arithmetic that runs in your browser. It does not call any model API, has no server route and stores nothing. Usage analytics record that the tool was opened and used, never the numbers you type.
Where do the prices come from?
Each price is copied from the provider's own pricing page, and the table under the tool links to that page with the date it was read (2026-11-13). Providers change prices and introduce new models often, so check the linked page before you make a decision. If your model is missing, choose Custom price.
Why is a lever greyed out for some models?
Caching needs a published cached-input price and batch needs a published batch discount. If the provider's page does not show one for a model, the tool switches that lever off rather than guess a number.
How should I choose the low and high cases?
Measure, then bracket. For caching, look at how many of your input tokens are the same on every call. For batch, list the jobs that nobody waits for. For routing, sample a few hundred real requests and mark the ones a smaller model could answer. Use your measured figure as the high case and a cautious one as the low case.
Will the saving I see really happen?
Treat it as a prioritisation aid, not a forecast. The arithmetic is right for the numbers you enter, but cache hit rates, how much work can wait and how well a cheaper model holds up all depend on your traffic. A short pilot on real requests turns the guesses into measurements.
What does the effort rating mean?
S, M and L are our rough view of the engineering work: small for a prompt or settings change, medium for adding an asynchronous path, large for building a router and a test set. Your codebase may make a lever easier or harder, so use the rating as a starting point for the order.