Docs/Cost and pricing/On-demand vs capacity
Cost and pricingCost

BigQuery on-demand vs capacity pricing (editions)

On-demand BigQuery charges per TiB of data a query reads. Capacity pricing charges per slot-hour in Standard, Enterprise or Enterprise Plus edition. When autoscaling is cheaper, when a commitment pays off, and how to combine the models.

BigQuery has two ways to pay for queries. On-demand charges for the bytes a query reads: $6.25 per TiB in the US multi-region, with the first 1 TiB each month free. Capacity pricing charges for compute instead: slot-hours, at a price set by the edition (Standard, Enterprise or Enterprise Plus). Every project starts on on-demand. You switch a project to capacity by assigning it to a reservation, and you can switch back at any time.

Capacity covers two very different setups. An autoscaling reservation adds slots when queries run and costs nothing when they don’t. A baseline is billed every hour of the month, and a commitment makes it cheaper in exchange for a term of one or three years.

Neither model is cheaper in general. On-demand cost follows how much data your queries read. Capacity cost follows how long your queries keep slots busy. Those two numbers are almost unrelated, so the same warehouse can have projects that belong on each. The usual path is on-demand first, autoscaling when your queries read a lot for the compute they use, and a commitment only for load that never stops. Most large setups end up combining them.

Check your own savings

This query prices every query you ran in the project in the last 30 days both ways. It reads INFORMATION_SCHEMA.JOBS_BY_USER, so it costs next to nothing to run. To price everyone’s queries in the project, swap in the commented JOBS_BY_PROJECT line, which needs the bigquery.jobs.listAll permission. saving_pct is how much less you would have paid if each query had run on whichever model was cheaper for it, compared with running everything on-demand.

Your savings from picking per queryOpen in Querylab.io
12345678910111213141516171819202122232425
-- What picking the cheaper billing model for each query would have saved
-- in the last 30 days. Change `region-us` to your region and 0.06 to your
-- edition's slot-hour price (Standard 0.04, Enterprise 0.06, Enterprise Plus 0.10).
WITH jobs AS (
  SELECT
    total_bytes_billed / POW(1024, 4) AS tib,
    total_slot_ms / 1000 / 3600 AS slot_hours,
    total_bytes_billed / POW(1024, 4) * 6.25 AS on_demand_usd,
    total_slot_ms / 1000 / 3600 * 0.06 AS slots_usd
  FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_USER -- your own queries
  -- FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_PROJECT -- everyone's (needs bigquery.jobs.listAll)
  WHERE creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 30 DAY)
    AND job_type = 'QUERY'
    AND statement_type != 'SCRIPT'
    AND state = 'DONE'
    AND error_result IS NULL
)
SELECT
  COUNT(*) AS queries,
  ROUND(SUM(slot_hours) / NULLIF(SUM(tib), 0), 1) AS slot_hours_per_tib,
  ROUND(SUM(on_demand_usd), 2) AS all_on_demand_usd,
  ROUND(SUM(slots_usd), 2) AS all_slots_usd,
  ROUND(SUM(LEAST(on_demand_usd, slots_usd)), 2) AS cheaper_each_time_usd,
  ROUND(100 * (1 - SUM(LEAST(on_demand_usd, slots_usd)) / NULLIF(SUM(on_demand_usd), 0)), 1) AS saving_pct
FROM jobs

The slot cost here is a lower bound. Autoscaling bills slots in steps of 50 with a one-minute minimum, so short queries cost more on slots than their raw slot time says, and saving_pct comes out high for a project with many small queries. The statement_type != 'SCRIPT' filter keeps a script’s parent job from being counted on top of its child jobs. Querylab.io makes this choice for each query as you run it, with the 50-slot steps and the one-minute minimum priced in: see In Querylab.io below.

The prices

Prices as of October 2026. Slot prices are the us-central1 rates printed on Google’s pricing page. They differ by location, so check yours. The on-demand rate is the US multi-region rate.

