{
  "name": "BigQuery Cost Check",
  "url": "https://tools.finitizer.com/bigquery-cost-check",
  "reviewed": "2026-11-07",
  "pricesVerified": "2026-11-07",
  "pricesSource": "https://cloud.google.com/bigquery/pricing",
  "queryVersion": "2026-11-07",
  "purpose": "Run read-only INFORMATION_SCHEMA queries in your own console and get a report modeled at list price for your location: Editions or on-demand, the query shapes worth reviewing, and which datasets to check for storage billing. No access to your account needed.",
  "terms": {
    "observed": "A figure read from the query results.",
    "modeled": "A cost or saving computed from those figures at list price. Only Editions versus on-demand and the storage billing model can be modeled from metadata. These touch different bills, so they add.",
    "investigate": "A lead metadata cannot price. Query shapes, time travel and reservation idle time. Never added to the savings or the score.",
    "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. Nothing is extrapolated past the window, and hours with no row are quiet, not missing.",
    "onDemand": "On-demand bytes billed / 2^40 x the location's price per TiB, less 1 free TiB a month.",
    "reservation": "Baseline plus autoscale slot-seconds from query 4 / 3,600 x the edition's pay-as-you-go price. Without query 4, reserved capacity is not measured, because Google bills the slots a reservation scales to, used or not.",
    "editions": "Modeled from per-second slot use: each minute billed at its busiest second in steps of 50 (the cautious end), and fluid scaling per second in steps of 50 (the favorable end). Standard up to 1,600 slots, otherwise Enterprise.",
    "storage": "Logical = active logical GiB x rate + long-term logical GiB x rate. Physical = (active physical + fail-safe) GiB x active rate + long-term physical GiB x rate. The cautious end doubles retained bytes.",
    "score": "Pricing fit: 100 minus the modeled savings midpoint as a share of modeled cost. It measures how well your billing choices fit your usage. It does not measure query quality, and scan and time-travel leads do not count toward it.",
    "scoreWithheld": "No score unless queries 1, 2 and 3 are all provided, compute is measured, and billing models are known.",
    "notIncluded": [
      "Negotiated discounts, credits, taxes and billing in other currencies.",
      "Commitments you already hold, unless query 4 shows the capacity, and even then priced at pay as you go.",
      "BI Engine, the Storage API, streaming inserts, data transfer and BigQuery ML pricing.",
      "Other locations and, at project scope, other projects: every report covers one location.",
      "Realized savings: only the bill after a change shows those."
    ]
  },
  "queries": {
    "note": "SQL for the US multi-region at project scope. Change the region qualifier for another location. Each query is read-only.",
    "permissions": {
      "project": "BigQuery Job User, BigQuery Resource Viewer and BigQuery Metadata Viewer on the project.",
      "organization": "BigQuery Resource Viewer and BigQuery Metadata Viewer on the organization, and BigQuery Job User in the project the queries run from.",
      "query4": "BigQuery Resource Viewer in the reservation's administration project."
    },
    "compute": "-- Finitizer BigQuery Cost Check, query 1 of 3: compute, hourly totals only.\n-- Returns no query text, no table names and no user identities.\n-- Window: the last 30 complete UTC days.\n-- Slot time is booked to the second it was used (JOBS_TIMELINE). Bytes and job\n-- counts are booked to the hour each job was created (JOBS). Script parents are\n-- left out because their child jobs are counted. Run it unchanged.\nWITH seconds AS (\n  SELECT\n    period_start,\n    SUM(period_slot_ms)                                        AS slot_ms,\n    SUM(IF(reservation_id IS NOT NULL, period_slot_ms, 0))     AS reserved_slot_ms,\n    SUM(IF(reservation_id IS NOT NULL AND edition = 'STANDARD', period_slot_ms, 0))\n                                                               AS reserved_standard_slot_ms,\n    SUM(IF(reservation_id IS NOT NULL AND edition = 'ENTERPRISE', period_slot_ms, 0))\n                                                               AS reserved_enterprise_slot_ms,\n    SUM(IF(reservation_id IS NOT NULL AND edition = 'ENTERPRISE_PLUS', period_slot_ms, 0))\n                                                               AS reserved_enterprise_plus_slot_ms,\n    SUM(IF(reservation_id IS NULL, period_slot_ms, 0))         AS on_demand_slot_ms\n  FROM `region-us`.INFORMATION_SCHEMA.JOBS_TIMELINE_BY_PROJECT\n  WHERE job_creation_time >= TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 31 DAY)\n    AND job_creation_time < TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)\n    AND period_start >= TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY)\n    AND period_start < TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)\n    AND job_type = 'QUERY'\n    AND (statement_type != 'SCRIPT' OR statement_type IS NULL)\n  GROUP BY period_start\n),\nminutes AS (\n  -- The slots autoscaling would bill for on-demand work: rounded up to 50, and\n  -- held for the whole minute at that minute's busiest second, or per second\n  -- with fluid scaling. A model of the bill, not the bill.\n  SELECT\n    TIMESTAMP_TRUNC(period_start, MINUTE)                      AS minute,\n    MAX(CEIL(on_demand_slot_ms / 1000 / 50) * 50)              AS minute_slots,\n    SUM(CEIL(on_demand_slot_ms / 1000 / 50) * 50)              AS fluid_slot_seconds,\n    MAX(on_demand_slot_ms / 1000)                              AS peak_slots\n  FROM seconds\n  GROUP BY minute\n),\non_demand_shape AS (\n  SELECT\n    TIMESTAMP_TRUNC(minute, HOUR)                              AS hour,\n    SUM(minute_slots) * 60000                                  AS on_demand_autoscale_slot_ms,\n    SUM(fluid_slot_seconds) * 1000                             AS on_demand_fluid_slot_ms,\n    MAX(peak_slots)                                            AS peak_on_demand_slots\n  FROM minutes\n  GROUP BY hour\n),\nslot_time AS (\n  SELECT\n    TIMESTAMP_TRUNC(period_start, HOUR)                        AS hour,\n    SUM(slot_ms)                                               AS slot_ms,\n    SUM(reserved_slot_ms)                                      AS reserved_slot_ms,\n    SUM(reserved_standard_slot_ms)                             AS reserved_standard_slot_ms,\n    SUM(reserved_enterprise_slot_ms)                           AS reserved_enterprise_slot_ms,\n    SUM(reserved_enterprise_plus_slot_ms)                      AS reserved_enterprise_plus_slot_ms\n  FROM seconds\n  GROUP BY hour\n),\njob_totals AS (\n  SELECT\n    TIMESTAMP_TRUNC(creation_time, HOUR)                       AS hour,\n    COUNT(*)                                                   AS jobs,\n    COUNTIF(cache_hit)                                         AS cached_jobs,\n    COUNTIF(error_result IS NOT NULL)                          AS failed_jobs,\n    COUNTIF(state != 'DONE')                                   AS unfinished_jobs,\n    COUNTIF(state = 'DONE' AND error_result IS NULL AND reservation_id IS NULL\n      AND total_bytes_billed IS NULL AND cache_hit IS NOT TRUE) AS jobs_missing_bytes,\n    COUNTIF(statement_type = 'CREATE_MODEL')                   AS model_jobs,\n    SUM(total_bytes_billed)                                    AS bytes_billed,\n    SUM(total_bytes_processed)                                 AS bytes_processed,\n    COUNTIF(reservation_id IS NOT NULL)                        AS reserved_jobs,\n    SUM(IF(reservation_id IS NULL, total_bytes_billed, 0))     AS on_demand_bytes_billed\n  FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_PROJECT\n  WHERE creation_time >= TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY)\n    AND creation_time < TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)\n    AND job_type = 'QUERY'\n    AND (statement_type != 'SCRIPT' OR statement_type IS NULL)\n  GROUP BY hour\n)\nSELECT\n  COALESCE(j.hour, s.hour)                                     AS hour,\n  IFNULL(j.jobs, 0)                                            AS jobs,\n  IFNULL(j.cached_jobs, 0)                                     AS cached_jobs,\n  IFNULL(j.failed_jobs, 0)                                     AS failed_jobs,\n  IFNULL(j.unfinished_jobs, 0)                                 AS unfinished_jobs,\n  IFNULL(j.jobs_missing_bytes, 0)                              AS jobs_missing_bytes,\n  IFNULL(j.model_jobs, 0)                                      AS model_jobs,\n  IFNULL(j.bytes_billed, 0)                                    AS bytes_billed,\n  IFNULL(j.bytes_processed, 0)                                 AS bytes_processed,\n  IFNULL(j.on_demand_bytes_billed, 0)                          AS on_demand_bytes_billed,\n  IFNULL(s.slot_ms, 0)                                         AS slot_ms,\n  IFNULL(j.reserved_jobs, 0)                                   AS reserved_jobs,\n  IFNULL(s.reserved_slot_ms, 0)                                AS reserved_slot_ms,\n  IFNULL(s.reserved_standard_slot_ms, 0)                       AS reserved_standard_slot_ms,\n  IFNULL(s.reserved_enterprise_slot_ms, 0)                     AS reserved_enterprise_slot_ms,\n  IFNULL(s.reserved_enterprise_plus_slot_ms, 0)                AS reserved_enterprise_plus_slot_ms,\n  CAST(IFNULL(o.on_demand_autoscale_slot_ms, 0) AS INT64)      AS on_demand_autoscale_slot_ms,\n  CAST(IFNULL(o.on_demand_fluid_slot_ms, 0) AS INT64)          AS on_demand_fluid_slot_ms,\n  ROUND(IFNULL(o.peak_on_demand_slots, 0), 1)                  AS peak_on_demand_slots,\n  COUNT(*) OVER ()                                             AS result_rows,\n  TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY) AS window_start,\n  TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)                     AS window_end,\n  'us'                                                AS location,\n  'project'                                             AS scope,\n  '2026-11-07'                                         AS query_version\nFROM job_totals j\nFULL OUTER JOIN slot_time s ON s.hour = j.hour\nLEFT JOIN on_demand_shape o ON o.hour = COALESCE(j.hour, s.hour)\nORDER BY 1;",
    "patterns": "-- Finitizer BigQuery Cost Check, query 2 of 3: the heaviest query shapes.\n-- A shape is BigQuery's hash of a query with literals and comments removed, so\n-- the same report run with different dates is one shape. Returns the hash, never\n-- the query text, and a COUNT of users, never who they are.\n-- Lists the top 50 by on-demand bytes and the top 50 by slot time (up to 100\n-- rows), with totals for the whole workload, so coverage can be measured.\n-- Window: the last 30 complete UTC days. Run it unchanged.\nWITH runs AS (\n  SELECT\n    query_info.query_hashes.normalized_literals                AS pattern,\n    reservation_id,\n    user_email,\n    total_bytes_billed,\n    total_bytes_processed,\n    total_slot_ms\n  FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_PROJECT\n  WHERE creation_time >= TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY)\n    AND creation_time < TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)\n    AND job_type = 'QUERY'\n    AND (statement_type != 'SCRIPT' OR statement_type IS NULL)\n),\ntotals AS (\n  SELECT\n    COUNT(DISTINCT pattern)                                    AS shapes_total,\n    COUNT(*)                                                   AS all_runs,\n    IFNULL(SUM(IF(reservation_id IS NULL, total_bytes_billed, 0)), 0)\n                                                               AS all_on_demand_bytes_billed,\n    IFNULL(SUM(total_slot_ms), 0)                              AS all_slot_ms,\n    COUNTIF(pattern IS NULL)                                   AS unhashed_runs,\n    IFNULL(SUM(IF(pattern IS NULL AND reservation_id IS NULL, total_bytes_billed, 0)), 0)\n                                                               AS unhashed_on_demand_bytes_billed,\n    IFNULL(SUM(IF(pattern IS NULL, total_slot_ms, 0)), 0)      AS unhashed_slot_ms\n  FROM runs\n),\nshapes AS (\n  SELECT\n    pattern,\n    COUNT(*)                                                   AS runs,\n    COUNTIF(reservation_id IS NOT NULL)                        AS reserved_runs,\n    IFNULL(SUM(total_bytes_billed), 0)                         AS bytes_billed,\n    IFNULL(SUM(IF(reservation_id IS NULL, total_bytes_billed, 0)), 0)\n                                                               AS on_demand_bytes_billed,\n    IFNULL(SUM(total_bytes_processed), 0)                      AS bytes_processed,\n    IFNULL(SUM(total_slot_ms), 0)                              AS slot_ms,\n    IFNULL(SUM(IF(reservation_id IS NOT NULL, total_slot_ms, 0)), 0)\n                                                               AS reserved_slot_ms,\n    COUNT(DISTINCT user_email)                                 AS users\n  FROM runs\n  WHERE pattern IS NOT NULL\n  GROUP BY pattern\n),\nranked AS (\n  SELECT\n    *,\n    ROW_NUMBER() OVER (ORDER BY on_demand_bytes_billed DESC, pattern) AS rank_bytes,\n    ROW_NUMBER() OVER (ORDER BY slot_ms DESC, pattern)         AS rank_slots\n  FROM shapes\n)\nSELECT\n  r.pattern,\n  r.runs,\n  r.reserved_runs,\n  r.bytes_billed,\n  r.on_demand_bytes_billed,\n  r.bytes_processed,\n  r.slot_ms,\n  r.reserved_slot_ms,\n  r.users,\n  t.shapes_total,\n  t.all_runs,\n  t.all_on_demand_bytes_billed,\n  t.all_slot_ms,\n  t.unhashed_runs,\n  t.unhashed_on_demand_bytes_billed,\n  t.unhashed_slot_ms,\n  COUNT(*) OVER ()                                             AS result_rows,\n  TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY) AS window_start,\n  TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)                     AS window_end,\n  'us'                                                AS location,\n  'project'                                             AS scope,\n  '2026-11-07'                                         AS query_version\nFROM ranked r\nCROSS JOIN totals t\nWHERE r.rank_bytes <= 50 OR r.rank_slots <= 50\nORDER BY r.on_demand_bytes_billed DESC, r.slot_ms DESC;",
    "storage": "-- Finitizer BigQuery Cost Check, query 3 of 3: storage by dataset.\n-- Returns dataset names (the advice is per dataset) and byte totals. A snapshot\n-- of now, so it has no date window. Follows Google's storage forecast: deleted\n-- tables are left out of logical bytes and kept in physical bytes, because their\n-- retained bytes still bill. Clones and snapshots report as complete tables, so\n-- they are excluded and counted. Run it unchanged.\nWITH options AS (\n  SELECT\n    schema_name,\n    MAX(IF(option_name = 'storage_billing_model', option_value, NULL)) AS billing_model,\n    MAX(IF(option_name = 'max_time_travel_hours', option_value, NULL)) AS time_travel_hours\n  FROM `region-us`.INFORMATION_SCHEMA.SCHEMATA_OPTIONS\n  WHERE option_name IN ('storage_billing_model', 'max_time_travel_hours')\n  GROUP BY schema_name\n),\nstorage AS (\n  SELECT\n    *,\n    IF(STARTS_WITH(table_schema, '_'), '(hidden temporary datasets)', table_schema) AS dataset,\n    IFNULL(deleted, FALSE)                                     AS is_deleted,\n    IFNULL(table_type, 'BASE TABLE') IN ('BASE TABLE', 'MATERIALIZED VIEW') AS counted,\n    IFNULL(total_physical_bytes, 0) + IFNULL(fail_safe_physical_bytes, 0) AS retained_bytes\n  FROM `region-us`.INFORMATION_SCHEMA.TABLE_STORAGE\n)\nSELECT\n  s.dataset,\n  COUNTIF(counted AND NOT is_deleted)                          AS tables,\n  COUNTIF(NOT counted)                                         AS clones_and_snapshots,\n  COUNTIF(counted AND is_deleted AND retained_bytes > 0)       AS deleted_tables,\n  IFNULL(SUM(IF(counted AND NOT is_deleted, s.active_logical_bytes, 0)), 0)\n                                                               AS active_logical_bytes,\n  IFNULL(SUM(IF(counted AND NOT is_deleted, s.long_term_logical_bytes, 0)), 0)\n                                                               AS long_term_logical_bytes,\n  IFNULL(SUM(IF(counted, s.active_physical_bytes, 0)), 0)    AS active_physical_bytes,\n  IFNULL(SUM(IF(counted, s.long_term_physical_bytes, 0)), 0) AS long_term_physical_bytes,\n  IFNULL(SUM(IF(counted, s.time_travel_physical_bytes, 0)), 0)\n                                                               AS time_travel_physical_bytes,\n  IFNULL(SUM(IF(counted, s.fail_safe_physical_bytes, 0)), 0) AS fail_safe_physical_bytes,\n  ANY_VALUE(o.billing_model)                                   AS billing_model,\n  ANY_VALUE(o.time_travel_hours)                               AS time_travel_hours,\n  COUNT(*) OVER ()                                             AS result_rows,\n  CURRENT_TIMESTAMP()                                          AS snapshot_at,\n  'us'                                                AS location,\n  'project'                                             AS scope,\n  '2026-11-07'                                         AS query_version\nFROM storage s\nLEFT JOIN options o ON o.schema_name = s.table_schema\nGROUP BY s.dataset\nORDER BY SUM(IF(counted, s.total_physical_bytes, 0)) DESC;",
    "capacity": "-- Finitizer BigQuery Cost Check, optional query 4: reservation capacity by hour.\n-- Only for reservations. Run it in the reservation administration project: this\n-- view is per administration project, whatever scope you picked above.\n-- Baseline slots bill all the time, used or idle. Autoscale slot-seconds are the\n-- slots Google charged for. Returns no query text and no reservation names.\n-- With no reservation here, it returns one row with edition NONE, so the result\n-- can still be saved and the report can say so.\n-- Window: the last 30 complete UTC days. Run it unchanged.\nWITH capacity AS (\n  SELECT\n    TIMESTAMP_TRUNC(period_start, HOUR)                        AS hour,\n    IFNULL(edition, 'UNKNOWN')                                 AS edition,\n    SUM(IFNULL(slots_assigned, 0)) * 60                        AS baseline_slot_seconds,\n    SUM(IFNULL(period_autoscale_slot_seconds, 0))              AS autoscale_slot_seconds,\n    COUNT(DISTINCT reservation_id)                             AS reservations\n  FROM `region-us`.INFORMATION_SCHEMA.RESERVATIONS_TIMELINE\n  WHERE period_start >= TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY)\n    AND period_start < TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)\n    AND is_creation_region IS NOT FALSE\n  GROUP BY hour, edition\n),\nresult AS (\n  SELECT * FROM capacity\n  UNION ALL\n  SELECT TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY), 'NONE', 0, 0, 0\n  FROM UNNEST([1])\n  WHERE NOT EXISTS (SELECT 1 FROM capacity)\n)\nSELECT\n  *,\n  COUNT(*) OVER ()                                             AS result_rows,\n  TIMESTAMP_SUB(TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY), INTERVAL 30 DAY) AS window_start,\n  TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), DAY)                     AS window_end,\n  'us'                                                AS location,\n  'project'                                             AS scope,\n  '2026-11-07'                                         AS query_version\nFROM result\nORDER BY 1, 2;"
  },
  "columns": {
    "everyResult": [
      {
        "name": "result_rows",
        "meaning": "Rows this result should have, to catch a partial paste.",
        "unit": "count",
        "required": false
      },
      {
        "name": "location",
        "meaning": "The BigQuery location the query ran for.",
        "unit": "location id",
        "required": false
      },
      {
        "name": "scope",
        "meaning": "project or organization.",
        "unit": "text",
        "required": false
      },
      {
        "name": "query_version",
        "meaning": "Which copy of the query produced this.",
        "unit": "date",
        "required": false
      },
      {
        "name": "window_start, window_end",
        "meaning": "The UTC window read, end excluded. Query 3 has snapshot_at instead.",
        "unit": "timestamp",
        "required": false
      }
    ],
    "compute": [
      {
        "name": "hour",
        "meaning": "The start of the UTC hour.",
        "unit": "timestamp",
        "required": true
      },
      {
        "name": "bytes_billed",
        "meaning": "Bytes billed by all jobs. On reserved jobs this is for information only.",
        "unit": "bytes",
        "required": true
      },
      {
        "name": "slot_ms",
        "meaning": "Slot time used, by the hour it was used. Not capacity billed.",
        "unit": "slot-milliseconds",
        "required": true
      },
      {
        "name": "jobs",
        "meaning": "Jobs started, script parents left out.",
        "unit": "count",
        "required": false
      },
      {
        "name": "cached_jobs, failed_jobs, unfinished_jobs",
        "meaning": "Observed counts. Cache hits and errors bill nothing on demand.",
        "unit": "count",
        "required": false
      },
      {
        "name": "jobs_missing_bytes",
        "meaning": "Finished jobs with no byte figure, which makes on-demand spend a floor.",
        "unit": "count",
        "required": false
      },
      {
        "name": "model_jobs",
        "meaning": "CREATE MODEL jobs, which have their own prices.",
        "unit": "count",
        "required": false
      },
      {
        "name": "bytes_processed",
        "meaning": "Bytes read, before billing rounding.",
        "unit": "bytes",
        "required": false
      },
      {
        "name": "on_demand_bytes_billed",
        "meaning": "Bytes billed by jobs with no reservation. This is what on-demand charges.",
        "unit": "bytes",
        "required": false
      },
      {
        "name": "reserved_jobs, reserved_slot_ms",
        "meaning": "Jobs and slot time on a reservation.",
        "unit": "count, slot-milliseconds",
        "required": false
      },
      {
        "name": "reserved_standard_slot_ms, reserved_enterprise_slot_ms, reserved_enterprise_plus_slot_ms",
        "meaning": "Reserved slot time by edition.",
        "unit": "slot-milliseconds",
        "required": false
      },
      {
        "name": "on_demand_autoscale_slot_ms",
        "meaning": "Slot time autoscaling would bill for the on-demand work: each minute at its busiest second, in steps of 50.",
        "unit": "slot-milliseconds",
        "required": false
      },
      {
        "name": "on_demand_fluid_slot_ms",
        "meaning": "The same with fluid scaling: per second, in steps of 50.",
        "unit": "slot-milliseconds",
        "required": false
      },
      {
        "name": "peak_on_demand_slots",
        "meaning": "The busiest second of on-demand work that hour.",
        "unit": "slots",
        "required": false
      }
    ],
    "patterns": [
      {
        "name": "pattern",
        "meaning": "BigQuery's hash of the query with literals and comments removed. Never the query text.",
        "unit": "hash",
        "required": true
      },
      {
        "name": "runs",
        "meaning": "Runs of this shape in the window.",
        "unit": "count",
        "required": true
      },
      {
        "name": "bytes_processed",
        "meaning": "Bytes read by this shape.",
        "unit": "bytes",
        "required": true
      },
      {
        "name": "bytes_billed",
        "meaning": "Bytes billed by all runs. On reserved runs this is for information only.",
        "unit": "bytes",
        "required": false
      },
      {
        "name": "on_demand_bytes_billed",
        "meaning": "Bytes billed by runs with no reservation.",
        "unit": "bytes",
        "required": false
      },
      {
        "name": "slot_ms, reserved_slot_ms",
        "meaning": "Slot time used, in all and on a reservation.",
        "unit": "slot-milliseconds",
        "required": false
      },
      {
        "name": "reserved_runs",
        "meaning": "Runs on a reservation.",
        "unit": "count",
        "required": false
      },
      {
        "name": "users",
        "meaning": "How many people or service accounts ran it. A count, never who.",
        "unit": "count",
        "required": false
      },
      {
        "name": "shapes_total, all_runs, all_on_demand_bytes_billed, all_slot_ms",
        "meaning": "Totals for the whole window, so coverage can be measured.",
        "unit": "count, bytes, slot-milliseconds",
        "required": false
      },
      {
        "name": "unhashed_runs, unhashed_on_demand_bytes_billed, unhashed_slot_ms",
        "meaning": "Runs with no hash: cache hits, failures and statements BigQuery does not hash.",
        "unit": "count, bytes, slot-milliseconds",
        "required": false
      }
    ],
    "storage": [
      {
        "name": "dataset",
        "meaning": "The dataset. At organization scope, project.dataset, so equal names stay apart.",
        "unit": "name",
        "required": true
      },
      {
        "name": "active_logical_bytes, long_term_logical_bytes",
        "meaning": "Uncompressed bytes.",
        "unit": "bytes",
        "required": true
      },
      {
        "name": "active_physical_bytes, long_term_physical_bytes",
        "meaning": "Compressed bytes. Active includes time travel.",
        "unit": "bytes",
        "required": true
      },
      {
        "name": "time_travel_physical_bytes, fail_safe_physical_bytes",
        "meaning": "Retained bytes, charged at the active rate under physical billing. Fail-safe is on top of active.",
        "unit": "bytes",
        "required": false
      },
      {
        "name": "tables",
        "meaning": "Tables counted.",
        "unit": "count",
        "required": false
      },
      {
        "name": "clones_and_snapshots",
        "meaning": "Clones and snapshots left out, because Google reports them as complete tables.",
        "unit": "count",
        "required": false
      },
      {
        "name": "deleted_tables",
        "meaning": "Deleted tables still holding retained bytes.",
        "unit": "count",
        "required": false
      },
      {
        "name": "billing_model",
        "meaning": "LOGICAL or PHYSICAL. Blank means the option is not set here. Always blank at organization scope.",
        "unit": "text",
        "required": false
      },
      {
        "name": "time_travel_hours",
        "meaning": "The time-travel window where it is set.",
        "unit": "hours",
        "required": false
      }
    ],
    "capacity": [
      {
        "name": "hour",
        "meaning": "The start of the UTC hour.",
        "unit": "timestamp",
        "required": true
      },
      {
        "name": "edition",
        "meaning": "STANDARD, ENTERPRISE or ENTERPRISE_PLUS. One row of NONE means no reservation ran here.",
        "unit": "text",
        "required": true
      },
      {
        "name": "baseline_slot_seconds",
        "meaning": "Baseline slots held, which bill whether used or not.",
        "unit": "slot-seconds",
        "required": true
      },
      {
        "name": "autoscale_slot_seconds",
        "meaning": "Autoscaled slots charged.",
        "unit": "slot-seconds",
        "required": true
      },
      {
        "name": "reservations",
        "meaning": "Reservations counted.",
        "unit": "count",
        "required": false
      }
    ]
  },
  "accepted": "CSV, TSV, newline-delimited JSON, a JSON array, or the grid copied from the console. Column names in the first row.",
  "findingIds": {
    "emailed": [
      "editions_switch",
      "repeated_scans",
      "large_scans",
      "storage_physical",
      "storage_logical",
      "time_travel"
    ],
    "pageOnly": [
      "reservation_idle",
      "storage_model_unknown"
    ]
  },
  "api": {
    "endpoint": "https://tools.finitizer.com/bigquery-cost-check/api",
    "openapi": "https://tools.finitizer.com/bigquery-cost-check/openapi.json",
    "maxBytes": 5000000,
    "rateLimit": "20 reports a minute per caller",
    "keyRequired": false
  },
  "samples": [
    {
      "file": "query-1-compute.csv",
      "workload": "on-demand",
      "step": "compute",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/query-1-compute.csv"
    },
    {
      "file": "query-2-shapes.csv",
      "workload": "on-demand",
      "step": "patterns",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/query-2-shapes.csv"
    },
    {
      "file": "query-3-storage.csv",
      "workload": "on-demand",
      "step": "storage",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/query-3-storage.csv"
    },
    {
      "file": "reservation-query-1-compute.csv",
      "workload": "reservation",
      "step": "compute",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/reservation-query-1-compute.csv"
    },
    {
      "file": "reservation-query-2-shapes.csv",
      "workload": "reservation",
      "step": "patterns",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/reservation-query-2-shapes.csv"
    },
    {
      "file": "reservation-query-4-capacity.csv",
      "workload": "reservation",
      "step": "capacity",
      "url": "https://tools.finitizer.com/bigquery-cost-check/samples/reservation-query-4-capacity.csv"
    }
  ],
  "locations": [
    {
      "id": "us",
      "name": "US multi-region",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.04,
        "longTermPhysical": 0.02
      }
    },
    {
      "id": "eu",
      "name": "EU multi-region",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.044,
        "longTermPhysical": 0.022
      }
    },
    {
      "id": "us-east7",
      "name": "Alabama (us-east7)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "asia-southeast3",
      "name": "Bangkok (asia-southeast3)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.048,
        "enterprise": 0.072,
        "enterprisePlus": 0.12
      },
      "storage": {
        "activeLogical": 0.0276,
        "longTermLogical": 0.0192,
        "activePhysical": 0.048,
        "longTermPhysical": 0.024
      }
    },
    {
      "id": "europe-west1",
      "name": "Belgium (europe-west1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.044,
        "longTermPhysical": 0.022
      }
    },
    {
      "id": "europe-west10",
      "name": "Berlin (europe-west10)",
      "onDemandPerTiB": 9.625,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "us-east5",
      "name": "Columbus (us-east5)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "us-south1",
      "name": "Dallas (us-south1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.047,
        "enterprise": 0.0705,
        "enterprisePlus": 0.1175
      },
      "storage": {
        "activeLogical": 0.0276,
        "longTermLogical": 0.0192,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "me-central2",
      "name": "Dammam (me-central2)",
      "onDemandPerTiB": 10,
      "slotHour": {
        "standard": 0.064,
        "enterprise": 0.096,
        "enterprisePlus": 0.16
      },
      "storage": {
        "activeLogical": 0.037,
        "longTermLogical": 0.026,
        "activePhysical": 0.064,
        "longTermPhysical": 0.032
      }
    },
    {
      "id": "asia-south2",
      "name": "Delhi (asia-south2)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.046,
        "enterprise": 0.069,
        "enterprisePlus": 0.115
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "me-central1",
      "name": "Doha (me-central1)",
      "onDemandPerTiB": 7.59375,
      "slotHour": {
        "standard": 0.049,
        "enterprise": 0.0735,
        "enterprisePlus": 0.1225
      },
      "storage": {
        "activeLogical": 0.02645,
        "longTermLogical": 0.0184,
        "activePhysical": 0.046,
        "longTermPhysical": 0.023
      }
    },
    {
      "id": "europe-north1",
      "name": "Finland (europe-north1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.046,
        "longTermPhysical": 0.023
      }
    },
    {
      "id": "europe-west3",
      "name": "Frankfurt (europe-west3)",
      "onDemandPerTiB": 8.125,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "asia-east2",
      "name": "Hong Kong (asia-east2)",
      "onDemandPerTiB": 8.75,
      "slotHour": {
        "standard": 0.056,
        "enterprise": 0.084,
        "enterprisePlus": 0.14
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "us-central1",
      "name": "Iowa (us-central1)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.04,
        "longTermPhysical": 0.02
      }
    },
    {
      "id": "asia-southeast2",
      "name": "Jakarta (asia-southeast2)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "africa-south1",
      "name": "Johannesburg (africa-south1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.044,
        "longTermPhysical": 0.022
      }
    },
    {
      "id": "asia-southeast4",
      "name": "Kuala Lumpur (asia-southeast4)",
      "onDemandPerTiB": 6.5625,
      "slotHour": {
        "standard": 0.042,
        "enterprise": 0.063,
        "enterprisePlus": 0.105
      },
      "storage": {
        "activeLogical": 0.02415,
        "longTermLogical": 0.0168,
        "activePhysical": 0.042,
        "longTermPhysical": 0.021
      }
    },
    {
      "id": "us-west4",
      "name": "Las Vegas (us-west4)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "europe-west2",
      "name": "London (europe-west2)",
      "onDemandPerTiB": 7.8125,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "us-west2",
      "name": "Los Angeles (us-west2)",
      "onDemandPerTiB": 8.4375,
      "slotHour": {
        "standard": 0.05,
        "enterprise": 0.075,
        "enterprisePlus": 0.125
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "europe-southwest1",
      "name": "Madrid (europe-southwest1)",
      "onDemandPerTiB": 7.8125,
      "slotHour": {
        "standard": 0.047,
        "enterprise": 0.0705,
        "enterprisePlus": 0.1175
      },
      "storage": {
        "activeLogical": 0.02875,
        "longTermLogical": 0.02,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "australia-southeast2",
      "name": "Melbourne (australia-southeast2)",
      "onDemandPerTiB": 8.125,
      "slotHour": {
        "standard": 0.054,
        "enterprise": 0.081,
        "enterprisePlus": 0.135
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "northamerica-south1",
      "name": "Mexico (northamerica-south1)",
      "onDemandPerTiB": 6.8125,
      "slotHour": {
        "standard": 0.0436,
        "enterprise": 0.0654,
        "enterprisePlus": 0.109
      },
      "storage": {
        "activeLogical": 0.0299,
        "longTermLogical": 0.0208,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "europe-west8",
      "name": "Milan (europe-west8)",
      "onDemandPerTiB": 7.8125,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "northamerica-northeast1",
      "name": "Montreal (northamerica-northeast1)",
      "onDemandPerTiB": 6.5625,
      "slotHour": {
        "standard": 0.046,
        "enterprise": 0.069,
        "enterprisePlus": 0.115
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "asia-south1",
      "name": "Mumbai (asia-south1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.046,
        "enterprise": 0.069,
        "enterprisePlus": 0.115
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "europe-west4",
      "name": "Netherlands (europe-west4)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.044,
        "longTermPhysical": 0.022
      }
    },
    {
      "id": "us-east4",
      "name": "Northern Virginia (us-east4)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "us-west1",
      "name": "Oregon (us-west1)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.04,
        "longTermPhysical": 0.02
      }
    },
    {
      "id": "asia-northeast2",
      "name": "Osaka (asia-northeast2)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.051,
        "enterprise": 0.0765,
        "enterprisePlus": 0.1275
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "europe-west9",
      "name": "Paris (europe-west9)",
      "onDemandPerTiB": 7.8125,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "us-west8",
      "name": "Phoenix (us-west8)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.04,
        "longTermPhysical": 0.02
      }
    },
    {
      "id": "us-west3",
      "name": "Salt Lake City (us-west3)",
      "onDemandPerTiB": 8.4375,
      "slotHour": {
        "standard": 0.05,
        "enterprise": 0.075,
        "enterprisePlus": 0.125
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "southamerica-west1",
      "name": "Santiago (southamerica-west1)",
      "onDemandPerTiB": 8.9375,
      "slotHour": {
        "standard": 0.057,
        "enterprise": 0.0855,
        "enterprisePlus": 0.1425
      },
      "storage": {
        "activeLogical": 0.03289,
        "longTermLogical": 0.02288,
        "activePhysical": 0.06,
        "longTermPhysical": 0.03
      }
    },
    {
      "id": "southamerica-east1",
      "name": "Sao Paulo (southamerica-east1)",
      "onDemandPerTiB": 11.25,
      "slotHour": {
        "standard": 0.062,
        "enterprise": 0.093,
        "enterprisePlus": 0.155
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.07,
        "longTermPhysical": 0.035
      }
    },
    {
      "id": "asia-northeast3",
      "name": "Seoul (asia-northeast3)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.051,
        "enterprise": 0.0765,
        "enterprisePlus": 0.1275
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "asia-southeast1",
      "name": "Singapore (asia-southeast1)",
      "onDemandPerTiB": 8.4375,
      "slotHour": {
        "standard": 0.049,
        "enterprise": 0.0735,
        "enterprisePlus": 0.1225
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.046,
        "longTermPhysical": 0.023
      }
    },
    {
      "id": "us-east1",
      "name": "South Carolina (us-east1)",
      "onDemandPerTiB": 6.25,
      "slotHour": {
        "standard": 0.04,
        "enterprise": 0.06,
        "enterprisePlus": 0.1
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.044,
        "longTermPhysical": 0.022
      }
    },
    {
      "id": "europe-north2",
      "name": "Stockholm (europe-north2)",
      "onDemandPerTiB": 6.5625,
      "slotHour": {
        "standard": 0.042,
        "enterprise": 0.063,
        "enterprisePlus": 0.105
      },
      "storage": {
        "activeLogical": 0.02415,
        "longTermLogical": 0.0168,
        "activePhysical": 0.042,
        "longTermPhysical": 0.021
      }
    },
    {
      "id": "australia-southeast1",
      "name": "Sydney (australia-southeast1)",
      "onDemandPerTiB": 8.125,
      "slotHour": {
        "standard": 0.054,
        "enterprise": 0.081,
        "enterprisePlus": 0.135
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "asia-east1",
      "name": "Taiwan (asia-east1)",
      "onDemandPerTiB": 7.1875,
      "slotHour": {
        "standard": 0.046,
        "enterprise": 0.069,
        "enterprisePlus": 0.115
      },
      "storage": {
        "activeLogical": 0.02,
        "longTermLogical": 0.01,
        "activePhysical": 0.046,
        "longTermPhysical": 0.023
      }
    },
    {
      "id": "me-west1",
      "name": "Tel Aviv (me-west1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.05,
        "enterprise": 0.075,
        "enterprisePlus": 0.125
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "asia-northeast1",
      "name": "Tokyo (asia-northeast1)",
      "onDemandPerTiB": 7.5,
      "slotHour": {
        "standard": 0.051,
        "enterprise": 0.0765,
        "enterprisePlus": 0.1275
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "northamerica-northeast2",
      "name": "Toronto (northamerica-northeast2)",
      "onDemandPerTiB": 6.5625,
      "slotHour": {
        "standard": 0.044,
        "enterprise": 0.066,
        "enterprisePlus": 0.11
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.05,
        "longTermPhysical": 0.025
      }
    },
    {
      "id": "europe-west12",
      "name": "Turin (europe-west12)",
      "onDemandPerTiB": 8.0625,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.0516,
        "longTermPhysical": 0.0258
      }
    },
    {
      "id": "europe-central2",
      "name": "Warsaw (europe-central2)",
      "onDemandPerTiB": 8.125,
      "slotHour": {
        "standard": 0.052,
        "enterprise": 0.078,
        "enterprisePlus": 0.13
      },
      "storage": {
        "activeLogical": 0.023,
        "longTermLogical": 0.016,
        "activePhysical": 0.052,
        "longTermPhysical": 0.026
      }
    },
    {
      "id": "europe-west6",
      "name": "Zurich (europe-west6)",
      "onDemandPerTiB": 8.75,
      "slotHour": {
        "standard": 0.056,
        "enterprise": 0.084,
        "enterprisePlus": 0.14
      },
      "storage": {
        "activeLogical": 0.025,
        "longTermLogical": 0.017,
        "activePhysical": 0.056,
        "longTermPhysical": 0.028
      }
    }
  ],
  "workedExample": {
    "input": "The on-demand sample files: made-up data, 30 days, US multi-region.",
    "report": {
      "region": {
        "id": "us",
        "displayName": "US multi-region",
        "onDemandPerTiB": 6.25,
        "slotHour": {
          "standard": 0.04,
          "enterprise": 0.06,
          "enterprisePlus": 0.1
        },
        "commit1Yr": {
          "enterprise": 0.048,
          "enterprisePlus": 0.08
        },
        "commit3Yr": {
          "enterprise": 0.036,
          "enterprisePlus": 0.06
        },
        "verifiedAt": "2026-11-07",
        "priceConfidence": "verified"
      },
      "prices": {
        "locationId": "us",
        "locationName": "US multi-region",
        "currency": "USD",
        "onDemandPerTiB": 6.25,
        "slotHour": {
          "standard": 0.04,
          "enterprise": 0.06,
          "enterprisePlus": 0.1
        },
        "storage": {
          "activeLogical": 0.02,
          "longTermLogical": 0.01,
          "activePhysical": 0.04,
          "longTermPhysical": 0.02
        },
        "customStorage": false,
        "verifiedAt": "2026-11-07",
        "source": "https://cloud.google.com/bigquery/pricing"
      },
      "sqlRegion": "region-us",
      "scope": "project",
      "billingMode": "on_demand",
      "window": {
        "startMs": 1788220800000,
        "endMs": 1790812800000,
        "days": 30
      },
      "observedDays": 30,
      "activeDays": 30,
      "jobs": 20492,
      "monthlyTiB": 1303.02225,
      "slotHoursMonthly": 83393.424,
      "reservedSlotHoursMonthly": 0,
      "peakOnDemandSlots": 608,
      "onDemandGrossMonthly": 8143.8890625,
      "freeTierMonthly": 6.25,
      "onDemandMonthly": 8137.6390625,
      "reservedUsageValueMonthly": 0,
      "capacity": null,
      "computeMonthly": 8137.6390625,
      "computeBasis": "On-demand bytes billed at list price, less 1 free TiB",
      "computeFromShapes": false,
      "storageMonthly": 3475.4560000000147,
      "monthlySpend": 11613.095062500015,
      "savingsLow": 4446.559062499979,
      "savingsHigh": 5879.940395833319,
      "score": 56,
      "completeness": {
        "compute": "measured",
        "shapes": true,
        "storage": true,
        "capacity": false,
        "scoreWithheld": null
      },
      "findings": [
        {
          "id": "editions_switch",
          "status": "modeled",
          "title": "Test Standard edition autoscaling for your on-demand queries",
          "observed": "On-demand queries billed 1,303 TiB a month, $8,138 at list price, peaking near 608 slots.",
          "why": "On-demand bills the bytes a query reads. Autoscaling bills slots for the seconds they run, so work that reads a lot per slot-hour can cost less.",
          "action": "Try a pay-as-you-go Standard autoscaling reservation with no baseline on one project, max slots near 650, before moving anything else.",
          "saving": "Modeled at US multi-region list price of $0.04/slot-hour. Low end: each minute billed at its busiest second, rounded up to 50 slots, about $5,948 a month. High end: fluid scaling, per second in steps of 50, about $4,588. Neither is the bill: real autoscaling reacts later than this model and holds slots through a scale-down window.",
          "validate": "Before committing, run pay-as-you-go autoscale for two weeks and compare period_autoscale_slot_seconds in INFORMATION_SCHEMA.RESERVATIONS_TIMELINE with this estimate.",
          "tradeOffs": "Standard allows at most 1,600 slots per reservation, has no commitments, no BI Engine and no search indexes, and can query but not create materialized views. Enterprise features would cost about $8,922 a month on the same model. Autoscaled slots are not guaranteed, and queries slow down at max slots. Moving a project also gives up the free on-demand allowance there.",
          "formula": "Saving = on-demand bytes x price per TiB, less 1 free TiB, minus billed slot-hours x edition slot price",
          "confidence": "medium",
          "baselineMonthly": 8137.6390625,
          "alternativeMonthly": {
            "cautious": 5947.976,
            "favorable": 4588.322666666667
          },
          "monthlyLow": 2189.6630625000007,
          "monthlyHigh": 3549.3163958333334,
          "atStakeMonthly": null,
          "items": []
        },
        {
          "id": "storage_physical",
          "status": "modeled",
          "title": "Check 1 dataset for physical storage billing",
          "observed": "This dataset holds 240 TiB logical and 28 TiB physical, and costs about $3,072 a month now.",
          "why": "Logical billing charges uncompressed bytes. Physical billing charges compressed bytes at a higher rate, plus time travel and fail-safe at the active rate, so data that compresses well can cost less.",
          "action": "Investigate moving these datasets, largest first: ALTER SCHEMA dataset SET OPTIONS(storage_billing_model = 'PHYSICAL').",
          "saving": "From today's byte counts at US multi-region list prices. High end: the snapshot as it stands. Low end: time-travel and fail-safe bytes doubled, because one snapshot can miss a busy week. Google calls this kind of estimate a rough forecast, not a bill.",
          "validate": "Run Google's forecast query again on a normal day, then change one dataset and compare its storage SKUs in the billing export over a full month.",
          "tradeOffs": "Takes up to 24 hours to apply and cannot be changed back for 14 days. Legacy flat-rate commitments in the region block a move to physical. Long-term timers do not reset, and query speed does not change.",
          "formula": "Logical = active logical GiB x rate + long-term logical GiB x rate. Physical = (active physical + fail-safe) GiB x active rate + long-term physical GiB x rate",
          "confidence": "medium",
          "baselineMonthly": 3072,
          "alternativeMonthly": {
            "cautious": 815.1040000000221,
            "favorable": 741.3760000000148
          },
          "monthlyLow": 2256.895999999978,
          "monthlyHigh": 2330.6239999999852,
          "atStakeMonthly": null,
          "items": [
            "events_raw"
          ]
        },
        {
          "id": "repeated_scans",
          "status": "investigate",
          "title": "Review 5 query shapes that ran daily or more",
          "observed": "These shapes billed about $5,603 a month at list price before the free allowance, 69% of your on-demand bytes.",
          "why": "Hashes and counts show how often work ran and how much it read. They cannot show whether the reading is avoidable: a dashboard may need that data.",
          "action": "Copy the lookup query for the top shape and read its text in your own console. Check whether a partition filter prunes, whether it selects only the columns it needs, and whether a rollup or earlier result could serve it. Materialized views, BI Engine and incremental tables are options where your edition allows them. Standard edition, suggested above, has no BI Engine and cannot create materialized views.",
          "saving": "Not estimated. Each 10% fewer bytes on these shapes would lower the bill about $560 a month, if the runs stay on-demand. Not added to the modeled savings.",
          "validate": "Dry run the query before and after a change, then compare total_bytes_billed on real runs with Measure before / after savings.",
          "tradeOffs": "Rewrites need testing. Materialized views and incremental tables add storage and upkeep.",
          "formula": "Cost now = on-demand bytes / 2^40 x price per TiB, scaled to a month",
          "confidence": "low",
          "baselineMonthly": 5603.45703125,
          "alternativeMonthly": null,
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": 5603.45703125,
          "items": [
            "Shape 1",
            "Shape 2",
            "Shape 3",
            "Shape 6",
            "Shape 4"
          ]
        },
        {
          "id": "large_scans",
          "status": "investigate",
          "title": "Review 1 query shape that read 100 GiB or more per run",
          "observed": "This shape billed about $134 a month at list price before the free allowance, 2% of your on-demand bytes.",
          "why": "Hashes and counts show how often work ran and how much it read. They cannot show whether the reading is avoidable: a dashboard may need that data.",
          "action": "Copy the lookup query for the top shape and read its text in your own console. Check whether a partition filter prunes, whether it selects only the columns it needs, and whether a rollup or earlier result could serve it. Materialized views, BI Engine and incremental tables are options where your edition allows them. Standard edition, suggested above, has no BI Engine and cannot create materialized views.",
          "saving": "Not estimated. Each 10% fewer bytes on these shapes would lower the bill about $13 a month, if the runs stay on-demand. Not added to the modeled savings.",
          "validate": "Dry run the query before and after a change, then compare total_bytes_billed on real runs with Measure before / after savings.",
          "tradeOffs": "Rewrites need testing. Materialized views and incremental tables add storage and upkeep.",
          "formula": "Cost now = on-demand bytes / 2^40 x price per TiB, scaled to a month",
          "confidence": "low",
          "baselineMonthly": 133.76953125,
          "alternativeMonthly": null,
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": 133.76953125,
          "items": [
            "Shape 5"
          ]
        },
        {
          "id": "time_travel",
          "status": "investigate",
          "title": "Check the time-travel window on physically billed datasets",
          "observed": "Time-travel bytes on this dataset bill about $37 a month.",
          "why": "Under physical billing, changed and deleted data bills at the active rate for as long as the window keeps it.",
          "action": "Ask who relies on recovery past two days. Where nobody does, try ALTER SCHEMA dataset SET OPTIONS(max_time_travel_hours = 48).",
          "saving": "Not added to the modeled savings. At most about $26 a month if data changed evenly across the window. Fail-safe is fixed at 7 days and does not shrink.",
          "validate": "Read time_travel_physical_bytes in TABLE_STORAGE a week after the change.",
          "tradeOffs": "You lose the ability to query or restore older versions past the new window.",
          "formula": "Cost now = time-travel GiB x active physical rate. Most it could fall = 1 - 48 / window hours",
          "confidence": "low",
          "baselineMonthly": 36.8639999999851,
          "alternativeMonthly": null,
          "monthlyLow": 0,
          "monthlyHigh": 0,
          "atStakeMonthly": 36.8639999999851,
          "items": [
            "analytics_marts"
          ]
        }
      ],
      "noChange": [
        "47 deleted tables still hold retained bytes, counted under physical billing as Google's forecast does."
      ],
      "patterns": [
        {
          "label": "Shape 1",
          "pattern": "9e3779b99e3779b99e3779b99e3779b99e3779b99e3779b99e3779b99e3779b9",
          "runs": 720,
          "runsPerDay": 24,
          "monthlyCost": 3121.2890625,
          "share": 0.3832676303109943,
          "slotHoursMonthly": 31961.999999999996,
          "slotShare": 0.3832676303109943,
          "reservedShare": 0,
          "avgBytesPerRun": 751619276800,
          "users": 3,
          "kind": "repeated"
        },
        {
          "label": "Shape 2",
          "pattern": "3c6ef3733c6ef3733c6ef3733c6ef3733c6ef3733c6ef3733c6ef3733c6ef373",
          "runs": 90,
          "runsPerDay": 3,
          "monthlyCost": 1560.64453125,
          "share": 0.19163381515549716,
          "slotHoursMonthly": 15980.999999999998,
          "slotShare": 0.19163381515549716,
          "reservedShare": 0,
          "avgBytesPerRun": 3006477107200,
          "users": 2,
          "kind": "repeated"
        },
        {
          "label": "Shape 3",
          "pattern": "daa66d2cdaa66d2cdaa66d2cdaa66d2cdaa66d2cdaa66d2cdaa66d2cdaa66d2c",
          "runs": 30,
          "runsPerDay": 1,
          "monthlyCost": 743.1640625,
          "share": 0.09125419769309388,
          "slotHoursMonthly": 7609.999999999999,
          "slotShare": 0.09125419769309388,
          "reservedShare": 0,
          "avgBytesPerRun": 4294967296000,
          "users": 1,
          "kind": "repeated"
        },
        {
          "label": "Shape 6",
          "pattern": "b54cda59b54cda59b54cda59b54cda59b54cda59b54cda59b54cda59b54cda59",
          "runs": 300,
          "runsPerDay": 10,
          "monthlyCost": 148.6328125,
          "share": 0.01825083953861878,
          "slotHoursMonthly": 1522,
          "slotShare": 0.018250839538618776,
          "reservedShare": 0,
          "avgBytesPerRun": 85899345920,
          "users": 5,
          "kind": "repeated"
        },
        {
          "label": "Shape 5",
          "pattern": "171560a0171560a0171560a0171560a0171560a0171560a0171560a0171560a0",
          "runs": 12,
          "runsPerDay": 0.4,
          "monthlyCost": 133.76953125,
          "share": 0.0164257555847569,
          "slotHoursMonthly": 1369.8,
          "slotShare": 0.0164257555847569,
          "reservedShare": 0,
          "avgBytesPerRun": 1932735283200,
          "users": 1,
          "kind": "large"
        },
        {
          "label": "Shape 4",
          "pattern": "78dde6e678dde6e678dde6e678dde6e678dde6e678dde6e678dde6e678dde6e6",
          "runs": 600,
          "runsPerDay": 20,
          "monthlyCost": 29.726562499999996,
          "share": 0.0036501679077237553,
          "slotHoursMonthly": 304.4,
          "slotShare": 0.0036501679077237553,
          "reservedShare": 0,
          "avgBytesPerRun": 8589934592,
          "users": 14,
          "kind": "repeated"
        }
      ],
      "coverage": {
        "shapesListed": 6,
        "shapesTotal": 184,
        "onDemandBytesShare": 0.7044824061906848,
        "slotShare": 0.7044824061906848,
        "runsTotal": 20492,
        "unhashedRunShare": 0.1999804801873902
      },
      "datasets": [
        {
          "dataset": "events_raw",
          "tables": 40,
          "currentModel": "LOGICAL",
          "modelKnown": true,
          "modelSource": "default",
          "logicalMonthly": 3072,
          "physicalMonthly": 741.376000000015,
          "currentMonthly": 3072,
          "compressionRatio": 8.727272727272727,
          "timeTravelMonthly": 49.15199999999255,
          "timeTravelHours": null,
          "recommendation": "switch-to-physical",
          "monthlySaving": 2330.6239999999852,
          "cautiousSaving": 2256.895999999978,
          "fragile": false
        },
        {
          "dataset": "staging",
          "tables": 300,
          "currentModel": "LOGICAL",
          "modelKnown": true,
          "modelSource": "default",
          "logicalMonthly": 194.56,
          "physicalMonthly": 266.24,
          "currentMonthly": 194.56,
          "compressionRatio": 1.6666666666666667,
          "timeTravelMonthly": 90.11199999999255,
          "timeTravelHours": null,
          "recommendation": "keep",
          "monthlySaving": 0,
          "cautiousSaving": 0,
          "fragile": false
        },
        {
          "dataset": "analytics_marts",
          "tables": 120,
          "currentModel": "PHYSICAL",
          "modelKnown": true,
          "modelSource": "set",
          "logicalMonthly": 348.16,
          "physicalMonthly": 167.9360000000149,
          "currentMonthly": 167.9360000000149,
          "compressionRatio": 4.444444444444445,
          "timeTravelMonthly": 36.8639999999851,
          "timeTravelHours": 168,
          "recommendation": "keep",
          "monthlySaving": 0,
          "cautiousSaving": 0,
          "fragile": false
        },
        {
          "dataset": "finance_reporting",
          "tables": 25,
          "currentModel": "LOGICAL",
          "modelKnown": true,
          "modelSource": "default",
          "logicalMonthly": 40.96,
          "physicalMonthly": 54.06720000002534,
          "currentMonthly": 40.96,
          "compressionRatio": 1.5238095238091731,
          "timeTravelMonthly": 2.0480000000074505,
          "timeTravelHours": null,
          "recommendation": "keep",
          "monthlySaving": 0,
          "cautiousSaving": 0,
          "fragile": false
        }
      ],
      "warnings": [
        "Datasets with no billing model shown are treated as logical. Google shows the option only for datasets updated after December 1, 2022, and the default is logical. If your organization sets default_storage_billing_model to physical, check those datasets first.",
        "6 clones and snapshots are left out of storage. Google reports them as complete tables, so their sizes overstate what they bill."
      ],
      "queryVersion": "2026-11-07",
      "notes": {},
      "errors": {}
    }
  },
  "dataFile": "https://tools.finitizer.com/bigquery-cost-check/data.json"
}
