For data teams on BigQuery and Snowflake
Find out why the warehouse bill went up, before finance asks.
dwhat reads your query history with a read-only account and attributes every query's cost to the user, the dbt model and the dashboard behind it. It tells you the day spend jumps, shows the queries worth fixing first, and writes the monthly report.
The usual way this goes
The bill doubles. Nobody knows why until finance asks, and then someone spends a day in query history exporting rows into a spreadsheet, trying to work out whether it was a new dashboard, a dbt model that stopped being incremental, or one person's notebook.
dwhat does that work every day, so the answer exists before the question.
What it does
Daily cost by user, model and dashboard
Every billed query, priced and attributed: which warehouse user ran it, which dbt model built it, which dashboard asked for it.
Spike alerts by email
When a day costs well above its usual median, you get an email that says what grew — the user, model or dashboard — not just that the total went up.
The 20 most expensive queries
Identical queries grouped together, ranked by what they cost, each with a fix hint where the evidence supports one: full scans, SELECT *, spilling, rebuilt models, dashboards refreshing every few minutes.
A monthly report for finance
The month's total against the month before, and where it went. Printable, as CSV, and emailed on the first of the month if you want it.
How the audit works
Costs are computed at list price — $6.25 per TiB on BigQuery on-demand, $3 per Snowflake credit — until you enter the rate on your contract. Compute only: storage and transfer are billed separately.
Planning a new dashboard or schedule?
The BigQuery recurring query cost calculator estimates what a query costs when it refreshes every few minutes or runs daily, and compares it with a slower interval. No account.
Stop one query before it costs too much
The BigQuery maximum bytes billed calculator turns a budget for one query into the byte ceiling that enforces it, with the bq query flag and the Python client setting to copy into your code. No account.
On-demand or capacity pricing?
The BigQuery pricing break-even worksheet sets a month of on-demand cost per TiB beside a slot reservation you propose, and shows the billed TiB where the two entered costs match — with the formulas, and what that arithmetic cannot tell you about slots. No account.
BigQuery jobs in more than one project?
The multi-project cost SQL generator writes one read-only query over the projects you name that returns bytes billed and estimated on-demand cost by day and project. You run it; no account, no credentials.
Did that change cut the bill, or put it up?
Compare warehouse cost before and after: one BigQuery or Snowflake CSV export, two periods of it, and the change in total and per UTC day by user, dbt model and dashboard — worked out in your browser, with a plain-text summary to send to finance. No account.
Snowflake compute higher than its queries?
Reconcile warehouse metering with query credits: two CSV exports, set side by side by UTC day and warehouse in your browser, show how much compute no query carries, how much of it Snowflake counts as idle, and where the query history is incomplete. No account.
Planning Snowflake warehouse spend?
Estimate warehouse cost by size and hours, including clusters and the runtime needed for a resize to save credits.
Choosing a Snowflake auto-suspend setting?
The auto-suspend calculator compares twoAUTO_SUSPEND delays for a repeating pattern of query bursts: billed seconds, credits and a timeline of running, idle and suspended time, with the 60-second minimum per resume. A scenario you describe; no account.
Missing model or dashboard names?
The query attribution checker reads a query's SQL comment, BigQuery job labels or Snowflake query tag as the audit would, and says which dbt model, dashboard and tool it would recognise — or why not. It runs in your browser; no account.
Guides
Rather check by hand first? Each guide answers one question with SQL you can paste into BigQuery or Snowflake.
- Find your most expensive BigQuery queries with SQLCopy-paste SQL that lists the BigQuery queries that cost the most over the last 30 days, from INFORMATION_SCHEMA.JOBS_BY_PROJECT, with bytes billed, slot hours and estimated cost.
- Snowflake cost per user and per query, with SQLCopy-paste SQL for Snowflake credits by user and by query from QUERY_ATTRIBUTION_HISTORY, and idle warehouse time from WAREHOUSE_METERING_HISTORY.
- Cost per dbt model on BigQuery and SnowflakeSQL that attributes BigQuery and Snowflake compute cost to dbt models, using the node_id in dbt's default query comment and dbt-bigquery's job labels.
- Why did my BigQuery or Snowflake bill go up?Find the day warehouse cost jumped against a 14-day median, then the users and dbt models that grew that day. Copy-paste SQL for BigQuery and Snowflake.
- Fixes for expensive BigQuery and Snowflake queries, and how to tell which appliesSeven fixes BigQuery, Snowflake and dbt document — full scans, SELECT *, LIMIT, spilling, pruning, dbt full rebuilds, repeated queries — each with SQL that finds the queries it applies to.