Guide · 7 min read
Forecast LLM costs with ranges, not one number
By AI Spendbook · Published · Updated
Short answer
Forecast LLM costs from recent daily usage per model in tokens, grow it with the drivers that actually move it (active users, requests per user, tokens per request, model mix), price each day at the rate in effect on that date, and report a p10 to p90 range rather than a single figure.
Key takeaways
- Spend is roughly users x requests per user x tokens per request x price per token; forecast each term separately.
- Work in tokens and apply prices by date, so announced price changes land in the right month.
- A p10 to p90 range taken from past variation is more useful for a budget than a single number.
- Model compounding growth as compounding: 20% a month turns $2,000 into about $14,860 by month twelve.
- Compare budgets with closed actuals so the variance does not move after the review.

AI spend is harder to forecast than most costs. Usage can double after one product launch, a new model can halve the price per token, and introductory prices end on a fixed date. A single straight-line number hides all of that. A good forecast states its drivers and its uncertainty.
How do you forecast next year's OpenAI and Anthropic bill?
Start with a baseline from daily usage. Take the last 30 to 90 days of usage per provider and model: requests, input tokens, output tokens and cached tokens. Work in tokens, not dollars, so price changes can be applied separately. Exclude the last day or two if billing data is still incomplete.
Which drivers move an LLM cost forecast?
Spend is roughly users × requests per user × tokens per request × price per token. Forecast each term from what the business already plans:
- Active users: from the growth plan or the sales pipeline.
- Requests per user: from product analytics; it changes when features launch.
- Tokens per request: watch it closely, because longer context and agent loops raise it quietly.
- Model mix: planned migrations from one model to another, with the share of traffic that moves.
How should a forecast handle model price changes?
Model prices change often, and some changes are announced in advance. Price each day of the forecast at the rate in effect that day. For example, Google listed an introductory price for one of its flagship Gemini models that applied through November 30, 2026 and doubled from December 1. A forecast priced only at today's rate would have understated December by half for any traffic on that model.
The same rule applies to savings estimates. A switch that saves money only during an introductory period is a short-lived discount, not a durable saving. Report both numbers.
Why report an LLM cost forecast as a range?

