Free tool · Snowflake
Planning size and running hours? Estimate monthly warehouse cost and compare a resize.
Snowflake auto-suspend calculator
Before you change a warehouse's AUTO_SUSPEND, see what two settings would bill for the same pattern of queries: the seconds running, idle and suspended, the credits, and where the difference comes from.
How auto-suspend is billed
A Snowflake warehouse is billed per second while it runs, with a 60-second minimum each time it starts or resumes. After its last query, it keeps running — idle, and billed — until it has been inactive forAUTO_SUSPEND seconds (600 by default), then suspends; withAUTO_RESUME, the next query starts it again.
So a long delay bills the idle gaps between bursts of queries, and a short one suspends in them but pays the minimum again at every resume. Which costs less depends on how long the gaps are — and a suspended warehouse drops its cache, so the first queries after a resume can be slower.
Snowflake's documentation:virtual warehouse credit usage,CREATE WAREHOUSE (AUTO_SUSPEND and AUTO_RESUME) andwarehouse considerations.
1. Describe the bursts
One warehouse, one cluster, one size, used by nothing else: a burst of queries keeps it busy, then nothing runs for the idle gap, and the pattern repeats. It starts suspended, and the first burst resumes it.
2. The modelled bill
What this model assumes and leaves out
- One single-cluster warehouse, used by nothing but these bursts, at one size. It starts suspended and the first burst resumes it; AUTO_RESUME is on.
- Snowflake bills a running warehouse per second, with a 60-second minimum each time it starts or resumes. Suspending and resuming within the first minute is charged again.
- Query time is held fixed: a burst takes as long at either setting. A suspended warehouse drops its cache, so the queries after a resume can be slower — and billed longer — than modelled.
- Suspension is modelled as happening exactly when the delay is reached, and a gap equal to the delay counts as reaching it. Snowflake suspends from a background check about every 30 seconds, so a real warehouse can run idle for longer. A resume is modelled as instant; Snowflake says provisioning usually takes a second or two, and can take longer.
- Compute credits only, at the credits per hour and the price per credit entered here. The prefilled price is an example, not your edition's, region's or contract's.
- Not included: multi-cluster scaling, resizing (which charges its own minimum), cloud services, serverless features, storage, data transfer, discounts and every other part of the invoice.
- A planning illustration of this one scenario: not measured savings, and not a recommendation to apply a setting without looking at the warehouse's real workload.
Check it against what your warehouses actually do
A scenario is a pattern you describe. Your account's metering says how long each warehouse really ran, how much of that no query was charged for, and which users, dbt models and dashboards the rest went to.
Related guides
- 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.
- 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.