ClickHouse Cloud vs self-hosted: cost and operations
Published prices at three data sizes, the operations work you take on when you run it yourself (upgrades, backups, Keeper), and when each is the right call.
Self-hosted ClickHouse is cheaper than ClickHouse Cloud on compute, often more expensive on storage, and only clearly cheaper once your cluster is large enough that the savings pay for the engineering time it takes to run. Pricing three workloads from ClickHouse’s own published examples and AWS’s published us-east-1 rates shows this. A single 500 GB node costs about $185 a month on ClickHouse Cloud and about $130 self-hosted. A three-replica, 3 TB cluster costs almost the same either way, about $1,460 a month. A two-replica, 10 TB cluster with 64 GiB nodes costs about $5,080 on ClickHouse Cloud and about $3,370 self-hosted. The pattern comes from architecture. ClickHouse Cloud keeps one copy of your data in object storage and charges a premium for compute. A self-hosted replicated cluster pays cloud VM prices for compute but stores a full copy of the data on block storage for every replica. The rest of this comparison shows the arithmetic, the operations work, and how to decide.
What you are actually comparing
ClickHouse itself is open source under the Apache License 2.0, so self-hosting costs nothing in licences. You pay for virtual machines, disks, object storage, network traffic, and the people who keep it running.
ClickHouse Cloud is the managed service from ClickHouse, Inc. It is not just the open-source server on a VM. According to the Cloud compatibility guide, compute and storage are separated, storage sits on object storage with multi-level caching, and MergeTree tables are automatically swapped for SharedMergeTree equivalents. That design is why storage is cheap and why idle compute can scale to zero. It also has limits. Experimental features are disabled, most system settings are fixed, several engines (the MySQL database engine, Hive, JDBC, ODBC, SQLite, the Log family and others) are not supported, and Kerberos, LDAP and X.509 authentication are not available. Parts limits also differ. max_parts_in_total defaults to 10,000 instead of 100,000, which matters if you have ever hit the too many parts error.
ClickHouse Cloud is sold in three tiers, per the pricing page as of November 2026:
| Tier | Storage | Availability zones | Backups | Notable extras |
|---|---|---|---|---|
| Basic | Up to 1 TB | 1 | Every 24 h, kept 1 day | 8-12 GiB memory in total |
| Scale | Unlimited | 2 or more | Configurable frequency and retention | Automatic vertical scaling, compute-compute separation, private networking |
| Enterprise | Unlimited | Inherits Scale | Inherits Scale | SAML SSO, customer-managed encryption keys, scheduled upgrades, HIPAA and PCI compliance |
Billing is usage-based with no monthly minimum. Compute is metered per minute in 8 GiB RAM steps, and one compute unit is 8 GiB of RAM with 2 vCPU. Storage is billed per TB-month on compressed size, and backups count as storage. New accounts get $300 of credit over a 30-day trial.
Cost at three data sizes
The fairest comparison uses ClickHouse’s own worked examples from its billing documentation, all on AWS us-east-1, and prices an equivalent self-hosted cluster in the same region. The self-hosted rows use AWS’s published on-demand rates as of November 2026: m6i instances (the same 1 vCPU to 4 GiB ratio as a ClickHouse Cloud compute unit) at $0.096 per hour for 2 vCPU and 8 GiB, scaling linearly; gp3 block storage at $0.08 per GB-month (the rate AWS uses in its gp3 examples); and S3 Standard at $0.023 per GB-month for backups. A month is 730 hours.
Both sides exclude network egress, which you pay in either case. The self-hosted rows provision 20 percent more disk than the data on every replica, backups written to S3, and, for replicated clusters, three small t3.medium instances ($0.0416 per hour, each with a 20 GB gp3 disk) running ClickHouse Keeper.
| Workload | ClickHouse Cloud (published example) | Cloud: compute + storage | Self-hosted on AWS | Self-hosted total |
|---|---|---|---|---|
| Small: 500 GB, one node, no HA | Basic, 1 x 8 GiB / 2 vCPU, running 24 h/day | $159.66 + $25.30 = $184.96 | 1 x m6i.large $70.08, 600 GB gp3 $48.00, S3 backup $11.50 | $129.58 |
| Medium: 3 TB, three replicas | Scale, 3 x 16 GiB / 4 vCPU | $1,310.84 + $151.80 = $1,462.64 | 3 x m6i.xlarge $420.48, 3 x 3.6 TB gp3 $864.00, S3 backup $69.00, Keeper $95.90 | $1,449.38 |
| Large: 10 TB, two replicas | Enterprise, 2 x 64 GiB / 16 vCPU | $4,571.19 + $506.00 = $5,077.19 | 2 x m6i.4xlarge $1,121.28, 2 x 12 TB gp3 $1,920.00, S3 backup $230.00, Keeper $95.90 | $3,367.18 |
Three things stand out.
Compute is where the cloud premium sits. In the Scale example, one 16 GiB replica running all month costs $436.95. The matching m6i.xlarge costs $140.16 on demand, before any Savings Plan or reserved-instance discount.
Storage is where self-hosting loses ground. ClickHouse Cloud bills $25.30 per TB-month in us-east-1, close to raw S3 prices, and stores one copy no matter how many replicas you run. A classic self-hosted ReplicatedMergeTree cluster keeps a full copy on every replica, on block storage that costs several times more per GB than object storage. In the medium example, self-hosted disks cost $864 against the cloud’s $151.80, and that is what wipes out the compute saving.
Idle time favours the cloud. The Basic service above costs $65.21 a month if it only runs six hours a day, before egress, because the default setting pauses an inactive service. A self-hosted VM that you leave running costs the same whether anyone queries it or not.
You can narrow the storage gap when self-hosting. Open-source ClickHouse can store MergeTree data on an S3 disk with a local cache in front of it (storage docs). The catch is replication. Zero-copy replication, which would let replicas share one copy in S3, is disabled by default since 22.8 and the docs say it is “not recommended for production use.” So each replica keeps its own copy in the bucket, and you take on S3 request costs, cache sizing, and slower cold reads. It is a real option, but it is more engineering, not less.
The operations work you take on when self-hosting
The table leaves out the largest self-hosting cost: engineering time. These are the jobs ClickHouse Cloud does for you and you must do yourself.
Upgrades
ClickHouse ships a stable release roughly every month and an LTS release twice a year. The production FAQ says bug fixes are backported to the three latest stable releases, and LTS releases are supported for a year. As of November 2026, the project’s security policy lists 26.10, 26.9, 26.8 and 26.3 as receiving security updates. If you track stable, you upgrade every month or two. If you track LTS, you upgrade at least once a year and take a bigger set of changes at once.
The recommended process has real steps: a pre-production environment that mirrors production with real data and queries, automated tests on each release, a read of the changelog for backward-incompatible changes, and a canary or blue-green rollout. On a replicated cluster that means upgrading one replica at a time while keeping writes healthy.
Backups and restores
Open-source ClickHouse has BACKUP and RESTORE commands that write to a local disk, S3 or Azure Blob Storage, with incremental backups based on an earlier full backup (backup docs). You have to schedule them, monitor them, set retention, and test them. Some details matter. Access entities defined in users.xml are not included in a backup, and RESTORE into a non-empty table can duplicate data. The docs also warn that if you have never tried a restore, it probably will not work when you need it. Budget time for regular restore drills.
-- Full backup of one database to S3, then an incremental one on top of it
BACKUP DATABASE analytics
TO S3('https://my-bucket.s3.amazonaws.com/ch/2026-11-09-full', '<key>', '<secret>');
BACKUP DATABASE analytics
TO S3('https://my-bucket.s3.amazonaws.com/ch/2026-11-10-incr', '<key>', '<secret>')
SETTINGS base_backup = S3('https://my-bucket.s3.amazonaws.com/ch/2026-11-09-full', '<key>', '<secret>');
ClickHouse Cloud takes a backup every 24 hours by default, and Scale and Enterprise let you change the frequency and retention.
ClickHouse Keeper
Replicated tables need a coordination service: ClickHouse Keeper or ZooKeeper. Keeper uses Raft, so a three-node ensemble keeps working if one node fails (Keeper guide). It can run inside the ClickHouse server process or standalone, and the docs advise keeping its logs on non-busy nodes. This is a small but critical system. If Keeper is unavailable, inserts into replicated tables fail, and tables that start without it come up read-only (replication docs). You need to monitor it, size its disks, and include it in upgrades. In ClickHouse Cloud you never see it.
Everything else
- Capacity and disks. Watch free space on every replica and resize volumes before merges run out of room. On the cloud, storage simply grows.
- Monitoring and on-call. Export
system.metrics,system.eventsandsystem.query_logto your monitoring stack and decide who gets paged at 3 a.m. Our sizing playbook lists the four signals worth alerting on. - Security. OS patching, TLS certificates, network policy, and user management are yours.
- Cluster DDL. Schema changes across replicas run through
ON CLUSTERand the distributed DDL queue, which needs its own monitoring.
None of this is exotic. It is the normal work of running a stateful database. The question is whether you already have people who do this work, or whether ClickHouse would be the first database they run.
Turning the table into a decision
Run the comparison as one formula: self-hosted infrastructure + engineering hours per month x loaded hourly cost, against the cloud bill.
In the medium example, the infrastructure gap is about $13 a month. Any engineering time at all makes ClickHouse Cloud the cheaper choice. In the large example, the gap is about $1,710 a month, or roughly $20,500 a year at on-demand prices. That has to pay for the upgrades, restore drills, Keeper care and on-call described above. Reserved instances or Savings Plans make self-hosting cheaper still, and an annual commitment with ClickHouse may lower the cloud bill, so price both with your own discounts.
The ratio of compute to storage decides which way it goes. Compute-heavy workloads with lots of memory per TB favour self-hosting, because that is where the cloud premium is. Storage-heavy workloads with lots of data and modest compute favour ClickHouse Cloud, because it does not multiply your data across replicas on block storage.
Choose ClickHouse Cloud when
- Nobody on the team runs stateful databases on call today.
- The workload is spiky or runs during working hours only, so idle scaling saves real money.
- Data volume is large relative to compute, or growing fast and hard to predict.
- You want multi-zone availability without designing it yourself.
- You do not depend on features the cloud disables, such as experimental features, custom server settings, or engines like JDBC or ODBC.
Choose self-hosted when
- The cluster is large and steady, and the yearly gap is clearly larger than the engineering time it takes to run it.
- You already run databases on Kubernetes or VMs with a working on-call rotation.
- You need settings, engines, authentication methods (LDAP, Kerberos) or experimental features that the cloud does not offer.
- Data residency or network rules require infrastructure the managed service cannot provide. Check BYOC first (below), because it covers some of these cases.
If you are still choosing the warehouse itself, our ClickHouse vs Snowflake for BI comparison covers that decision.
ClickHouse Cloud alternatives between the two extremes
“Managed” and “run it yourself” are not the only options.
- ClickHouse BYOC. ClickHouse Cloud’s control plane manages services that run in your own AWS, GCP or Azure account, where your data and backups stay. All three clouds are GA according to the BYOC docs. It is aimed at large deployments and needs a committed contract.
- Altinity.Cloud. Managed ClickHouse on AWS, GCP, Azure or Hetzner, with a bring-your-own-cloud option, from a vendor that also sells support for self-managed ClickHouse. Altinity also maintains the open-source (Apache 2.0) ClickHouse operator for Kubernetes, which is a common base for self-hosting.
- Aiven for ClickHouse. A managed service from a multi-database vendor, with a developer tier and a published 99.99% uptime SLA on its product page.
Run each through the same table: what you pay for compute, what you pay per TB, and whether data is stored once or per replica.
The warehouse is only one layer. You still need ingestion, modelling, metric definitions and BI on top. Goni is one option for those layers. Full disclosure: this is our product. Goni is one AI platform for your entire data stack: ELT connectors, a YAML semantic layer, BI with a SQL IDE, dashboards, alerts, scheduled reports and embedding, and AI Q&A grounded in your defined metrics. Goni works with your own ClickHouse, whether self-hosted, on ClickHouse Cloud or on another managed service, and free trials run on a ClickHouse that Goni manages. The drawback is that ClickHouse is the only warehouse Goni runs on: its connectors can load data from Snowflake or BigQuery, but if one of those is your main warehouse, Goni means adding ClickHouse alongside it. If that fits, book a demo or start the 14-day trial.
FAQ
Is ClickHouse Cloud more expensive than self-hosting?
On compute, yes: a 16 GiB Scale replica costs about three times a comparable AWS VM on demand. On storage, usually no, because the cloud stores one copy in object storage while self-hosted replicas each keep a full copy on block storage. Mid-sized replicated clusters can cost about the same before you count engineering time.
How much does ClickHouse Cloud cost per month?
There is no minimum. ClickHouse’s published AWS us-east-1 examples start at $66.52 a month for a Basic service running six hours a day, $499.38 for a two-replica Scale service with 1 TB, and $2,669.40 for a two-replica Enterprise service with 5 TB, as of November 2026. Region, uptime and egress change the total.
Is ClickHouse free to self-host?
The software is free. ClickHouse is licensed under Apache 2.0, with no paid edition needed for self-hosting. You pay for servers, disks, backup storage and network traffic, plus the engineering time for upgrades, backups, monitoring and on-call. Commercial support is available from third parties such as Altinity if you want a vendor behind a self-managed cluster.
Do I need ClickHouse Keeper for a self-hosted cluster?
Only if you use replication or distributed DDL. A single-node server without replicated tables runs without it. For ReplicatedMergeTree tables you need Keeper or ZooKeeper, usually three nodes so the ensemble survives one failure. Keeper can run inside the ClickHouse server process or on separate small hosts, and needs monitoring like any other critical service.
What are the main ClickHouse Cloud alternatives?
ClickHouse BYOC runs managed ClickHouse inside your own cloud account. Altinity.Cloud offers managed ClickHouse on AWS, GCP, Azure or Hetzner, plus bring-your-own-cloud. Aiven for ClickHouse is a managed service from a multi-database vendor. Self-hosting on Kubernetes with the open-source Altinity operator, or directly on VMs, is the do-it-yourself option.