ModelUnitPrice
On-demandper TiB read$6.25, first 1 TiB per month free
Standard editionper slot-hour, pay as you go$0.04
Enterprise editionper slot-hour, pay as you go$0.06
Enterprise Plus editionper slot-hour, pay as you go$0.10
Enterprise, 1-year commitmentper slot-hour$0.048
Enterprise, 3-year commitmentper slot-hour$0.036
Enterprise Plus, 1-year commitmentper slot-hour$0.08
Enterprise Plus, 3-year commitmentper slot-hour$0.06

Commitments are not available in Standard. The pricing page also lists a separate “BigQuery CUD” column for pay-as-you-go slots, 10% off for one year and 20% off for three. You may need to opt in to be eligible. Storage is billed the same way under both models. See Storage pricing.

On-demand has a few rules of its own that capacity pricing doesn’t have: bytes are rounded up to a MB, and each table a query references has a 10 MB minimum. How a query is billed covers them.

What each model charges for

On-demand looks at the columns a query reads and ignores everything else. A query that reads 2 TiB costs $12.50 whether it takes 5 seconds or 5 minutes, and whether it is a plain scan or a 40-table join.

Capacity pricing looks at slots. A slot is a unit of BigQuery’s compute (see Slots). You pay for the slots allocated to your reservation, for as long as they are allocated, and the bytes a query reads don’t matter.

The same two queries can come out in opposite order under the two models. The slot-seconds here are invented to show the shape. You can read the real number for a finished query from total_slot_ms in INFORMATION_SCHEMA.JOBS.

the same queries under both modelsOpen in Querylab.io
1234567891011
WITH queries AS (
  SELECT 'wide scan, light compute' AS query, NUMERIC '2.0' AS tib_read, 3000 AS slot_seconds
  UNION ALL
  SELECT 'small table, heavy joins', NUMERIC '0.05', 400000
)
SELECT
  query,
  ROUND(tib_read * NUMERIC '6.25', 2) AS on_demand_usd,
  ROUND(slot_seconds / 3600 * NUMERIC '0.06', 2) AS enterprise_payg_usd
FROM queries
ORDER BY query DESC
Result in BigQuery
Rowqueryon_demand_usdenterprise_payg_usd
1wide scan, light compute12.50.05
2small table, heavy joins0.316.67
2 rows

The wide scan reads a lot of data and barely uses any compute, so on-demand is 250 times more expensive. The join-heavy query reads almost nothing and keeps slots busy for 111 slot-hours, so on-demand is the cheap one. A warehouse that mostly runs the first kind of query belongs on capacity pricing, and one that mostly runs the second kind belongs on on-demand.

What on-demand limits

On-demand has no price per slot, but it does have a ceiling. A project gets up to 2,000 concurrent slots, and an organization up to 20,000. BigQuery may go above the limit for short bursts. Under heavy demand in a location you may get fewer than 2,000.

Two other things come with the choice.

  • A query on on-demand that is too big for its slots doesn’t cost more. It runs longer.
  • You can’t set a spending cap in dollars on on-demand. The only hard caps are daily bytes quotas and a maximum bytes billed on each query. See Controlling costs.

How capacity is billed

Capacity pricing has three moving parts.

  • Autoscaling. You set a maximum size for a reservation, and BigQuery adds slots when queries need them. Slots are added in multiples of 50. You pay for the slots that were scaled up, not for the ones queries actually used.
  • Minimum duration. Autoscaled slots are billed per second, with a one-minute minimum. You can opt in to fluid scaling on a reservation to drop the minimum.
  • Baseline. A baseline is a number of slots that are always allocated to the reservation and always billed. Baseline slots can be covered by a commitment, which lowers the rate.

A reservation with a baseline of 0 and a maximum of 1,000 behaves like on-demand with a cap: you pay only while queries run, and a query can never use more than 1,000 slots. Google’s cost guide describes this setup as running editions “fully on demand”.

Finding the break-even point

