HOW-TO GUIDE17 min read

Enterprise LLM Cost Forecasting: A Budget Guide

A practical model for forecasting monthly LLM spend across prompts, caches, reasoning tokens, agent steps and retries.

P
PADISO teamPublished 2 Dec 2026

Enterprise LLM cost forecasting works best when you estimate spend per workflow, not per user or chat. Count every model call, separate cacheable input from changing context, include reasoning and retries, then multiply the expected cost per run by monthly volume. We use this model to help teams turn an AI pilot estimate into a budget they can check against real usage. If you are still choosing the work to put into production, start with our AI strategy and solutioning service.

A reliable forecast is not a promise that every month will land on one number. It is a set of explicit assumptions, a base case, and higher and lower cases that you can update as telemetry improves. This guide gives CFOs and CTOs a step-by-step way to build that forecast, including prompt caching, multi-agent context and reasoning-token costs.

The worked prices below use a December 2026 research-dossier snapshot for illustration, not a universal or enduring rate card. Provider prices and product behaviour can change. Before approval, check the applicable provider documentation, such as Anthropic's prompt caching documentation and OpenAI's prompt caching overview, then replace the example rates with your contracted prices. For help measuring agent calls and putting them into production, see our AI agents and automation service.

What to gather for enterprise LLM cost forecasting

Do not begin with a vendor price table. Begin with a map of what the system does. A single customer request may trigger a classifier, a retrieval call, several tool calls, a final response and a validation retry. If the budget counts only the final response, it will miss most of the billable activity.

Gather these inputs for each workflow:

  • Monthly initiated runs: The number of tickets, reports, documents or other tasks expected to enter the workflow. Use a volume forecast, not the number of licensed users.
  • Call map: Each model call, the model or model family used, and whether it is conditional or always run. Include fallbacks and background calls.
  • Input tokens per call: Split static instructions and tool definitions from changing user content, retrieved documents and conversation history.
  • Output tokens per call: Include generated text, code, JSON and any content passed to another agent.
  • Reasoning usage: Record reasoning tokens separately where the API exposes them. Check whether the provider includes them in its reported output total so you do not count them twice.
  • Cache behaviour: Record which prefixes qualify, the cache read and write prices, retention rules, and the observed hit rate.
  • Retries and failures: Count validation failures, tool errors, timeouts, fallback calls and any repeated work.
  • Quality target: Measure the share of tasks that meet the acceptance criteria, not just whether the API returned a response.

If you have no production telemetry yet, measure a representative sample. Include routine cases and difficult cases. A short pilot that only tests ideal prompts is not enough to estimate a workflow that must handle incomplete inputs, long documents and failed tools.

Keep a record of the assumptions and the person responsible for each one. The forecast should be reproducible: another person should be able to change volume, cache-hit rate or model price and see how the monthly total moves.

Step 1: Define the unit of work and count monthly runs

Choose one unit that finance and engineering can both recognise. For a support workflow, it might be one conversation. For a finance workflow, it might be one completed reconciliation or reviewed filing. The unit must represent a business task, not an individual API request.

For each workflow, estimate monthly initiated runs, written as N. Then create low, expected and high volume cases. Use operating forecasts, seasonality or planned rollout stages where available. Label an assumption if it is not based on measured demand.

A common mistake is to multiply monthly users by one average prompt. Some users make no requests; some trigger many calls; and a single request may launch a long-running agent. Forecast the actual task volume and the call pattern inside each task.

A useful first table looks like this:

Workflow Unit of work Monthly runs Typical calls per run High-volume driver
Customer operations Conversation 50,000 Three turns in the example Ticket volume and seasonality
Financial audit Reviewed filing 2,000 Multiple agents in the example Number and size of filings
Internal research Completed question Measure first Retrieval plus synthesis Adoption and repeat queries

The example run counts are assumptions from the worked scenarios in this guide, not market benchmarks. Replace them with your own operating plan.

Step 2: Map every call in the workflow

Draw the workflow from trigger to accepted result. For each step, record the model, purpose, expected number of executions, input tokens, output tokens and whether the call can be skipped. That list is the cost inventory.

