Skip to content

Dataset

Cloud cost and usage datasets for AI training

A cloud cost dataset is a company's line-item billing and usage export from its public cloud providers, joined to the records of what its FinOps team did about the spend. Each row is one charge for a resource and period, with usage type, quantity, list and effective cost, tags and commitment discounts. Beside the rows sit budget alerts, anomaly investigations and rightsizing or cleanup actions. SourceX sources these records to a buyer's spec from established businesses. Each dataset is de-identified and licensed for an agreed permitted use. Buyers should specify how account identifiers, resource names and negotiated rates are masked.

Dataset manifest

Sourced to your spec
What it is
Line-item billing and usage exports with tags, commitments, anomalies and the optimization actions taken
Typical systems
AWS Cost and Usage Report, Azure Cost Management exports, Google Cloud Billing export, FOCUS-format exports, Cloudability, Kubecost
Typical history
Specified by the buyer; limited by when detailed exports were enabled and how long the files were kept
Modality
Structured billing rows and daily or hourly series, with recommendation records and investigation text
Delivery formats
Agreed per order; Parquet or CSV line items, JSONL recommendations, actions and anomaly cases
Preparation
Account, project and resource identifiers pseudonymized; you specify whether naming structure is kept and how negotiated rates are masked or excluded; tag values reviewed
Licensing
Rights reviewed per holder; check that its provider agreement and private pricing terms allow the transfer; permitted use set in the license
Availability
Sourced to your spec from companies that agree to license; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
line_item_idstringPseudonymous ID for one charge row, stable across restated versions of the same billing month.
billing_periodobjectInvoice month, usage start and end, and whether the month was open or finalized when the file was written.
account_scopeobjectPseudonymized payer account and linked account, subscription or project, with its place in the organization hierarchy.
usageobjectProvider, service, usage type or SKU, operation, region, metered quantity and pricing unit as the export wrote them.
charge_typeenumUsage, tax, credit, refund, fee, commitment purchase, commitment-covered usage or discount, mapped from the provider's own line-item types.
costobjectList, billed and effective (amortized) cost with currency, and a note on how negotiated rates were masked or scaled.
resource_refstringPseudonymized resource identifier, present where the export was configured to write resource-level rows.
tagsobjectTag or label keys and values as attached at billing time, including missing keys and inconsistent spellings.
commitmentobjectThe reservation, savings plan or committed-use discount that covered the row, its payment option and utilization.
allocationobjectThe team or cost center the spend was assigned to, and the tag, rule or person that assigned it.
recommendationobjectA rightsizing, idle-resource or commitment recommendation: source tool, finding, proposed change, evidence and estimated saving.
actionobjectThe decision on that recommendation (accepted, changed, deferred or dismissed), the change reference, actor role, date and reason.
realized_changeobjectSpend and usage in comparable windows before and after the action, at resource and payer scope, with any revert.
anomalyobjectA budget alert or anomaly case: scope, expected and actual spend, the root cause found and its disposition.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "line_item_id": "li_9c41e07a",
  "billing_period": {
    "invoice_month": "2024-03",
    "usage_start": "2024-03-11T00:00:00Z",
    "usage_end": "2024-03-12T00:00:00Z",
    "bill_state": "finalized"
  },
  "account_scope": {
    "payer": "acct_p01",
    "linked_account": "acct_0147",
    "org_unit": "ou_prod"
  },
  "usage": {
    "provider": "aws",
    "service": "AmazonEC2",
    "usage_type": "USW2-BoxUsage:m5.4xlarge",
    "operation": "RunInstances",
    "region": "us-west-2",
    "quantity": 24,
    "unit": "Hrs"
  },
  "charge_type": "commitment_covered_usage",
  "cost": {
    "currency": "USD",
    "list": 18.43,
    "billed": 0.0,
    "effective": 11.61,
    "rate_masking": "effective_cost_scaled"
  },
  "resource_ref": "res_i_5be2c9",
  "tags": {
    "team": "search",
    "Team": null,
    "env": "prod",
    "cost-center": null
  },
  "commitment": {
    "type": "savings_plan",
    "commitment_ref": "sp_03",
    "payment_option": "no_upfront",
    "utilization_pct": 97.2
  },
  "allocation": {
    "owner": "team_search",
    "method": "tag"
  },
  "recommendation": {
    "rec_id": "rec_7721",
    "source": "provider_rightsizing",
    "finding": "over_provisioned",
    "proposed": "m5.2xlarge",
    "evidence": {
      "cpu_p99_pct_14d": 21,
      "memory": "not_collected"
    },
    "est_monthly_saving": 276.0,
    "issued": "2024-03-04"
  },
  "action": {
    "decision": "accepted",
    "change_ref": "chg_4410",
    "actor_role": "platform_engineer",
    "decided": "2024-03-19",
    "reason": "No memory data in the recommendation. Checked heap in APM, then resized."
  },
  "realized_change": {
    "window_days": 28,
    "resource_list_cost_before": 516.1,
    "resource_list_cost_after": 258.0,
    "payer_effective_cost_change": -162.5,
    "note": "Freed commitment now covers usage that ran on demand in acct_0152.",
    "reverted": false
  },
  "anomaly": null
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

