{
  "name": "Snowflake Cost Check",
  "url": "https://tools.finitizer.com/snowflake-cost-check",
  "reviewed": "2026-11-10",
  "pricesVerified": "2026-11-13",
  "pricesSource": "https://www.snowflake.com/legal-files/CreditConsumptionTable.pdf",
  "queryVersion": "sf-cost-check-v1 (2026-11-10)",
  "purpose": "Run five read-only Account Usage queries in Snowsight and get a report priced for your region and edition: idle credits by warehouse, what a shorter auto-suspend or one size smaller would save, Fail-safe on tables you can rebuild, and the services and query shapes worth a look. No access to your account needed.",
  "terms": {
    "observed": "A figure read from the query results, such as credits billed or credits Snowflake attributes to no query.",
    "modeled": "A saving computed from those figures at the credit price: auto-suspend, one size smaller and transient tables. The size change is priced after the auto-suspend change and storage touches neither, so they add.",
    "investigate": "A lead the results cannot price: idle time not covered by a modeled finding, cloud services, background services, undersized warehouses, failed queries, poor pruning, repeated shapes, clone and stage storage. Shown with what it costs now, never added to the savings.",
    "realized": "Not reported. Only the bill after a change shows a realized saving."
  },
  "method": {
    "window": "The last 30 complete UTC days, scaled to a month by 30.44 / days.",
    "idle": "Observed idle credits = a warehouse's metered compute credits minus the compute credits Snowflake attributes to its queries.",
    "gapModel": "Query 2 merges each warehouse's queries into busy stretches. At an auto-suspend of T seconds, a gap between stretches costs min(gap, T + 15) seconds awake, plus one T + 15 after the last stretch. Resumes = gaps longer than T + 15, plus one. Measured at 60, 120, 300, 600, 900, 1800, 3600, 10800 seconds, interpolated between them and held at the ends.",
    "calibration": "Modeled awake time at today's setting x credits an hour, against the metered credits. Further than 25% apart is flagged; above, the model is scaled down to the meter, never up.",
    "autoSuspend": "Cautious = idle at today's setting minus idle at 300 seconds; favorable = minus idle at 60 seconds. Capped at the observed idle credits.",
    "downsize": "Only for warehouses whose queries are short, rarely queue and barely spill. One size smaller halves credits an hour. Cautious = the idle time left after the cautious auto-suspend change, halved. Favorable = the busy time and the idle left after the favorable change, halved, if queries take no longer.",
    "transientTables": "Cautious = the Fail-safe bytes of tables whose Time Travel and Fail-safe outweigh their data. Favorable = their Fail-safe and Time Travel bytes. At the storage price per TB a month.",
    "cloudServices": "Billed only above 10% of each day's warehouse credits, as query 1 reports.",
    "bytes": "A TB is 1024^4 bytes. Snowflake does not define it, and this gives the lower figure.",
    "notIncluded": [
      "Data transfer, support, taxes and contract credits.",
      "The performance effect of a change, including query latency.",
      "Savings that require a query, table or workload to be removed."
    ]
  },
  "queries": {
    "note": "Run in Snowsight or any client, as one role. Each query is read-only and returns no query text.",
    "permissions": "ACCOUNTADMIN, or a role granted IMPORTED PRIVILEGES on the SNOWFLAKE database. Run query 3 as the same role as query 2: SHOW WAREHOUSES lists only the warehouses that role can see.",
    "steps": {
      "bill": {
        "what": "Query 1: credits by service and average storage, from METERING_DAILY_HISTORY and STORAGE_USAGE.",
        "sql": "-- Finitizer Snowflake Cost Check, query 1 of 5: the account bill\n-- sf-cost-check-v1 (2026-11-10). Read-only: it reads Account Usage and changes nothing.\n-- Credits by service for the last 30 complete UTC days, and average storage. Totals only.\n-- Needs ACCOUNTADMIN, or a role with IMPORTED PRIVILEGES on the SNOWFLAKE database.\nWITH w AS (\n  SELECT DATEADD(day, -30, DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP()))) AS ws,\n         DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP())) AS we\n),\ns AS (\n  SELECT COUNT(*) AS days,\n         AVG(storage_bytes) AS database_bytes,\n         AVG(stage_bytes) AS stage_bytes,\n         AVG(failsafe_bytes) AS failsafe_bytes,\n         AVG(hybrid_table_storage_bytes) AS hybrid_bytes\n  FROM snowflake.account_usage.storage_usage, w\n  WHERE usage_date >= w.ws::DATE AND usage_date < w.we::DATE\n)\nSELECT 'credits' AS row_kind,\n       m.service_type AS item,\n       SUM(m.credits_used_compute)::FLOAT AS credits_compute,\n       SUM(m.credits_used_cloud_services)::FLOAT AS credits_cloud_services,\n       SUM(m.credits_adjustment_cloud_services)::FLOAT AS credits_adjustment,\n       SUM(m.credits_billed)::FLOAT AS credits_billed,\n       COUNT(DISTINCT m.usage_date) AS days,\n       NULL::FLOAT AS average_bytes,\n       TO_VARCHAR(MIN(w.ws), 'YYYY-MM-DD') AS window_start,\n       TO_VARCHAR(MIN(w.we), 'YYYY-MM-DD') AS window_end,\n       CURRENT_REGION() AS region\nFROM snowflake.account_usage.metering_daily_history m, w\nWHERE m.usage_date >= w.ws::DATE AND m.usage_date < w.we::DATE\nGROUP BY m.service_type\nUNION ALL\nSELECT 'storage', 'database', NULL, NULL, NULL, NULL, s.days, s.database_bytes::FLOAT,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD'), TO_VARCHAR(w.we, 'YYYY-MM-DD'), CURRENT_REGION()\nFROM s, w\nUNION ALL\nSELECT 'storage', 'stage', NULL, NULL, NULL, NULL, s.days, s.stage_bytes::FLOAT,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD'), TO_VARCHAR(w.we, 'YYYY-MM-DD'), CURRENT_REGION()\nFROM s, w\nUNION ALL\nSELECT 'storage', 'failsafe', NULL, NULL, NULL, NULL, s.days, s.failsafe_bytes::FLOAT,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD'), TO_VARCHAR(w.we, 'YYYY-MM-DD'), CURRENT_REGION()\nFROM s, w\nUNION ALL\nSELECT 'storage', 'hybrid', NULL, NULL, NULL, NULL, s.days, s.hybrid_bytes::FLOAT,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD'), TO_VARCHAR(w.we, 'YYYY-MM-DD'), CURRENT_REGION()\nFROM s, w\nORDER BY row_kind, credits_billed DESC NULLS LAST;"
      },
      "warehouses": {
        "what": "Query 2: each warehouse's busy time, idle time and resumes at each auto-suspend setting, with its metered and attributed credits.",
        "sql": "-- Finitizer Snowflake Cost Check, query 2 of 5: warehouse activity\n-- sf-cost-check-v1 (2026-11-10). Read-only: it reads Account Usage and changes nothing.\n-- Per warehouse: metered credits, the time queries kept it busy, and the idle time and\n-- resumes it would have at each auto-suspend setting. Names and totals, no query text.\n-- It reads 30 days of query history, so run it on a small warehouse. Allow a minute or two.\nWITH w AS (\n  SELECT DATEADD(day, -30, DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP()))) AS ws,\n         DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP())) AS we\n),\nq AS (\n  SELECT h.warehouse_name, h.warehouse_size, h.start_time, h.end_time, h.execution_time,\n         h.execution_status, h.queued_overload_time,\n         h.bytes_spilled_to_local_storage, h.bytes_spilled_to_remote_storage\n  FROM snowflake.account_usage.query_history h, w\n  WHERE h.start_time >= w.ws AND h.start_time < w.we\n    AND h.warehouse_name IS NOT NULL\n    AND h.warehouse_size IS NOT NULL\n    AND h.end_time IS NOT NULL\n),\no AS (\n  SELECT q.*,\n         MAX(end_time) OVER (PARTITION BY warehouse_name ORDER BY start_time, end_time\n                             ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PRECEDING) AS prev_end\n  FROM q\n),\ng AS (\n  SELECT o.*,\n         GREATEST(0, DATEDIFF(millisecond, IFF(prev_end > start_time, prev_end, start_time), end_time)) / 1000 AS busy_s,\n         IFF(prev_end < start_time, DATEDIFF(millisecond, prev_end, start_time) / 1000, NULL) AS gap_s\n  FROM o\n),\na AS (\n  SELECT warehouse_name,\n         MODE(warehouse_size) AS size_seen,\n         COUNT(*) AS queries,\n         COUNT_IF(UPPER(execution_status) <> 'SUCCESS') AS failed_queries,\n         SUM(busy_s) AS busy_seconds,\n         COUNT(gap_s) AS gaps,\n         SUM(gap_s) AS gap_seconds,\n         SUM(LEAST(gap_s, 75)) AS idle_60,\n         COUNT_IF(gap_s > 75) AS resumes_60,\n         SUM(LEAST(gap_s, 135)) AS idle_120,\n         COUNT_IF(gap_s > 135) AS resumes_120,\n         SUM(LEAST(gap_s, 315)) AS idle_300,\n         COUNT_IF(gap_s > 315) AS resumes_300,\n         SUM(LEAST(gap_s, 615)) AS idle_600,\n         COUNT_IF(gap_s > 615) AS resumes_600,\n         SUM(LEAST(gap_s, 915)) AS idle_900,\n         COUNT_IF(gap_s > 915) AS resumes_900,\n         SUM(LEAST(gap_s, 1815)) AS idle_1800,\n         COUNT_IF(gap_s > 1815) AS resumes_1800,\n         SUM(LEAST(gap_s, 3615)) AS idle_3600,\n         COUNT_IF(gap_s > 3615) AS resumes_3600,\n         SUM(LEAST(gap_s, 10815)) AS idle_10800,\n         COUNT_IF(gap_s > 10815) AS resumes_10800,\n         APPROX_PERCENTILE(execution_time, 0.95) / 1000 AS p95_execution_seconds,\n         SUM(bytes_spilled_to_local_storage) AS spill_local_bytes,\n         SUM(bytes_spilled_to_remote_storage) AS spill_remote_bytes,\n         SUM(queued_overload_time) / 1000 AS queued_overload_seconds,\n         COUNT_IF(queued_overload_time > 0) AS queued_queries\n  FROM g\n  GROUP BY warehouse_name\n),\nm AS (\n  SELECT warehouse_name,\n         SUM(credits_used_compute) AS credits_compute,\n         SUM(credits_used_cloud_services) AS credits_cloud_services,\n         SUM(credits_attributed_compute_queries) AS credits_attributed\n  FROM snowflake.account_usage.warehouse_metering_history, w\n  WHERE start_time >= w.ws AND start_time < w.we\n  GROUP BY warehouse_name\n)\nSELECT COALESCE(m.warehouse_name, a.warehouse_name) AS warehouse_name,\n       m.credits_compute, m.credits_cloud_services, m.credits_attributed,\n       a.size_seen, a.queries, a.failed_queries, a.busy_seconds, a.gaps, a.gap_seconds,\n       a.idle_60, a.resumes_60,\n       a.idle_120, a.resumes_120,\n       a.idle_300, a.resumes_300,\n       a.idle_600, a.resumes_600,\n       a.idle_900, a.resumes_900,\n       a.idle_1800, a.resumes_1800,\n       a.idle_3600, a.resumes_3600,\n       a.idle_10800, a.resumes_10800,\n       a.p95_execution_seconds, a.spill_local_bytes, a.spill_remote_bytes,\n       a.queued_overload_seconds, a.queued_queries,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD') AS window_start,\n       TO_VARCHAR(w.we, 'YYYY-MM-DD') AS window_end\nFROM m\nFULL OUTER JOIN a ON a.warehouse_name = m.warehouse_name\nCROSS JOIN w\nORDER BY m.credits_compute DESC NULLS LAST;"
      },
      "settings": {
        "what": "Query 3: SHOW WAREHOUSES, for size, generation, clusters and auto-suspend.",
        "sql": "-- Finitizer Snowflake Cost Check, query 3 of 5: warehouse settings\n-- sf-cost-check-v1 (2026-11-10). Read-only: it reads Account Usage and changes nothing.\n-- Size, type, generation, auto-suspend and cluster counts for every warehouse your role can see.\n-- Run it as the same role as query 2 (ACCOUNTADMIN sees every warehouse).\nSHOW WAREHOUSES;"
      },
      "storage": {
        "what": "Query 4: storage by database from TABLE_STORAGE_METRICS, with tables whose Time Travel and Fail-safe outweigh their data.",
        "sql": "-- Finitizer Snowflake Cost Check, query 4 of 5: storage by database\n-- sf-cost-check-v1 (2026-11-10). Read-only: it reads Account Usage and changes nothing.\n-- Active, Time Travel, Fail-safe and clone-retained bytes per database, and how many\n-- permanent tables hold more history than live data (the transient-table candidates).\n-- Database names and totals only, no table names.\nSELECT table_catalog AS database_name,\n       COUNT(*) AS tables,\n       SUM(active_bytes) AS active_bytes,\n       SUM(time_travel_bytes) AS time_travel_bytes,\n       SUM(failsafe_bytes) AS failsafe_bytes,\n       SUM(retained_for_clone_bytes) AS retained_for_clone_bytes,\n       COUNT_IF(is_transient = 'YES') AS transient_tables,\n       COUNT_IF(is_transient = 'NO' AND NOT COALESCE(deleted, FALSE)\n                AND time_travel_bytes + failsafe_bytes > active_bytes\n                AND time_travel_bytes + failsafe_bytes > 1073741824) AS churn_tables,\n       SUM(IFF(is_transient = 'NO' AND NOT COALESCE(deleted, FALSE)\n               AND time_travel_bytes + failsafe_bytes > active_bytes\n               AND time_travel_bytes + failsafe_bytes > 1073741824, time_travel_bytes, 0)) AS churn_time_travel_bytes,\n       SUM(IFF(is_transient = 'NO' AND NOT COALESCE(deleted, FALSE)\n               AND time_travel_bytes + failsafe_bytes > active_bytes\n               AND time_travel_bytes + failsafe_bytes > 1073741824, failsafe_bytes, 0)) AS churn_failsafe_bytes,\n       COUNT_IF(COALESCE(deleted, FALSE)) AS dropped_tables,\n       SUM(IFF(COALESCE(deleted, FALSE), time_travel_bytes + failsafe_bytes, 0)) AS dropped_bytes\nFROM snowflake.account_usage.table_storage_metrics\nGROUP BY table_catalog\nORDER BY SUM(active_bytes + time_travel_bytes + failsafe_bytes + retained_for_clone_bytes) DESC;"
      },
      "shapes": {
        "what": "Query 5 (optional): the costliest repeated query shapes from QUERY_ATTRIBUTION_HISTORY. No query text.",
        "sql": "-- Finitizer Snowflake Cost Check, query 5 of 5: query shapes (optional)\n-- sf-cost-check-v1 (2026-11-10). Read-only: it reads Account Usage and changes nothing.\n-- The 50 query shapes with the most compute credits, grouped by Snowflake’s parameterized\n-- hash (the query with its literals removed), plus totals. A hash and counts, never query text.\n-- QUERY_ATTRIBUTION_HISTORY leaves out queries of about 100 ms or less and idle time.\nWITH w AS (\n  SELECT DATEADD(day, -30, DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP()))) AS ws,\n         DATE_TRUNC('day', CONVERT_TIMEZONE('UTC', CURRENT_TIMESTAMP())) AS we\n),\na AS (\n  SELECT query_id, query_parameterized_hash, warehouse_name,\n         credits_attributed_compute, COALESCE(credits_used_query_acceleration, 0) AS qas_credits\n  FROM snowflake.account_usage.query_attribution_history, w\n  WHERE start_time >= w.ws AND start_time < w.we\n),\nq AS (\n  SELECT h.query_id, h.execution_status, h.execution_time, h.bytes_scanned,\n         h.partitions_scanned, h.partitions_total, h.bytes_spilled_to_local_storage,\n         h.bytes_spilled_to_remote_storage, h.queued_overload_time, h.user_name, h.query_type\n  FROM snowflake.account_usage.query_history h, w\n  WHERE h.start_time >= w.ws AND h.start_time < w.we AND h.warehouse_size IS NOT NULL\n),\ns AS (\n  SELECT a.query_parameterized_hash AS shape,\n         MODE(a.warehouse_name) AS main_warehouse,\n         COUNT(DISTINCT a.warehouse_name) AS warehouses,\n         COUNT(*) AS runs,\n         SUM(a.credits_attributed_compute) AS credits,\n         SUM(a.qas_credits) AS qas_credits,\n         COUNT_IF(UPPER(q.execution_status) <> 'SUCCESS') AS failed_runs,\n         SUM(IFF(UPPER(q.execution_status) <> 'SUCCESS', a.credits_attributed_compute, 0)) AS failed_credits,\n         SUM(q.execution_time) / 1000 AS execution_seconds,\n         SUM(q.bytes_scanned) AS bytes_scanned,\n         SUM(q.partitions_scanned) AS partitions_scanned,\n         SUM(q.partitions_total) AS partitions_total,\n         SUM(q.bytes_spilled_to_local_storage) AS spill_local_bytes,\n         SUM(q.bytes_spilled_to_remote_storage) AS spill_remote_bytes,\n         SUM(q.queued_overload_time) / 1000 AS queued_seconds,\n         COUNT(DISTINCT q.user_name) AS users,\n         MODE(q.query_type) AS query_type\n  FROM a JOIN q ON q.query_id = a.query_id\n  WHERE a.query_parameterized_hash IS NOT NULL\n  GROUP BY a.query_parameterized_hash\n),\nt AS (\n  SELECT COUNT(DISTINCT query_parameterized_hash) AS shapes_total,\n         SUM(credits_attributed_compute) AS credits_total,\n         COUNT(*) AS runs_total\n  FROM a\n)\nSELECT s.*, t.shapes_total, t.credits_total, t.runs_total,\n       TO_VARCHAR(w.ws, 'YYYY-MM-DD') AS window_start,\n       TO_VARCHAR(w.we, 'YYYY-MM-DD') AS window_end\nFROM s CROSS JOIN t CROSS JOIN w\nORDER BY s.credits DESC\nLIMIT 50;"
      }
    }
  },
  "columns": {
    "bill": [
      "row_kind",
      "item",
      "credits_compute",
      "credits_cloud_services",
      "credits_adjustment",
      "credits_billed",
      "days",
      "average_bytes",
      "window_start",
      "window_end",
      "region"
    ],
    "warehouses": [
      "warehouse_name",
      "credits_compute",
      "credits_cloud_services",
      "credits_attributed",
      "size_seen",
      "queries",
      "failed_queries",
      "busy_seconds",
      "gaps",
      "gap_seconds",
      "idle_60",
      "resumes_60",
      "idle_120",
      "resumes_120",
      "idle_300",
      "resumes_300",
      "idle_600",
      "resumes_600",
      "idle_900",
      "resumes_900",
      "idle_1800",
      "resumes_1800",
      "idle_3600",
      "resumes_3600",
      "idle_10800",
      "resumes_10800",
      "p95_execution_seconds",
      "spill_local_bytes",
      "spill_remote_bytes",
      "queued_overload_seconds",
      "queued_queries",
      "window_start",
      "window_end"
    ],
    "settings": [
      "name",
      "state",
      "type",
      "size",
      "min_cluster_count",
      "max_cluster_count",
      "started_clusters",
      "running",
      "queued",
      "auto_suspend",
      "auto_resume",
      "scaling_policy",
      "resource_constraint"
    ],
    "storage": [
      "database_name",
      "tables",
      "active_bytes",
      "time_travel_bytes",
      "failsafe_bytes",
      "retained_for_clone_bytes",
      "transient_tables",
      "churn_tables",
      "churn_time_travel_bytes",
      "churn_failsafe_bytes",
      "dropped_tables",
      "dropped_bytes"
    ],
    "shapes": [
      "shape",
      "main_warehouse",
      "warehouses",
      "runs",
      "credits",
      "qas_credits",
      "failed_runs",
      "failed_credits",
      "execution_seconds",
      "bytes_scanned",
      "partitions_scanned",
      "partitions_total",
      "spill_local_bytes",
      "spill_remote_bytes",
      "queued_seconds",
      "users",
      "query_type",
      "shapes_total",
      "credits_total",
      "runs_total",
      "window_start",
      "window_end"
    ]
  },
  "accepted": "CSV, TSV, newline-delimited JSON, a JSON array, or the grid copied from Snowsight. Column names in the first row.",
  "findings": {
    "auto_suspend": "modeled",
    "downsize": "modeled",
    "transient_tables": "modeled",
    "idle_time": "investigate",
    "cloud_services": "investigate",
    "background_services": "investigate",
    "undersized": "investigate",
    "failed_queries": "investigate",
    "poor_pruning": "investigate",
    "repeated_shapes": "investigate",
    "clone_storage": "investigate",
    "stage_storage": "investigate"
  },
  "api": {
    "endpoint": "https://tools.finitizer.com/snowflake-cost-check/api",
    "openapi": "https://tools.finitizer.com/snowflake-cost-check/openapi.json",
    "maxBytes": 5000000,
    "rateLimit": "20 reports a minute per caller",
    "keyRequired": false
  },
  "editions": [
    {
      "id": "standard",
      "name": "Standard"
    },
    {
      "id": "enterprise",
      "name": "Enterprise"
    },
    {
      "id": "businessCritical",
      "name": "Business Critical"
    },
    {
      "id": "vps",
      "name": "Virtual Private Snowflake"
    }
  ],
  "regions": [
    {
      "id": "aws-us-east-1",
      "cloud": "aws",
      "name": "US East (N. Virginia)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-us-west-2",
      "cloud": "aws",
      "name": "US West (Oregon)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-eu-west-1",
      "cloud": "aws",
      "name": "Europe (Ireland)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-eu-central-1",
      "cloud": "aws",
      "name": "Europe (Frankfurt)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 24.5
    },
    {
      "id": "aws-ap-southeast-2",
      "cloud": "aws",
      "name": "Asia Pacific (Sydney)",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-ap-southeast-1",
      "cloud": "aws",
      "name": "Asia Pacific (Singapore)",
      "creditPrice": {
        "standard": 2.5,
        "enterprise": 3.7,
        "businessCritical": 5,
        "vps": 7.5
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-ca-central-1",
      "cloud": "aws",
      "name": "Canada (Central)",
      "creditPrice": {
        "standard": 2.25,
        "enterprise": 3.5,
        "businessCritical": 4.5,
        "vps": 6.75
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-us-east-2",
      "cloud": "aws",
      "name": "US East (Ohio)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-ap-northeast-1",
      "cloud": "aws",
      "name": "Asia Pacific (Tokyo)",
      "creditPrice": {
        "standard": 2.85,
        "enterprise": 4.3,
        "businessCritical": 5.7,
        "vps": 8.55
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-ap-south-1",
      "cloud": "aws",
      "name": "Asia Pacific (Mumbai)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-eu-west-2",
      "cloud": "aws",
      "name": "Europe (London)",
      "creditPrice": {
        "standard": 2.7,
        "enterprise": 4,
        "businessCritical": 5.4,
        "vps": 8.1
      },
      "storagePerTbMonth": 24
    },
    {
      "id": "aws-ap-northeast-2",
      "cloud": "aws",
      "name": "Asia Pacific (Seoul)",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-eu-north-1",
      "cloud": "aws",
      "name": "Europe (Stockholm)",
      "creditPrice": {
        "standard": 2.4,
        "enterprise": 3.6,
        "businessCritical": 4.8,
        "vps": 7.2
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "aws-ap-northeast-3",
      "cloud": "aws",
      "name": "Asia Pacific (Osaka)",
      "creditPrice": {
        "standard": 2.85,
        "enterprise": 4.3,
        "businessCritical": 5.7,
        "vps": 8.55
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-sa-east-1",
      "cloud": "aws",
      "name": "South America (Sao Paulo)",
      "creditPrice": {
        "standard": 3.1,
        "enterprise": 4.65,
        "businessCritical": 6.2,
        "vps": 9.3
      },
      "storagePerTbMonth": 40.5
    },
    {
      "id": "aws-eu-west-3",
      "cloud": "aws",
      "name": "Europe (Paris)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 24
    },
    {
      "id": "aws-ap-southeast-3",
      "cloud": "aws",
      "name": "Asia Pacific (Jakarta)",
      "creditPrice": {
        "standard": 2.5,
        "enterprise": 3.7,
        "businessCritical": 5,
        "vps": 7.5
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "aws-eu-central-2",
      "cloud": "aws",
      "name": "Europe (Zurich)",
      "creditPrice": {
        "standard": 3.1,
        "enterprise": 4.65,
        "businessCritical": 6.2,
        "vps": 9.3
      },
      "storagePerTbMonth": 26.95
    },
    {
      "id": "aws-af-south-1",
      "cloud": "aws",
      "name": "Africa (Cape Town)",
      "creditPrice": {
        "standard": 2.8,
        "enterprise": 4.2,
        "businessCritical": 5.6,
        "vps": 8.4
      },
      "storagePerTbMonth": 27.4
    },
    {
      "id": "aws-ap-southeast-5",
      "cloud": "aws",
      "name": "Asia Pacific (Malaysia)",
      "creditPrice": {
        "standard": 2.4,
        "enterprise": 3.6,
        "businessCritical": 4.8,
        "vps": 7.2
      },
      "storagePerTbMonth": 22.5
    },
    {
      "id": "aws-ap-southeast-7",
      "cloud": "aws",
      "name": "Asia Pacific (Thailand)",
      "creditPrice": {
        "standard": 2.4,
        "enterprise": 3.6,
        "businessCritical": 4.8,
        "vps": 7.2
      },
      "storagePerTbMonth": 22.5
    },
    {
      "id": "aws-ap-southeast-6",
      "cloud": "aws",
      "name": "Asia Pacific (New Zealand)",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 26.25
    },
    {
      "id": "azure-eastus2",
      "cloud": "azure",
      "name": "East US 2 (Virginia)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-westus2",
      "cloud": "azure",
      "name": "West US 2 (Washington)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-westeurope",
      "cloud": "azure",
      "name": "West Europe (Netherlands)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-australiaeast",
      "cloud": "azure",
      "name": "Australia East (New South Wales)",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "azure-canadacentral",
      "cloud": "azure",
      "name": "Canada Central (Toronto)",
      "creditPrice": {
        "standard": 2.25,
        "enterprise": 3.5,
        "businessCritical": 4.5,
        "vps": 6.75
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "azure-southeastasia",
      "cloud": "azure",
      "name": "Southeast Asia (Singapore)",
      "creditPrice": {
        "standard": 2.5,
        "enterprise": 3.7,
        "businessCritical": 5,
        "vps": 7.5
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "azure-switzerlandnorth",
      "cloud": "azure",
      "name": "Switzerland North",
      "creditPrice": {
        "standard": 3.1,
        "enterprise": 4.65,
        "businessCritical": 6.2,
        "vps": 9.3
      },
      "storagePerTbMonth": 28.8
    },
    {
      "id": "azure-centralus",
      "cloud": "azure",
      "name": "Central US (Iowa)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-northeurope",
      "cloud": "azure",
      "name": "North Europe (Ireland)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-japaneast",
      "cloud": "azure",
      "name": "Japan East (Tokyo)",
      "creditPrice": {
        "standard": 2.85,
        "enterprise": 4.3,
        "businessCritical": 5.7,
        "vps": 8.55
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "azure-uaenorth",
      "cloud": "azure",
      "name": "UAE North (Dubai)",
      "creditPrice": {
        "standard": 2.7,
        "enterprise": 4,
        "businessCritical": 5.4,
        "vps": 8.1
      },
      "storagePerTbMonth": 25.4
    },
    {
      "id": "azure-southcentralus",
      "cloud": "azure",
      "name": "South Central US (Texas)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-centralindia",
      "cloud": "azure",
      "name": "Central India (Pune)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-uksouth",
      "cloud": "azure",
      "name": "UK South (London)",
      "creditPrice": {
        "standard": 2.7,
        "enterprise": 4,
        "businessCritical": 5.4,
        "vps": 8.1
      },
      "storagePerTbMonth": 24
    },
    {
      "id": "azure-mexicocentral",
      "cloud": "azure",
      "name": "Mexico Central",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-koreacentral",
      "cloud": "azure",
      "name": "Korea Central",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 25
    },
    {
      "id": "azure-swedencentral",
      "cloud": "azure",
      "name": "Sweden Central",
      "creditPrice": {
        "standard": 2.4,
        "enterprise": 3.6,
        "businessCritical": 4.8,
        "vps": 7.2
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-eastus",
      "cloud": "azure",
      "name": "East US (Virginia)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "azure-eastasia",
      "cloud": "azure",
      "name": "East Asia (Hong Kong)",
      "creditPrice": {
        "standard": 3,
        "enterprise": 4.5,
        "businessCritical": 6,
        "vps": 9
      },
      "storagePerTbMonth": 30
    },
    {
      "id": "gcp-us-central1",
      "cloud": "gcp",
      "name": "US Central 1 (Iowa)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 20
    },
    {
      "id": "gcp-us-east4",
      "cloud": "gcp",
      "name": "US East 4 (N. Virginia)",
      "creditPrice": {
        "standard": 2,
        "enterprise": 3,
        "businessCritical": 4,
        "vps": 6
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "gcp-europe-west4",
      "cloud": "gcp",
      "name": "Europe West 4 (Netherlands)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 20
    },
    {
      "id": "gcp-europe-west2",
      "cloud": "gcp",
      "name": "Europe West 2 (London)",
      "creditPrice": {
        "standard": 2.7,
        "enterprise": 4,
        "businessCritical": 5.4,
        "vps": 8.1
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "gcp-europe-west3",
      "cloud": "gcp",
      "name": "Europe West 3 (Frankfurt)",
      "creditPrice": {
        "standard": 2.6,
        "enterprise": 3.9,
        "businessCritical": 5.2,
        "vps": 7.8
      },
      "storagePerTbMonth": 23
    },
    {
      "id": "gcp-me-central2",
      "cloud": "gcp",
      "name": "Middle East Central 2 (Dammam)",
      "creditPrice": {
        "standard": 3.25,
        "enterprise": 4.9,
        "businessCritical": 6.5,
        "vps": 9.75
      },
      "storagePerTbMonth": 30
    },
    {
      "id": "gcp-australia-southeast2",
      "cloud": "gcp",
      "name": "Australia Southeast 2 (Melbourne)",
      "creditPrice": {
        "standard": 2.75,
        "enterprise": 4.05,
        "businessCritical": 5.5,
        "vps": 8.25
      },
      "storagePerTbMonth": 23
    }
  ],
  "samples": {
    "note": "Made-up results in the columns of the real queries, tab-separated. Send them to the API to see a report.",
    "bill": "ROW_KIND\tITEM\tCREDITS_COMPUTE\tCREDITS_CLOUD_SERVICES\tCREDITS_ADJUSTMENT\tCREDITS_BILLED\tDAYS\tAVERAGE_BYTES\tWINDOW_START\tWINDOW_END\tREGION\ncredits\tWAREHOUSE_METERING\t5506.62\t391\t-391\t5506.62\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tAUTO_CLUSTERING\t150\t0\t0\t150\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tAI_SERVICES\t90\t0\t0\t90\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tSERVERLESS_TASK\t48\t0\t0\t48\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tPIPE\t31\t0\t0\t31\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tSEARCH_OPTIMIZATION\t24\t0\t0\t24\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\ncredits\tMATERIALIZED_VIEW\t17\t0\t0\t17\t30\t\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\nstorage\tdatabase\t\t\t\t\t30\t53326313947136\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\nstorage\tstage\t\t\t\t\t30\t2308974418330\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\nstorage\tfailsafe\t\t\t\t\t30\t9895604649984\t2026-10-11\t2026-11-10\tAWS_US_EAST_1\nstorage\thybrid\t\t\t\t\t30\t0\t2026-10-11\t2026-11-10\tAWS_US_EAST_1",
    "warehouses": "WAREHOUSE_NAME\tCREDITS_COMPUTE\tCREDITS_CLOUD_SERVICES\tCREDITS_ATTRIBUTED\tSIZE_SEEN\tQUERIES\tFAILED_QUERIES\tBUSY_SECONDS\tGAPS\tGAP_SECONDS\tIDLE_60\tRESUMES_60\tIDLE_120\tRESUMES_120\tIDLE_300\tRESUMES_300\tIDLE_600\tRESUMES_600\tIDLE_900\tRESUMES_900\tIDLE_1800\tRESUMES_1800\tIDLE_3600\tRESUMES_3600\tIDLE_10800\tRESUMES_10800\tP95_EXECUTION_SECONDS\tSPILL_LOCAL_BYTES\tSPILL_REMOTE_BYTES\tQUEUED_OVERLOAD_SECONDS\tQUEUED_QUERIES\tWINDOW_START\tWINDOW_END\nBI_WH\t1038.7\t210\t29.64\tMedium\t20160\t81\t20160\t6719\t2427753\t503925\t6719\t585513\t20\t589113\t20\t595113\t20\t601113\t20\t619113\t20\t655113\t20\t799113\t20\t3.2\t0\t0\t40\t12\t2026-10-11\t2026-11-10\nTRANSFORM_WH\t2991.12\t60\t1881.6\tLarge\t28800\t576\t864000\t719\t1725600\t53925\t719\t97065\t719\t226485\t719\t442185\t719\t657885\t719\t1304985\t719\t1725600\t0\t1725600\t0\t140\t880468295680\t103079215104\t3100\t240\t2026-10-11\t2026-11-10\nLOADER_WH\t1454.41\t95\t47.04\tSmall\t8640\t9\t86400\t8639\t2505310\t647925\t8639\t1166265\t8639\t2505310\t0\t2505310\t0\t2505310\t0\t2505310\t0\t2505310\t0\t2505310\t0\t8.4\t0\t0\t0\t0\t2026-10-11\t2026-11-10\nADHOC_WH\t22.38\t4\t16.46\tX-Small\t1512\t45\t60480\t251\t2388841\t16928\t221\t29985\t216\t67626\t205\t126033\t183\t179883\t173\t319803\t138\t517577\t91\t811823\t24\t24\t2147483648\t0\t0\t0\t2026-10-11\t2026-11-10\nCLOUD_SERVICES_ONLY\t0\t22\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t2026-10-11\t2026-11-10",
    "settings": "name\tstate\ttype\tsize\tmin_cluster_count\tmax_cluster_count\tstarted_clusters\trunning\tqueued\tauto_suspend\tauto_resume\tscaling_policy\tresource_constraint\nBI_WH\tSUSPENDED\tSTANDARD\tMedium\t1\t3\t0\t0\t0\t3600\ttrue\tSTANDARD\tSTANDARD_GEN_2\nTRANSFORM_WH\tSUSPENDED\tSTANDARD\tLarge\t1\t1\t0\t0\t0\t600\ttrue\tSTANDARD\tSTANDARD_GEN_1\nLOADER_WH\tSUSPENDED\tSTANDARD\tSmall\t1\t1\t0\t0\t0\t300\ttrue\tSTANDARD\tSTANDARD_GEN_1\nADHOC_WH\tSUSPENDED\tSTANDARD\tX-Small\t1\t1\t0\t0\t0\t60\ttrue\tSTANDARD\tSTANDARD_GEN_1",
    "storage": "DATABASE_NAME\tTABLES\tACTIVE_BYTES\tTIME_TRAVEL_BYTES\tFAILSAFE_BYTES\tRETAINED_FOR_CLONE_BYTES\tTRANSIENT_TABLES\tCHURN_TABLES\tCHURN_TIME_TRAVEL_BYTES\tCHURN_FAILSAFE_BYTES\tDROPPED_TABLES\tDROPPED_BYTES\nANALYTICS\t412\t32985348833280\t3298534883328\t2199023255552\t109951162778\t0\t0\t0\t0\t9\t219902325555\nRAW\t186\t8796093022208\t4398046511104\t4947802324992\t0\t0\t6\t3518437208883\t4178144185549\t3\t439804651110\nSTAGING\t94\t1099511627776\t2199023255552\t2748779069440\t0\t4\t9\t2089072092774\t2638827906662\t31\t989560464998\nDEV_CLONES\t380\t549755813888\t0\t0\t1649267441664\t0\t0\t0\t0\t0\t0",
    "shapes": "SHAPE\tMAIN_WAREHOUSE\tWAREHOUSES\tRUNS\tCREDITS\tQAS_CREDITS\tFAILED_RUNS\tFAILED_CREDITS\tEXECUTION_SECONDS\tBYTES_SCANNED\tPARTITIONS_SCANNED\tPARTITIONS_TOTAL\tSPILL_LOCAL_BYTES\tSPILL_REMOTE_BYTES\tQUEUED_SECONDS\tUSERS\tQUERY_TYPE\tSHAPES_TOTAL\tCREDITS_TOTAL\tRUNS_TOTAL\tWINDOW_START\tWINDOW_END\na3f19c27e04b8d61f5c2a9e7b13d4f08\tTRANSFORM_WH\t1\t720\t640\t0\t0\t0\t439200\t459024629760000\t27360000\t28800000\t0\t68719476736\t0\t1\tCREATE_TABLE_AS_SELECT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\n5b0e7d93c1a24f86b2d9e0c47a1f3e65\tTRANSFORM_WH\t1\t720\t410\t0\t0\t0\t273600\t25367150592000\t1512000\t17280000\t0\t0\t0\t1\tMERGE\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\nc81f4a06d9e3b72a5f1c8d04e6b9a237\tTRANSFORM_WH\t1\t720\t230\t0\t140\t52\t172800\t10871635968000\t648000\t4320000\t0\t34359738368\t0\t1\tINSERT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\n0d6b2e9f7a1c4e83b5f0d2a9c7e14b56\tTRANSFORM_WH\t1\t720\t118\t0\t0\t0\t86400\t4831838208000\t288000\t6480000\t0\t0\t0\t1\tMERGE\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\n9e4c1b7d03f2a68e5c9b0d4f1a7e2c38\tBI_WH\t1\t21120\t14\t0\t40\t0.1\t44352\t42520176230400\t2534400\t3168000\t0\t0\t0\t38\tSELECT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\nf27a0c5e9d1b48c3a6e2f0b7d94c1e85\tBI_WH\t1\t7040\t9\t0\t12\t0.02\t9856\t7086696038400\t422400\t633600\t0\t0\t0\t31\tSELECT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\n6a1d8f3c2e9b04d7a5c1f8e3b6d02a94\tLOADER_WH\t1\t8640\t14\t0\t9\t0.02\t69120\t0\t0\t0\t0\t0\t0\t1\tCOPY\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\nb4e92a7c1f0d5e38c6a9b2f1d7e40c63\tADHOC_WH\t1\t140\t3.1\t0\t6\t0.1\t4340\t9865003008000\t588000\t854000\t0\t0\t0\t7\tSELECT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\n2c7f0e4a9b1d63e8f5a2c0d7b9e14f36\tADHOC_WH\t1\t96\t1.8\t0\t2\t0.04\t2112\t1288490188800\t76800\t518400\t0\t0\t0\t5\tSELECT\t386\t1974.74\t152400\t2026-10-11\t2026-11-10\ne05b3d9a1c7f42e6b8d0a5c3f9e17b24\tTRANSFORM_WH\t1\t30\t1.2\t0\t0\t0\t1200\t15099494400\t900\t9000\t0\t0\t0\t1\tDELETE\t386\t1974.74\t152400\t2026-10-11\t2026-11-10"
  },
  "workedExample": {
    "input": "The samples above: 30 days in AWS US East (N. Virginia), Enterprise edition, list prices.",
    "report": {
      "completeness": {
        "bill": true,
        "warehouses": true,
        "settings": true,
        "storage": true,
        "shapes": true
      },
      "window": {
        "start": "2026-10-11",
        "end": "2026-11-10",
        "days": 30
      },
      "prices": {
        "regionId": "aws-us-east-1",
        "regionLabel": "US East (N. Virginia)",
        "edition": "enterprise",
        "editionLabel": "Enterprise",
        "creditPrice": 3,
        "storagePerTb": 23,
        "customCredit": false,
        "customStorage": false,
        "source": "https://www.snowflake.com/legal-files/CreditConsumptionTable.pdf",
        "verifiedAt": "2026-11-13"
      },
      "queryVersion": "sf-cost-check-v1 (2026-11-10)",
      "computeMonthly": 17857.99128,
      "storageMonthly": 1370.8000000000084,
      "monthlySpend": 19228.791280000005,
      "computeIsWarehousesOnly": false,
      "creditsMonthly": 5952.663759999999,
      "idleCreditsMonthly": 3583.6707599999995,
      "idleShare": 0.6413873508383561,
      "savingsLow": 3901.605214854083,
      "savingsHigh": 7803.210429708166,
      "services": [
        {
          "item": "WAREHOUSE_METERING",
          "label": "WAREHOUSE METERING",
          "creditsMonthly": 5587.38376,
          "monthly": 16762.15128,
          "share": 0.9386358755126463
        },
        {
          "item": "AUTO_CLUSTERING",
          "label": "AUTO CLUSTERING",
          "creditsMonthly": 152.2,
          "monthly": 456.59999999999997,
          "share": 0.02556838520306412
        },
        {
          "item": "AI_SERVICES",
          "label": "AI SERVICES",
          "creditsMonthly": 91.32,
          "monthly": 273.96,
          "share": 0.015341031121838471
        },
        {
          "item": "SERVERLESS_TASK",
          "label": "SERVERLESS TASK",
          "creditsMonthly": 48.70399999999999,
          "monthly": 146.11199999999997,
          "share": 0.008181883264980518
        },
        {
          "item": "PIPE",
          "label": "PIPE",
          "creditsMonthly": 31.454666666666665,
          "monthly": 94.36399999999999,
          "share": 0.005284132941966585
        },
        {
          "item": "SEARCH_OPTIMIZATION",
          "label": "SEARCH OPTIMIZATION",
          "creditsMonthly": 24.351999999999997,
          "monthly": 73.05599999999998,
          "share": 0.004090941632490259
        },
        {
          "item": "MATERIALIZED_VIEW",
          "label": "MATERIALIZED VIEW",
          "creditsMonthly": 17.249333333333333,
          "monthly": 51.748,
          "share": 0.0028977503230139335
        }
      ],
      "warehouses": [
        {
          "name": "TRANSFORM_WH",
          "sizeLabel": "Large",
          "generation": "gen1",
          "generationKnown": true,
          "minClusters": 1,
          "maxClusters": 1,
          "autoSuspend": 600,
          "monthly": 9104.96928,
          "queries": 28800,
          "idleShare": 0.3709379764101741,
          "resumesPerDay": 23.966666666666665,
          "resumesPerDayAtFavorable": 23.966666666666665,
          "suspendLow": 1504.9536,
          "suspendHigh": 2708.91648,
          "downsizeLow": 0,
          "downsizeHigh": 0,
          "calibration": 0.970873786407767,
          "flags": {
            "noQueries": false,
            "remoteSpill": true,
            "downsizeCandidate": false
          }
        },
        {
          "name": "LOADER_WH",
          "sizeLabel": "Small",
          "generation": "gen1",
          "generationKnown": true,
          "minClusters": 1,
          "maxClusters": 1,
          "autoSuspend": 300,
          "monthly": 4427.22404,
          "queries": 8640,
          "idleShare": 0.9676569880570128,
          "resumesPerDay": 0,
          "resumesPerDayAtFavorable": 287.96666666666664,
          "suspendLow": 0,
          "suspendHigh": 3172.8559937905693,
          "downsizeLow": 156.79600577617884,
          "downsizeHigh": 313.5920115523577,
          "calibration": 0.9901017518367509,
          "flags": {
            "noQueries": false,
            "remoteSpill": false,
            "downsizeCandidate": true
          }
        },
        {
          "name": "BI_WH",
          "sizeLabel": "Medium",
          "generation": "gen2",
          "generationKnown": true,
          "minClusters": 1,
          "maxClusters": 3,
          "autoSuspend": 3600,
          "monthly": 3161.8028,
          "queries": 20160,
          "idleShare": 0.9714643304130163,
          "resumesPerDay": 0.6666666666666666,
          "resumesPerDayAtFavorable": 223.96666666666667,
          "suspendLow": 322.7526985894578,
          "suspendHigh": 720.6187524870084,
          "downsizeLow": 305.14800593912395,
          "downsizeHigh": 610.2960118782479,
          "calibration": 0.9803908732068933,
          "flags": {
            "noQueries": false,
            "remoteSpill": false,
            "downsizeCandidate": true
          }
        },
        {
          "name": "ADHOC_WH",
          "sizeLabel": "X-Small",
          "generation": "gen1",
          "generationKnown": true,
          "minClusters": 1,
          "maxClusters": 1,
          "autoSuspend": 60,
          "monthly": 68.12472,
          "queries": 1512,
          "idleShare": 0.2645218945487041,
          "resumesPerDay": 7.366666666666666,
          "resumesPerDayAtFavorable": 7.366666666666666,
          "suspendLow": 0,
          "suspendHigh": 0,
          "downsizeLow": 8.51559,
          "downsizeHigh": 17.03118,
          "calibration": 0.961709363519015,
          "flags": {
            "noQueries": false,
            "remoteSpill": false,
            "downsizeCandidate": true
          }
        },
        {
          "name": "CLOUD_SERVICES_ONLY",
          "sizeLabel": "Unknown size",
          "generation": "gen1",
          "generationKnown": false,
          "minClusters": 1,
          "maxClusters": 1,
          "autoSuspend": null,
          "monthly": 0,
          "queries": 0,
          "idleShare": null,
          "resumesPerDay": null,
          "resumesPerDayAtFavorable": 0,
          "suspendLow": 0,
          "suspendHigh": 0,
          "downsizeLow": 0,
          "downsizeHigh": 0,
          "calibration": 1,
          "flags": {
            "noQueries": true,
            "remoteSpill": false,
            "downsizeCandidate": false
          }
        }
      ],
      "databases": [
        {
          "database": "ANALYTICS",
          "activeBytes": 32985348833280,
          "timeTravelBytes": 3298534883328,
          "failsafeBytes": 2199023255552,
          "monthly": 807.3000000000084,
          "historyShare": 0.14245014245014098,
          "churnTables": 0,
          "transientLow": 0,
          "transientHigh": 0
        },
        {
          "database": "RAW",
          "activeBytes": 8796093022208,
          "timeTravelBytes": 4398046511104,
          "failsafeBytes": 4947802324992,
          "monthly": 379.5,
          "historyShare": 0.5151515151515151,
          "churnTables": 6,
          "transientLow": 87.40000000000418,
          "transientHigh": 161
        },
        {
          "database": "STAGING",
          "activeBytes": 1099511627776,
          "timeTravelBytes": 2199023255552,
          "failsafeBytes": 2748779069440,
          "monthly": 126.5,
          "historyShare": 0.8181818181818182,
          "churnTables": 9,
          "transientLow": 55.19999999999163,
          "transientHigh": 98.89999999998327
        },
        {
          "database": "DEV_CLONES",
          "activeBytes": 549755813888,
          "timeTravelBytes": 0,
          "failsafeBytes": 0,
          "monthly": 46,
          "historyShare": 0,
          "churnTables": 0,
          "transientLow": 0,
          "transientHigh": 0
        }
      ],
      "shapes": [
        {
          "shape": "a3f19c27e04b8d61f5c2a9e7b13d4f08",
          "label": "Shape 1",
          "mainWarehouse": "TRANSFORM_WH",
          "runsPerDay": 24,
          "secondsPerRun": 610,
          "scanShare": 0.95,
          "monthly": 1948.1599999999999,
          "kind": "poor-pruning"
        },
        {
          "shape": "5b0e7d93c1a24f86b2d9e0c47a1f3e65",
          "label": "Shape 2",
          "mainWarehouse": "TRANSFORM_WH",
          "runsPerDay": 24,
          "secondsPerRun": 380,
          "scanShare": 0.0875,
          "monthly": 1248.04,
          "kind": "repeated"
        },
        {
          "shape": "c81f4a06d9e3b72a5f1c8d04e6b9a237",
          "label": "Shape 3",
          "mainWarehouse": "TRANSFORM_WH",
          "runsPerDay": 24,
          "secondsPerRun": 240,
          "scanShare": 0.15,
          "monthly": 700.1199999999999,
          "kind": "repeated"
        },
        {
          "shape": "0d6b2e9f7a1c4e83b5f0d2a9c7e14b56",
          "label": "Shape 4",
          "mainWarehouse": "TRANSFORM_WH",
          "runsPerDay": 24,
          "secondsPerRun": 120,
          "scanShare": 0.044444444444444446,
          "monthly": 359.192,
          "kind": "repeated"
        },
        {
          "shape": "9e4c1b7d03f2a68e5c9b0d4f1a7e2c38",
          "label": "Shape 5",
          "mainWarehouse": "BI_WH",
          "runsPerDay": 704,
          "secondsPerRun": 2.1,
          "scanShare": 0.8,
          "monthly": 42.616,
          "kind": "repeated"
        },
        {
          "shape": "6a1d8f3c2e9b04d7a5c1f8e3b6d02a94",
          "label": "Shape 7",
          "mainWarehouse": "LOADER_WH",
          "runsPerDay": 288,
          "secondsPerRun": 8,
          "scanShare": null,
          "monthly": 42.616,
          "kind": "repeated"
        },
        {
          "shape": "f27a0c5e9d1b48c3a6e2f0b7d94c1e85",
          "label": "Shape 6",
          "mainWarehouse": "BI_WH",
          "runsPerDay": 234.66666666666666,
          "secondsPerRun": 1.4,
          "scanShare": 0.6666666666666666,
          "monthly": 27.396,
          "kind": "repeated"
        },
        {
          "shape": "b4e92a7c1f0d5e38c6a9b2f1d7e40c63",
          "label": "Shape 8",
          "mainWarehouse": "ADHOC_WH",
          "runsPerDay": 4.666666666666667,
          "secondsPerRun": 31,
          "scanShare": 0.6885245901639344,
          "monthly": 9.436399999999999,
          "kind": "failing"
        },
        {
          "shape": "2c7f0e4a9b1d63e8f5a2c0d7b9e14f36",
          "label": "Shape 9",
          "mainWarehouse": "ADHOC_WH",
          "runsPerDay": 3.2,
          "secondsPerRun": 22,
          "scanShare": 0.14814814814814814,
          "monthly": 5.4792000000000005,
          "kind": "failing"
        },
        {
          "shape": "e05b3d9a1c7f42e6b8d0a5c3f9e17b24",
          "label": "Shape 10",
          "mainWarehouse": "TRANSFORM_WH",
          "runsPerDay": 1,
          "secondsPerRun": 40,
          "scanShare": 0.1,
          "monthly": 3.652799999999999,
          "kind": "costliest"
        }
      ],
      "findings": [
        {
          "id": "auto_suspend",
          "status": "modeled",
          "title": "Shorter auto-suspend",
          "observed": "TRANSFORM_WH: 600 seconds today.",
          "why": "This change can reduce measured usage.",
          "action": "Test the change on one workload, then compare the next bill.",
          "saving": "$6,602 a month modeled.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Measured usage x the selected list or contract price.",
          "confidence": "medium",
          "monthlyLow": 3301.1956131387888,
          "monthlyHigh": 6602.3912262775775,
          "atStakeMonthly": null,
          "items": [
            "TRANSFORM_WH: 600 seconds today.",
            "LOADER_WH: 300 seconds today.",
            "BI_WH: 3600 seconds today."
          ]
        },
        {
          "id": "downsize",
          "status": "modeled",
          "title": "One size smaller",
          "observed": "LOADER_WH",
          "why": "This change can reduce measured usage.",
          "action": "Test the change on one workload, then compare the next bill.",
          "saving": "$941 a month modeled.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Measured usage x the selected list or contract price.",
          "confidence": "medium",
          "monthlyLow": 470.45960171530277,
          "monthlyHigh": 940.9192034306055,
          "atStakeMonthly": null,
          "items": [
            "LOADER_WH",
            "BI_WH",
            "ADHOC_WH"
          ]
        },
        {
          "id": "transient_tables",
          "status": "modeled",
          "title": "Transient table candidates",
          "observed": "RAW: 6 tables.",
          "why": "This change can reduce measured usage.",
          "action": "Test the change on one workload, then compare the next bill.",
          "saving": "$260 a month modeled.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Measured usage x the selected list or contract price.",
          "confidence": "medium",
          "monthlyLow": 129.94999999999163,
          "monthlyHigh": 259.89999999998327,
          "atStakeMonthly": null,
          "items": [
            "RAW: 6 tables.",
            "STAGING: 9 tables."
          ]
        },
        {
          "id": "undersized",
          "status": "investigate",
          "title": "Warehouse pressure",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "failed_queries",
          "status": "investigate",
          "title": "Failed queries",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "poor_pruning",
          "status": "investigate",
          "title": "Poor pruning",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "repeated_shapes",
          "status": "investigate",
          "title": "Repeated query shapes",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "clone_storage",
          "status": "investigate",
          "title": "Clone-retained storage",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "stage_storage",
          "status": "investigate",
          "title": "Stage storage",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "background_services",
          "status": "investigate",
          "title": "Background services",
          "observed": "The query results show this area.",
          "why": "The results show cost or risk, but not a proven saving.",
          "action": "Inspect the named workload before changing it.",
          "saving": "No saving is claimed.",
          "validate": "Compare the result and the following bill after a controlled change.",
          "tradeOffs": "Check performance, reliability and recovery requirements first.",
          "formula": "Observed cost or usage only.",
          "confidence": "low",
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": null,
          "items": []
        }
      ],
      "warnings": [],
      "noChange": [
        "Cloud services stayed within Snowflake’s 10% daily allowance."
      ],
      "cloudServices": {
        "usedCreditsMonthly": 396.73466666666667,
        "billedCreditsMonthly": 0
      },
      "storageBytes": {
        "database": 53326313947136,
        "stage": 2308974418330,
        "failsafe": 9895604649984
      },
      "storageBasis": "bill",
      "coverage": {
        "shapesListed": 10,
        "shapesTotal": 386,
        "creditsShare": null
      },
      "detectedRegionId": null,
      "notes": {},
      "errors": {}
    }
  },
  "dataFile": "https://tools.finitizer.com/snowflake-cost-check/data.json"
}