A simple agent may have a planner call, several tool calls, a summariser and a final answer. A multi-agent workflow may repeat similar context across separate agents. Add each call separately, even if several calls use the same model. The model's name does not tell you how many times the workflow invokes it.

Use this per-run structure:

Cost per run = sum of the expected cost of every call in the workflow.

For call j, record its own input, output, cache and reasoning quantities. If a call happens only when a condition is met, multiply its cost by the observed or expected probability of that condition. For example, if a review agent runs only on a subset of cases, its expected cost is its cost per execution multiplied by the share of cases that reach it.

Be clear about context reuse. Stateless API calls often require the application to send relevant conversation history again. A later turn can therefore have more input tokens than the first. Do not assume that an agent remembers earlier calls unless the product and API behaviour explicitly support that. The Anthropic prompt caching documentation describes caching mechanics, but caching does not eliminate the need to account for the context sent on each call.

A useful check is to compare the call map with traces from the application. If the traces show model calls that are absent from the forecast, update the map before doing the arithmetic.

Step 3: Split input into static, dynamic and cached tokens

Input is not one cost category. Separate it into:

  1. Dynamic input: User messages, retrieved material, identifiers, current records and other content that changes between calls.
  2. Static, uncached input: Stable content that is too short for the provider's cache rules, not positioned in a cacheable prefix, or not worth caching.
  3. Cache writes: Cacheable content sent when the cache is created or missed.
  4. Cache reads: Cacheable content served from an existing cache.

For a simple cacheable prefix, estimate the expected number of tokens written and read per run as follows:

  • Expected cache-write tokens = prefix tokens × (1 − cache hit rate)
  • Expected cache-read tokens = prefix tokens × cache hit rate × eligible reuse calls per run

That second formula needs care. If the hit rate is measured per call, count hits across calls. If it is measured per workflow run, use the number of eligible reuse calls that follow the initial write. Do not apply a per-call hit rate to an entire conversation without checking what the rate represents.

Then calculate input cost per call or run:

Input cost = uncached input tokens × input price + cache-write tokens × write price + cache-read tokens × read price.

Convert token counts to millions when prices are quoted per million tokens. For example, 6,000 tokens is 0.006 million tokens. Keeping this conversion visible in a spreadsheet avoids a factor-of-one-million error.

Cache behaviour is provider-specific. OpenAI describes automatic prefix caching and its eligibility in its prompt caching overview. Anthropic documents explicit cache controls and cache economics in its prompt caching guide. Treat those mechanics as implementation details to confirm for the model and endpoint you actually use.

Caching can fail to help when dynamic data appears before the stable prefix and changes it, when a prefix is not long enough to qualify, or when calls do not reuse it while it remains available. A cache hit rate in a staging test may not reflect production if request timing, prompt ordering or traffic patterns differ.

Step 4: Price visible output and reasoning tokens

Output cost includes the response you see and, for reasoning models, tokens used internally to work through a task. Those internal tokens may not appear in the visible answer. Use the provider's usage fields to find out how reasoning is reported.

Where the API reports reasoning separately, use:

Output cost = (visible output tokens + reasoning tokens) × output price per token.

Where reasoning is already included in the reported output total, use that total once. Do not add a separate reasoning estimate on top of a usage field that already includes it.

The research-dossier snapshot used for this guide lists GPT-4o input at US$2.50 per million tokens and output at US$10 per million tokens, with a US$1.25 cached-input rate. It lists an o1 or o3 output example at US$60 per million tokens. These are illustrative December 2026 figures from the dossier, not a substitute for the rate card that applies to your account. Check the current provider documentation and your contract before approving a budget. OpenAI's caching overview explains the cache discount mechanism; it is not a complete price quotation for every model or account.

Do not assume that a concise answer means low output cost. A reasoning model can use more internal tokens than the final answer contains. Until you have measured a representative sample, create a range for reasoning usage and state the evidence behind it. Avoid treating one unusually difficult task as the average, but do not hide it in an untested assumption either.