FinOps agents that recommend and justify

Recommendations paired with the engineer's decision and reason train a model to propose changes a team will accept.

Owner inference for untagged spend

Untagged charges with the owner later assigned train a model to allocate cost from account, naming pattern and neighboring usage.

Anomaly detection with dispositions

Spikes closed as a launch, a runaway job, a misconfiguration or expected seasonality give labels a bare cost series lacks.

Commitment and forecast planning

Usage series beside commitment purchases and their utilization show which coverage decisions paid off and which sat unused.

Evaluate agents on closed cases

Actions with a measured spend change are test items with a known answer, including rightly rejected recommendations.

Use-case guides: Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets

What makes this data valuable

Resource-level rows

Exports written with resource identifiers let an action be tied to the exact lines it changed.

Linked actions

A ticket or change reference on each recommendation is stronger than a match inferred from timing.

List and amortized cost

Both views are needed to separate a usage change from a commitment or discount effect.

Tags at billing time

Tag values as billed, not re-joined from current inventory, keep the gaps the allocator actually faced.

Restatements kept

File versions for each month show late credits, refunds and corrections instead of only the final state.

Dated allocation rules

The rule set in force for each month explains why a charge went to its owner.

Value drivers

Cloud cost dataset

This page covers cloud cost and usage records.Illustrative

Billing lines need the action and the spend change

A billing export is a ledger of metered usage, and alone it supports forecasting and little else. What turns it into decision data sits in other systems. Provider tools and FinOps platforms issue recommendations in bulk: downsize this instance, delete this unattached volume, buy this commitment. Many are never acted on. The engineer's response is the label: accepted, changed, deferred or dismissed, with the reason. The recommendation rested on CPU alone because memory is not collected from inside an instance unless an agent is installed. The database license is tied to core count. The service is being migrated next quarter. Those reasons live in a ticket, a pull request or a note in the cost tool.

Measuring what the action saved is harder than subtracting two months. When an instance covered by a reservation or savings plan is resized, its own billed cost may read zero before and after. In AWS exports, for example, usage matched to a reservation is written at zero cost, and usage covered by a savings plan is written at the on-demand amount and then cancelled by a negation line, while the commitment itself is charged on separate fee lines. The saving shows up elsewhere, where the freed commitment covers usage that had been on demand, or nowhere, as unused commitment. Autoscaling replaces instances, so the resource ID that carried the recommendation may not exist a week later. Traffic growth hides a real saving, and late credits restate a month that looked settled.

So specify the unit as a case, not a volume of rows: the recommendation with its evidence, the decision and reason, the change record, and spend in comparable windows before and after at a stated scope, with list cost, amortized cost and commitment utilization. Ask for dismissed recommendations and reverted changes too, or a model learns that every recommendation is right.

Untagged spend is an allocation task, already worked

