FinOps Pilote by AB Conseil
Guide · FinOps for AI

FinOps for AI: managing the cost of each component of an AI application

An AI application is more than calls to a model. Behind an assistant or an agent, there is a vector search running day and night, data to index, sometimes GPUs, logs and agent loops. Each building block has its own way of costing money and its own levers. Here is the method we apply, component by component.

By Aymeric Boucher · 20 October 2026 · 8 min read

Why AI shakes up FinOps

According to the State of FinOps 2026, 98% of FinOps teams now manage AI spend, against 31% two years earlier. Flexera even links the first rise in cloud waste in five years to AI usage. Three things differ from the rest of the cloud:

  • Billing: per token, for input and output, with price gaps of 10 to 25 times between models of the same generation. A single line of code can change the bill.
  • Speed: a new use case, a growing prompt or an agent loop can double the spend within days. A monthly budget alerts too late.
  • Value: without a cost per use (per conversation, per document, per task), nobody knows whether a use case is profitable, or which one to stop.

The method remains the FinOps one: inform, optimize, operate, stay in control. But it has to be applied block by block.

Mapping an AI application: the blocks that cost money

Before optimizing, we draw the application with the project team and link each block to its line on the bill. A document assistant (RAG) or agent application almost always looks like this:

BlockWhat is billedClassic trapFirst lever
Model calls (Azure OpenAI, AI Foundry, Bedrock, Vertex AI)Input and output tokens, reasoning tokensThe flagship model for every task, unbounded answersSmallest sufficient model, bounded output
Provisioned capacity (PTUs, provisioned throughput)Reserved throughput, hourly or monthlyCapacity sized for the peak and used at 30%Size for real load, spill over to pay-as-you-go
EmbeddingsInput tokensRe-indexing the whole corpus at every updateIncremental indexing
Vector search (Azure AI Search, OpenSearch Serverless, vector database)Search or compute units, hourly, even with no queryProduction tier and replicas in non-prodTier and replicas suited to each environment
Document ingestion (OCR, chunking, storage)Pages analysed, storage, transactionsProcessing the same documents againCache the extraction result
GPUs (training, fine-tuning, self-hosted inference)GPU VM or node hoursGPUs running at night, forgotten notebooksAuto-shutdown, Spot, scale to zero
Hosted fine-tuned modelsHourly hosting fee, even with no callTrial deployments never deletedDelete what is no longer used
Orchestration and agentsThe tokens of every step and every toolUnbounded loops, context growing at every turnStep limit and token budget per task
Observability and safety (logs, content filtering)Log ingestion, filtering callsLogging every prompt and answer in fullSampling, short retention

1. Model calls

This is the most visible line. It depends on three factors: the model, the number of tokens and the payment mode.

Choose the smallest model that does the job

According to public prices, a "mini" or "nano" model costs 5 to 25 times less per token than the flagship model of the same generation. Classifying, extracting, summarizing, routing a request: these tasks almost never need the largest model. We test each use case on a set of examples, starting with the smallest model, and only move up if quality requires it. A router that sends simple questions to the small model and the others to the large one combines quality and cost.

Bound the output and the reasoning

Output tokens cost several times the input price, and the reasoning tokens of models that "think" are billed as output. Set a maximum answer length, ask for short structured outputs, and set the reasoning effort to the useful level: a high effort multiplies billed tokens without always improving the answer.

Lighten the context

In a conversation, the history is sent again at every turn: the cost of an exchange grows with its length. Summarize the history beyond a few turns, and in a RAG, inject fewer passages but better chosen ones (fewer, shorter, better-ranked chunks).

Prompt caching and batch

When the beginning of the prompt is identical from one call to the next (instructions, examples, reference documents), providers bill cached tokens much cheaper: up to 90% less depending on the model. Put the fixed parts first and the variable parts last. And everything that does not need an immediate answer (document classification, data enrichment, evaluations) goes to batch, about 50% cheaper. The details on Azure: reducing Azure OpenAI costs.

2. Provisioned capacity (PTUs)

PTUs on Azure OpenAI, or provisioned throughput on Amazon Bedrock, reserve throughput with predictable latency. They are managed like a VM reservation:

  • Measure before buying: several weeks of real traffic, per token, then size for the usual load, not for the peak.
  • Spill over rather than oversize: traffic beyond the reserved capacity goes to a pay-per-token deployment (spillover). You pay the peak at the public price without paying for empty capacity the rest of the time.
  • Track the utilization rate every week. Below 60 to 70%, the capacity is too large; above it, a monthly or yearly commitment becomes worthwhile.

3. Embeddings and vector search

This is the block most often forgotten, because it costs money even when nobody asks a question. On Azure AI Search, the bill follows the number of search units (replicas × partitions), per hour. On OpenSearch Serverless, a minimum of compute units is billed continuously.

  • One tier and one number of replicas per environment: several replicas make sense in production for availability, almost never in dev or test.
  • Paid options case by case: semantic ranking or AI enrichment add costs per query or per document.
  • Incremental indexing: only recompute the embeddings of modified documents. Changing the embedding model forces a full re-indexing: a decision to quantify.
  • Grouped indexes: ten small test indexes on ten search services cost ten times the minimal service.

4. Document ingestion

Before being searched, documents are read, chunked and sometimes sent to OCR, billed per page (Document Intelligence, Textract). Keep the extraction result: a document already processed does not need to go through OCR again at each re-indexing. Archive rarely used sources in a cold storage tier, as for the rest of your storage.

