ClickHouse vs BigQuery: cost, latency and fit for BI
Bytes scanned versus compute hours, dashboard latency, cost guardrails, operations and ecosystem, with the workloads where BigQuery is the better pick.
ClickHouse vs BigQuery comes down to how you pay and what your queries look like. BigQuery is a serverless Google Cloud warehouse that, by default, bills for the bytes each query scans ($6.25 per TiB on demand, first TiB free each month) or, if you choose capacity pricing, for slot-hours. ClickHouse is an open-source (Apache 2.0) columnar engine that you run yourself or rent as ClickHouse Cloud, and either way you pay for compute and storage, not for bytes read. For a dashboard firing the same narrow aggregation thousands of times a day, ClickHouse is usually cheaper and faster, because a well-chosen sort key lets it read a tiny slice of a table and repeated queries add no per-byte charge. For bursty, ad-hoc analysis over large and varied data, with nobody on staff to operate a database, BigQuery is often the better fit. Pricing models, worked numbers, latency, guardrails, operations and ecosystem follow below.
ClickHouse vs BigQuery at a glance
| BigQuery | ClickHouse | |
|---|---|---|
| What it is | Serverless warehouse, Google Cloud only | Open-source OLAP engine; self-host or ClickHouse Cloud (AWS, GCP, Azure) |
| Licence | Proprietary service | Apache 2.0 |
| Compute pricing | Bytes scanned (on-demand) or slot-hours (editions) | Self-host: your VMs. Cloud: compute-unit-hours, metered per minute |
| Storage pricing | Per GiB-month, with a cheaper long-term rate after 90 days unmodified | Self-host: your disks or object storage. Cloud: per TB-month |
| Data layout | Partitioning plus up to 4 clustering columns | ORDER BY sort key with a sparse primary index, partitions, projections |
| Repeat-query cost | Free on a result-cache hit, full price on a miss | Same compute you already pay for |
| Who operates it | You (self-host) or ClickHouse Inc. (Cloud) | |
| Best at | Elastic ad-hoc SQL, Google Cloud integration, little ops | Low-latency aggregations, high-concurrency dashboards, embedded analytics |
How BigQuery pricing works
BigQuery has two compute models, documented on the BigQuery pricing page (figures below as of October 2026, US list prices):
- On-demand (per TiB). The default. You pay for the bytes processed in the columns your query touches: $6.25 per TiB after the first free TiB each month. Charges round up to the nearest MB, with a minimum of 10 MB per table referenced and 10 MB per query. Queries that fail or are served from the result cache are not billed. A project generally gets up to 2,000 concurrent slots, shared among its queries.
- Capacity (per slot-hour). You buy compute through BigQuery editions. Pay-as-you-go list prices are $0.04 per slot-hour for Standard, $0.06 for Enterprise and $0.10 for Enterprise Plus, billed per second with a one-minute minimum (fluid scaling removes the minimum if you opt in). One- and three-year commitments lower the rate and are sold in 50-slot increments.
Storage is separate. Active logical storage costs roughly $0.02 to $0.023 per GiB per month depending on region ($0.023 in us-central1). A table or partition left unmodified for 90 consecutive days moves to a cheaper long-term rate ($0.016 in us-central1 for logical storage; physical storage halves exactly), with no difference in performance. The first 10 GiB is free. Batch loading from Cloud Storage is free; streaming ingestion through the Storage Write API is billed beyond a monthly free allowance.
The important part is what on-demand pricing rewards. A query that reads 2 GiB costs the same at 3 a.m. as at peak, and the same on its thousandth run as on its first, unless the result cache catches it.
How ClickHouse pricing works
Self-hosted ClickHouse costs nothing for the software. You pay for the VMs, disks and object storage, plus the people who run them. A query that reads 2 GiB costs nothing extra; it competes for CPU and memory you already own.
ClickHouse Cloud prices compute per compute-unit-hour, metered per minute, where one unit is 8 GiB of RAM and 2 vCPU. Storage is priced per TB-month. As of October 2026 the Enterprise-plan list rate on GCP us-central1 is $0.32727 per compute-unit-hour and $22.00 per TB-month; rates vary by plan, cloud and region, and backups, ingestion pipes and egress are billed separately. Services can scale down to zero when idle.
So BigQuery on demand charges for work done, and ClickHouse charges for capacity kept available. Capacity-priced BigQuery sits in between: you pay for slots, and the bytes no longer matter directly.
Which is cheaper for dashboards?
Take an illustrative dashboard: 20 tiles, each scanning about 2 GiB of a partitioned, clustered table. That is 40 GiB per page load. This is arithmetic on list prices, not a benchmark:
| Scenario | Monthly bytes scanned | On-demand cost |
|---|---|---|
| 50 loads a day | 60,000 GiB (58.6 TiB) | about $360 |
| 500 loads a day | 600,000 GiB (586 TiB) | about $3,660 |
| 5,000 loads a day (embedded, customer-facing) | 6,000,000 GiB (5,859 TiB) | about $36,600 |
(30 days, minus the free TiB, at $6.25 per TiB.)
Three things move these numbers. Result-cache hits are free, but the cache only helps when the query text is identical, the tables have not changed and no recent streaming inserts touched them, so a dashboard on a table loaded every 15 minutes misses often. Partition and clustering filters cut bytes dramatically. And switching to capacity pricing caps the bill: 100 Enterprise slots running all month is 100 x $0.06 x 730 hours, or $4,380, whatever the bytes, with queries queueing for slots when demand exceeds them.
On ClickHouse the same dashboard costs whatever the cluster costs, whether it loads 50 or 5,000 times a day, until you need more capacity. The sizing guide for a team of 20 walks through what that cluster looks like.
The honest summary: at low, irregular volume, BigQuery on demand is very hard to beat, because an idle warehouse costs nothing but storage. As query volume climbs and the queries repeat, per-byte billing scales linearly while a ClickHouse cluster stays flat, and the crossover arrives sooner for customer-facing analytics than for internal reporting.
Latency for interactive dashboards
BigQuery schedules each query onto slots from a shared pool. That makes it excellent at scanning a lot of data in parallel, and it handles complex joins and large ad-hoc questions well. It is not designed around sub-second response on small queries, and latency varies with slot contention. Google’s answer for dashboards is BI Engine, an in-memory acceleration layer you reserve capacity for. It has documented limits: no wildcard tables, external tables or row-level security, and join acceleration only for a fact table joined with up to four small dimension tables of under 5 million rows each.
ClickHouse stores each MergeTree table sorted by its ORDER BY key and keeps a sparse index with one entry per granule (8,192 rows by default). A filter on the leading key columns skips almost all of the table:
CREATE TABLE events
(
tenant_id UInt32,
event_date Date,
user_id UInt64,
event LowCardinality(String),
amount Decimal(12, 2)
)
ENGINE = MergeTree
PARTITION BY toYYYYMM(event_date)
ORDER BY (tenant_id, event_date, user_id);
-- A typical dashboard tile: one tenant, recent weeks
SELECT toStartOfWeek(event_date) AS week, sum(amount) AS revenue
FROM events
WHERE tenant_id = 42
AND event_date >= '2026-05-01'
AND event = 'purchase'
GROUP BY week
ORDER BY week;
We loaded 50 million synthetic rows (500 tenants) into this table on ClickHouse 25.8 and checked the query log:
SELECT read_rows, formatReadableSize(read_bytes), query_duration_ms
FROM system.query_log
WHERE type = 'QueryFinish'
ORDER BY event_time DESC
LIMIT 1;
-- 147456 2.02 MiB 29
The tile read 147,456 of 50 million rows, about 2 MiB, in 29 ms in a small single-node test container. EXPLAIN indexes = 1 shows the primary key pruning granules before any data is read. On BigQuery the closest equivalent is clustering on tenant_id and event_date, which also prunes blocks and cuts bytes billed, though Google notes that for clustered tables you do not get an accurate cost estimate before the query runs. Choosing that sort key is the main design decision in ClickHouse; ORDER BY vs PRIMARY KEY covers how to pick one.
For scheduled reports that someone opens on Monday, neither engine’s latency matters. For a filter a user drags, or analytics embedded in your own product, it matters a lot, and that is where ClickHouse is the stronger engine.
Cost guardrails in each engine
Runaway queries are the fear on both sides, for different reasons: on BigQuery they cost money, on ClickHouse they steal capacity from everyone else.
BigQuery gives you guardrails at the query and table level:
-- Refuse queries on this table that do not filter on the partition column
ALTER TABLE analytics.events
SET OPTIONS (require_partition_filter = TRUE);
Set maximum_bytes_billed on a job (or in your BI tool’s connection settings) so a query fails instead of scanning more than you allow, and use a dry run to see the bytes a query would process before running it. Project-level custom quotas cap daily bytes per project or per user.
ClickHouse enforces limits per query, per user profile or through quotas:
-- Fails with TOO_MANY_BYTES instead of scanning the whole table
SELECT sum(amount)
FROM events
WHERE event = 'purchase'
SETTINGS max_bytes_to_read = 100000000;
We ran this against the same 50-million-row table and it stopped with Code: 307 ... Limit for rows or bytes to read exceeded. CREATE QUOTA adds limits on queries, rows or bytes read per user over a time interval, and settings profiles cap memory and execution time.
Operations and ecosystem
Operations. BigQuery has nothing to patch, upgrade, replicate or back up; your job is IAM, cost governance and SQL. Self-hosted ClickHouse is a real commitment: replication with ClickHouse Keeper, backups, monitoring through system tables, rolling upgrades and table design that stays healthy under merges. If you have run into too many parts errors you know the kind of problem that lands on your team. ClickHouse Cloud removes most of that work for a price.
Data modelling. BigQuery is forgiving: nested and repeated fields, MERGE and row-level DML behave the way warehouse users expect, and a poorly chosen clustering key costs money rather than correctness. ClickHouse rewards up-front design: the sort key, engine choice (MergeTree, ReplacingMergeTree, AggregatingMergeTree), materialized views and projections. Updates and deletes exist but are not its strength, so pipelines are usually append-only with deduplication at merge or query time.
Ecosystem. BigQuery sits inside Google Cloud: GA4 and Google Ads exports, Looker and Looker Studio, Dataflow, Pub/Sub, BigQuery ML for SQL-defined models, and data sharing between organisations. ClickHouse has broad connector and BI support (Grafana, Superset, Metabase, dbt, Kafka engines and table functions for S3, Postgres and MySQL), and it runs on any cloud or on your own hardware.
Where each one honestly wins
BigQuery wins when:
- Your workload is bursty and ad hoc, with long idle stretches, so paying per query beats paying for an always-on cluster.
- You are already on Google Cloud, or your key data arrives as GA4 or Google Ads exports.
- Nobody on the team wants to operate a database, and the BI is internal and scheduled rather than interactive.
- Queries span many large tables with complex joins and you want elastic compute without capacity planning.
ClickHouse wins when:
- Dashboards or embedded analytics fire the same aggregations thousands of times a day.
- Sub-second latency at high concurrency is a product requirement, not a nice-to-have.
- You need multi-cloud, on-premises or self-hosted deployment, or an open-source licence.
- Per-byte billing makes the bill hard to predict and you would rather pay for capacity.
The comparison with Snowflake for BI runs along similar lines, because the real question is the same: is your workload scan-heavy and irregular, or narrow, repetitive and latency-sensitive?
Running both: BigQuery as the warehouse, ClickHouse for serving
Many teams do not choose. They keep BigQuery as the system of record for raw and historical data and copy the modelled, dashboard-facing tables into ClickHouse, where repeated queries are cheap and fast. The cost is a pipeline to maintain and a second copy of the data that must stay in sync.
If you go that way, Goni is one option. Full disclosure: this is our product. It reads from BigQuery with a ready source connector (full and incremental loads), lands the data in ClickHouse, and puts a YAML semantic layer, SQL IDE, dashboards, alerts and AI Q&A grounded in defined metrics on top. The drawback is real: ClickHouse is the only warehouse Goni queries, so it will not run dashboards directly against BigQuery, and it is younger than the established BI tools. You can try it with the 14-day free trial.
FAQ
Is ClickHouse cheaper than BigQuery?
It depends on volume and repetition. For low, irregular query volume, BigQuery on demand can cost very little because idle time is free. For dashboards and embedded analytics that run the same queries thousands of times a day, ClickHouse is usually cheaper, because you pay for compute capacity rather than for every byte each query scans.
Is ClickHouse faster than BigQuery?
For filtered aggregations on a well-chosen sort key, ClickHouse typically answers in milliseconds because its sparse index skips most of the table. BigQuery is built for elastic, massively parallel scans and complex queries, and its latency varies with slot availability. BI Engine narrows the gap for supported dashboard queries, at the cost of a memory reservation.
Can ClickHouse replace BigQuery?
Yes for many analytics workloads, especially dashboards, product analytics and event data. It is a weaker fit if you depend on Google Cloud integrations, BigQuery ML, heavy row-level updates or a fully serverless model with no capacity planning. Many teams keep BigQuery as the system of record and use ClickHouse as the serving layer.
How do I stop BigQuery costs from spiking?
Partition and cluster large tables, set require_partition_filter on big partitioned tables, set maximum_bytes_billed on jobs and BI connections, and add custom quotas that cap daily bytes per project or user. If spend is high and steady, compare it with capacity pricing, where you pay for slot-hours instead of bytes scanned.
Does ClickHouse run on Google Cloud?
Yes. You can self-host it on Compute Engine or GKE, or use ClickHouse Cloud, which runs on GCP as well as AWS and Azure. Prices for ClickHouse Cloud vary by cloud provider and region, so check the pricing calculator for the region next to your other Google Cloud workloads.