Step 5: Add agent steps, context passing and retries

Count tokens at the call level, then add them across the workflow. For a run with S steps, total input is the sum of the input sent at each step:

Total workflow input = Σ input tokens for each step s, from 1 to S.

A practical per-step estimate can include the system prompt, tool definitions, user content, retrieved context and the portion of history passed into that step. If the application sends the full prior history on every turn, later calls can be substantially larger than the first. If it summarises or trims history, measure the resulting tokens rather than assuming the saving.

Multi-agent designs can also broadcast a shared context to several agents. That means the same source material may be billed repeatedly. A research note on agent token use discusses how orchestration and repeated context contribute to token consumption. Use such material as a prompt to inspect your own traces, not as a multiplier to copy into a budget.

Retries need a precise definition. If 15% of initiated runs incur one extra full attempt, multiply expected run cost by 1.15. If instead each attempt independently has a 15% chance of requiring another attempt, and retries continue until success with no cap, the expected number of attempts is 1 ÷ (1 − 0.15), or about 1.176. A retry cap or a different failure pattern changes that result.

Use the retry rule that matches the system. A validation retry may repeat only one agent call, while a workflow restart may repeat the entire pipeline. Estimate the incremental cost of the work actually repeated. Applying one blanket retry percentage to every token can overstate or understate spend.

A practical workflow cost model is:

Monthly cost = monthly initiated runs × expected cost per initiated run.

Expected cost per initiated run includes all expected calls, cache operations and output, plus any repeated work. For a simple case where a proportion r of initiated runs adds one complete repeat, this becomes:

Monthly cost = N × cost per attempt × (1 + r).

Do not mix up a failure rate, a share of runs with a retry, and a probability of retrying each attempt. They are not interchangeable.

Step 6: Build the forecast in a spreadsheet

Create one row per workflow call or cost component. Keep token assumptions and rates in separate columns so that a price change does not require rebuilding the model. A useful structure is:

Field What to enter
Workflow and step Business task and model call name
Monthly run volume Initiated tasks per month
Calls per run Expected executions of this step
Dynamic input tokens Changing input per call
Cacheable prefix tokens Stable tokens eligible for cache treatment
Cache hit rate Measured rate or labelled assumption
Input, write and read rates Current account-specific price per million tokens
Visible output tokens Expected user-facing or downstream output
Reasoning tokens Separate usage where reported
Retry work Calls or runs repeated, with the reason
Success rate Share meeting the task acceptance criteria

Calculate cost per call, cost per run and monthly cost separately. This gives finance a path to reconcile the forecast to invoices, and engineering a path to locate the source of variance.

Add at least three cases:

  • Low: Lower volume or token usage, with measured caching and few retries.
  • Expected: The most defensible assumptions based on current testing or operating plans.
  • High: More usage, weaker cache reuse, larger context, higher reasoning use or more retries.

Do not make the high case a random percentage uplift. Tie each difference to a driver. For example, set the high case to the expected rollout volume but lower the cache hit rate and increase the share of long documents. That tells you what would cause the extra spend and what to monitor.

Step 7: Work through the customer operations example

Consider a customer operations agent with 50,000 initiated conversations a month and three turns per conversation. The example assumes 6,000 cacheable system and tool-definition tokens, 1,500 dynamic input tokens per turn, 400 visible output tokens per turn, an 85% cache hit rate and a 5% share of conversations with one extra full attempt. It uses the dossier's illustrative Claude 3.5 Sonnet rates: US$3 per million standard input tokens, US$3.75 per million cache writes, US$0.30 per million cache reads and US$15 per million output tokens. Confirm the applicable rates in the provider's prompt caching documentation and live account pricing before using them.

For one three-turn attempt:

  • Cache writes: 6,000 × 15% × US$3.75 ÷ 1,000,000 = US$0.003375.
  • Cache reads: 6,000 × 85% × 2.55 reuse turns × US$0.30 ÷ 1,000,000 = US$0.003902. This calculation treats 85% of the three turns as cache reads, or 2.55 reads. It does not count an extra cache read beyond those turns.
  • Dynamic input: 3 × 1,500 × US$3 ÷ 1,000,000 = US$0.0135.
  • Visible output: 3 × 400 × US$15 ÷ 1,000,000 = US$0.018.

