Mikel Studio
Back to Studio Notes
AI & Product NotesAug 5, 2026

AI FinOps: The Missing Discipline in Agentic Software Development

AI systems do not consume infrastructure in predictable ways. They reason, retry, call tools, search, escalate, and sometimes involve humans. Managing their economics requires more than a token dashboard.

AI FinOps: The Missing Discipline in Agentic Software Development

AI systems do not consume infrastructure in predictable ways. They reason, retry, call tools, search, escalate, and sometimes involve humans. Managing their economics requires more than a token dashboard.

Cloud FinOps emerged because cloud computing changed the economics of infrastructure. Instead of buying a fixed amount of hardware every few years, organizations gained access to elastic resources that could be provisioned in seconds and billed continuously. That flexibility created enormous productivity, but it also made cost a dynamic engineering concern rather than something finance could understand only by reviewing an annual procurement contract.

AI is now creating a similar transition, but with an additional layer of uncertainty. A conventional cloud workload may scale with traffic, storage, or compute demand in relatively understandable ways. An AI agent can receive two similar tasks and follow completely different execution paths. One request may require a single model call, while another invokes several tools, performs web searches, retries failed steps, processes a large context, escalates to a stronger model, executes code, and eventually asks a human for help.

The bill captures all of those actions. It does not necessarily tell us why they happened or whether they created useful work.

That is why I believe agentic software needs a more explicit discipline of AI FinOps: a collaborative practice that connects AI consumption, engineering decisions, operational behavior, and business outcomes.

The goal is not simply to make AI cheaper. The goal is to make the economics of AI systems understandable enough that teams can deliberately trade off cost, quality, latency, capacity, and risk.

AI FinOps is more than token accounting

The most obvious AI cost is model inference, so it is natural that early cost management focuses on tokens. Engineering teams track input and output consumption, compare models by price per million tokens, and build dashboards showing which application or team is responsible for the largest share of usage.

That is a necessary first step, but agentic systems quickly make it incomplete.

Current provider pricing already contains multiple economic dimensions beyond ordinary input and output tokens. Anthropic prices prompt-cache creation and cache hits differently, offers a 50% Batch API discount, charges separately for some server-side tools such as web search, and prices fast processing at a premium. Google exposes standard, batch, flex, and priority execution tiers alongside caching and search-grounding charges. OpenAI similarly offers premium Priority Processing with different latency characteristics and tracks that usage separately by service tier and line item.

This means that even a single model request no longer has one obvious price. Its economics depend on how urgently it needs to run, whether context can be reused, whether external tools are involved, how much reasoning occurs, and which infrastructure tier serves it.

An agent makes this substantially more complex because one user request can produce a graph of billable activity rather than a single inference.

The useful accounting unit therefore cannot stop at tokens × price.

It needs to become workflow cost.

The agent workflow is the real cost boundary

Consider a research agent asked to prepare a competitive analysis. It might begin with a frontier model, perform ten web searches, retrieve several pages, store a reusable context in a cache, run code to analyze data, ask another model to verify the conclusions, and then generate the final report.

Another execution of the same workflow may find sufficient evidence after three searches and finish much earlier.

From the product perspective, both are one research task. From the infrastructure perspective, they are very different workloads.

This is why AI FinOps needs to understand the execution graph behind the user-facing action. Model tokens are only one cost center inside that graph. Depending on the system, the complete cost may include model inference, embeddings, retrieval, search APIs, tool execution, sandbox compute, storage, caching, external SaaS calls, sub-agent execution, retries, observability, and human review.

Anthropic's current pricing model provides a concrete example of this decomposition. Tool-enabled requests incur ordinary input and output tokens, tool definitions themselves contribute context, server-side web searches are billed separately, and code execution may be metered by runtime depending on how it is invoked. The bill for an agent is therefore naturally multi-component even before the application adds its own infrastructure.

A mature cost model should be able to reconstruct those components at the workflow level.

Without that visibility, teams know how much they spent but not which engineering behaviors created the spend.

Allocation has to move from API keys to business workflows

