query_cost_estimate
Estimate BigQuery query cost by dry-running SQL to see bytes scanned before execution, enabling cost-aware decisions.
Instructions
Dry-run a SQL query to see how many bytes it would scan without actually executing it. Use this before running expensive queries to check cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query to estimate cost for | |
| project_id | No | Override the default project ID |