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:
| Block | What is billed | Classic trap | First lever |
|---|---|---|---|
| Model calls (Azure OpenAI, AI Foundry, Bedrock, Vertex AI) | Input and output tokens, reasoning tokens | The flagship model for every task, unbounded answers | Smallest sufficient model, bounded output |
| Provisioned capacity (PTUs, provisioned throughput) | Reserved throughput, hourly or monthly | Capacity sized for the peak and used at 30% | Size for real load, spill over to pay-as-you-go |
| Embeddings | Input tokens | Re-indexing the whole corpus at every update | Incremental indexing |
| Vector search (Azure AI Search, OpenSearch Serverless, vector database) | Search or compute units, hourly, even with no query | Production tier and replicas in non-prod | Tier and replicas suited to each environment |
| Document ingestion (OCR, chunking, storage) | Pages analysed, storage, transactions | Processing the same documents again | Cache the extraction result |
| GPUs (training, fine-tuning, self-hosted inference) | GPU VM or node hours | GPUs running at night, forgotten notebooks | Auto-shutdown, Spot, scale to zero |
| Hosted fine-tuned models | Hourly hosting fee, even with no call | Trial deployments never deleted | Delete what is no longer used |
| Orchestration and agents | The tokens of every step and every tool | Unbounded loops, context growing at every turn | Step limit and token budget per task |
| Observability and safety (logs, content filtering) | Log ingestion, filtering calls | Logging every prompt and answer in full | Sampling, 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
- Each block of the application is linked to its line on the bill.
- Each task uses the smallest model that delivers the expected quality.
- Outputs and reasoning are bounded; the fixed parts of prompts are cached.
- Non-urgent processing goes to batch.
- PTUs are sized on real load, with spillover to pay-per-token.
- Vector search, GPUs, endpoints and fine-tuned models do not run idle, especially outside production.
- Agents have a step limit and a token budget.
- Costs are allocated per application, and the cost per use is tracked every week.