AI changes the shape of a cloud bill faster than almost anything else we have seen. A feature that cost a few hundred dollars a month during a pilot can cost tens of thousands once real users find it, and the first sign is often the invoice. At Wiv we work with companies that are putting AI into production and, more and more, with companies whose biggest new AI cost is not a model they host at all but the coding assistants their engineers use every day.

FinOps for AI is the practice of bringing the discipline teams already apply to cloud infrastructure to this new kind of spend. That means knowing where the money goes, tying it to value, and putting guardrails in place before things get out of hand. This guide covers what makes AI costs different, where the waste usually comes from, and how engineering and FinOps can share the work without slowing anyone down.

FinOps for AI vs AI for FinOps

The two phrases get mixed up all the time, so it is worth separating them. FinOps for AI is about managing what you spend on AI: model APIs, GPU infrastructure, and the AI tools your teams use. AI for FinOps is about using AI to do FinOps work better, for example asking an agent why costs went up last week or having it draft an automation. Both matter, and they often meet in the same team, but this post is about the first one. If you are interested in the second, our guide to FinOps automation with AI covers it.

Where AI spend actually comes from

Most organizations now pay for AI in three different ways, and each one behaves differently on the bill.

The first is model usage through APIs, either directly from a model provider or through a cloud service such as Amazon Bedrock, Azure OpenAI or Vertex AI. You pay per token, separately for what you send in and what the model sends back, and output tokens usually cost several times more than input tokens. A single request costs anywhere from a fraction of a cent to a few cents, which is exactly why it is easy to ignore until it is multiplied by every user, every retry and every background job.

The second is infrastructure you run yourself: GPU instances for training, fine tuning or self hosted inference, plus the storage and data transfer around them. This looks more like traditional cloud spend, but the instances are expensive and tend to be left running between experiments.

The third, and the fastest growing in many companies, is AI tools used by people. Coding assistants such as Cursor, Claude Code and GitHub Copilot, and chat tools like ChatGPT and Claude, are billed per seat, per usage, or both. This spend is tied to employees rather than workloads, it often sits on a corporate card or in a team budget, and the FinOps team may not see it at all.

A good FinOps for AI practice covers all three, because looking at only one of them gives a misleading picture of what AI really costs the business.

Why AI costs grow faster than expected

Part of the reason is technical. AI workloads are bursty, they scale with usage in ways that are hard to predict, and their real cost hides behind layers of orchestration, retries and caching that nobody looks at while building quickly. Prompts that started short grow once real users arrive. Chat histories and context windows get longer. Agents that retry a task or loop without strict limits can multiply token usage in minutes.

Model choice is the other big technical driver. Teams often default to the largest model because it feels safer, and then run every request through it, including tasks that a smaller model or plain code could handle.

The rest is organizational. There is pressure to add AI to every feature, pilots quietly become production without a cost review, and as tools get easier to use, engineers build their own scripts and notebooks that call models outside any shared account. That shadow usage stays invisible until the invoice arrives.

What engineering can do

Most of the waste starts in how models are called, so that is where the biggest savings usually are.

The most effective change is also the simplest: make fewer calls. If ordinary logic can do the job, it should. When a model is needed, grouping several small requests into one is cheaper than many separate calls, and batch processing costs much less for work that does not need an answer in real time.

Prompts deserve more attention than they usually get. Removing repeated context, trimming system prompts and asking for shorter, structured output all reduce tokens, and output tokens are the expensive ones. Prompt caching helps when large parts of a prompt stay the same from one request to the next.

Routing is the next step. Sending simple tasks to smaller models and keeping the most capable models for the work that needs them keeps cost in line with value. Some teams go further and tie model choice to the customer plan or to how important the feature is.

Finally, every agent and automated flow needs limits: a maximum number of tokens, a retry budget and a timeout. Without them, one misbehaving workflow can turn into a real cost event overnight.

What FinOps should own

Once engineering has removed the obvious waste, FinOps keeps it that way.

Everything starts with attribution. AI spend needs to be tied to teams, applications, features and, where it matters, customers. For API usage that means tagging or separating keys and projects by owner. For AI tools it means knowing which seats belong to which team and how heavily each one is used.

Next comes unit economics. Total cost on its own says little. Cost per successful request, cost per customer and cost per feature tell you whether a feature is worth what it costs, and they are usually the first numbers that surprise people.

Budgets and alerts come after that, set per team or environment, with alerts before the limit is reached rather than after. Many AI billing sources report with a delay, so you may not have real time numbers, but you should never be surprised at the end of the month.

The last layer is guardrails. Rate limits, quotas, hard caps for teams and automatic anomaly detection stop runaway usage. Automated workflows can switch a workload to a smaller model, pause something low value, or notify the owner when usage drifts.

A question we hear often is whether FinOps should own AI spend governance at all. In our experience FinOps should own the visibility, the budgets and the process, while engineering owns the technical decisions. When either side tries to do it alone, it does not hold.

Thinking about ROI early

Cost control is only half of it. The real question is whether an AI feature is worth more than it costs. The teams that handle this well estimate the expected cost while the feature is still a prototype and ask a few simple questions before launch. What happens if usage doubles? What happens if the biggest customer turns it on for everyone? What happens if prompts keep growing over the next six months? Treating AI features like any other product investment, judged by adoption and value as well as cost, avoids most of the unpleasant surprises.

How Wiv helps

Wiv brings both sides together. On the infrastructure side, Wiv workflows track AI related cloud spend, flag anomalies and act on them with the owner’s approval. For AI tools, Wiv Air gives each team a budget for tools like Cursor, Claude Code and ChatGPT, sends alerts before the limit is reached and can enforce hard caps, so companies can say yes to AI without losing control of the bill. You can read why we built it in Why We Built Wiv Air, see a practical take on coding tools in FinOps for Devs: How to Use Cursor Without Blowing Your Budget, or book a demo to walk through your own AI spend with us.

Frequently asked questions

What is FinOps for AI?

FinOps for AI is the practice of managing what an organization spends on AI, including model APIs, GPU infrastructure and AI tools used by employees. It focuses on attribution, unit economics, budgets and guardrails so that AI spend stays tied to business value.

What is the difference between FinOps for AI and AI for FinOps?

FinOps for AI manages the cost of AI. AI for FinOps uses AI to do FinOps work, such as explaining cost changes or building automations. Many teams need both.

Why are AI costs so hard to predict?

Pricing per token, bursty workloads, growing prompts, retries and agent loops make cost depend on user behavior more than on infrastructure size. Shadow usage outside shared accounts adds to the uncertainty.

How can you reduce AI costs without hurting quality?

Make fewer calls, use plain code where it is enough, batch requests that do not need real time answers, shorten prompts and outputs, cache repeated context, route simple tasks to smaller models, and put token, retry and time limits on every agent.

Should FinOps own AI spend governance?

FinOps should own visibility, budgets and the review process, while engineering owns technical choices such as models and prompts. Governance works best as a shared responsibility with a clear owner for each AI workload and tool.

How do you control spend on AI coding tools like Cursor and Claude Code?

Treat them as their own category. Assign seats and usage to teams, set a budget for each team, alert before limits are reached and use hard caps where needed. Tools like Wiv Air are built for exactly this.