dwhat

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.

Nothing you type leaves this page. The figures are worked out by this page's JavaScript; they are not sent, stored or put in the address. No account and no warehouse access needed.

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.

A standard (Gen1) X-Small uses 1 credit an hour and each size up doubles it; other warehouse types differ — see warehouse sizes.

3 is an example: the price per credit dwhat's Snowflake audit assumes. Editions, regions and contracts differ.

The two settings to compare

0 means never suspend, so it has no bill to compare and is not accepted. Snowflake suspends from a check about every 30 seconds, so values under 30, or not a multiple of it, may not behave as modelled. A gap exactly as long as the delay counts as reaching it.

2. The modelled bill

What this model assumes and leaves out

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.

Check your actual warehouse compute and idle timeOr reconcile metering with query credits in your browser

Related guides