The cache-read line requires consistent interpretation. With 2.55 reads of a 6,000-token prefix, the value is US$0.00459, not US$0.003902. Use 2.55 reads in the budget, giving an attempt cost of US$0.039465. This correction is included to make the arithmetic auditable.

If 5% of initiated conversations incur one additional full attempt, expected cost per initiated conversation is US$0.039465 × 1.05 = about US$0.04144. Monthly spend is 50,000 × US$0.04144, or about US$2,072.

For comparison, without caching, the 6,000-token prefix is sent at the standard input rate on all three turns. That adds US$0.054 per attempt, replacing the cache write and read charges rather than sitting on top of them. The uncached attempt costs US$0.0855. With the same 5% retry assumption, monthly spend is about US$4,489. This comparison suggests a meaningful saving under these assumptions, but it depends on the cache qualifying, being reused and preserving the same workflow behaviour.

The example is useful because it exposes the drivers. If the cache hit rate drops, cache reads fall but more writes or uncached input may occur. If most conversations do not reuse the prefix before expiry, the cache may not provide the assumed benefit. Validate both the call count and the price treatment against actual usage before relying on the result.

Step 8: Work through a multi-agent financial review

Now consider a pipeline that reviews 2,000 filings a month. It has a planner, three specialist agents and a final synthesis and compliance agent. The example assumes 120,000 input tokens across the pipeline, including a 30,000-token shared playbook with a 60% cache hit rate. It also assumes 4,000 visible output tokens across standard agents, plus 1,000 visible and 12,000 reasoning tokens for the final reasoning model. The retry assumption is that 20% of initiated reports incur one extra full attempt.

Using the dossier's illustrative GPT-4o rates of US$2.50 per million standard input tokens, US$1.25 per million cache-read tokens and US$10 per million standard output tokens, plus the example reasoning-model output rate of US$60 per million tokens:

  • Cached playbook reads: 30,000 × 60% × US$1.25 ÷ 1,000,000 = US$0.0225.
  • Remaining input, including the 12,000 playbook tokens not read from cache: 102,000 × US$2.50 ÷ 1,000,000 = US$0.255.
  • Specialist outputs: 4,000 × US$10 ÷ 1,000,000 = US$0.04.
  • Final reasoning-model output: (1,000 + 12,000) × US$60 ÷ 1,000,000 = US$0.78.

The attempt cost is US$1.0975. If 20% of initiated reports get one extra full attempt, expected cost is US$1.317 per report. At 2,000 reports a month, the forecast is US$2,634. These are illustrative USD calculations. Your actual model should use contracted rates and confirm whether reported reasoning usage is separate from or included in output usage.

The final model's output line is about 71% of the attempt cost in this example. That is a useful warning: reducing a small amount of ordinary input may matter less than controlling the reasoning model's token use or routing only the cases that need it. Test simpler models and prompt changes against the same task-quality criteria before changing the production route.

Step 9: Forecast cost per successful task, not just cost per attempt

A low cost per attempt does not guarantee a low cost to get an accepted result. Define task success using a business rule, such as a valid reconciliation ready for human review or a response that passes an agreed evaluation.

A simple comparison is:

Cost per successful task = cost per attempt ÷ task success rate.

For example, a model costing US$0.02 per attempt with a 50% success rate has an illustrative cost per successful task of US$0.04. A model costing US$0.03 per attempt with a 95% success rate costs about US$0.0316 per successful task. The second model costs more each time it runs but less for each successful result under these assumptions.

This calculation is a starting point, not a full quality-adjusted cost model. Success rates depend on the test set, acceptance threshold, retries and human intervention. Record those definitions alongside the numbers. The research paper on enterprise multi-model governance and FinOps discusses the challenge of managing cost and telemetry across multiple model families. Use it as context for why an auditable cost-per-task measure matters, not as a substitute for your own measured success data.