Compare on-demand with an autoscaling reservation: a baseline of 0 and a maximum close to the 2,000 slots a project gets on on-demand (Standard stops at 1,600). That is the realistic move away from on-demand, because queries keep about the same room to run and nothing is billed while they are idle. A small fixed reservation is not a like-for-like swap. 100 always-on slots are 5% of what a project has on on-demand, and they are billed through every idle night.

Both bills now grow with use, so the break-even isn’t a monthly volume. It is a ratio: how many slot-hours your workload uses for each TiB it reads. At this ratio, one TiB costs the same either way:

slot-hours that cost the same as 1 TiB on-demandOpen in Querylab.io
1234567891011
WITH editions AS (
  SELECT 'Standard' AS edition, NUMERIC '0.04' AS usd_per_slot_hour
  UNION ALL SELECT 'Enterprise', NUMERIC '0.06'
  UNION ALL SELECT 'Enterprise Plus', NUMERIC '0.10'
)
SELECT
  edition,
  usd_per_slot_hour,
  ROUND(NUMERIC '6.25' / usd_per_slot_hour, 1) AS slot_hours_per_tib
FROM editions
ORDER BY usd_per_slot_hour
Result in BigQuery
Roweditionusd_per_slot_hourslot_hours_per_tib
1Standard0.04156.3
2Enterprise0.06104.2
3Enterprise Plus0.162.5
3 rows

On Enterprise, $6.25 buys 104.2 slot-hours, which is 1,000 slots for about six minutes. If your queries use less than that per TiB they read, autoscaling is cheaper, however small the workload is. If they use more, on-demand is cheaper, however large it is.

$0$3$6$9$12050100150200Slot-hours used per TiB readStandard $0.04Enterprise $0.06Enterprise Plus $0.10On-demand $6.25Standard: 156.3 slot-hours cost the same as 1 TiB on-demand156.3Enterprise: 104.2 slot-hours cost the same as 1 TiB on-demand104.2Enterprise Plus: 62.5 slot-hours cost the same as 1 TiB on-demand62.5
The cost of reading 1 TiB. Left of a dot, autoscaling costs less than on-demand. Right of it, on-demand costs less. The total size of the workload doesn't move the dots.

The slot_hours_per_tib column in Check your own savings is your number. It comes from total_slot_ms, and the bill is higher than that because autoscaling rounds up to 50 slots and a minute, so leave some margin. A project with many short queries needs the most.

When a commitment pays off

A commitment covers baseline slots, which are billed every hour of the month. On Enterprise it takes 20% off for one year and 40% off for three. Autoscaling charges nothing for the hours a slot isn’t needed, so the discount only pays if the slots stay busy: more than 80% of the hours on a one-year term, more than 60% on a three-year term.

Here is the same 800-slot workload on three schedules, at Enterprise rates, with all 800 slots committed:

800 slots a month, autoscaled or committedOpen in Querylab.io
12345678910111213
WITH workloads AS (
  SELECT 'all day, every day' AS workload, 730 AS busy_hours
  UNION ALL SELECT 'all day, weekdays only', 528
  UNION ALL SELECT 'office hours, weekdays', 176
)
SELECT
  workload,
  busy_hours,
  800 * busy_hours * NUMERIC '0.06' AS autoscaling_usd,
  800 * 730 * NUMERIC '0.048' AS one_year_usd,
  800 * 730 * NUMERIC '0.036' AS three_year_usd
FROM workloads
ORDER BY busy_hours DESC
Result in BigQuery
Rowworkloadbusy_hoursautoscaling_usdone_year_usdthree_year_usd
1all day, every day730350402803221024
2all day, weekdays only528253442803221024
3office hours, weekdays17684482803221024
3 rows

Only the workload that never stops beats autoscaling on a one-year term, by $7,008 a month. Running all day on weekdays isn’t enough: 528 of 730 hours is 72%, so the one-year term costs $2,688 more than autoscaling, and only the three-year term wins. With office hours the slots sit idle 76% of the month, and autoscaling costs less than half of even the three-year price.