Traditional cloud FinOps spends significant effort on allocation: mapping technology costs to the teams, products, environments, or cost centers responsible for them. The FinOps Foundation describes allocation as the practice of assigning cost and usage using organizational hierarchy, metadata, labels, and other signals so that people can understand the resources for which they are responsible.

AI needs the same discipline, but API-key-level allocation will rarely be enough.

Imagine a shared AI gateway used by engineering, customer support, finance, and an internal research product. The monthly provider invoice can tell the organization how much the gateway consumed. Even splitting spend by team does not explain whether the money went toward coding assistance, ticket resolution, document analysis, experimentation, or a production agent repeatedly retrying failed tasks.

I would therefore expect useful AI cost telemetry to carry several dimensions with every execution: organization, team, product, workflow, agent, model, environment, customer or tenant where appropriate, and perhaps an outcome identifier linking all related calls back to the unit of work that initiated them.

That metadata turns an opaque provider bill into operational information.

Instead of knowing that Team A consumed $80,000 of AI in July, leadership can see that $34,000 supported customer-resolution workflows, $18,000 supported engineering agents, $12,000 went to offline batch enrichment, and $16,000 came from experiments and unreleased features.

The difference is important because different workloads deserve different optimization strategies.

AI budgets should exist at the workflow level

Once costs are allocated correctly, budgeting can become more intelligent.

Many organizations initially control AI spend by assigning a monthly dollar limit or token quota to a project. That can prevent uncontrolled spending, but it treats all consumption as economically equivalent. A production agent that generates revenue and an experimental internal chatbot may compete for the same budget even though the value of an additional dollar is completely different.

A better budgeting model operates at several levels.

The organization may maintain a total AI budget. Individual teams or products receive allocations beneath it, but critical workflows also have explicit economic envelopes. A high-value customer-resolution agent might be allowed to spend several dollars on a difficult case because avoiding escalation to a human saves significantly more. A low-value content-classification job might have a much tighter ceiling and fall back to a deterministic process if its expected AI cost becomes too high.

This introduces the concept of a cost budget per workflow execution.

An agent could begin with an economic envelope such as: complete this task for no more than $2 unless escalation is explicitly justified. The runtime then has a concrete constraint when deciding whether to perform another search, increase reasoning effort, invoke a premium model, or ask a human to intervene.

Budget becomes part of agent policy rather than merely a finance report created after execution.

That is an important transition because autonomous systems can make spending decisions themselves.

Agents need economic guardrails

Traditional applications generally do not decide to consume ten times more infrastructure because they became uncertain about an answer. Agents can.

An agent that struggles with a task may naturally respond by searching again, reading more documents, invoking more tools, increasing reasoning depth, or retrying a failed operation. Each step can be individually reasonable while the overall execution becomes economically irrational.

This is why production agents need economic guardrails just as they need security guardrails.

A workflow might have limits on total model spend, number of searches, number of retries, maximum execution time, premium-model escalation, or total tool invocations. Reaching a threshold does not necessarily mean terminating the task. The agent may switch strategy, degrade gracefully, ask the user for clarification, or escalate to a human.

The important principle is that cost should be visible to the execution environment while the work is happening.

Waiting for a monthly finance report is too late if an autonomous system can create thousands of expensive execution loops in a few hours.

AI FinOps therefore becomes partially a runtime concern.

Retry economics deserve first-class observability

Retries are a particularly important source of hidden waste because they often disappear from product-level metrics.

Suppose an agent ultimately resolves a customer case successfully. The application records one resolution. Behind the scenes, the system may have attempted the workflow four times, retried two failed tool calls, performed duplicate searches, and escalated between three models before succeeding.

If the business measures only successful outcomes and aggregate token usage, it can miss the architecture problem.

A useful AI FinOps system should expose metrics such as attempts per completed workflow, retry cost per outcome, and cost of failed executions. Those measures reveal whether spend is being driven by productive reasoning or by system unreliability.

This is also where FinOps and agent evaluation begin to reinforce each other. Anthropic notes that agent evaluation is inherently more complex because agents operate over many turns, call tools, modify state, and adapt based on intermediate results. Those same behaviors that complicate evaluation also complicate cost attribution.

A regression that increases tool-call failures may reduce quality, increase latency, and raise cost at the same time.