Step 10: Reconcile the forecast with production usage

Once a workflow is live, compare forecast with actuals at a regular cadence. Review cost by workflow, model, business unit and accepted task where your systems support it. Investigate movements in volume, input tokens, output tokens, cache hits, reasoning and retries separately.

A single total invoice cannot tell you whether the cause is adoption, longer prompts, a prompt change, a model fallback or a malfunctioning retry loop. Capture request identifiers and workflow names in your telemetry, while following your organisation's privacy and security controls. Keep enough detail to explain changes without storing sensitive prompt content unnecessarily.

Watch for these signals:

  • Actual calls per task exceed the call map.
  • Average input tokens rise after a prompt or tool change.
  • Cache-hit rates drop when traffic patterns or prompt structure change.
  • Reasoning usage grows while the visible output remains similar.
  • A validation or tool failure causes repeated work.
  • A fallback route sends more tasks to a higher-priced model.
  • Cost per accepted task rises even though the invoice total is stable.

Set a budget alert for unusual movement, but do not treat an alert as cost control. A team still needs a way to identify the workflow and change the behaviour causing the spend. Our platform engineering service can help teams instrument systems and build operational controls around the model calls.

Tips and mistakes to avoid

Keep the assumptions separate from the maths

Put model rates, token counts, cache rates, workflow volume and retry assumptions in editable cells. Include the date and source for every rate. This makes a price update or a new usage sample easy to apply and review.

Do not use one average token count for all requests

A short question and a long document review can have very different context and output. Segment common workflow types or use a distribution based on observed usage. At minimum, compare an ordinary case with a long or difficult case.

Do not confuse model price with workflow cost

A cheaper model can need more calls, longer prompts or more retries. Compare models on cost per successful task, with the same acceptance criteria and representative test cases.

Do not count cached tokens as free

A cache read may have a lower rate than standard input, but it still has a cost. Cache writes may have different pricing, and some cache designs also have retention charges. Confirm the exact rules for the selected service and include the cost of misses and unused cached content where applicable.

Do not count reasoning twice

Inspect provider usage fields. If the reported output total includes reasoning, do not add a separate reasoning line to that same total. If the API provides a separate reasoning field, record it and apply the correct price once.

Do not apply a retry percentage without defining it

A 20% share of runs with one extra attempt is different from a 20% chance of retry on every attempt. Also distinguish a repeated full workflow from a repeated single call. Record what triggers a retry and how many are allowed.

Do not assume lower tokens mean better economics

Shorter context may reduce token use but can also reduce task quality and increase downstream corrections. Test prompt changes against quality, human handling and completion rate as well as raw token counts.

Do not forget non-token costs

This model covers LLM token and cache charges. Your full AI service budget may also include retrieval infrastructure, storage, monitoring, networking, vendor platform fees, human review and engineering support. Track those separately so that the model-cost forecast is not mistaken for the total cost of operating the service.

A short wrap-up: make the forecast a living model

A usable enterprise LLM budget starts with a clear unit of work, a complete call map and measured or labelled assumptions. Add dynamic input, cache writes and reads, visible output, reasoning, agent context and retry behaviour. Then calculate monthly spend by workflow and compare the result with cost per successful task.

Start with one production workflow, not a company-wide average. Get its traces, price the actual calls, and update the model as you learn. If you want an independent review of your use cases, architecture and cost controls, explore PADISO's AI strategy and solutioning service. For a practical next step, record the current call map and complete the AI readiness test before setting a production budget.

WANT TO TALK THROUGH YOUR SITUATION?

Talk it through with us. Thirty minutes, no slides.

P
Written by the PADISO TeamSydney-based technology leaders who build what they advise on. Seven years of fractional CTO, architecture and AI work for enterprise, government and private equity.

Keep reading

All posts →

Let's talk.

Tell us what you are weighing up, whether it is a build, a roadmap or a deal. You will leave the call knowing your next step.

Book a 30-min callhi@padiso.co