So a commitment is for a big, steady load. Commit only the slots you use in nearly every hour, and let autoscaling take the peaks. If your warehouse goes quiet at night and at weekends, that number can be close to 0, and the right commitment is none. You also can’t cancel one halfway through its term, and it can’t be reduced during the term, while a baseline can. See Reservations. Google’s slot estimator shows sizing recommendations from your own history, including for projects on on-demand.

Hybrid setups

You don’t have to pick one model for everything. These are the ways to combine them, and you can use several at once.

Baseline plus autoscaling

One Enterprise or Enterprise Plus reservation can have both. Queries use the baseline first, then idle slots borrowed from other reservations if that is allowed, and autoscaling last. A commitment covers the baseline at the lower rate. Slots autoscaled above it always cost the pay-as-you-go rate.

Take a workload that needs 300 slots around the clock and 500 more during weekday office hours, on Enterprise with a one-year term:

300 slots always, 500 more in office hoursOpen in Querylab.io
123456789101112
WITH plans AS (
  SELECT 'autoscale everything' AS plan, 0 AS committed_slots, 300 * 730 + 500 * 176 AS autoscaled_slot_hours
  UNION ALL SELECT 'commit the floor', 300, 500 * 176
  UNION ALL SELECT 'commit the peak', 800, 0
)
SELECT
  plan,
  committed_slots * 730 * NUMERIC '0.048' AS committed_usd,
  autoscaled_slot_hours * NUMERIC '0.06' AS autoscaled_usd,
  committed_slots * 730 * NUMERIC '0.048' + autoscaled_slot_hours * NUMERIC '0.06' AS total_usd
FROM plans
ORDER BY total_usd
Result in BigQuery
Rowplancommitted_usdautoscaled_usdtotal_usd
1commit the floor10512528015792
2autoscale everything01842018420
3commit the peak28032028032
3 rows

Committing the floor is the cheapest plan, $2,628 a month less than autoscaling everything. Committing the peak is the most expensive, because 500 of the committed slots sit idle for 76% of the month.

On-demand for some projects

The model is chosen per location and per project, and the break-even applies to each project on its own. A project that reads a lot with little compute belongs on a reservation, and a compute-heavy project with small tables belongs on on-demand. The numbers here are invented to show the shape:

two projects with opposite ratiosOpen in Querylab.io
1234567891011
WITH projects AS (
  SELECT 'dashboards' AS project, 500 AS tib_read, 5000 AS slot_hours
  UNION ALL SELECT 'data science', 20, 6000
)
SELECT
  project,
  ROUND(slot_hours / tib_read) AS slot_hours_per_tib,
  tib_read * NUMERIC '6.25' AS on_demand_usd,
  slot_hours * NUMERIC '0.06' AS autoscaling_usd
FROM projects
ORDER BY project
Result in BigQuery
Rowprojectslot_hours_per_tibon_demand_usdautoscaling_usd
1dashboards10.03125300
2data science300.0125360
2 rows

All on-demand, these two projects cost $3,250. All on autoscaling, they cost $660. With dashboards on autoscaling and data science on on-demand, they cost $425.

A project or folder with no assignment uses on-demand. A project assigned to the special reservation none stays on on-demand even when its folder or organization has a reservation. On-demand jobs use separate capacity, so they don’t take slots from a commitment in the same location.

The one trap is the default. If you assign only some projects to a reservation, every project you create later is on on-demand until someone assigns it. Assigning at the folder or organization level avoids this, because a project with no assignment of its own inherits the one above it. Standard edition allows only project assignments.

Several reservations

Separate reservations keep workloads apart, so a heavy transformation can’t take the slots a dashboard needs. They can still share. A reservation can borrow idle baseline or committed slots from another reservation of the same edition, in the same region and administration project, and the owner gets them back as soon as it needs them. Autoscaled slots are not shared. This means a commitment on one reservation can absorb another reservation’s load before any autoscaling is billed.

Running one query on-demand

A single script or session can override its reservation with the @@reservation system variable. The value is the full reservation path, projects/PROJECT/locations/LOCATION/reservations/NAME, or the special value none to run on-demand:

SET @@reservation = 'none';
SELECT COUNT(*) FROM mydataset.events;

In Querylab.io you can set this for a query tab without writing it: status bar ⚙ → Routing → On-demand or a reservation (Auto routing).

Whether 'none' is allowed depends on the region’s reservation_override_mode, a setting on the project’s default configuration. The default, DENY_OVERRIDE_TO_NONE, lets a job pick another reservation but refuses on-demand. We ran SET @@reservation = 'none' on a project with the default and BigQuery returned: “Override to ‘none’ is not enabled. The option ‘reservation_override_mode’ is set to ‘RESERVATION_OVERRIDE_MODE_UNSPECIFIED’.” Setting the mode to ALLOW_ANY_OVERRIDE allows it. A value that isn’t a full path, such as 'nonexistent' or an empty string, fails with “Reservation should be in the format of projects/{project}/locations/{location}/reservations/{reservation}”. A dry run accepts every one of these, so it checks nothing here: the value is read only when the job runs.

What the editions include

The edition decides which BigQuery features a reservation can use. Standard is cheapest and has the fewest. Features move between editions over time, and Google recommends not using editions as a way to block access to a feature.

StandardEnterpriseEnterprise PlusOn-demand
Baseline slotsNoYesYesNo slots to buy
CommitmentsNo1 or 3 years1 or 3 yearsNo
Largest reservation1,600 slotsYour quotaYour quota2,000 slots per project
Cross-user query cacheNoYesYesNo
BigQuery MLNoYesYesYes
Create materialized viewsNoYesYesYes
BI Engine accelerationNoYesYesYes
Row and column securityNoYesYesYes
Customer-managed encryption keysNoYesYesYes
Managed disaster recoveryNoNoYesNo
Compliance controls (Assured Workloads)NoNoYesYes
Monthly uptime SLO99.9%99.99%99.99%99.99%

On-demand is not the entry-level tier feature-wise. It has BigQuery ML, BI Engine, row and column security and customer-managed keys, which Standard doesn’t.

Choosing

Start on on-demand. It needs no setup, the first 1 TiB each month is free, and a dry run tells you what a query will cost before it runs. Then match the setup to the workload:

Your workloadSetup
Small, or above the break-evenOn-demand
Below the break-even, with quiet nights or weekendsAutoscaling with a baseline of 0
Projects on both sides of the break-evenReservation for some projects, on-demand for the rest
A floor that is busy nearly every hour, and peaksCommitment on the floor, autoscaling above it
Never stopsCommitment

Other reasons to move to a reservation have nothing to do with the bill: you need Enterprise features, you want to isolate workloads from one another, or your queries are slow because of the 2,000-slot ceiling.

A baseline only makes sense with a commitment. Without one, a baseline slot costs the same as an autoscaled slot and is also billed while it sits idle. The exception is guaranteed capacity: with a baseline of 0, queries depend on autoscaling getting slots, so Google recommends baseline slots for time-sensitive workloads.

Slots explains what a slot is and how BigQuery shares them. Reservations covers commitments and assignments.

In Querylab.io

Set routing to Auto (status bar ⚙ → Routing → Auto) and each query runs on-demand or on your default reservation, whichever is expected to cost less. Auto estimates both from earlier runs of the same query, then similar queries you ran, then the SQL itself. It moves a query only when it expects to save at least 20%. The status bar shows the route it picked, for example Auto: slots, and hovering it shows why. That is the hybrid setup taken down to one query. Auto keeps the project’s route when its reservation has prepaid baseline slots, since those are already paid for. See Auto routing.

With routing left as it is, Querylab.io still prices each query both ways from the dry run and shows a hint in the status bar when the other model would save a meaningful amount (pricing comparison). Query history has a Pot. Savings column with the same comparison for past jobs, Optimize gives a price range for your history on slots with the autoscaling rounding included, and the Slots vs On-Demand Cost recipe under a project’s SQL Templates prices your workload on each edition and on-demand (DDL operations).

Open the playground. It is the real app on public datasets and needs no sign-in.