Cost telemetry can therefore become another diagnostic signal for agent behavior.

Routing is an economic decision, not just a capability decision

Model routing is often presented as a technical optimization: send simple tasks to a small model and difficult tasks to a more capable one.

AI FinOps makes the routing objective more precise.

The right question is not which model has the lowest price. It is which execution strategy gives the organization the best expected economics for the required quality, latency, and risk.

A small model may cost dramatically less per token but require multiple attempts before producing acceptable work. A larger model may complete the task correctly on the first execution. Batch processing may cut inference cost substantially but be inappropriate for an interactive user workflow. Priority processing may cost more while creating enough latency improvement to be worthwhile for an urgent customer-facing experience.

The current provider landscape increasingly exposes these operating choices directly. Gemini 3.5 Flash, for example, has separate standard, batch, flex, and priority rates; OpenAI's Priority Processing explicitly trades premium pricing for more predictable low latency; and Anthropic offers both discounted batch workloads and premium fast execution.

Routing is therefore becoming a multidimensional optimization problem involving model capability, reasoning effort, processing tier, caching, tools, and business urgency.

The cheapest request is not necessarily the cheapest workflow.

Caching should be evaluated economically, not mechanically

Caching provides another example of why AI FinOps needs workload-level reasoning.

It is easy to say that caching saves money, but whether it does depends on reuse patterns. Anthropic's current prompt-caching structure charges a premium when creating a cache entry while cache hits cost only a fraction of ordinary input processing. A short-lived cache can pay back rapidly when context is reused, while a cache that is written but rarely read may simply add cost.

The same principle applies to persistent context, embeddings, precomputed summaries, and other optimizations.

Engineering teams therefore need to measure cache hit rates, write-to-read ratios, saved input processing, and storage cost rather than enabling caching indiscriminately. The optimization should be justified by the actual traffic pattern.

For a support agent sharing a large stable policy manual across thousands of requests, caching may produce excellent economics. For a research agent that creates a unique context for every task, the benefit may be negligible.

AI FinOps converts “use caching” from generic advice into a measurable engineering hypothesis.

Capacity will become part of FinOps too

Cost is not the only scarce resource in frontier AI.

Production systems also depend on throughput, rate limits, latency guarantees, regional availability, and sometimes explicitly purchased capacity. OpenAI's Priority Processing and Scale Tier already make these distinctions visible: Priority requests are billed separately at premium per-token rates, while Scale Tier represents a separate enterprise capacity mechanism.

This means AI FinOps will increasingly overlap with capacity engineering.

An organization may need to decide which workflows deserve premium latency, which can tolerate standard processing, which should be moved into discounted asynchronous queues, and how much reserved capacity should be purchased for predictable production demand.

That resembles cloud commitment planning, but the workload is more complicated because model demand can change when routing policies, reasoning effort, or agent behavior change.

A seemingly harmless product release that gives agents more autonomy can increase average execution depth and therefore consume far more throughput than traffic volume alone would predict.

Forecasting needs to model behavior, not just users.

Human review belongs in the FinOps model

One of the strongest lessons from outcome-based AI economics is that human labor must be included when it materially contributes to completing the workflow.

Imagine that an agent costs $0.50 per execution but requires eight minutes of expert review. Another configuration costs $2 in AI but reduces review to two minutes. A token dashboard will strongly prefer the first system even when the second may be considerably cheaper overall.

Human review is also not a uniform cost. A junior operations analyst, senior engineer, lawyer, or financial controller represents very different economic resources. The amount and type of human intervention therefore matter when evaluating whether an agent actually creates leverage.

This does not mean AI FinOps needs to convert every employee minute into an obsessively precise accounting number. Approximate fully loaded rates are often sufficient to reveal where the dominant costs sit.

If $0.30 of inference routinely creates $15 of review work, optimizing cache tokens is unlikely to be the highest-value engineering project.

The purpose of the model is not accounting precision for its own sake. It is making the economics visible enough to choose the right optimization.

Cost needs to be linked to quality

This is where AI FinOps differs most sharply from simplistic cost cutting.

