Skip to content
FinOps for AI

FinOps for AI: How to Track and Control LLM and GPU Spend

AI spend behaves differently from the rest of your cloud bill. It is metered in tokens, mixed with fixed capacity, spread across providers, and shaped by product decisions as much as infrastructure. This guide shows how to attribute it to teams, measure what it buys, and reduce it without hurting quality.

AI has become the centre of gravity for cloud cost management. In the FinOps Foundation's State of FinOps 2026 survey, 98% of FinOps practices said they now manage AI spend, FinOps for AI was the top forward-looking priority, and AI cost management was the skill teams most needed to build.

The reason is simple. A single feature that sends long prompts to a large model can cost more than the infrastructure it runs on, and the bill often arrives with no clear owner. The good news is that the FinOps disciplines you already know (visibility, allocation, unit economics and guardrails) work for AI too, once you adapt them to how AI is billed.

Why AI spend is different

  • Tokens are not all equal. Input, output and cached tokens are priced differently, and prices vary widely between models. Tracking token volume alone misattributes cost.
  • Variable and fixed costs are mixed. Pay-as-you-go tokens scale with traffic, while reserved capacity, such as Azure OpenAI provisioned throughput units (PTUs) or GPU instances, is charged by the hour whether or not it is used.
  • Spend arrives through several channels. Cloud model services (Amazon Bedrock, Google Vertex AI, Azure OpenAI) appear on the cloud bill. Direct model APIs and AI features inside SaaS tools are billed separately.
  • Product design drives cost. Prompt length, retrieved context, retries and agent loops decide the bill as much as instance sizes do, so engineers and product owners have to be part of the conversation.
FinOps for AI flow AI spend from cloud model services, direct model APIs and GPUs is attributed with tags and labels, normalised with FOCUS, turned into unit economics, and then optimised. WHERE SPEND COMES FROM Cloud model services Bedrock · Vertex AI · Azure Direct model APIs separate invoices GPUs & capacity training · hosting · PTUs 1. Attribute tags · labels · keys 2. Normalise FOCUS format 3. Unit economics 4. Act route · cache batch · budget cost per query · per user · per workflow · per outcome
The same FinOps loop as the rest of the cloud: attribute, normalise, measure per unit, then act.

Step 1: attribute AI spend to teams and features

You can't manage what has no owner. Each major platform has its own mechanism, and each has caveats worth knowing before you rely on it.

Amazon Bedrock: application inference profiles

  1. Create an application inference profile for each application or team, copied from the model it will use, and attach cost allocation tags such as team, application and environment.
  2. Call the model through the profile. Use the profile's ARN in place of the model ID in your API calls.
  3. Activate the tags in the Billing console (in the management account if you use AWS Organizations). Activated tags can take up to 24 hours to appear in Cost Explorer and Cost and Usage Reports, and they are not retroactive, so do this before launch.
  4. Group by tag in Cost Explorer to compare spend by application. Use a fixed set of tag values; keys are case-sensitive, so Team and team are different tags.
import boto3

bedrock = boto3.client("bedrock")
profile = bedrock.create_inference_profile(
    inferenceProfileName="support-summaries-prod",
    modelSource={"copyFrom": "arn:aws:bedrock:eu-west-1::foundation-model/<model-id>"},
    tags=[{"key": "team", "value": "support"},
          {"key": "application", "value": "ticket-summaries"},
          {"key": "environment", "value": "production"}],
)

runtime = boto3.client("bedrock-runtime")
runtime.converse(
    modelId=profile["inferenceProfileArn"],   # the profile, not the raw model ID
    messages=[{"role": "user", "content": [{"text": "Summarise this ticket: ..."}]}],
)

Google Vertex AI: request labels

Gemini models on Vertex AI accept a labels object in the request body, and those labels reach Cloud Billing, where you can filter and group costs by them.

{
  "contents": [{ "role": "user", "parts": [{ "text": "Summarise this ticket: ..." }] }],
  "labels": { "team": "support", "application": "ticket-summaries" }
}

Know the limits: labels are forwarded to billing only for pay-as-you-go usage and are ignored on Provisioned Throughput; sending labels to an unsupported model returns an error; partner models use an X-Vertex-AI-Labels header instead; and labels on the Gemini Developer API (AI Studio) don't reach Cloud Billing, which is a common reason teams move production traffic to Vertex AI.

Azure OpenAI: tag every deployment

Costs in the Azure portal are aggregated per Azure AI resource, so tag each model deployment and filter Cost Management by those tags, or give separate teams separate resources. Watch provisioned throughput closely: PTU capacity is billed hourly whether or not it handles requests, deployments can't be paused (billing stops only when the deployment is deleted), and monthly or yearly reservations, which apply only to PTU deployments, can reduce the rate for steady workloads.

