AI features rarely fail during a demo. They usually fail a few months after launch, when finance asks why the AI assistant is costing far more than anyone expected.
This is a common problem. A survey of 500 finance leaders by DoiT and Sapio Research found that 79% of enterprises have experienced AI cost overruns. Organizations with the most mature FinOps practices reported an average overspend of 30.9%—the highest of any group. The reason isn’t that they manage costs poorly. Mature teams are simply better at measuring and uncovering spending that other organizations often overlook.
The problem usually starts much earlier, during planning. Many teams build their budget around a single estimate based on a single usage scenario. In reality, AI costs depend on several variables that change over time, and focusing on just one almost guarantees an inaccurate forecast.

This article introduces a practical framework for estimating AI costs before development begins. We’ll walk through the five variables that have the biggest impact on cost, show you how to calculate the cost of a single AI request, and explain how to build three budget scenarios that reflect real-world usage instead of best-case assumptions.
If you’d like to understand what drives those costs, including why output tokens are more expensive, how context windows affect pricing, or where “invisible” tokens come from, start with the first article in this series, then come back here.