Suppose an organization finds a model that reduces inference expense by 70%. Moving every workflow to it would produce a beautiful cost chart. If acceptance rate subsequently falls, escalation increases, customer satisfaction declines, or engineers spend more time correcting outputs, the organization has not optimized the system.

It has moved cost somewhere else.

FinOps Foundation's current unit-economics guidance makes this distinction explicitly. Resource metrics such as cost per token are useful, but mature practices connect technology cost to units of business value, such as cost per transaction or case resolved. Its guidance for generative AI similarly describes an evolution from token metrics toward outcome-oriented measures such as cost per assist, agent action, or case deflected.

AI FinOps therefore needs quality data next to cost data.

For each meaningful workflow, teams should ideally know both what an execution cost and whether it met the acceptance criteria.

This is precisely why eval infrastructure becomes part of financial infrastructure.

Cost per accepted outcome is the unit economics layer

In the previous article in this series, I proposed Cost per Accepted Outcome as a useful metric:

Cost per Accepted Outcome = Total Workflow Cost / Accepted Outcomes

AI FinOps is the discipline required to make that equation operational.

The numerator requires cost attribution across models, searches, tools, infrastructure, retries, and human intervention. The denominator requires product and evaluation systems that can determine whether the result was actually usable.

Without good allocation, we do not know what the workflow cost. Without evaluation, we do not know what the workflow produced.

The two disciplines meet at unit economics.

This framing aligns closely with the FinOps Foundation's broader definition of unit economics: technology spending should be connected to the value created by a product, service, or activity rather than viewed only as an infrastructure bill.

For agent systems, that unit might be an accepted code change, resolved support case, completed compliance review, processed payroll request, successful sales qualification, or research deliverable that passes review.

The correct unit depends on the business.

The principle does not.

AI FinOps needs a maturity model

I expect many organizations to move through a fairly predictable progression.

At the first stage, they have visibility. They can answer how much AI costs overall, which providers and models consume the money, and whether spending is increasing unexpectedly.

The second stage is allocation. Costs are mapped to teams, environments, products, agents, and eventually workflows. Engineering owners can see the economic consequences of the systems they operate.

The third stage is optimization. Teams actively use model routing, caching, batch processing, context reduction, tool optimization, retry controls, and workload scheduling to improve economics without damaging quality.

The fourth stage is unit economics. AI spend is connected to accepted business outcomes, allowing leaders to understand cost per resolved case, accepted code change, completed investigation, or other meaningful units.

The final stage is economic orchestration. Cost, quality, latency, and risk become runtime inputs. Agents and routing layers can choose models, processing tiers, tools, or escalation paths according to business value and budget constraints.

At this stage, FinOps stops being primarily a dashboard.

It becomes part of the architecture.

The operating model must be cross-functional

Cloud FinOps succeeded partly because cost optimization could not remain the exclusive responsibility of finance. Engineers make architectural decisions that determine infrastructure consumption, finance understands budgets and commercial commitments, and product teams understand whether spending creates value.

AI makes that collaboration even more important.

Engineering teams understand prompts, models, tools, routing, and execution paths. Finance can normalize provider invoices, commitments, and forecasts. Product and operations teams define useful outcomes. Security and compliance determine whether cheaper execution modes or alternative providers satisfy risk requirements. Data teams may own retrieval infrastructure and storage costs that contribute to the same workflow.

No single function has the complete picture.

An AI FinOps practice therefore should not become another centralized team that sends engineers cost warnings after the fact. Its purpose should be to create shared telemetry, language, and decision frameworks so that the people designing AI systems understand their economic consequences while they are making architectural decisions.

The FinOps Foundation's general model emphasizes exactly this shared accountability for technology consumption, and its dedicated AI scope now highlights the need for allocation, forecasting, policy, governance, and business-value alignment as AI spend grows.

AI FinOps is engineering economics practiced collaboratively.

What an AI FinOps dashboard should eventually show

A mature dashboard should look very different from a token-usage chart.

At the infrastructure layer, teams still need model spend, token volume, cache usage, tool cost, search cost, processing tier, execution runtime, and provider distribution. These metrics help diagnose where infrastructure cost originates.

