FinOps
FinOps shows what your AI work costs, down to the workspace, team, agent, project and run, in one figure that adds up:
- Model tokens: every inference call, at your negotiated prices on your own keys, or at what MeetLoyd bills for platform-hosted inference;
- Sandbox compute: the sandboxes your coding agents and projects run in;
- Storage: your managed file store (counted for the organisation as a whole, since storage is measured per organisation);
- Cloud bills: your own cloud cost (models on Bedrock, Vertex or Foundry, and the infrastructure your agents use), once you connect your cloud's cost export.
Usage with no known price is never shown as free. Cards list it separately ("tokens with no known price", "compute with no rate") and leave it out of the total until a price exists.
Where you see it
| Where | What it shows |
|---|---|
| Agent page | Cost card: the last 30 days, split by component, top models and sandboxes, cost per outcome |
| Team page | Cost card with the top agents |
| Workspace page, Cost tab | Cost by team and Cost by project |
| Project, Budget tab | Metered cost by agent, and Cost per outcome since the start with one row per milestone |
| Control → Analytics → Costs & value | The FinOps page: spend for the scope and period you pick, Insights, Cost per outcome by agent, spend by model and by team — next to Cost explorer, Outcome types and Carbon footprint |
Each card links to the FinOps page. Seeing cost needs billing access; an owner or admin can grant it.
Settings → FinOps
Every billing credential lives on this one page. Credentials are used read-only and kept encrypted in your vault; a stored secret is never shown again. Changing them needs the settings permission.
LLM vendors' billing
The token costs MeetLoyd shows are computed from the tokens it counted. Add a vendor's admin (billing) account to see, beside them, what the vendor itself counted and charged for your keys. Figures are fetched daily, 90 days back when the account is added, and each vendor shows Last 30 days: vendor … · ours … so you can spot a gap.
- Several accounts per vendor. Click the add button for a vendor (for
example Add admin key) and give each account an Account label such as
mainoreu-subsidiary. The link next to the button opens the vendor console page where the credential is created. - Link each LLM key to its account. In Models → Providers & keys, or when you add a key with Add LLM, choose the key's Billing account. Not yet added means the key is not linked to any account, so no vendor figure covers it yet. When exactly one of your accounts lists a key at the vendor, MeetLoyd links it automatically (marked auto). Your own choice always wins.
- Removing an account sends its keys back to Not yet added; days already fetched are kept.
What each vendor offers:
| Vendor | Billing figures |
|---|---|
| Anthropic | Synced: Usage and Cost Admin API (admin key) |
| OpenAI | Synced: Usage and Costs API (admin key) |
| Synced: Cloud Billing export to BigQuery (service-account key file, export table, projects holding your Gemini keys) | |
| Mistral | Sync coming: the admin key can be stored now |
| xAI | Sync coming: the management key and team id can be stored now |
| Alibaba Cloud (Qwen) | Sync coming: the AccessKey can be stored now |
| GitHub Copilot | Sync coming: the billing token and organization can be stored now |
| Azure OpenAI | Billed on your Azure bill: connect the Azure cost export under Cloud bills |
| Groq, DeepSeek, Zhipu (GLM), Moonshot (Kimi) | Not available: the vendor offers no usage or cost report |
| Custom endpoint | Not available: there is no vendor bill to reconcile |
For a vendor whose sync is coming, the account shows Stored — sync coming and is used as soon as the sync ships.
Cloud bills
Import the FOCUS export your cloud already writes. MeetLoyd reads it daily and attributes each line to your workspaces, teams, agents and projects.
| Cloud | Export to create |
|---|---|
| Amazon Web Services | Billing and Cost Management → Data Exports: a FOCUS export (FOCUS with AWS columns), CSV gzip, to an S3 bucket. Read access through an IAM role (preferred, with the external id shown in the dialog) or an access key. |
| Microsoft Azure | Cost Management → Exports: "Cost and usage details (FOCUS)", CSV, daily month-to-date, to a storage account. Read access through an Entra app with Storage Blob Data Reader, the Microsoft service account, or a read + list SAS. |
| Google Cloud | Cloud Billing → Billing export: the FOCUS export to BigQuery. A service account that can read the dataset and run queries. |
- Click Connect next to the cloud and fill in the fields. You can list the accounts, subscriptions or projects to import; every other line is dropped at import, never stored.
- Click Test access to check MeetLoyd can read the export, then Save.
- The daily import picks it up, or click Import now. The chip next to the cloud shows the last period imported, its amount and the unallocated share.
From IBM Cloudability. If your organisation already runs Cloudability, you can connect it once instead of each cloud's export: MeetLoyd reads its cost reports (daily cost per cloud, account, service, resource and tag).
- In Cloudability, create an API key: Manage Profile → Preferences → Cloudability API → Enable API. The dialog links to that page.
- Click Connect next to IBM Cloudability, paste the key, pick your region and the currency your Cloudability reports use. You can restrict what is read with a view id or a list of accounts.
- Map each MeetLoyd tag key to the Cloudability dimension that holds it (by default, a dimension of the same name). Test access lists the dimensions your Cloudability offers.
- Billed cost is read from
invoiced_cost(total cost including taxes and credits) and amortised cost fromtotal_amortized_cost; you can pick other metrics.
If an account is both connected directly above and read through Cloudability, it is counted once: by the source connected first, unless you name the accounts where Cloudability counts, or where the cloud's own export counts.
Tags that attribute cloud cost. Tag your cloud resources with these keys, using the MeetLoyd id as the value:
meetloyd_workspace · meetloyd_project · meetloyd_team · meetloyd_agent · meetloyd_cost_centre
On Kubernetes, the label form (meetloyd.com/workspace…) counts too. On AWS, tags only reach the bill once activated as cost
allocation tags in the Billing console (up to 24 hours to appear, 24 hours to
activate).
Cost that no tag or known resource matches is kept as unallocated, never dropped. When it grows large, an insight tells you which resources to tag.
Allocation rules
Most bills are not fully tagged. An allocation rule attributes unallocated
cost from what the bill already says: the cloud, an account, project or
subscription, a service, a region, the start of a resource id, or a label or
tag (k8s-namespace, goog-k8s-cluster-name, an AWS cost allocation tag…).
Conditions are combined (all must hold); values ignore case and accept *
as a wildcard. A rule sends the cost to a cost centre and / or a workspace,
team or project, or splits it between several by percentage (summing to 100).
Example: on a Google Cloud bill, the rule k8s-namespace = payments-api → team Payments, cost centre CC-PAY moves every line of that Kubernetes namespace out of unallocated, while service = Cloud SQL → 50 % workspace Sales, 50 % workspace Support splits the database bill.
- Order: our tags always win; then the first enabled rule that matches (move rules up or down); what no rule matches stays unallocated.
- Applies at once, to every month shown: nothing is re-imported. A cost
allocated by a rule says so ("allocated by rule …") on the cost cards and in
the FOCUS export (
meetloyd/allocation_rule). - Suggestions: the card lists the labels, accounts and services found in
this month's unallocated cost, largest first (for example
k8s-namespace = payments-api — €212.40). Create rule opens a draft with those conditions; you pick the target, and the dialog previews how much it would allocate. - Who: the organisation's owners and admins (the same right as cost centres); every change is in the audit trail.
Foreign agents in your cloud bill. For agents built elsewhere and governed through MeetLoyd, three opt-in options attribute their cloud spend to each agent: cost labels on the Vertex AI calls the gateway forwards (Google Cloud), one Bedrock application inference profile per governed Bedrock agent (AWS, created with Create profile on the agent's page), and Microsoft Foundry's project tag mapped to the agents of that project (Azure). A call that goes through the gateway and also appears in your cloud bill is counted once: the cloud amount is kept, and the gateway figure shows the tokens. See Connect an agent to the gateway.
Your agents' Gemini calls in your Google bill. When Google is connected
through Vertex AI (see Models & Providers),
the same Vertex AI option labels your own agents' Gemini calls too:
meetloyd_tenant, meetloyd_component, meetloyd_cost_centre always, and
meetloyd_agent, meetloyd_workspace, meetloyd_team, meetloyd_project
as long as Google's label limits allow (Google keeps at most 1,000 values per
label key over the life of a billing account). Google labels
pay-as-you-go usage only. The import of your Google bill reads these labels back
and attributes the cost to the agent, team, workspace and project. Calls made
with a Gemini API key carry no labels.
Cost centres
Put the organisation, a workspace, a project, a team or an agent under a cost centre code, optionally with allocation tags, from a start date.
- Who: the organisation's owners and admins. Everyone with billing access can view them.
- Inheritance: the most specific subject wins (agent, then team, project, workspace, organisation). Set the Organisation default once, then Override where needed; End an assignment and the code is inherited again from the next day. Tags are inherited key by key, like the code.
- Cost with no code shows as Unassigned.
- Each cost keeps the code in force on its own day, so a change never rewrites past months. Use As of to see the codes on a past date, and the Cost by cost centre card for the split.
Cost centres from your directory
There is nothing to set up. An agent with no cost centre of its own takes the cost centre of its business owner (Governance › Ownership) as your corporate directory states it. The order becomes: the agent, then its business owner's directory cost centre, then team, project, workspace and organisation.
- Where it is read: your identity provider's SCIM pushes (the enterprise
costCenterattribute) as they arrive, and once a day Microsoft Entra (employeeOrgData.costCenter) and Google Workspace (organizations[].costCenter), through the connections you already have. Entra needs the application permissionUser.Read.All, and Google needs domain-wide delegation ofadmin.directory.user.readonlyoradmin.directory.user. If a permission is missing, that source simply stays empty and nothing asks you to consent again. - History: when a person's cost centre changes in the directory, past months keep the old one.
- New codes: a code from the directory that is not yet in your list appears as a cost centre on its own, labelled with the code.
- Where you see it: in the Cost centres card, each agent shows From directory and its owner. People lists each person's cost centre as read-only. Cost by cost centre says where each code comes from.
- Gaps: if agents spent money this month with no cost centre at any level, one insight per month lists them and links to Governance › Ownership. A tenant whose directory has no cost centres and that uses no cost centres gets no insight.
- Turning it off: use the Use cost centres from the corporate directory switch in the card.
Engagement codes
A project can carry your own engagement code: the project or WBS code your ERP
or PSA books the work to (for example SAP-PS 4711-02). Enter it as
Engagement code when you create or kickstart the project, or later in the
project's Settings tab; it shows next to the project's name. One code per
project, up to 64 printable characters; milestones carry none.
- The code is read from the project whenever a cost is reported, so setting or correcting it applies to the project's past costs too.
- Cost by engagement code (under the cost centres) adds up the projects that share a code. A project without one shows as project name · no engagement code.
- Cost per outcome for a project shows its engagement code and splits the project's cost into billable and not billed milestones, as its statement of work prices them (an assessment milestone priced at zero is not billed). Each milestone counts the cost of its own window; milestones of a project whose statement of work does not price them one by one are shown apart.
- The FOCUS export tags each line of the project with
meetloyd/engagement_code.
FOCUS export
Your MeetLoyd costs (model tokens, sandboxes, storage) as a FOCUS dataset any
FinOps tool reads: one line per day and subject, tagged with workspace,
project, team, agent and cost centre (meetloyd/cost_centre). Imported cloud
bills are not included, since your FinOps tool already reads them from your
cloud.
- Download: pick a Month and a FOCUS version (1.0, 1.1 or 1.2; 1.1 by default), optionally gzip.
- Scheduled delivery: click Add a schedule and choose a Destination (a storage destination on S3, GCS or Azure Blob from the Storage page, or an SFTP destination set to push), a Layout (Files: one file per month, replaced at each delivery; or Cloudability FOCUS ingress: the folder layout and manifest that ingress expects, every drop holding the whole month to date, FOCUS 1.0 or 1.1), a Cadence (Monthly (closed month) or Daily (month to date)) and a Close day.
- Each schedule can be paused, resumed or delivered at once with Deliver now; the Delivery log shows every run.
Insights
Deterministic detectors read your costs and raise an insight when something needs attention. Insights never stop work on their own.
| Insight | Raised when |
|---|---|
| Cost anomaly | An agent, team, project or workspace cost far more today than its own recent days |
| Budget forecast | At the current burn rate, a budget will pass its limit before the period ends |
| Idle, still billed | A sandbox keeps running with no activity |
| Cheaper model | The same traffic would cost materially less on another available model with equal measured adequacy |
| Failed-run spend | A notable share of an agent's spend went on runs that failed or were cancelled |
| Unpriced usage | Usage with no known price passed a volume threshold |
| Below return target | A project's return is under its target or above its pre-AI baseline cost per outcome |
| Prompt cache waste | An agent pays full price for prompt tokens a cache would serve |
| Unallocated cloud cost | Too much of an imported cloud bill matched nothing |
| Foreign agent cost outgrows outcomes | A governed foreign agent's cost grows faster than its outcomes |
Insights appear on the FinOps page, scoped to the breadcrumb, each with its evidence and the action it proposes. You decide on the Audit recommendations card of the Triggers page:
- Accept applies the proposed change (or hands it to Loyd to apply);
- Later raises it again on the next run;
- Reject is a standing decision: it is not raised again.
Insights are also events that agents, workflows and webhooks can subscribe to, like any other platform event.
What can be applied automatically. By default every action waits for a person. Only when your governance policy for cost actions is set to autonomous are the reversible, cost-reducing actions applied directly, and audited: lowering an agent's or team's daily spend ceiling (never below its median day) and parking an idle sandbox (compute stops, its disk is kept). Changing an agent's model, pausing an agent or team, raising a budget, touching a key or anything in your cloud are always proposed to a person, whatever the policy. You set the level (Locked, Proactive or Autonomous) under Governance › Runtime › Autonomy & discovery › Cost actions, linked from Settings › FinOps and from every Insights card. See Governance for the policy cascade.
Cost per outcome
Cost per outcome divides the cost of a subject by the outcomes your agents recorded for it, by value category (Revenue, Efficiency, Compliance, Quality, Risk, Operational, Project delivery), with the trend against the previous period. Revenue and efficiency outcomes carry a declared value, so ROI is shown for them; the others are counted, never priced.
When there is no cost or no outcome, the card says No cost recorded or No outcome recorded rather than showing zero. For a project, the cost is shown per milestone.
Ask Loyd
Loyd reads the same figures:
- "What did the Sales workspace cost last month, by team?"
- "Which agents had a cost anomaly this week, and what is proposed?"
- "What does one qualified lead cost per agent over the last 90 days?"
- "What did engagement SAP-PS 4711-02 cost this quarter, billable and not?"
Loyd only reads: decisions on insights stay with you on the findings card.