Snowflake Chargeback by Business Unit: A Monthly Statement That Matches the Bill (2026)
Snowflake supports chargeback by business unit through object tags, query tags and its usage views, but it does not produce a statement per unit. You build one. Charge each unit its tagged warehouses, its share of shared warehouses, the serverless features and storage of its databases, and an agreed share of idle time and cloud services. Then check that the lines add up to the credits Snowflake billed. Every fact and figure in this guide was checked against Snowflake’s documentation.
This article is part of our guide to Snowflake cost monitoring.
What does Snowflake support for chargeback by business unit?
Snowflake gives you the parts, not the invoice. Object tags mark warehouses, users and databases with a unit. Query tags label work done for several units. Usage views return credits by warehouse, query, service and database. Snowsight filters cost by tag, and custom budgets alert on tagged objects. The monthly statement is yours to assemble.
Snowflake’s guide to attributing cost names this use directly: it calls apportioning cost to departments or projects “chargeback or showback”. It recommends object tags for resources and users, and query tags when one application runs queries for users from several departments.
Whether to bill units or only show them their cost is a separate decision. Our article on chargeback vs showback covers that choice. This guide is about the mechanics once you have made it.
What belongs on a business unit’s chargeback statement?
A full statement has six kinds of line, and each comes from a different view. Warehouse compute is only the first. Serverless features, storage, cloud services and idle time also reach the invoice, so a statement built from warehouse credits alone will not match the bill.
| Line | Where it comes from | How to assign it |
|---|---|---|
| Dedicated warehouses | WAREHOUSE_METERING_HISTORY | Warehouse tag |
| Shared warehouses | QUERY_ATTRIBUTION_HISTORY | User tag or query tag |
| Serverless features | METERING_HISTORY | Database tag |
| Storage | DATABASE_STORAGE_USAGE_HISTORY | Database tag, by share |
| Idle time | Metered minus attributed | Agreed rule |
| Cloud services | METERING_DAILY_HISTORY | Agreed rule |
Data transfer is not counted in credits. The organization-level USAGE_IN_CURRENCY_DAILY view rates it in terabytes and shows its cost per account, with a latency of up to 72 hours. You can keep it on a shared line or split it by account.
How do you set up tags for chargeback?
Create one tag with a fixed list of values, then set it on every warehouse, user and database a unit owns. Use the same tag everywhere so one join serves every line. Tag the object you will join on, because the TAG_REFERENCES view records only tags set directly on an object.
Snowflake’s own example creates a cost_center tag with allowed values, so a typo cannot create a new unit. These statements change tags on live objects, so run them with a role allowed to manage tags:
-- Creates the business unit tag, then sets it on a warehouse, a user and a database.
-- Assumes a cost_management database with a tags schema, as in Snowflake's example.
CREATE TAG cost_management.tags.cost_center
ALLOWED_VALUES 'finance', 'marketing', 'engineering', 'product';
ALTER WAREHOUSE finance_wh SET TAG cost_management.tags.cost_center = 'finance';
ALTER USER jsmith SET TAG cost_management.tags.cost_center = 'finance';
ALTER DATABASE finance_db SET TAG cost_management.tags.cost_center = 'finance';
Tags on a database pass down to its schemas and tables through tag inheritance. However, the TAG_REFERENCES view does not include inherited tags. So join cost rows on the database ID, where the tag was actually set. A tag set directly on a table overrides the database tag, and this join will not see it. An object can carry up to 50 tags, according to the object tagging introduction.
For users, Snowflake can apply the tag when an identity provider creates the user through SCIM, so new joiners are tagged from day one. The attribution guide shows the snowflakeTags attribute for this.
How do you charge compute to each unit?
Charge a dedicated warehouse’s full metered credits to its owner. For shared warehouses, sum each unit’s per-query credits from QUERY_ATTRIBUTION_HISTORY through user tags or query tags. Those per-query credits leave out idle time, so a shared warehouse usually bills more than its queries add up to.
The QUERY_ATTRIBUTION_HISTORY view excludes warehouse idle time and queries of about 100 milliseconds or less. It also has no records for jobs on Adaptive Warehouses, and its data can arrive up to eight hours late. It does carry a query acceleration column, so a unit’s Query Acceleration Service credits on shared warehouses travel with its queries. Snowflake bills query acceleration separately from warehouse usage, so for a dedicated warehouse add it to that warehouse’s line from the QUERY_ACCELERATION_HISTORY view, which runs up to 3 hours behind.
-- Query and QAS credits by business unit on shared (untagged) warehouses, last full month, from user tags.
-- Excludes idle time. Latency up to 8 hours. Needs USAGE_VIEWER and GOVERNANCE_VIEWER.
-- TAG_REFERENCES shows only objects your role can access. Users or databases dropped before the run count as untagged.
ALTER SESSION SET TIMEZONE = 'UTC';
SELECT COALESCE(ut.tag_value, 'untagged') AS business_unit,
SUM(qah.credits_attributed_compute) AS query_credits,
SUM(COALESCE(qah.credits_used_query_acceleration, 0)) AS qas_credits
FROM snowflake.account_usage.query_attribution_history qah
LEFT JOIN snowflake.account_usage.tag_references wt
ON wt.domain = 'WAREHOUSE'
AND wt.object_id = qah.warehouse_id
AND wt.tag_database = 'COST_MANAGEMENT'
AND wt.tag_schema = 'TAGS'
AND wt.tag_name = 'COST_CENTER'
LEFT JOIN snowflake.account_usage.tag_references ut
ON ut.domain = 'USER'
AND ut.object_name = qah.user_name
AND ut.tag_database = 'COST_MANAGEMENT'
AND ut.tag_schema = 'TAGS'
AND ut.tag_name = 'COST_CENTER'
AND ut.object_deleted IS NULL
WHERE wt.object_id IS NULL
AND qah.start_time >= DATE_TRUNC('MONTH', DATEADD(MONTH, -1, CURRENT_DATE))
AND qah.start_time < DATE_TRUNC('MONTH', CURRENT_DATE)
GROUP BY 1
ORDER BY 2 DESC;
Our guide to Snowflake cost by user, role and warehouse covers the warehouse tag query and how to report measured and allocated credits side by side.
How do you charge serverless features and storage?
Join both to the database tag. METERING_HISTORY reports serverless credits per hour with the database each one belongs to, which covers automatic clustering, Snowpipe, materialized views and serverless tasks. Storage comes from DATABASE_STORAGE_USAGE_HISTORY. Use it to split your billed storage, not as the bill itself.
The METERING_HISTORY view has a DATABASE_ID column, which is NULL when a cost belongs to no database, such as a warehouse.
-- Serverless credits by business unit and service, last full month, from database tags.
-- Rows with no database, such as compute pools, are not here and stay in the leftover.
-- QAS is left out: shared warehouses carry it in the query above, dedicated ones in QUERY_ACCELERATION_HISTORY.
-- Latency up to 3 hours. Needs USAGE_VIEWER and GOVERNANCE_VIEWER.
-- TAG_REFERENCES shows only objects your role can access. Users or databases dropped before the run count as untagged.
ALTER SESSION SET TIMEZONE = 'UTC';
SELECT COALESCE(tr.tag_value, 'untagged') AS business_unit,
mh.service_type,
SUM(mh.credits_used_compute) AS credits
FROM snowflake.account_usage.metering_history mh
LEFT JOIN snowflake.account_usage.tag_references tr
ON tr.domain = 'DATABASE'
AND tr.object_id = mh.database_id
AND tr.tag_database = 'COST_MANAGEMENT'
AND tr.tag_schema = 'TAGS'
AND tr.tag_name = 'COST_CENTER'
AND tr.object_deleted IS NULL
WHERE mh.service_type NOT IN ('WAREHOUSE_METERING', 'QUERY_ACCELERATION')
AND mh.database_id IS NOT NULL
AND mh.start_time >= DATE_TRUNC('MONTH', DATEADD(MONTH, -1, CURRENT_DATE))
AND mh.start_time < DATE_TRUNC('MONTH', CURRENT_DATE)
GROUP BY 1, 2
ORDER BY 3 DESC;
For storage, Snowflake states that the DATABASE_STORAGE_USAGE_HISTORY view is not designed to reconcile with your bill. So use it for shares only. Average each database’s database and Fail-safe bytes over the month, group them by unit, and apply each unit’s share to the storage amount on your invoice.
How do you make the statement match the bill?
Reconcile credits and money separately. Start from CREDITS_BILLED for the month and subtract every credit line you assigned. What is left is idle time, cloud services, untagged work and serverless costs with no database, such as compute pools. Spread idle time and cloud services by an agreed rule. Match storage and data transfer to the invoice in currency.
The METERING_DAILY_HISTORY view gives the billed total per day in CREDITS_BILLED. That figure already includes the cloud services adjustment. However, it counts credits, not dollars. Snowflake notes that credit prices can differ by service, so price AI credits at their own rate. According to Snowflake’s page on compute cost, only the cloud services usage above 10% of a day’s warehouse usage is billed.
Here is an illustrative month for one account, with made-up numbers. Idle time and cloud services are spread in proportion to each tagged unit’s direct credits. Credits are priced at $3.00 (Enterprise, AWS US East, on demand), and every credit is assumed to be a Platform Credit.
| Line (illustrative) | Finance | Marketing | Untagged |
|---|---|---|---|
| Direct credits | 4,900 | 3,000 | 1,300 |
| Share of 1,650 overhead | 1,023 | 627 | 0 |
| Total credits | 5,923 | 3,627 | 1,300 |
| Cost at $3.00 | $17,770 | $10,880 | $3,900 |
The three columns add up to 10,850 credits, the full billed amount, so nothing is lost or counted twice. In this example the untagged line is 12% of billed credits, and shrinking it is the platform team’s first job.
Can Snowflake budgets enforce a unit’s spend?
Partly. A custom budget can track every object with a tag value, including serverless costs and objects that inherit the tag. It notifies when spending is projected to exceed its limit. However, budgets track objects such as warehouses, databases and tables, not users, so queries on a shared warehouse stay with that warehouse.
Snowflake’s budgets overview explains how a budget can also call a stored procedure you write when it crosses a threshold. To compare budgets with resource monitors, which can suspend warehouses, see Snowflake budgets vs resource monitors.
What goes wrong with Snowflake chargeback?
Three gaps break chargeback statements. Tags go missing on new objects. People move between units, and TAG_REFERENCES only shows the current tag. Units also span accounts, while per-query attribution works in one account at a time. Plan for all three before the first statement goes out.
- Missing tags. Report the untagged line every month and name the objects in it. The attribution guide includes a query that lists users without tags.
- Team moves. TAG_REFERENCES has no column for when a tag was set. So save the tag mapping at each month end and bill from that copy, or a person who moves will take past costs with them.
- Several accounts. Snowflake notes there is no organization-wide QUERY_ATTRIBUTION_HISTORY. Shared warehouses must be attributed account by account; see Snowflake cost across accounts.
To go one step further and charge cost per customer or data product, see data platform unit economics.
How Seemore helps with Snowflake chargeback
Seemore attributes query costs to the pipelines, dbt models and dashboards behind them and, with Team Ownership (in early access), rolls that cost up to the teams that own those assets. A team can own accounts, warehouses, databases and users, matched directly or by object tags and query tags, and the Team ownership page shows how much spend is still unassigned. Budget Groups track spend for groups of warehouses, users or services and send alerts at the thresholds you choose. That attribution is what showback reports and chargeback invoices are built from.
Frequently asked questions
Does Snowflake support chargeback by business unit?
Yes, through its building blocks. Object tags and query tags mark which unit owns a warehouse, user, database or query, and the ACCOUNT_USAGE views return credits you can group by those tags. Snowflake does not issue a separate invoice per unit, so the monthly statement is a report you build.
Can a Snowflake budget track a business unit's spend?
Yes, for objects. A custom budget can monitor every object with a given tag value, including serverless costs on tagged databases and tables. It sends notifications when spending is projected to exceed the limit. Budgets do not track users, so work on a shared warehouse counts against the warehouse, not the person who ran it.
Who pays for Snowflake cloud services under chargeback?
That is a rule you agree on. Snowflake bills only the cloud services usage above 10% of each day’s warehouse usage, and it works out that adjustment per account, not per team. A simple rule spreads them in proportion to each unit’s compute, along with warehouse idle time.
How do you charge Snowflake storage back to a business unit?
Tag each database with its unit, then average the database and Fail-safe bytes in DATABASE_STORAGE_USAGE_HISTORY per database over the month. Snowflake states that this view does not reconcile with the bill, so use the bytes only to work out each unit’s share. Apply those shares to the storage amount on your invoice.
Why does a Snowflake chargeback report not match the invoice?
Usually because it is built from per-query credits alone. QUERY_ATTRIBUTION_HISTORY leaves out idle time, very short queries, cloud services, serverless features and storage. Start from CREDITS_BILLED in METERING_DAILY_HISTORY and show every gap as its own line, so the credit lines add up to the bill; match storage in currency.
What happens to Snowflake chargeback when someone changes teams?
If you bill from the live tags, their past usage moves with them. TAG_REFERENCES shows only the current tag on each object, with no date it was set. Save a copy of the tag mapping at every month end and bill each month from its own copy.