At the workflow layer, the system should expose execution count, cost per execution, retry rate, failed execution cost, average tool count, model escalation frequency, human-review time, and perhaps execution-path distributions.

At the business layer, leaders should see accepted outcomes, acceptance rate, cost per accepted outcome, cycle time, value created where measurable, and trends relative to the previous human or software process.

The layers should connect.

If cost per accepted outcome rises, engineers should be able to drill down and discover whether the cause is model pricing, a drop in acceptance rate, more web searches, cache misses, retry storms, increased reasoning, or a growing need for human intervention.

That is much more useful than receiving an alert that “AI spend increased 27%.”

Sometimes spending should increase.

The real question is whether the economics improved.

AI optimization should be treated like performance engineering

One practical mistake is trying to optimize everything simultaneously.

AI systems have many potential cost levers: smaller models, shorter prompts, caching, batch execution, context compression, fewer tools, cheaper search providers, reduced reasoning, tighter retry limits, and human-review automation.

The correct optimization depends on the workload.

The engineering approach should therefore resemble performance tuning. Instrument the workflow first. Identify the dominant cost center. Change one architectural variable. Measure the effect on cost, quality, latency, and risk. Keep the change only if the overall system improves.

A workflow dominated by repeated large system prompts may benefit strongly from caching. Another dominated by expensive human review needs better output quality. A nightly enrichment pipeline should probably exploit batch economics, while a real-time customer agent may require premium latency. A retry-heavy workflow may benefit more from reliability work than from changing models.

AI FinOps provides the measurement framework that makes those decisions rational.

Without it, cost optimization becomes a collection of generic tips.

The goal is not minimum spend

There is an important cultural risk in giving AI cost too much visibility.

Teams can easily begin treating lower spend as success.

That is not the purpose of FinOps.

A company that spends $1 million on AI and creates $20 million of measurable value may have better economics than one spending $100,000 and creating almost nothing. Even inside a single workflow, doubling AI spend may be an excellent decision if it substantially reduces human effort or increases completion quality.

The FinOps Foundation's unit-economics framework makes the same broader point: costs need to be interpreted in relation to the value they produce, allowing organizations to make explicit tradeoffs among cost, speed, quality, and risk.

AI FinOps should therefore optimize economic efficiency, not absolute frugality.

Sometimes the correct recommendation will be to use fewer tokens.

Sometimes it will be to spend more.

AI is turning software architecture into an economic control system

There is a broader architectural shift underneath all of this.

Traditional application code primarily determines what a system does. Agentic software increasingly also determines how much reasoning and external work it should purchase in order to accomplish the task. The agent can decide to search again, invoke another tool, call a stronger model, or continue reasoning.

That means software is beginning to make small economic decisions at runtime.

As agent authority grows, those decisions will become more consequential. A future enterprise agent might choose between a twenty-cent execution path that succeeds 70% of the time, a two-dollar path with much higher reliability, and a fifteen-dollar human escalation.

Choosing among those options is not simply model routing.

It is an economic policy decision encoded into software.

That is why AI FinOps will eventually sit much closer to application architecture than traditional cost reporting.

The budget, expected value, risk tolerance, latency requirement, and acceptance threshold of a workflow can all influence how much intelligence the system should purchase.

From token economics to outcome economics

Tokens remain important. They are the basic consumption unit through which much of modern model inference is priced, and understanding token economics is necessary for operating AI at scale. The FinOps community itself has increasingly focused on token economics as AI becomes a major technology spend category.

But tokens are only the beginning of the economic model.

A production AI system consumes tokens in order to reason, tools in order to act, infrastructure in order to execute, and human attention when autonomy reaches its limit. Those resources combine to produce—or fail to produce—a business outcome.

The discipline we need therefore has to connect all of them.

AI FinOps should tell us where the money went, which workflows consumed it, why those workflows became expensive, whether the outputs were accepted, and which engineering changes would improve the economics without sacrificing quality or safety.

That is a much broader mission than reducing an API bill.

It is the financial operating system for agentic software.

And as AI agents move from experiments into production, I suspect it will become as normal a part of engineering management as cloud FinOps is today.

Want to turn a rough idea into a working system?

Bring the problem and the assets you already have. We will audit them together and find the next clear step.