Give a p50 (the middle estimate) with p10 and p90 bounds: p10 means spend should come in below it only one month in ten, p90 above it only one month in ten. Derive the spread from how much spend has varied around its trend, widened for each month further out. Illustrative numbers: the p50 for next month is $23,000, and over the past year actual months landed between 22% below and 35% above the trend. Then p10 is about $23,000 x 0.78 = $17,940 and p90 about $23,000 x 1.35 = $31,050. A range of $18,000 to $31,000 with a middle of $23,000 is more honest, and more useful for a budget, than "$23,000".
Which scenarios should an AI spend forecast include?
| Scenario | What changes | Why it matters |
|---|---|---|
| Users triple | Active users × 3 | Tests whether growth breaks the budget |
| Migration | 40% of traffic moves to a cheaper model | Shows the saving before engineering commits |
| Bigger prompts | Input tokens per request + 50% | Agent features and longer context often do this |
| Price increase | A model's price rises on a known date | Covers announced price changes |
How do you check the month-end AI spend forecast?
Within the month, project month-to-date spend plus the recent daily average for the remaining days, and compare it with the budget. Alerts at 50%, 80% and 100% of the budget catch overruns while there is still time to act.
What are common mistakes in LLM cost forecasts?
- Forecasting in dollars instead of tokens. A price change then gets mixed up with a usage change.
- Pricing every future day at today's rate. Announced price changes and introductory prices that end on a date belong on their dates.
- Straight-lining compounding growth. A customer growing a percentage each month needs a compounding formula.
- Ignoring tokens per request. Longer context and agent loops raise it without any change in users.
- Not scoring past forecasts. Without a record of how far off each month was, nobody can tell whether the method is improving.
When is a driver-based LLM forecast not worth building?
With less than a month of usage, or a product that has not launched, there is no baseline to grow; use the provider's price list and a usage assumption from the plan, and replace it once 30 days of data exist. For small, steady spend, last month's run rate plus announced price changes is enough, and a driver model adds work without adding accuracy.
How do you build a driver-based AI inference forecast in Excel?
One row per month and one column per driver keeps the model easy to check. A minimal layout:
| Column | Example (illustrative) | How to fill it |
|---|---|---|
| Active customers | 120 | From the revenue plan |
| Requests per customer | 9,000 | From product analytics |
| Input tokens per request | 2,400 | From request logs |
| Output tokens per request | 350 | From request logs |
| Cached share of input | 40% | From provider usage reports |
| Prices per million tokens | Input, cached input and output | Your rates in effect that month, looked up by date |
| Model cost | Customers x requests x tokens x price, summed by token type | |
| Low and high case | Model cost times multipliers derived from past variation |
Fill the actuals side from closed months, shaped the way the model reads them. AI Spendbook's forecasting page exports monthly actuals for the last 12 months with one column per provider, accounting class, customer or feature, billed and estimated amounts in separate column groups, and a spreadsheet feed can keep a Google Sheet or Excel workbook refreshed. If the company plan lives in a planning platform rather than a spreadsheet, the same drivers can sit there: AI Spendbook can push closed monthly actuals and the forecast to Pigment or Anaplan and read a plan version back as phased budgets (built from each vendor's public API documentation and tested with recorded responses, not yet against a live account). AI Spendbook vs Pigment's AI Investment Planner compares planning AI spend inside Pigment with keeping a separate ledger for the AI line, and AI spend in Google Sheets, Looker or a warehouse covers the other destinations.
How do you forecast a customer whose usage grows 20% a month?
Growth that compounds has to be modelled as compounding. Illustrative numbers: a customer whose AI cost is $2,000 in month one costs $2,000 x 1.2^5 = about $4,980 in month six and $2,000 x 1.2^11 = about $14,860 in month twelve at 20% a month. A straight line adding the first month's increase of $400 every month reaches only $2,000 + 11 x $400 = $6,400 in month twelve. When usage per customer is volatile, forecast the largest customers one by one, the rest as a group, and give each large account its own low and high case.
What does an AI cost budget vs actuals template look like?
| Month | Budget | Actual (closed) | Variance | Variance % | Cause |
|---|---|---|---|---|---|
| January | $20,000 | $21,400 | +$1,400 | +7% | New feature launched mid-month |
| February | $22,000 | $20,900 | -$1,100 | -5% | Prompt caching on the support bot |
To model the cost impact of a cheaper model, change the model mix for the share of traffic that moves and price that share at the new model's rates from the date of the switch. The model switch guide covers the quality check that should come first. For alerts during the month, see AI spend alerts and budgets per team.
AI Spendbook builds the baseline from your billing and usage, forecasts monthly spend (with a p10 to p90 range once there are four or more months of history), prices scheduled changes on their effective dates, and runs scenarios that start from questions such as "What if usage doubles?" with last month's values filled in. A saved scenario can be made the official forecast, which is then scored against actual spend each month. Budgets can carry a different amount for each of 12 months, and a budget vs actual view splits actual into billed and estimated. Recommendations rank savings over the next 30 days so short-lived discounts don't look like permanent ones. The forecasting docs cover each step.
Frequently asked questions
How much usage history do you need to forecast LLM costs?
Thirty days gives a usable baseline for next month. A range that reflects real month-to-month variation needs several months; AI Spendbook shows its p10 to p90 range once there are four or more months of history.
Should an LLM cost forecast use list prices or contract rates?
Use the rates you actually pay, including contract discounts and cache and batch pricing, and apply each on the date it takes effect. List prices are useful only as a comparison line.
How do you measure whether past AI spend forecasts were accurate?
Record each forecast when it is made, then score it against the closed actual for the same month, for example with the percentage error. Keep the record so the method can be judged over many months, not one.