BLUENEXUS INTEGRATIONSHOW-TO

How to find what's driving your Snowflake bill, and the queries behind it

A Snowflake bill rarely goes up for one big reason. It goes up because a warehouse was resized for a backfill and never changed back, another waits an hour before suspending, and a dashboard nobody looks at scans a full table every five minutes. Each is small. Together they add more than a third to the invoice.

Finding them is mostly reading Snowflake's own usage views. An AI connected to Snowflake can read warehouse metering, rank queries and users by credits, and spot warehouses that sit idle or stay oversized. Changing warehouses and dashboards stays with the people who own them.

Here's where credits go, three prompts, and how a food distributor finds the causes behind a 38% jump.

Where Snowflake credits go

Where Snowflake credits go

Idle warehousesA warehouse bills while it waits to suspend. The default wait is ten minutes.
Oversized warehousesEach size up doubles credits per hour. A resize nobody reversed costs every day.
Heavy queriesA few queries or dashboards often account for much of the spend.
Serverless and AICortex AI features use separate AI credits, outside resource monitors.

How Snowflake bills

  • Warehouses bill per second, with a 60-second minimum each time they start. An extra-small Gen1 warehouse uses 1 credit an hour, and each size up doubles that. Gen2, now the default for new warehouses, costs a little more per hour.
  • Auto-suspend defaults to 600 seconds, so an idle warehouse bills for up to ten minutes after its last query.
  • Query attribution leaves things out. Snowflake's attribution view doesn't include idle time or very short queries, so per-query totals won't add up to the bill.
  • AI is separate. Cortex features use AI credits, which resource monitors don't track.

Start with Snowflake's own tools

Snowsight's cost management pages show spend by warehouse and service. Budgets send alerts when spend is projected to go over, and resource monitors can suspend warehouses at a credit quota. The ACCOUNT_USAGE views hold metering, query history and query attribution.

What's left is turning those views into a short list of causes, each with an owner and a fix.

Do it in Claude or ChatGPT

Connect Snowflake with our guide to Snowflake in Claude, ChatGPT and MCP. All three prompts only read. They still run queries, so use a small warehouse.

Credits by warehouse.

1Paste this into Claude or ChatGPT

Using Snowflake, show credits used by each warehouse in the last 30 days, compared with the 30 days before, from WAREHOUSE_METERING_HISTORY. Run this on the [small warehouse name] warehouse. Don't change anything.

Copy prompt

The queries behind them.

1Paste this into Claude or ChatGPT

From QUERY_ATTRIBUTION_HISTORY, list the 20 queries and the 10 users with the most attributed credits in the last 30 days, with the warehouse and a one-line description of each query. Note that idle time isn't included. Don't change anything.

Copy prompt

Warehouse settings.

1Paste this into Claude or ChatGPT

For each warehouse, show its size, auto-suspend setting and roughly how much of its running time had no queries. Suggest changes, but don't make them.

Copy prompt

A few things to know:

  • Checking costs costs credits. Run these on an extra-small warehouse with a short auto-suspend.
  • Shorter isn't always cheaper. Every restart bills at least a minute and loses the cache.
  • Usage views lag. ACCOUNT_USAGE isn't live, so "this month" is a little behind.
  • Look for what changed. A jump usually has a start date. Find what changed that week.

When the data lead, analysts and finance share the bill

On your own, you'd check your own warehouse. In a company, the data lead owns the warehouses, analysts build dashboards that run all day, and finance sees the invoice a month later.

Rivermark Foods, a 300-person food distributor in Kansas City, checks its Snowflake costs in BlueNexus. Snowflake is connected. On the first Monday of each month, the cost agent reads metering, query attribution and warehouse settings, and prepares what needs a decision for Ilse, the data lead.

Illustration of the BlueNexus app with example data.

Illustration of the BlueNexus app with example data.

One warehouse sits idle for an hour at a time, one was never resized after a backfill, and one dashboard scans a full table all day. A new AI pilot adds its own credits. The agent prepares the next steps for Ilse.

Ilse approves both warehouse changes, and Bea moves the dashboard to an hourly refresh the same morning. In the first full week of November, credits are down about a quarter on the last full week of October.

Illustration of the BlueNexus app with example data.

For connecting Snowflake, see Snowflake in Claude, ChatGPT and MCP. For the team, see a monthly Snowflake cost review for data and finance. To keep Snowflake costs down with your team, sign up for BlueNexus.

Questions people ask about Snowflake and AI

How do I find the most expensive queries in Snowflake?

Use QUERY_ATTRIBUTION_HISTORY in ACCOUNT_USAGE to see credits attributed to each query, and join it to QUERY_HISTORY for the query text and user. Snowflake notes it doesn't include warehouse idle time or very short queries.

Why is my Snowflake bill so high?

Common causes are warehouses that stay running while idle, warehouses resized and never changed back, a few heavy queries or dashboards, and serverless or AI features billed separately.

What should Snowflake auto-suspend be set to?

It depends on the workload. The default is 600 seconds. Shorter saves idle time, but every restart bills at least 60 seconds and loses the warehouse's cache, so very short settings aren't always cheaper.

Can I set a spending limit in Snowflake?

Resource monitors can suspend warehouses at a credit quota, though they only cover warehouses and are created by ACCOUNTADMIN. Budgets cover AI and serverless spend too, but they alert rather than stop spending, unless you add a stored procedure.

Do AI queries on Snowflake cost credits?

Yes. A query an AI runs uses warehouse credits like any other, and Cortex AI features use separate AI credits. Give AI tools their own small warehouse.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.