Tags are typed by people and stamped by pipelines, and every real account shows it. The same key appears as Team, team and owner. On AWS a tag key reaches the billing export only after someone activates it for cost allocation, and earlier months stay untagged unless a backfill was requested. Some charges belong to no taggable resource, such as tax and support plans, and often marketplace fees and data transfer. A shared Kubernetes cluster, NAT gateway or database carries one tag while serving many teams, and resources created by autoscaling often inherit none.

The FinOps team allocated the spend anyway, because showback needs an owner for every dollar. Their work is in the records: rules that map an account or naming pattern to a team, percentage splits for shared platforms, tickets asking who owns a resource, and the tag that finally appeared on the line a month later. Each is a labeled example of an untagged charge, its context and the owner it was given. A tag applied later by the owning team is strong. A catch-all rule that sends leftovers to a platform cost center is weak and should be marked.

De-identification pulls against this. The signals an allocator uses, such as resource names, account names and tag values, are also where customer names and project code names sit. Ask for pseudonymization that keeps structure, so two resources sharing a prefix still share one after masking.

What to check before licensing

  • Confirm that account, subscription and project identifiers and resource names are masked consistently. Check composite identifiers such as ARNs, bucket names and hostnames, which embed account numbers and customer names.
  • Ask the holder to confirm that its provider agreement and any private pricing terms allow the transfer, and that negotiated rates, credits and discount lines are masked or excluded. List and effective cost side by side reveal the discount, so check both.
  • Check whether the export was configured with resource identifiers, at what time granularity, and from which date.
  • On a sample, check how each action was tied to its recommendation and billing lines: a stored reference or a match inferred from timing.
  • Ask whether tags reflect billing time or current state, and which tag keys were active for cost allocation in each period.
  • Ask which version of each month is delivered, whether it was finalized, and how credits, refunds and tax lines were handled.
  • Review free text in tag values, ticket notes and anomaly write-ups for people's names, customer names, hostnames and pasted keys.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does the dataset contain beyond the billing export?

It adds the records that show what people did about the spend. Those are rightsizing and idle-resource recommendations, commitment purchases, budget alerts, anomaly investigations with their root cause, allocation rules, and the tickets or changes where an engineer acted. Which of these exist depends on the holder's tooling, so list the ones you need in your request.

Which providers and export formats can be covered?

The main sources are the AWS Cost and Usage Report, Azure Cost Management exports, the Google Cloud Billing export to BigQuery, and exports in FOCUS, the open billing specification from the FinOps Foundation. Each has its own columns and its own way of showing commitments and credits. Say whether you want native schemas or a normalized one. Normalizing loses provider detail, so ask for the mapping used.

How are negotiated discounts and private pricing handled?

They should be masked or excluded, because negotiated rates are usually confidential under the holder's provider agreement. Common approaches are delivering list cost only, scaling cost columns by an undisclosed factor, or dropping discount and credit lines. Each changes what a model can learn about discount effects. State the method you want in your request, and have counsel review the holder's confirmation that sharing is allowed.

Can costs still be analyzed after account and resource names are pseudonymized?

Yes, if the pseudonyms are consistent and keep structure. The same account, resource and tag value should map to the same token across every month, and naming patterns such as a shared prefix or an environment suffix should survive. Random tokens per row break joins between billing lines, recommendations and actions.

Does it include Kubernetes and shared platform costs?

Only where the holder ran an allocation tool or turned on the provider's split cost allocation. A plain billing export charges for the cluster's nodes, load balancers and storage, not for the workloads on them. Cost per namespace, workload or team comes from a tool such as Kubecost or OpenCost, or from split allocation rows in the export, each with its own treatment of idle and shared capacity. Ask for that output and its settings if container cost matters to you.

How much history should I ask for?

Specify the history your use needs instead of taking what is offered. Forecasting and seasonality need at least one full annual cycle. Commitment analysis needs the purchase and enough of its term to see utilization. Resource-level exports usually begin only when someone enabled them, so ask the holder for the start date of each record type.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies