BigQuery Cost Analyzer

โšก 5-min setup for complete BQ coverage
Setup Guide
๐Ÿ’ฐ Billing Analysis
GCP Billing Breakdown
Billing Variance Analysis
Table Storage Analysis
๐Ÿ” Query Analysis
BigQuery Cost Predictor
Analysis Results
Peak Hours - Heavy Slot Usage
โš ๏ธ Optimization
Waste Detection
Duplicate Logic Detection
๐Ÿ”ง Tools & Services
BQ Angel - Reservations
Claude AI Analysis
๐Ÿ“ข Alerts & Notifications
Get Alerts on Waste
Alert Preferences
โš™๏ธ Administration
SETUP
Cost Settings
๐Ÿš€ Quick Actions
Claude Interface
Privacy & Security
Terms of Service
BQ Angel Page
Load Demo Data
');">

BigQuery Cost Analyzer

โšก One-time 5-minute setup for complete BQ coverage

Prevent bill shock and save up to 60% โ€ข Real-time cost prediction โ€ข Smart recommendations โ€ข Complete visibility

User Photo

GCP Billing Banner
๐Ÿ’ฐ

Book Your Demo

See how much you can save on BigQuery costs

๐Ÿ’ฐ Potential Savings

Up to 70%

Based on average customer savings

We'll contact you within 24 hours to schedule your personalized demo

๐Ÿ’ฐ BigQuery Cost Analyzer

Cut cloud costs, and free engineers from repetitive work.

BigQuery Cost Analyzer

โšก One-time 5-minute setup for complete BQ coverage

Prevent bill shock and save up to 60%

Real-time cost prediction โ€ข Smart recommendations โ€ข Complete visibility

BigQuery Resource Editor

This panel is only visible to you. Use these tools for initial setup.

Welcome! Let's Add Your First Project

Enter your Google Cloud Project ID to get started. We'll verify you have access.

๐Ÿš€ Select a Client Project to Analyze

๐Ÿ’ฐ GCP Billing Breakdown

๐Ÿ’ฑ Costs converted to โ‚ช (Shekel)

Detailed billing breakdown from GCP billing export table by service, SKU, and usage.

๐Ÿ’ก BigQuery Cost Components:
Storage (80-90%): Data at rest
Analysis (10-15%): Query processing
Streaming (1-5%): Real-time ingestion
Why Query Analysis shows low costs: It only measures compute (analysis), not storage.
๐Ÿ” Required Access: We need BigQuery access to the project that contains the billing export table
Required roles: BigQuery Data Viewer + BigQuery Job User
โšก One-time setup: Paste your billing table info once, we'll remember it forever
Example: project-399903.billing_table.gcp_billing_export_v1_0121F3_47AD14_59E88814

Cost by Service

Service Total Cost ($) Usage Entries

Detailed Billing Breakdown

Date Project Service SKU Usage Unit Cost ($)

๐Ÿ“Š Billing Variance Analysis - Cost Changes Detection

0 significant changes detected

โš ๏ธ Smart Alert System

Get instant notifications when costs spike unexpectedly

Service SKU Previous Cost Current Cost Difference ($) % Change Alert Level Action
Run variance analysis to detect cost changes and waste patterns

๐Ÿ“Š Table Storage Analysis - Storage Costs & Optimization

Analyze BigQuery table storage using INFORMATION_SCHEMA.TABLE_STORAGE

0 tables analyzed

Total Tables

-

Logical Storage

-

Physical Storage

-

Potential Savings

-

Table Storage Details

Project Dataset Table Logical (GB) Physical (GB) Time Travel (GB) Logical Cost/Mo Physical Cost/Mo Potential Savings Recommended Model Efficiency
Run table storage analysis to see detailed storage breakdown

๐Ÿ’ฐ BigQuery Cost Predictor

Predict query costs BEFORE execution to prevent bill shock

๐Ÿš€ We will build model for you and predict based on BOOSTED_TREE_REGRESSOR

The first time will take ~ 16 minutes you we want to provide Accurate cost

Our main Goal is to give any company to predict query cost

So we need to use project as parameter that change based on company

โœ“ ๐Ÿค– BOOSTED_TREE_REGRESSOR REQUIRED

Only trained ML models provide accurate predictions (95% accuracy)

โš ๏ธ No fallback predictions - Train your model first!

๐Ÿš€ Setup Custom BOOSTED_TREE_REGRESSOR Model

๐ŸŽฏ The General Process

This is the general process we will implement for your company to predict query costs with high accuracy using machine learning.

PART 1: Create training table `{project}.Finops.train`
PART 2: BOOSTED_TREE_REGRESSOR model creation
PART 3: PREDICTION using the trained model

We need to use project as parameter that changes based on company

1
PART 1: CREATE TABLE `{project}.Finops.train`
Extract historical query data from INFORMATION_SCHEMA
CREATE TABLE `{project}.Finops.train` AS
SELECT
  query,
  total_slot_ms / 3600000 as slots_hours -- Convert to hours
FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_PROJECT
WHERE creation_time >= '2024-01-01'
  AND job_type = 'QUERY'
  AND state = 'DONE'
  AND total_slot_ms > 0
2
PART 2: BOOSTED_TREE_REGRESSOR
Create ML model (~16 minutes training time)
CREATE OR REPLACE MODEL `{project}.Finops.slots_prediction_model`
OPTIONS(
  model_type='BOOSTED_TREE_REGRESSOR',
  input_label_cols=['slots_hours']
) AS
SELECT
  query,
  slots_hours
FROM `{project}.Finops.train`
3
PART 3: PREDICTION
Use trained model to predict query costs
SELECT predicted_slots_hours
FROM ML.PREDICT(
  MODEL `{project}.Finops.slots_prediction_model`,
  (SELECT 'YOUR_QUERY_HERE' as query)
)
โœ… Ready to Use!

Once the model is trained, you can predict costs for any query before execution using the UI below.

Model Training Progress
๐Ÿ’ก Regional Pricing Tip
Select where your query will run. Cross-region queries can cost 25x more due to data transfer fees ($120/TB)!

๐Ÿ“Š Cost Analysis

Data to Scan
-
Estimated Cost
-
๐Ÿ”„ TEST runs/week
Execution Time
-
Query Region
-
-

โš ๏ธ Risk Factors

๐Ÿ’ก Recommendations

๐Ÿ“ Sample Queries

Analyzing query cost...

โšก BigQuery Query Executor

Execute any BigQuery query - works exactly like your test app

Executing query...

๐Ÿ” Analysis Results

BigQuery Query:

SELECT * FROM INFORMATION_SCHEMA.JOBS_BY_PROJECT LIMIT 10;

๐ŸŒ Cost Summary by Region

Region Cost Slots
Run analysis to see regional breakdown

๐Ÿ’ฐ Discover Your Most Expensive Users and Queries

Discover which users and queries are costing you the most money. This helps you optimize your BigQuery usage and reduce costs!

Usage Start Time Project User ๐ŸŒ Region Job Type Total Jobs Query Jobs Slots Query Slots Sample Query Estimated Cost
Select a client and analyze to see results

๐Ÿ”— Data Correlation Insights

Analysis Summary

Pick Hours โ€“ Heavy Slot Usage

Query (truncated) Project User Cost ($) Slot Hours Queries in Hour Hour
Run analysis to see data

๐Ÿ” Duplicate Logic Detection - Table Consolidation Opportunities

0 duplicate patterns found
๐Ÿ’ก Insight: Tables with identical source data and similar logic can often be consolidated to reduce costs and complexity
Primary Query Similar Query (Same Logic) Slots Usage Cost ($) Similarity Grade Recommendation Action
Run analysis to detect duplicate logic patterns in your queries

๐Ÿ—‘๏ธ Waste Detection - Query & ETL Optimization Opportunities

0 wasteful patterns found
๐Ÿ’ฐ Cost Impact: Wasteful queries can cost 10-50x more than optimized ones. Each fix can save significant monthly costs.
Query (truncated) Waste Type User Usage Start Time ๐ŸŒ Region Slots Cost ($) Potential Savings ($) Savings Explanation Severity Action
Run analysis to detect wasteful query patterns

๐Ÿชฝ BQ Angel - Move Queries Between Reservations (Enhanced)

โœ… Enhanced: Cost sorting (highest first) + Pagination (10 per page) + Auto-population

Select the queries you wish to move from one Reservation to another. You will also see the Project each query belongs to.

Select Query (truncated) Project User Cost ($) Slots Current Reservation
Load queries to see reservation data

๐Ÿ’ฐ Get alerts now on waste of money

โœ… Email alerts will be sent to your email

๐Ÿ“ฑ SMS alerts will be sent to your phone

๐Ÿงช Test Billing Variance Scenarios

Simulate cost increases to test your alert thresholds without waiting for real billing changes.

Fetches actual yesterday and today costs from your GCP billing export

Quick Test Scenarios:

๐Ÿ“‹ Test Results:

๐Ÿชฝ BQ Angel - Move Queries Between Reservations (Enhanced)

โœ… Enhanced: Cost sorting (highest first) + Pagination (10 per page) + Auto-population

Select the queries you wish to move from one Reservation to another. You will also see the Project each query belongs to.

Query Project Slots $ Cost โ†“ Reservation
Click "Load Queries" to see data
Showing 0 of 0 queries

๐Ÿค– Claude AI Analysis

๐Ÿ—‘๏ธ OLD Waste Detection - DISABLED

0 wasteful queries detected
๐Ÿ’ก Tip: Optimizing these queries can significantly reduce your BigQuery costs!
Severity Waste Type Query Preview Cost ($) Issue Recommendation Action
Run cost analysis to detect wasteful queries

๐Ÿ” OLD Duplicate Logic Detection - DISABLED

0 duplicate patterns found
๐Ÿ’ก Insight: Tables with identical source data and similar logic can often be consolidated to reduce costs and complexity
Primary Query Similar Query (Same Logic) Slots Usage Cost ($) Similarity Grade Recommendation Action
Run cost analysis to detect duplicate table logic
๐Ÿ“–

Billing Breakdown Guide

๐Ÿ˜Š

Simple Setup!

We need access to the project where the billing table is located, and from there, everything is on us! :)

Required Permissions:

  • โ€ข BigQuery Data Viewer
  • โ€ข BigQuery Job User
๐Ÿ—‘๏ธ

Query Optimization Guide

๐Ÿšจ Problem Identified

โŒ Current Query (Inefficient)


                    

โœ… Optimized Query (Recommended)


                    

๐Ÿ”ง Step-by-Step Fix

๐Ÿ’ฐ Cost Impact

$0.00
Current Cost
$0.00
Optimized Cost
$0.00
Potential Savings

๐Ÿ’ก Additional Optimization Tips

Client Permission Instructions


                

โš™๏ธ Alert Preferences

๐Ÿ“ง Contact Information

๐Ÿ“Š Email Alert Frequency

%

๐Ÿ“ฑ SMS Alert Frequency

%

BigQuery Cost Analyzer

ML-Powered BigQuery Cost Management

๐Ÿ›ก๏ธ Privacy Policy | ๐Ÿ“„ Terms of Service | ๐Ÿ’ฌ Support

ยฉ 2025 BigQuery Cost Analyzer. All rights reserved.