# Snowflake Costs

Everyone is thinking about cost containment these days, and so are we! You can track your Snowflake costs, using our Snowflake Cost widget as part of the [Analytics Dashboard](/features/analytics-dashboard.md).

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/00c1a731-bf10-4f7d-bd89-b8f5b240a77a.gif" alt=""><figcaption></figcaption></figure>

## How does the Widget work?

We provide cost analysis for *everything* in your Snowflake warehouse. This information is provided through the information schemas of each table, for the entire warehouse.

Visualizing your cost trends using the Widget **will not** impact your overall costs, as Secoda is already querying the information schemas to extract the metadata for your workspace. To learn more about what queries Secoda makes to your Snowflake instance, navigate to the [Secoda impact on Snowflake Costs](#secodas-impact-on-snowflake-costs) section below.

## Add Monitors on Snowflake costs

You can even use our monitoring features on a Snowflake cost widget to be alerted about changes to daily costs. Simply create the widget, then use the three dot menu to create a monitor.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/d6e5f85b-8746-4d2d-8a65-b0242b431ada.png" alt=""><figcaption></figcaption></figure>

Add filters on usage type and balance source, and voila! You can catch changes before they become larger issues.

<div align="left"><figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/5ed500df-807b-4c1f-a7d0-707f0f0aa05a.png" alt="" width="375"><figcaption></figcaption></figure></div>

## Secoda's Impact on Snowflake Costs

At every sync, Secoda runs queries on your Snowflake instance. Generally, these queries costs anywhere between 0.1 to 1 credit in total.

Secoda queries Snowflake in two ways during each sync. The first, is querying the information schema of each database in Snowflake. The second, is querying the `snowflake.account_usage.query_history` table. From these two queries, Secoda is able to extract and calculate [Metadata](/integrations/data-warehouses/snowflake-integration/snowflake-metadata.md), [Cost](/features/analytics-dashboard.md), [Lineage](/features/data-lineage.md), [Query History](/features/queries.md), [Popularity](/features/popularity.md) and [profile](/features/column-profiling.md) the Snowflake Columns.

Note, queries outside of a sync, such as those from [Monitors](/features/monitoring.md), are not included in the cost above, and can vary depending on how the feature is implemented in your workspace.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.secoda.co/integrations/data-warehouses/snowflake-integration/snowflake-costs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
