Snowflake virtual warehouses and credits: sizing, auto-suspend and multi-cluster maths
A Snowflake bill is mostly warehouse time. This guide shows how credits are counted per second, why the 60-second minimum and auto-suspend matter, when a bigger warehouse is free, and how multi-cluster scaling changes the maths.
- Reading time
- 15 min
- Sections
- 8
- Code examples
- 6
- Tables
- 4
- Sources
- 7
- Published
- 23 Nov 2026
- What changed
- Snowpark Python 1.57.0 adds semantic view queries and safer casts
- Why it matters
- The cost model rewards a few habits.
- What to do
- Pull 30 days of metering history
Most of a Snowflake bill comes from one thing: virtual warehouses running. Storage is cheap and predictable. Compute is billed in credits, and credits are counted from the moment a warehouse starts until the moment it suspends, whether or not a query is running. Teams that understand that one rule usually cut their bill without touching a single query.
This article teaches the warehouse cost model step by step. It covers how warehouse sizes map to credits, how per-second billing and the 60-second minimum interact with auto-suspend, why a larger warehouse can cost the same as a smaller one, how multi-cluster warehouses scale out, and which account views and guard rails keep spending in check. Every number in the worked examples is computed from the published credit rates, so you can redo the maths for your own workload.
What happened
Snowpark Python 1.57.0 adds semantic view queries and safer casts (12 November 2026)
Snowflake's Python DataFrame library, Snowpark, shipped version 1.57.0. According to the project changelog, it adds Session.semantic_view() (public preview) to query a semantic view by naming dimensions, metrics, facts and a filter, plus a family of try_to_* conversion functions such as try_to_date, try_to_decimal and try_to_timestamp. Snowpark code does not run on your laptop: it is translated to SQL and executed on a virtual warehouse, so every Snowpark job is billed by the same warehouse rules this article explains.
Snowpark Python 1.58.0 adds change-tracking reads (19 November 2026)
A week later, version 1.58.0 reached PyPI. The changelog lists support for change-tracking reads with the CHANGES clause, so Session.table can return only rows changed since a point in time. Reading only changes instead of full tables is one of the simplest ways to shorten warehouse run time, which matters because shorter run time is the only lever that directly lowers credits.
How a warehouse turns time into credits
A virtual warehouse is a named cluster of compute that Snowflake starts, stops and resizes for you. You do not pay per query or per byte scanned. You pay for the time the warehouse is running, multiplied by a credit rate that depends on its size.
Sizes double, and so do credits
Each step up in size doubles the compute and doubles the credits per hour. The standard warehouse rates in Snowflake's documentation are:
| Size | Credits per hour | Relative compute |
|---|---|---|
| X-Small | 1 | 1x |
| Small | 2 | 2x |
| Medium | 4 | 4x |
| Large | 8 | 8x |
| X-Large | 16 | 16x |
| 2X-Large | 32 | 32x |
| 3X-Large | 64 | 64x |
| 4X-Large | 128 | 128x |
| 5X-Large | 256 | 256x |
| 6X-Large | 512 | 512x |
The dollar price of a credit depends on your edition, cloud region and contract, so the examples below stay in credits. Snowflake also offers other warehouse types, such as Snowpark-optimized warehouses for memory-heavy Python work, generation 2 standard warehouses and Adaptive Compute. Their credit rates differ from the table above, so check the service consumption table for your account before you compare them.
Per-second billing with a 60-second minimum
Snowflake bills running warehouses per second, but each time a warehouse starts or resumes it is billed for at least 60 seconds. After the first minute, every second counts.
Think of it like a taxi with a minimum fare. A two-block ride costs the same as a one-minute ride, but after that the meter runs smoothly.
The minimum hurts workloads made of many tiny, spread-out queries. Suppose 200 queries a day each take 5 seconds on an X-Small warehouse, and each one arrives after the warehouse has suspended:
- Ideal cost: 200 × 5 seconds = 1,000 seconds = about 0.28 credits.
- Actual cost: 200 resumes × 60 seconds = 12,000 seconds = about 3.33 credits.
That is twelve times the ideal. The fix is not a smaller warehouse (X-Small is already the smallest). The fix is to batch the queries, or to keep the warehouse awake slightly longer so bursts share one resume.
Auto-suspend is the biggest lever
AUTO_SUSPEND is the number of seconds of inactivity after which the warehouse suspends. AUTO_RESUME lets the next query wake it up. Between the last query finishing and suspension, you pay for an idle warehouse.
Here is a worked example. A Medium warehouse (4 credits per hour) serves 12 report bursts a day. Each burst does 3 minutes of work, and bursts are far apart, so the warehouse suspends between them.
| AUTO_SUSPEND | Billed seconds per burst | Credits per day |
|---|---|---|
| 60 seconds | 180 + 60 = 240 | 12 × 240 × 4 / 3600 = 3.2 |
| 300 seconds | 180 + 300 = 480 | 6.4 |
| 600 seconds | 180 + 600 = 780 | 10.4 |
Moving from a 10-minute to a 1-minute auto-suspend cuts this warehouse's daily spend by about 69 percent, with no change to any query.
There is a catch. A running warehouse keeps a local disk cache of table data it has read recently. When it suspends, that cache is dropped. If the next burst reads the same tables, it reads from remote storage again and can run slower. Snowflake's own guidance suggests weighing auto-suspend against this cache: very short settings suit ad hoc and batch work, while a dashboard hit every few minutes by the same queries may run faster and even cheaper with a slightly longer setting. The result cache, which returns identical query results without using a warehouse at all, is separate and survives suspension.
CREATE WAREHOUSE IF NOT EXISTS reporting_wh
WAREHOUSE_SIZE = 'MEDIUM'
AUTO_SUSPEND = 60
AUTO_RESUME = TRUE
INITIALLY_SUSPENDED = TRUE
STATEMENT_TIMEOUT_IN_SECONDS = 1800
STATEMENT_QUEUED_TIMEOUT_IN_SECONDS = 600;
The two timeout parameters are cheap insurance. A runaway query is cancelled after 30 minutes, and a query that waits more than 10 minutes in the queue is cancelled instead of quietly piling up.
When a bigger warehouse costs nothing extra
Because credits per hour double with each size, a query that runs exactly twice as fast on the next size costs exactly the same. This is the most useful fact about Snowflake sizing.
Take a transformation that runs for 8 minutes on a Medium warehouse:
- Medium: 8 minutes × 4 credits per hour = 8/60 × 4 = 0.533 credits.
- Large: if it now takes 4 minutes, 4/60 × 8 = 0.533 credits. Same cost, half the wait.
- X-Large: if it takes 2.2 minutes instead of the ideal 2, then 2.2/60 × 16 = 0.587 credits. About 10 percent more expensive for a small time gain.
So the sizing rule is simple. Keep moving up while run time roughly halves. Stop when doubling the size no longer halves the time. Queries scale well when they scan a lot of data, sort or join big tables, or spill to disk on the smaller size. Queries scale badly when they are short, read little data or are bound by a single step such as a large final sort into one file.
Spilling is the clearest signal. When a query's working memory does not fit, Snowflake writes intermediate data to local disk and then to remote storage. The query profile shows bytes spilled. Remote spilling in particular often means the warehouse is too small for that query, and a larger size can be both faster and cheaper because it removes the slow spill.
A sizing procedure you can follow
- Pick a representative query or job and run it on your current size with the result cache disabled for the session (
ALTER SESSION SET USE_CACHED_RESULT = FALSE). - Record elapsed time and bytes spilled from the query profile.
- Run it again one size up. Compute credits as minutes / 60 × credits per hour for both runs.
- Keep the larger size if credits are equal or lower, or if the time saving is worth the small extra cost to your users.
- Stop at the first size where credits rise noticeably.
You can try this trade-off interactively in the Snowflake warehouse sizing simulation, which shows how run time, idle time and size combine into credits.
Scaling out: multi-cluster warehouses
Size fixes slow queries. It does not fix many queries arriving at once. A single cluster runs a limited number of queries concurrently, and extra queries wait in a queue. For concurrency, Snowflake offers multi-cluster warehouses (an Enterprise Edition feature and above). You set a minimum and maximum number of clusters, all of the same size, and Snowflake adds or removes clusters as the queue grows and shrinks.
ALTER WAREHOUSE reporting_wh SET
MIN_CLUSTER_COUNT = 1
MAX_CLUSTER_COUNT = 3
SCALING_POLICY = 'STANDARD';
Each running cluster bills at the full rate for its size. Three Medium clusters running for a two-hour morning peak use 3 × 4 × 2 = 24 credits, the same as one Medium cluster for six hours.
Standard versus Economy scaling
The scaling policy decides how eager Snowflake is to add and remove clusters.
| Policy | When a cluster starts | When a cluster shuts down | Best for |
|---|---|---|---|
| Standard | As soon as a query queues, or the system expects one to queue | After 2 to 3 consecutive checks, one minute apart, find the load could move to fewer clusters | User-facing dashboards where waiting is costly |
| Economy | Only if the system estimates enough queued load to keep the new cluster busy for about six minutes | After 5 to 6 consecutive checks | Batch and back-office work that tolerates short queues |
A useful mental model is a supermarket. Standard opens a new till the moment a queue forms. Economy waits until there are enough people to keep the new cashier busy for a while.
Setting MIN_CLUSTER_COUNT equal to MAX_CLUSTER_COUNT gives you a fixed-size cluster set (maximized mode), which is rarely what you want for cost, because all clusters run whenever the warehouse runs.
Scale up or scale out?
| Symptom in query history | Likely cause | Action |
|---|---|---|
| Long execution time, spilling, one query at a time | Warehouse too small for the query | Scale up one size and re-measure |
| Short execution time but long queued time | Too many concurrent queries | Add clusters (raise MAX_CLUSTER_COUNT) |
| Long time to first result after idle periods | Resume plus cold cache | Consider a longer auto-suspend for that warehouse only |
| Many short sessions each billed a full minute | Fragmented workload | Batch jobs or consolidate onto fewer warehouses |
Continue learning
How this article connects
9 pages link to or from it. Drag to turn, click a dot to open it.
Measuring and capping spend
You cannot manage what you do not measure. Snowflake records credits per warehouse per hour in the SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY view, and per-query timings, including time spent queued, in QUERY_HISTORY.
This query shows the last 30 days of credits per warehouse, split into compute and cloud services:
SELECT warehouse_name,
SUM(credits_used_compute) AS compute_credits,
SUM(credits_used_cloud_services) AS cloud_services_credits,
SUM(credits_used) AS total_credits
FROM snowflake.account_usage.warehouse_metering_history
WHERE start_time >= DATEADD('day', -30, CURRENT_TIMESTAMP())
GROUP BY warehouse_name
ORDER BY total_credits DESC;
Cloud services (query compilation, metadata, access control) are billed only for the part of daily cloud services usage that exceeds 10 percent of daily warehouse usage, so for most accounts they are a small line. If they are large, the usual suspects are very many tiny queries or heavy metadata operations.
To find warehouses that wait more than they work, compare queued time with execution time:
SELECT warehouse_name,
COUNT(*) AS queries,
AVG(queued_overload_time) / 1000 AS avg_queued_s,
AVG(execution_time) / 1000 AS avg_exec_s
FROM snowflake.account_usage.query_history
WHERE start_time >= DATEADD('day', -7, CURRENT_TIMESTAMP())
AND warehouse_name IS NOT NULL
GROUP BY warehouse_name
ORDER BY avg_queued_s DESC;
High queued time with low execution time is the concurrency signal from the table above.
Resource monitors as guard rails
A resource monitor sets a credit quota for an account or for chosen warehouses over a period, with actions at percentage thresholds. It can notify, suspend after running queries finish, or suspend immediately.
CREATE RESOURCE MONITOR reporting_monthly
WITH CREDIT_QUOTA = 300
FREQUENCY = MONTHLY
START_TIMESTAMP = IMMEDIATELY
TRIGGERS ON 80 PERCENT DO NOTIFY
ON 100 PERCENT DO SUSPEND
ON 110 PERCENT DO SUSPEND_IMMEDIATE;
ALTER WAREHOUSE reporting_wh SET RESOURCE_MONITOR = reporting_monthly;
Monitors only govern warehouses. Serverless features such as Snowpipe, automatic clustering and search optimization are billed separately and need their own tracking. The same discipline applies to AI spending, as covered in AI FinOps and per-employee budgets.
What it means in practice
The cost model rewards a few habits. Give each workload its own warehouse, so that a heavy nightly job cannot slow a dashboard and so that metering history tells you who spends what. Keep auto-suspend short by default and lengthen it only where cache reuse is proven. Size by measurement, not by instinct: a larger warehouse is often free when run time halves. Use multi-cluster only for real concurrency, and prefer Economy for anything that is not user-facing.
Tooling around Snowflake inherits these rules. A dbt project that runs 300 models in sequence on one warehouse keeps it awake for the whole run, so the thread count and model order matter for cost. An Airflow DAG that triggers many small tasks minutes apart may pay the 60-second minimum each time. Incremental processing, such as the change-tracking reads now available in Snowpark, reduces scanned data and therefore warehouse time.
Comparing platforms also gets easier once you see the model clearly. Snowflake bills running time. BigQuery on-demand bills bytes scanned, and Databricks bills DBUs for running compute. The big data engines overview puts these side by side. The general Snowflake tool page covers the rest of the platform.
What to do now
- Pull 30 days of metering history. Run the metering query above and rank warehouses by credits; the top three usually account for most spend.
- Set auto-suspend to 60 seconds on batch and ad hoc warehouses. Only keep longer values where you can show that cache reuse makes queries faster.
- Split workloads by warehouse. Separate loading, transformation, BI and data science so that each can be sized and monitored on its own.
- Run a one-size-up test on your heaviest job. Use the five-step procedure and keep the larger size if credits stay flat.
- Check queued versus execution time. Add clusters only where queued time dominates, and choose Economy for non-interactive work.
- Add statement and queue timeouts. Cap runaway queries with
STATEMENT_TIMEOUT_IN_SECONDSand stalled queues withSTATEMENT_QUEUED_TIMEOUT_IN_SECONDS. - Create resource monitors with notify and suspend thresholds. Start with notify at 80 percent so the first alert teaches you rather than stops production.
- Batch tiny scheduled queries. If many jobs each wake a warehouse for a few seconds, group them so they share one 60-second minimum.
- Re-test after platform changes. When you evaluate newer warehouse types, compare credits per job, not run time alone, because their credit rates differ.
Risks and open questions
Short auto-suspend can slow cache-heavy dashboards. Dropping the local cache on every suspend means repeated reads go back to remote storage, so measure both speed and credits before and after.
Size tests on a busy warehouse are noisy. Concurrent queries compete for the same cluster, so run sizing tests in a quiet window or on a dedicated test warehouse.
Multi-cluster maximums can multiply spend. A dashboard storm with MAX_CLUSTER_COUNT = 10 can run ten clusters at once; set maximums from measured peaks, not guesses.
Resource monitors do not cover everything. Serverless features are billed outside warehouses, so a monitor-only approach can miss real costs.
New warehouse types change the arithmetic. Generation 2 and Adaptive Compute warehouses use different credit rates and scheduling, so the doubling rule in this article applies to standard warehouses and must be re-checked for the others.
Watch next: how Snowflake's newer warehouse options price compared with standard warehouses on your own workloads, and whether features such as semantic views and change-tracking reads in Snowpark reduce the amount of data your jobs scan.
Frequently asked questions
How many credits does a Snowflake warehouse use per hour?
A standard X-Small warehouse uses 1 credit per hour, and each size up doubles that: Small 2, Medium 4, Large 8, up to 512 for 6X-Large. You pay only while the warehouse is running. Other warehouse types have their own rates.
Does Snowflake bill per second or per minute?
Per second, with a 60-second minimum each time a warehouse starts or resumes. A query that runs 10 seconds on a freshly resumed warehouse is billed as 60 seconds. After the first minute, billing is per second.
What is a good auto-suspend value?
For batch, loading and ad hoc warehouses, 60 seconds is a sensible default. For dashboards that repeatedly read the same tables, a few minutes can keep the local cache warm and make queries faster. Measure both run time and credits before deciding.
When should I scale up instead of out?
Scale up when single queries are slow, especially if the query profile shows spilling. Scale out with a multi-cluster warehouse when queries are fast but wait in the queue because too many run at once.
Do resource monitors stop all Snowflake costs?
No. Resource monitors control warehouse credits only. Serverless features such as Snowpipe or automatic clustering, and storage, are billed separately, so track them through the account usage views as well.
Summary
Snowflake compute is billed as warehouse running time multiplied by a credit rate that doubles with each size, counted per second after a 60-second minimum per resume. That makes auto-suspend the strongest cost lever, makes larger sizes free whenever run time halves, and makes multi-cluster warehouses the right tool only for queueing, not for slow queries. Measure with metering and query history, size by experiment, cap with timeouts and resource monitors, and re-check the arithmetic whenever you adopt a new warehouse type. Libraries such as Snowpark, which gained semantic view queries and change-tracking reads in November 2026, run on the same warehouses and follow the same rules.
Sources
- Docs Snowflake Documentation: Understanding compute cost
- Docs Snowflake Documentation: Overview of warehouses
- Docs Snowflake Documentation: Warehouse considerations
- Docs Snowflake Documentation: Snowflake generation 2 standard warehouses
- Docs Snowflake Documentation: Adaptive Compute
- Code GitHub: Snowpark Python release history (CHANGELOG.md)
- Code PyPI: snowflake-snowpark-python release history
Cite this article
Kelahmet, Ö. C. (2026, November 23). Snowflake virtual warehouses and credits: sizing, auto-suspend and multi-cluster maths. Özer Cem KELAHMET. https://www.ozercemkelahmet.com/articles/snowflake-warehouse-credits-sizing-auto-suspend
BibTeX
@online{kelahmet2026snowflake,
author = {Kelahmet, {\"O}zer Cem},
title = {{Snowflake virtual warehouses and credits: sizing, auto-suspend and multi-cluster maths}},
year = {2026},
month = {nov},
url = {https://www.ozercemkelahmet.com/articles/snowflake-warehouse-credits-sizing-auto-suspend}
}Version historyfirst version
- Published
Factual corrections are listed here with what changed. Wording and formatting edits are not listed.