Glossary · Cost and FinOps
What is showback and chargeback?
Showback reports each team's share of data platform cost back to it without moving money; chargeback bills that share to the team's own budget or cost center. Both rest on cost attribution, and most organizations run showback until teams trust the numbers.
Showback first, then chargeback
Showback is transparency: each team sees a monthly report of what its pipelines, dashboards and queries cost, and the bill is still paid centrally. Chargeback is accountability: the cost moves to the team's budget, so it needs allocation rules that finance and every team accept, a way to handle disputes, and attribution that covers nearly all spend. Charging teams on numbers they don't trust produces arguments, not savings, so the usual path is a few cycles of showback, fixing the gaps it exposes (unlabeled jobs, shared projects, orphaned tables), then chargeback.
What a BigQuery report needs
- Totals from the invoice: the Cloud Billing export to BigQuery, by
invoice.month, project, service and SKU, with credits. - Allocation keys: projects and project labels, job labels, service accounts, each team's slot share inside a reservation, and dataset ownership for storage. See cost attribution.
- Rules for shared costs: platform tables many teams read, idle reservation capacity, commitments and the free tier.
- A cadence: monthly, aligned to the invoice. Cloud Billing days start at midnight in the America/Los_Angeles time zone.
Example: BigQuery cost per team from the billing export
SELECT
invoice.month AS invoice_month,
IFNULL((SELECT value FROM UNNEST(project.labels) WHERE key = 'team'), 'unassigned') AS team,
ROUND(SUM(cost) + SUM(IFNULL((SELECT SUM(c.amount) FROM UNNEST(credits) AS c), 0)), 2) AS net_cost
FROM `billing-admin.billing_export.gcp_billing_export_v1_XXXXXX_XXXXXX_XXXXXX`
WHERE service.description LIKE 'BigQuery%'
AND invoice.month = '202610'
GROUP BY invoice_month, team
ORDER BY net_cost DESC;
Credits are negative amounts, so adding them gives net cost. The LIKE catches every BigQuery service line, including the BigQuery Reservation API SKUs that carry editions charges. Those land on the administration project, so this report alone shows one team paying for everyone's slots.
Example: splitting a shared reservation by slot usage
DECLARE reservation_charge_usd FLOAT64 DEFAULT 12000; -- the reservation's charge for October, from the invoice
SELECT
IFNULL((SELECT value FROM UNNEST(labels) WHERE key = 'team'), 'unassigned') AS team,
ROUND(SUM(total_slot_ms) / 3600000, 1) AS slot_hours,
ROUND(SUM(total_slot_ms) / SUM(SUM(total_slot_ms)) OVER () * reservation_charge_usd, 2) AS charge_usd
FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_ORGANIZATION
WHERE creation_time >= TIMESTAMP '2026-10-01 00:00:00 America/Los_Angeles'
AND creation_time < TIMESTAMP '2026-11-01 00:00:00 America/Los_Angeles'
AND reservation_id = 'admin-project:US.prod'
AND (statement_type != 'SCRIPT' OR statement_type IS NULL)
GROUP BY team
ORDER BY charge_usd DESC;
This spreads the whole charge, idle capacity included, in proportion to slot time. The alternative is to charge each team its slot-hours at a fixed rate and keep the remainder as a platform cost, which keeps idle capacity visible as its own line. Google's billed cost attribution (in Preview) does the project-level version natively: after ALTER PROJECT sets reservation_attribution_mode, compute charges move to the query projects on the next billing day, as long as they share the administration project's billing account. Price slot-hours with BigQuery pricing or the pricing calculator.
Pitfalls
- Unallocated remainder. Report it as its own line instead of hiding it in the largest team.
- Behavior changes. Chargeback makes teams question refresh schedules and unused dashboards, which is the goal; it can also push them to copy shared tables into their own projects, which raises storage. Price shared data products explicitly.
- Different clocks. The billing export arrives with a delay, while JOBS is near real time, so reconcile monthly against the invoice.
Vodafone Czech Republic used Masthead to see BigQuery cost by environment, pipeline and model across more than 50 projects (case study, how it works).
FAQ
What is the difference between showback and chargeback?
Showback tells a team what its usage cost while the money stays in a central budget. Chargeback moves the cost into the team's own budget or cost center through internal accounting, so the team pays for what it uses.
How do I charge back BigQuery reservation costs?
Either turn on billed cost attribution (in Preview), which moves editions compute charges from the administration project to the query projects by slot usage, or split the reservation's invoice amount yourself by each team's share of slot milliseconds in INFORMATION_SCHEMA.JOBS_BY_ORGANIZATION.
What happens to shared and idle costs?
Agree on a rule before the first report: spread them in proportion to usage, keep them in a platform budget, or combine the two. Unused reservation capacity stays with the administration project even when billed cost attribution is on.
