Which Pipeline Is Running Up Your Warehouse Bill?

    The bill shows what you spent, not which job spent it. Run one read-only query on Snowflake or Databricks, paste the result here, and we email you cost by pipeline, team and layer, with the top 10 waste items and how to fix each one. Nothing connects to your account.

    Views and prices checked November 2026.

    Where does your data warehouse run?

    What the query reads

    Usage views only, with each source's documented delay. The query returns totals, never query text.

    SourceWhat it givesDelay
    SnowflakeQUERY_ATTRIBUTION_HISTORYCredits per query, query tag, user and warehouseUp to 8 hours
    SnowflakeQUERY_HISTORYRole, whether the query failed, and remote spillUp to 45 minutes
    SnowflakeWAREHOUSE_METERING_HISTORYIdle credits: metered compute minus compute attributed to queriesUp to 3 hours
    SnowflakeMETERING_DAILY_HISTORYCredits billed by service, to reconcile against the billUp to 3 hours
    SnowflakeUSER_AI_USAGE_HISTORYAI credits by user and by agent or functionUp to 1 hour
    SnowflakeACCESS_HISTORY (Enterprise and above)The table each query wrote to, for the layerUp to 3 hours
    Databrickssystem.billing.usage and list_pricesDBUs at list price, tags, job and run IDsTypically within 12 hours
    Databrickssystem.lakeflow jobs, pipelines and run timelinesJob and pipeline names, failed runs, clusters used by job tasksRegional
    Databrickssystem.access.table_lineageThe schema each job writes to, for the layerRegional

    How layers are worked out: Schema names containing raw, landing, bronze or src count as raw; stg, staging, silver, int or intermediate as transform; mart, marts, gold, analytics or reporting as serve. Anything else is unknown. A layer tag always wins.

    Frequently Asked Questions

    Why doesn't Snowflake's per-query cost add up to my bill?

    Because QUERY_ATTRIBUTION_HISTORY only counts the warehouse time spent running queries. It leaves out warehouse idle time, cloud services, serverless features, AI tokens and queries of about 100ms or less. This tool adds idle time per warehouse from WAREHOUSE_METERING_HISTORY and compares the total with what METERING_DAILY_HISTORY says was billed, so you can see how much of the bill is traced to a pipeline.

    How do I find idle warehouse cost in Snowflake?

    Subtract CREDITS_ATTRIBUTED_COMPUTE_QUERIES from CREDITS_USED_COMPUTE in WAREHOUSE_METERING_HISTORY, per warehouse. That is Snowflake's own documented method. The column is empty for Adaptive Warehouses, so their idle time can't be split out this way.

    How do I see which Databricks job costs what?

    system.billing.usage records the job ID and run ID for serverless jobs and jobs on job compute. Join it to system.billing.list_prices for the price and to system.lakeflow.jobs for the job name. Jobs that run on all-purpose compute have no job ID in billing, so their cost can only be traced to the cluster.

    How much does a Snowflake credit cost?

    On-demand list prices on AWS US East are about $2.00 a credit on Standard, $3.00 on Enterprise and $4.00 on Business Critical, and AI Credits list at $2.00 with global routing. Contract prices are usually lower. If your organization buys directly from Snowflake, ORGANIZATION_USAGE.RATE_SHEET_DAILY shows your effective rate.

    Why does the report stop at the start of yesterday?

    Usage data arrives late: Snowflake's per-query attribution can lag up to 8 hours, and Databricks billing records typically arrive within 12 hours. Recent hours would show up as false zeros, so the query covers the 30 full days that end at midnight at the start of yesterday.

    Is the SQL safe to run on a production account?

    Yes. It is a single SELECT over Snowflake's ACCOUNT_USAGE views or Databricks system tables. It changes nothing and returns totals only, never query text. You run it yourself, so nothing connects to your account.

    Know which job costs what. Then cut it.

    Start with a 30-minute discovery call. If it's a fit, the diagnostic traces your warehouse spend to the pipelines behind it and gives you a prioritized list of fixes.