Limits & cost
Rows and time
| Rows per API/AI call | 1,000 default, 10,000 maximum |
| Default statement timeout | 60 seconds |
| Background submission | above ~10 seconds of predicted runtime |
| Scratch result retention | 1 day |
| Saved results | until you delete them |
| Export link validity | 1 hour |
The console pages results rather than capping them, so a large result set is browsable there while an API caller sees the cap.
Cost
Every query is planned and priced before execution.
| Limit | Default |
|---|---|
| Per query | $5 |
| Per day, per company | $50 |
The estimate is scan-size based: bytes the plan expects to read, multiplied by a complexity factor for joins and aggregates. Refusals name the estimate, so the fix is usually visible — a filter, fewer columns, or an aggregate instead of raw rows.
Reserved budget is refunded when a query fails or is cancelled.
These are the guard rails, not the invoice: the rate card, unlimited plans, included runs and storage metering are on Billing & credits.
Unfiltered scans of large tables
Scanning a large external table with no selective predicate is refused regardless of dollar cost. The refusal is about the shape of the query, not its price; a cheaper rewrite of the same shape will not pass. Add a filter on an indexed column.
Instance sizes
Queries execute in containers sized from the plan — more scanned bytes and more joins mean more CPU and memory, up to the largest tier. You do not choose a size; the plan does, which is why an unpinned BigQuery catalog or a missing filter shows up as cost rather than as a knob to turn.
| Size | vCPU / RAM |
|---|---|
| S | 8 / 32 GiB |
| M | 16 / 64 GiB |
| L | 32 / 128 GiB |
| XL | 64 / 256 GiB |
| 2XL | 128 / 512 GiB |
Sizing is automatic and derived from the plan’s estimated cardinality, capped by
a top-level LIMIT when that limit really bounds the input. A query that looks
small but plans large is usually missing a selective filter, not mistiered.
Instance ceiling
Settings → Workload has Maximum instance: the largest provisioned instance a company’s queries may use. It is a ceiling, not a reservation — a query that plans bigger runs at the largest compute-matrix tier whose CPU and RAM both fit inside the ceiling. Both dimensions are checked, so raising RAM alone cannot lift a query past the vCPU tier it still fits.
The ceiling is stored per scope:
| Scope | Applies to |
|---|---|
| Company | Every query the company runs |
| Execution source | One channel, such as mcp or studio |
| Role | Everyone holding that named role |
Source and role rows inherit when absent and can only lower the company ceiling: the effective ceiling is the minimum of the company row, the run’s source row, and every role row the user belongs to. A role grant cannot lift a company limit, and an unconfigured channel is never more restricted than the company default.
A company without a billing account starts at the free default of 2 vCPU / 8 GiB; a billing-enabled company with no ceiling row has none. A run that is clamped is not a failure — it may be slower or fail for memory, and its profile reports the tier it actually ran at.
A dedicated unlimited instance has its own shape, such as 8 vCPU / 64 GiB. That shape has no matrix row of its own, so a 16-vCPU plan under an 8-vCPU ceiling runs at 8 vCPU / 30 GiB.
Concurrency
Queries run in their own containers, so one heavy query does not slow another. The practical ceiling is your daily budget and your source systems’ own capacity — Thunderduck will happily open several connections to the same database.