Direct model APIs

When teams call model providers directly, separate spend by giving each application its own project or workspace and API key, and export usage regularly into the same place as your cloud costs. Cloud-billed model services are usually easier to allocate because they arrive on your existing bill.

Normalise everything with FOCUS

The FinOps Open Cost and Usage Specification (FOCUS) gives cloud, SaaS and other billing data a common format. Version 1.2 added SaaS and PaaS billing, and the current version, 1.4, was ratified in June 2026. With AI spend in one consistent format, a simple per-unit cost falls out directly, for example BilledCost ÷ ConsumedQuantity for cost per token.

Step 2: measure unit economics, not just totals

A rising AI bill can be good news if it buys more value. Unit metrics tell you which. The FinOps Foundation's AI guidance recommends metrics such as cost per query, cost per user and cost per workflow, and notes that token-only views are partial because they leave out fixed and semi-fixed costs.

  • Fully loaded cost = tokens + reserved capacity or GPUs + retrieval and vector storage + evaluation runs + supporting infrastructure.
  • Unit cost = fully loaded cost ÷ the unit the business cares about: tickets resolved, documents processed, active users.
  • Track the trend. A healthy AI feature gets cheaper per unit as it matures and grows.

Illustration: if a support-summary feature costs $3,000 a month fully loaded and summarises 60,000 tickets, it costs $0.05 per ticket. If a model change cuts token spend by a third without lowering quality on your evaluation set, the unit cost falls, and you can show the saving in business terms.

AI spend tracking in Aavya Optima: join early access

We are adding AI and LLM spend tracking to Aavya Optima, so you can see model and GPU costs next to the rest of your multi-cloud spend. Join early access to try it first and help shape it.

Join early access   Get help setting up AI cost allocation

Step 3: reduce cost without reducing quality

Every lever below can hurt quality if applied blindly. Run each change against an evaluation set first; see how to build one.

  1. Use the smallest model that passes. Route simple requests, such as classification, extraction and short answers, to smaller, cheaper models, and reserve the largest models for tasks that need them.
  2. Send less context. Trim system prompts, retrieve fewer but better passages, and cap output length. Input and output tokens usually dominate the bill.
  3. Cache repeated context. Most major providers offer prompt caching that charges less for repeated prompt prefixes, such as long instructions or shared documents. Check your provider's pricing for the exact discount and cache lifetime.
  4. Batch what isn't urgent. OpenAI and Anthropic both price their batch APIs at 50% of standard rates for work that can wait for results, such as overnight document processing, evaluations and backfills.
  5. Bound agent loops. Set a maximum number of steps and a token budget per request, so one confused agent can't run up hundreds of calls.
  6. Match capacity to load. Compare reserved capacity (PTUs, provisioned throughput, GPU reservations) with pay-as-you-go at your real utilisation, shut down idle GPU development environments, and use interruptible capacity for checkpointed training jobs.

Step 4: put guardrails in place

  • Budgets and anomaly alerts per AI tag or label, routed to the owning team rather than a shared inbox.
  • Rate limits and quotas per application. Provider limits are usually expressed in tokens per minute, so translate monthly budgets into those terms, or enforce budgets in an internal AI gateway.
  • Cost estimates before deployment. Estimate tokens per request and requests per day during design review. The State of FinOps 2026 survey highlights pre-deployment architecture costing as one of the capabilities practitioners most want.
  • A monthly AI cost review that looks at unit costs, not just totals, with engineering, product and finance in the room.

FinOps for AI checklist

AreaIn place when…
AttributionEvery AI request carries a team and application via tags, labels, profiles or keys
DataAI spend from all channels lands in one FOCUS-aligned dataset
Unit economicsEach AI feature has a fully loaded cost per business unit, tracked monthly
OptimisationModel routing, caching, batching and loop limits tested against an evaluation set
CapacityReserved capacity justified by measured utilisation; idle GPUs shut down
GuardrailsBudgets, anomaly alerts, quotas and pre-deployment estimates
Bring AI spend under the same discipline as the rest of your cloud

Join early access to AI spend tracking in Aavya Optima, start with Optima for multi-cloud cost visibility, or work with our forward deployed engineers to implement AI cost allocation, unit economics and guardrails in your stack.

Join AI spend tracking early access   Try Aavya Optima free   Book a scoping call

Sources and further reading

Lalit Kumar

Director, Founder & CTO of NeoAavya Consulting Services. A solution architect with 16 years of industry experience, Lalit leads NeoAavya’s technology, including the engineering behind Aavya Optima.

More about Lalit and his articles   Connect on LinkedIn

Read next