AI Spend Forecasting: How to Budget Next Year's LLM Costs
AI spend forecasting from drivers: volume, tokens and price per feature. Build next year's LLM budget and explain the monthly variance to finance.
Updated
AI spend forecasting means estimating next year’s model bill from the drivers that set it: how many calls you make, how many tokens each call uses, and what each token costs. Build that model one AI feature at a time, then show finance how each driver moves the total.
How do you forecast LLM costs?
Start with one row per AI feature. Each row needs three numbers:
- Volume: calls per month, taken from product plans, user counts or document counts.
- Tokens per call: input and output tokens, measured from real logs rather than estimated from the prompt you wrote.
- Price: input and output price per million tokens, from the vendor’s current pricing page.
The monthly cost of a feature is its calls times (input tokens times input price, plus output tokens times output price). Add the features together, multiply by twelve for the year, then add the growth you expect. The LLM cost calculator guide walks through the arithmetic for a single call.
Here is a hypothetical example with round numbers. A support feature makes 1,000,000 calls a month. Each call sends 3,000 input tokens and gets back 500 output tokens. At Claude Haiku list prices ($0.10 input and $0.50 output per million tokens), input costs $300 and output costs $250, so the feature runs $550 a month, or $6,600 a year. At Claude Opus list prices ($4 input and $20 output), the same traffic costs $12,000 for input and $10,000 for output, which is $22,000 a month. The model choice changes the answer by a factor of forty in this example, so settle it before you budget. Anthropic’s Batch API is half price, which matters for work that can wait.
Why do AI cost forecasts miss?
Most misses come from a few habits. The forecast takes one month of invoices and multiplies by twelve, which hides growth. Prompts get longer over time as teams add instructions, examples and retrieved text, and the forecast keeps the old size. Output tokens cost more than input tokens, so a long answer costs more than a long prompt, and a plan that counts only input misses it. Retries, fallback calls and reasoning tokens are billed too, and they rarely appear in a plan. If a spike caught you before, the AI API bill spike guide lists the usual causes.
Prices and models change as well. A model that was cheap when you wrote the plan may be retired or replaced by one with a different price. Keep the price as a named input you can update, not a number buried in a spreadsheet cell.
How do you forecast token usage for a new AI feature?
You have no logs yet, so measure the inputs you will send. Run the prompt on a sample of real inputs from your own data, count the input and output tokens each call uses, and use the typical case as the starting point. Then add the long cases, because an average hides them. Keep the result as a range rather than one number, and schedule a review for when the feature has its first full month of live traffic.
How do you explain variable AI costs to the CFO?
Show the bill as drivers, not as one total. Each month, compare actual volume, tokens per call and price against the plan, and report each effect on its own line. The effects multiply, so say that out loud.
Another hypothetical, with round numbers. The plan assumed 1,000,000 calls a month at 3,500 tokens per call. Actual volume is 1,200,000 calls, 20% more. Tokens per call is 4,025, 15% more. Spend is 1.2 times 1.15, or 1.38 times plan, so the bill is 38% over. Volume explains 20 points, tokens explain 15 points, and the last 3 points come from the two moving together.
Finance will then ask two questions, and you should answer both in writing. Is the volume growth a trend that will continue? Is the token growth a choice you can reverse, such as a longer system prompt that can be trimmed? Name the driver that moved, say whether it is a one-off, and state what you will do about it. A variance report that names drivers gets a faster decision than one that says the bill was higher. For how to tag spend by feature so this report is easy to build, see LLM cost attribution.
Where does a fine-tuned model fit in the forecast?
If a fine-tuned model would replace one API call, add it as a second scenario with the same volume and token counts. On the public contract extraction exam we ran, price per 1,000 documents was $4.50 for our Accuracy tier, $3.54 for our Standard tier, $4.95 for Claude Haiku and $154.49 for Claude Opus, at list price for the tokens it used. Those figures come from that exam and that task. Your documents will have different lengths and different errors, so test on your own data.
The same exam scored the share of exactly right quotes, where 1.0 is perfect: 0.717 for our Accuracy model, 0.650 for our Standard model, 0.635 for Claude Opus and 0.584 for Claude Haiku. Claude took the exam with one prompt, no examples and no task training. Our models were fine-tuned for this exam. That shows what training for one task does. On this exam, both of our models scored above both Claude models, and a fine-tuned model can beat a frontier model on a narrow task with good data. It does not mean our model beats Claude at everything, and the exam is not a legal product or legal advice.
Self-hosting is the wrong choice in some cases. If your volume is low, the task changes every few weeks, or nobody can review the output, a hosted API is simpler to run. Hosted APIs bill per token, so the cost per call is exact and the volume is the unknown. A model you run has a different cost shape, so write down which of those uncertainties you are taking on. Check the current pricing page of any other vendor before you compare, because their rates change.
The free AI cost audit reads your code on your own machine, uploads nothing, and lists each AI call with its model and estimated cost. That gives you the volume and token inputs this forecast needs, taken from your real code. If you want help building the driver model for your own product, ask Own Weights for a call.
Questions
how to forecast llm costs
Multiply calls by tokens per call by price per token for each AI feature, then add the features together. Take call volume from your product plan and token counts from real logs, since guessed prompt sizes cause most of the error. Check prices on the vendor's current pricing page before you lock the number.
how to budget for ai api costs
Budget a range instead of one figure, and build it from the features that call the API rather than from last year's invoice. Add a line for volume growth and a line for longer prompts, and write down the model and price you assumed. Compare the range against actual usage every month.
why do ai cost forecasts miss
Forecasts usually extrapolate one month, ignore prompts that grow over time, and count input tokens while leaving out output, retries and fallback calls. A price change or a model swap can also break a plan written before it happened. Writing each assumption down makes the cause of a miss easy to find.
how to explain variable ai costs to the cfo
Report the bill by driver, with volume, tokens per call and price each shown against plan. Say which driver moved, whether the move is a trend or a one-off, and what you will change. Finance accepts a variance that names a cause more readily than a total that simply went up.
forecasting token usage for a new ai feature
Run the prompt on a sample of real inputs, count the tokens each call uses, and plan from the typical case and the long cases together. Keep the estimate as a range until the feature has a month of live traffic. Replace it with logged numbers as soon as they exist.