5. GPUs

Training, fine-tuning or serving an open-source model: GPUs are expensive per hour and often run idle.

  • Auto-shutdown of notebook instances and training clusters after a period of inactivity, with the same logic as the Stop/Start of non-prod.
  • Spot for training, with regular checkpoints: an interruption only loses a few minutes of compute.
  • Scale to zero for lightly used inference endpoints, or a switch to a pay-per-token API when the volume does not justify a dedicated GPU.
  • The right GPU: a high-end GPU serving a small model is the equivalent of an oversized VM. GPU utilization lastingly below 30% is a rightsizing signal.
  • Reservations or savings plans only for stable inference, as for a production VM.

6. Fine-tuned models

A fine-tuned model deployed on Azure OpenAI pays an hourly hosting fee, whether it receives calls or not. Forgotten trial deployments are a classic of first cost reviews. Two rules: delete any deployment with no call for two weeks, and compare fine-tuning with a better prompt or a RAG before launching it: it is rarely the cheapest solution.

7. Agents

An agent chains calls: it reasons, calls a tool, reads the result, starts again. Each step sends back a context that grows. The cost of a task can therefore vary by a factor of 10 depending on the number of steps.

  • A step limit and a token budget per task, with a clean stop when it is reached.
  • Deterministic tools for what code does better (calculations, exact lookups): the agent orchestrates, it does not calculate.
  • Caching tool results and summarizing the context between steps.
  • Cost per task tracked as a KPI: an agent whose cost per task drifts is often an agent that loops.

8. Observability and safety

Logging every prompt and answer in full in Log Analytics or CloudWatch can cost more than the calls themselves. Sample detailed traces, keep metrics (tokens, latency, errors) in full, and reduce retention: the levers are those of the Log Analytics bill. Content filtering and safety guardrails can also be billed per call: include them in the cost per use.

Allocating costs to each use case

On the bill, ten applications sharing the same Azure OpenAI resource appear on a single line. Without allocation, nobody is accountable. Three ways to split the costs, from the simplest to the finest:

  • One deployment or resource per application, tagged with the application code, following our single-tag rule.
  • An AI gateway in front of the models: on Azure, API Management can limit tokens per application and publish token consumption per subscription key. It is the basis of clean chargeback.
  • On AWS, application inference profiles on Bedrock, tagged, which flow into the Cost and Usage Report.

Measuring value: the cost per use

The right indicator is not the monthly AI bill but the unit cost: per conversation, per document processed, per ticket resolved, per active user. It is simple to calculate:

Cost per conversation = (input tokens × input price + output tokens × output price) × number of calls per conversation + share of fixed costs (search, hosting, logs)

Compared with the value produced or the cost of manual processing, it tells whether the use case is profitable, and it shows the effect of each optimization. We display it in the FinOps dashboard, next to the bill.

Guardrails, from day one

  • Quotas (tokens per minute) per deployment and per application.
  • Daily alerts and anomaly detection on AI services: a drift shows within hours, not at month end. The typical FinOps incidents show what a single day can cost.
  • A FinOps review before go-live of each use case: model chosen, bounded outputs, estimated cost per use, quotas, budget and owner.

The checklist

  1. Each block of the application is linked to its line on the bill.
  2. Each task uses the smallest model that delivers the expected quality.
  3. Outputs and reasoning are bounded; the fixed parts of prompts are cached.
  4. Non-urgent processing goes to batch.
  5. PTUs are sized on real load, with spillover to pay-per-token.
  6. Vector search, GPUs, endpoints and fine-tuned models do not run idle, especially outside production.
  7. Agents have a step limit and a token budget.
  8. Costs are allocated per application, and the cost per use is tracked every week.

FAQ

What is FinOps for AI?

It is FinOps applied to AI services: making their costs visible and allocated per use case, optimizing them (model, tokens, capacity, infrastructure) and setting guardrails. What makes it specific: per-token billing, fast drifts and a value to be measured through a cost per use.

How much of the AI bill comes from the model itself?

It varies a lot. In a document assistant, the always-on vector search, document ingestion and logs can weigh as much as the tokens. In a self-hosted application, GPU hours dominate. Hence the value of mapping every block before optimizing.

How can I reduce my Azure OpenAI bill?

Choose the smallest sufficient model for each task, bound the output and the reasoning effort, structure prompts to benefit from prompt caching, move what can wait to batch, and only switch to PTUs for a stable, measured load.

Should I reserve capacity for AI?

Only when the load is high, regular and measured over several weeks. Size for the usual load and let the peak spill over to pay-per-token.

How do I know which application uses the most AI?

By splitting costs from the design stage: one deployment or resource per application, tagged, or an AI gateway that measures tokens per subscription key. On AWS, tagged application inference profiles on Bedrock.

How do I measure the profitability of an AI use case?

With a cost per use (per conversation, per document, per task), including tokens and the share of fixed costs, compared with the value produced or the cost of manual processing.

Aymeric Boucher has been a FinOps consultant since 2021 and is the founder of FinOps Pilote. He works with large international enterprises and SMEs on Azure and AWS, runs FinOps audits and has delivered more than €30M in cloud savings. His background →

First conversation

How much are you losing every month on a poorly optimized cloud?

SMEs: we are paid 20% of the annual savings achieved. Large enterprises: an ongoing FinOps expert, on quote. A first 30-minute conversation, no commitment.