Pricing

You can use the query:

```
SELECT formatReadableSize(total_bytes) 
FROM system.tables 
WHERE name = <your table name>
```

### What tools does ClickHouse offer to estimate the cost of running a service in the cloud if I have a self-managed deployment?[​](#what-tools-does-clickhouse-offer-to-estimate-the-cost-of-running-a-service-in-the-cloud-if-i-have-a-self-managed-deployment "Direct link to What tools does ClickHouse offer to estimate the cost of running a service in the cloud if I have a self-managed deployment?")

The ClickHouse query log captures [key metrics](/docs/operations/system-tables/query_log) that can be used to estimate the cost of running a workload in ClickHouse Cloud.
For details on migrating from self-managed to ClickHouse Cloud please refer to the [migration documentation](/docs/cloud/migration/clickhouse-to-cloud), and contact [ClickHouse Cloud support](https://console.clickhouse.cloud/support) if you have further questions.

### What billing options are available for ClickHouse Cloud?[​](#what-billing-options-are-available-for-clickhouse-cloud "Direct link to What billing options are available for ClickHouse Cloud?")

ClickHouse Cloud supports the following billing options:

- Self-service monthly (in USD, via credit card).
- Direct-sales annual / multi-year (through pre-paid "ClickHouse Credits", in USD, with additional payment options).
- Through the AWS, GCP, and Azure marketplaces (either pay-as-you-go (PAYG) or commit to a contract with ClickHouse Cloud through the marketplace).

Note

ClickHouse Cloud credits for PAYG are invoiced in $0.01 units, allowing us to charge customers for partial ClickHouse credits based on their usage. This differs from committed spend ClickHouse credits, which are purchased in advance in whole $1 units.

### Can I delete my credit card?[​](#can-i-delete-my-credit-card "Direct link to Can I delete my credit card?")

You can’t remove a credit card in the Billing UI, but you can update it anytime. This helps ensure your organization always has a valid payment method. If you need to remove your credit card, please contact [ClickHouse Cloud support](https://console.clickhouse.cloud/support) for help.

### How long is the billing cycle?[​](#how-long-is-the-billing-cycle "Direct link to How long is the billing cycle?")

Billing follows a monthly billing cycle and the start date is tracked as the date when the ClickHouse Cloud organization was created.

### If I have an active PAYG marketplace subscription and then sign a committed contract, will my committed credits be consumed first?[​](#committed-credits-consumed-first-with-active-payg-subscription "Direct link to If I have an active PAYG marketplace subscription and then sign a committed contract, will my committed credits be consumed first?")

Yes. Usage is consumed with the following payment methods in this order:

- Committed (prepaid) credits
- Marketplace subscription (PAYG)
- Credit card

### What controls does ClickHouse Cloud offer to manage costs for Scale and Enterprise services?[​](#what-controls-does-clickhouse-cloud-offer-to-manage-costs-for-scale-and-enterprise-services "Direct link to What controls does ClickHouse Cloud offer to manage costs for Scale and Enterprise services?")

- Trial and Annual Commit customers are notified automatically by email when their consumption hits certain thresholds: `50%`, `75%`, and `90%`. This allows you to proactively manage your usage.
- ClickHouse Cloud allows you to set a maximum auto-scaling limit on your compute via [Advanced scaling control](/docs/manage/scaling), a significant cost factor for analytical workloads.
- The [Advanced scaling control](/docs/manage/scaling) lets you set memory limits with an option to control the behavior of pausing/idling during inactivity.

### What controls does ClickHouse Cloud offer to manage costs for Basic services?[​](#what-controls-does-clickhouse-cloud-offer-to-manage-costs-for-basic-services "Direct link to What controls does ClickHouse Cloud offer to manage costs for Basic services?")

- The [Advanced scaling control](/docs/manage/scaling) lets you control the behavior of pausing/idling during inactivity. Adjusting memory allocation isn't supported for Basic services.
- Note that the default setting pauses the service after a period of inactivity.

### If I have multiple services, do I get an invoice per service or a consolidated invoice?[​](#if-i-have-multiple-services-do-i-get-an-invoice-per-service-or-a-consolidated-invoice "Direct link to If I have multiple services, do I get an invoice per service or a consolidated invoice?")

A consolidated invoice is generated for all services in a given organization for a billing period.

### If I add my credit card and upgrade before my trial period and credits expire, will I be charged?[​](#if-i-add-my-credit-card-and-upgrade-before-my-trial-period-and-credits-expire-will-i-be-charged "Direct link to If I add my credit card and upgrade before my trial period and credits expire, will I be charged?")

When a user converts from trial to paid before the 30-day trial period ends, but with credits remaining from the trial credit allowance,
we continue to draw down from the trial credits during the initial 30-day trial period, and then charge the credit card.

### How can I keep track of my spending?[​](#how-can-i-keep-track-of-my-spending "Direct link to How can I keep track of my spending?")

The ClickHouse Cloud console provides a Usage display that details usage per service. This breakdown, organized by usage dimensions, helps you understand the cost associated with each metered unit.

### How do I access my invoices for my subscription to the ClickHouse Cloud service?[​](#how-do-i-access-my-invoice-for-my-subscription-to-the-clickhouse-cloud-service "Direct link to How do I access my invoices for my subscription to the ClickHouse Cloud service?")

For direct subscriptions using a credit card:

To view your invoices, select your organization from the left-hand navigation bar in the ClickHouse Cloud UI, then go to Billing. All of your invoices will be listed under the Invoices section.

For subscriptions through a cloud marketplace:

All marketplace subscriptions are billed and invoiced by the marketplace. You can view your invoice through the respective cloud provider marketplace directly.

### Why do the dates on the Usage statements not match my Marketplace Invoice?[​](#why-do-the-dates-on-the-usage-statements-not-match-my-marketplace-invoice "Direct link to Why do the dates on the Usage statements not match my Marketplace Invoice?")

AWS Marketplace billing follows the calendar month cycle.
For example, for usage between dates 01-Dec-2024 and 01-Jan-2025,
an invoice is generated between 3-Jan and 5-Jan-2025

ClickHouse Cloud usage statements follow a different billing cycle where usage is metered
and reported over 30 days starting from the day of sign up.

The usage and invoice dates will differ if these dates aren't the same. Since usage statements track usage by day for a given service, you can rely on statements to see the breakdown of costs.

### Are there any restrictions around the usage of prepaid credits?[​](#are-there-any-restrictions-around-the-usage-of-prepaid-credits "Direct link to Are there any restrictions around the usage of prepaid credits?")

ClickHouse Cloud prepaid credits (whether direct through ClickHouse, or via a cloud provider's marketplace)
can only be leveraged for the terms of the contract.
This means they can be applied on the acceptance date, or a future date, and not for any prior periods.
Any overages not covered by prepaid credits must be covered by a credit card payment or marketplace monthly billing.

### Is there a difference in ClickHouse Cloud pricing, whether paying through the cloud provider marketplace or directly to ClickHouse?[​](#is-there-a-difference-in-clickhouse-cloud-pricing-whether-paying-through-the-cloud-provider-marketplace-or-directly-to-clickhouse "Direct link to Is there a difference in ClickHouse Cloud pricing, whether paying through the cloud provider marketplace or directly to ClickHouse?")