TiDB Cloud Dedicated charges according to the resources that you consume, which include:
Node Cost
Node Compute Cost
TiDB Cloud lets you pay for database cluster compute resources by minutes, which is ideal for dynamic workloads.
In TiDB Cloud, you can control your cluster size easily by specifying the node quantity and vCPUs size of TiDB, TiKV, and TiFlash.
The specified node quantity and associated vCPUs determine your hourly compute cost.
Note that the compute cost of TiDB, TiKV, and TiFlash nodes might vary depending on different cloud providers and different regions.
Node Storage Cost
Both TiKV and TiFlash nodes persist your data to disks. Each disk will be charged for its different storage size. For AWS clusters, each disk will be charged for IOPS and throughput fees, and the cost varies by the number of vCPU.
- For AWS clusters: Node Storage Cost(per hour) = Storage size cost(per GiB/hour) * storage size(GiB) + IOPS and throughput fee(per hour)
- For Google Cloud clusters: Node Storage Cost(per hour) = Storage size cost(per GiB/hour) * storage size(GiB)
- Storage size is calculated in gigabytes (GiB), where 1 GiB = 2^30 bytes.
Cost Table of Node Compute Cost and Node Storage Cost
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.4416 | – | – |
8 vCPU, 16 GiB | $0.7820 | – | – | |
8 vCPU, 32 GiB | $0.8832 | – | – | |
16 vCPU, 32 GiB | $1.5640 | – | – | |
16 vCPU, 64 GiB | $1.7664 | – | – | |
32 vCPU, 64 GiB | $3.1280 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.4416 | $0.000109 | $0.001026 |
8 vCPU, 32 GiB | $0.8832 | $0.000109 | $0.014802 | |
8 vCPU, 64 GiB | $1.3708 | $0.000109 | $0.014802 | |
16 vCPU, 64 GiB | $1.7664 | $0.000109 | $0.055326 | |
32 vCPU, 128 GiB | $3.5328 | $0.000109 | $0.125250 | |
TiFlash | 8 vCPU, 64 GiB | $1.3708 | $0.000109 | $0.062802 |
16 vCPU, 128 GiB | $2.3184 | $0.000109 | $0.103326 | |
32 vCPU, 128 GiB | $3.5328 | $0.000109 | $0.125250 | |
32 vCPU, 256 GiB | $4.6368 | $0.000109 | $0.125250 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.4416 | – | – |
8 vCPU, 16 GiB | $0.7820 | – | – | |
8 vCPU, 32 GiB | $0.8832 | – | – | |
16 vCPU, 32 GiB | $1.5640 | – | – | |
16 vCPU, 64 GiB | $1.7664 | – | – | |
32 vCPU, 64 GiB | $3.1280 | – | – | |
32 vCPU, 128 GiB | $3.5328 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.4416 | $0.000109 | $0.001026 |
8 vCPU, 32 GiB | $0.8832 | $0.000109 | $0.014802 | |
8 vCPU, 64 GiB | $1.3708 | $0.000109 | $0.014802 | |
16 vCPU, 64 GiB | $1.7664 | $0.000109 | $0.055326 | |
32 vCPU, 128 GiB | $3.5328 | $0.000109 | $0.125250 | |
32 vCPU, 128 GiB, Plus | $3.5328 | $0.000171 | $1.064000 | |
TiFlash | 8 vCPU, 64 GiB | $1.3708 | $0.000109 | $0.062802 |
16 vCPU, 128 GiB | $2.3184 | $0.000109 | $0.103326 | |
32 vCPU, 128 GiB | $3.5328 | $0.000109 | $0.125250 | |
32 vCPU, 256 GiB | $4.6368 | $0.000109 | $0.125250 | |
32 vCPU, 256 GiB, Plus | $4.6368 | $0.000171 | $1.064000 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5428 | – | – |
8 vCPU, 16 GiB | $0.8832 | – | – | |
8 vCPU, 32 GiB | $1.0856 | – | – | |
16 vCPU, 32 GiB | $1.7664 | – | – | |
16 vCPU, 64 GiB | $2.1712 | – | – | |
32 vCPU, 64 GiB | $3.5328 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5428 | $0.000124 | $0.001178 |
8 vCPU, 32 GiB | $1.0856 | $0.000124 | $0.017106 | |
8 vCPU, 64 GiB | $1.6376 | $0.000124 | $0.017106 | |
16 vCPU, 64 GiB | $2.1712 | $0.000124 | $0.064078 | |
32 vCPU, 128 GiB | $4.3424 | $0.000124 | $0.146125 | |
TiFlash | 8 vCPU, 64 GiB | $1.6376 | $0.000124 | $0.073106 |
16 vCPU, 128 GiB | $2.7968 | $0.000124 | $0.120078 | |
32 vCPU, 128 GiB | $4.3424 | $0.000124 | $0.146125 | |
32 vCPU, 256 GiB | $5.5936 | $0.000124 | $0.146125 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5520 | – | – |
8 vCPU, 16 GiB | $0.9016 | – | – | |
8 vCPU, 32 GiB | $1.1040 | – | – | |
16 vCPU, 32 GiB | $1.8032 | – | – | |
16 vCPU, 64 GiB | $2.2080 | – | – | |
32 vCPU, 64 GiB | $3.6064 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5520 | $0.000131 | $0.001235 |
8 vCPU, 32 GiB | $1.1040 | $0.000131 | $0.018595 | |
8 vCPU, 64 GiB | $1.6376 | $0.000131 | $0.018595 | |
16 vCPU, 64 GiB | $2.2080 | $0.000131 | $0.070485 | |
32 vCPU, 128 GiB | $4.4160 | $0.000131 | $0.160875 | |
TiFlash | 8 vCPU, 64 GiB | $1.6376 | $0.000131 | $0.082595 |
16 vCPU, 128 GiB | $2.7968 | $0.000131 | $0.134485 | |
32 vCPU, 128 GiB | $4.4160 | $0.000131 | $0.160875 | |
32 vCPU, 256 GiB | $5.5936 | $0.000131 | $0.160875 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5704 | – | – |
8 vCPU, 16 GiB | $0.9844 | – | – | |
8 vCPU, 32 GiB | $1.1408 | – | – | |
16 vCPU, 32 GiB | $1.9688 | – | – | |
16 vCPU, 64 GiB | $2.2816 | – | – | |
32 vCPU, 64 GiB | $3.9376 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5704 | $0.000131 | $0.001235 |
8 vCPU, 32 GiB | $1.1408 | $0.000131 | $0.018595 | |
8 vCPU, 64 GiB | $1.6652 | $0.000131 | $0.018595 | |
16 vCPU, 64 GiB | $2.2816 | $0.000131 | $0.070485 | |
32 vCPU, 128 GiB | $4.5632 | $0.000131 | $0.160875 | |
TiFlash | 8 vCPU, 64 GiB | $1.6652 | $0.000131 | $0.082595 |
16 vCPU, 128 GiB | $2.7968 | $0.000131 | $0.134485 | |
32 vCPU, 128 GiB | $4.5632 | $0.000131 | $0.160875 | |
32 vCPU, 256 GiB | $5.5936 | $0.000131 | $0.160875 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5290 | – | – |
8 vCPU, 16 GiB | $0.8924 | – | – | |
8 vCPU, 32 GiB | $1.0580 | – | – | |
16 vCPU, 32 GiB | $1.7848 | – | – | |
16 vCPU, 64 GiB | $2.1160 | – | – | |
32 vCPU, 64 GiB | $3.5696 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5290 | $0.000130 | $0.001235 |
8 vCPU, 32 GiB | $1.0580 | $0.000130 | $0.018595 | |
8 vCPU, 64 GiB | $1.6376 | $0.000130 | $0.018595 | |
16 vCPU, 64 GiB | $2.1160 | $0.000130 | $0.070485 | |
32 vCPU, 128 GiB | $4.2320 | $0.000131 | $0.160875 | |
TiFlash | 8 vCPU, 64 GiB | $1.6376 | $0.000130 | $0.082595 |
16 vCPU, 128 GiB | $2.7968 | $0.000130 | $0.134485 | |
32 vCPU, 128 GiB | $4.2320 | $0.000131 | $0.160875 | |
32 vCPU, 256 GiB | $5.5936 | $0.000131 | $0.160875 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.4646 | – | – |
8 vCPU, 16 GiB | $0.7820 | – | – | |
8 vCPU, 32 GiB | $0.9292 | – | – | |
16 vCPU, 32 GiB | $1.5640 | – | – | |
16 vCPU, 64 GiB | $1.8584 | – | – | |
32 vCPU, 64 GiB | $3.1280 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.4646 | $0.000124 | $0.001197 |
8 vCPU, 32 GiB | $0.9292 | $0.000124 | $0.017269 | |
16 vCPU, 64 GiB | $1.8584 | $0.000124 | $0.064547 | |
32 vCPU, 128 GiB | $3.7168 | $0.000124 | $0.146125 | |
TiFlash | 8 vCPU, 64 GiB | $1.1960 | $0.000124 | $0.073269 |
16 vCPU, 128 GiB | $2.3920 | $0.000124 | $0.120547 | |
32 vCPU, 128 GiB | $3.7168 | $0.000124 | $0.146125 | |
32 vCPU, 256 GiB | $4.7840 | $0.000124 | $0.146125 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.4467 | – | – |
8 vCPU, 16 GiB | $0.7744 | – | – | |
8 vCPU, 32 GiB | $0.8934 | – | – | |
16 vCPU, 32 GiB | $1.5489 | – | – | |
16 vCPU, 64 GiB | $1.7869 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.4467 | $0.000232 | $0 |
8 vCPU, 32 GiB | $0.8934 | $0.000232 | $0 | |
8 vCPU, 64 GiB | $1.2053 | $0.000232 | $0 | |
16 vCPU, 64 GiB | $1.7869 | $0.000232 | $0 | |
TiFlash | 8 vCPU, 64 GiB | $1.2053 | $0.000232 | $0 |
16 vCPU, 128 GiB | $2.4106 | $0.000232 | $0 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.4467 | – | – |
8 vCPU, 16 GiB | $0.7744 | – | – | |
8 vCPU, 32 GiB | $0.8934 | – | – | |
16 vCPU, 32 GiB | $1.5489 | – | – | |
16 vCPU, 64 GiB | $1.7869 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.4467 | $0.000232 | $0 |
8 vCPU, 32 GiB | $0.8934 | $0.000232 | $0 | |
8 vCPU, 64 GiB | $1.2053 | $0.000232 | $0 | |
16 vCPU, 64 GiB | $1.7869 | $0.000232 | $0 | |
TiFlash | 8 vCPU, 64 GiB | $1.2053 | $0.000232 | $0 |
16 vCPU, 128 GiB | $2.4106 | $0.000232 | $0 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5511 | – | – |
8 vCPU, 16 GiB | $0.9553 | – | – | |
8 vCPU, 32 GiB | $1.1022 | – | – | |
16 vCPU, 32 GiB | $1.9107 | – | – | |
16 vCPU, 64 GiB | $2.2044 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5511 | $0.000256 | $0 |
8 vCPU, 32 GiB | $1.1022 | $0.000256 | $0 | |
8 vCPU, 64 GiB | $1.4868 | $0.000256 | $0 | |
16 vCPU, 64 GiB | $2.2044 | $0.000256 | $0 | |
TiFlash | 8 vCPU, 64 GiB | $1.4868 | $0.000256 | $0 |
16 vCPU, 128 GiB | $2.9736 | $0.000256 | $0 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5172 | – | – |
8 vCPU, 16 GiB | $0.8967 | – | – | |
8 vCPU, 32 GiB | $1.0345 | – | – | |
16 vCPU, 32 GiB | $1.7934 | – | – | |
16 vCPU, 64 GiB | $2.0691 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5172 | $0.000232 | $0 |
8 vCPU, 32 GiB | $1.0345 | $0.000232 | $0 | |
8 vCPU, 64 GiB | $1.3956 | $0.000232 | $0 | |
16 vCPU, 64 GiB | $2.0691 | $0.000232 | $0 | |
TiFlash | 8 vCPU, 64 GiB | $1.3956 | $0.000232 | $0 |
16 vCPU, 128 GiB | $2.7912 | $0.000232 | $0 |
Node | Node Size | Compute Cost per Hour | Storage Size per GB/Hour | IOPS and Throughput Fee per Hour |
TiDB | 4 vCPU, 16 GiB | $0.5731 | – | – |
8 vCPU, 16 GiB | $0.9941 | – | – | |
8 vCPU, 32 GiB | $1.1462 | – | – | |
16 vCPU, 32 GiB | $1.9882 | – | – | |
16 vCPU, 64 GiB | $2.2924 | – | – | |
TiKV | 4 vCPU, 16 GiB | $0.5731 | $0.000302 | $0 |
8 vCPU, 32 GiB | $1.1462 | $0.000302 | $0 | |
8 vCPU, 64 GiB | $1.5450 | $0.000302 | $0 | |
16 vCPU, 64 GiB | $2.2924 | $0.000302 | $0 | |
TiFlash | 8 vCPU, 64 GiB | $1.5450 | $0.000302 | $0 |
16 vCPU, 128 GiB | $3.0900 | $0.000302 | $0 |
Cost Calculate Example:
Cluster0 is located in the Oregon region (us-west-2) of AWS. It has two 8 vCPU, 16 GiB TiDB nodes, three 8 vCPU, 64 GiB TiKV nodes and 1024 GiB storage for each TiKV node.
- The total compute cost for Cluster0 (per hour) = TiDB compute cost * Node count + TiKV compute cost* Node count = $0.7820*2+$1.3708*3 = $5.6764
- The total storage cost for Cluster0 (per hour) =TiKV storage cost * Node count = ($0.000109 per GiB*1024 GiB +$0.014802)*3 = $0.379254
Data Backup Cost
TiDB Cloud provides automatic backup, manual backup, and log backup, which powered Point-in-time Restore. These backups consume cloud storage. TiDB Cloud will charge you based on the capacity of backups and how long you stored the backups per month.
Additionally, TiDB Cloud supports dual region backup, enabling you to copy backups across geographic regions within the cloud provider. It provides an extra layer of data protection and disaster recovery capabilities. TiDB Cloud will charge you for both storage usage and data transfer between regions. For example, if the size of a dual region backup is 10 GiB, we will charge 3 items:
- 10 GiB x Region 1 Dual Region Backup Storage Price
- 10 GiB x Region 2 Dual Region Backup Storage Price
- 10 GiB x Data Transfer Cost between Region 1 and Region 2
For the Data Transfer Cost, you can find them in the “Data Transfer – AWS Cross Region” or “Data Transfer – Google Cloud Cross Region” categories.
Billing Type | Price |
Single Region Backup Storage | $0.023/GB-month |
Dual Region Backup Storage | $0.10/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.023/GB-month |
Dual Region Backup Storage | $0.10/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.025/GB-month |
Dual Region Backup Storage | $0.109/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.025/GB-month |
Dual Region Backup Storage | $0.109/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.025/GB-month |
Dual Region Backup Storage | $0.109/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.0245/GB-month |
Dual Region Backup Storage | $0.1065/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.025/GB-month |
Dual Region Backup Storage | $0.109/GB-month |
Billing Type | Price |
Dual Region Backup Storage | $0.109/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.02/GB-month |
Dual Region Backup Storage | $0.0957/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.02/GB-month |
Dual Region Backup Storage | $0.0957/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.02/GB-month |
Dual Region Backup Storage | $0.0957/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.02/GB-month |
Dual Region Backup Storage | $0.0957/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.023/GB-month |
Dual Region Backup Storage | $0.11/GB-month |
Billing Type | Price |
Single Region Backup Storage | $0.023/GB-month |
Dual Region Backup Storage | $0.11/GB-month |
Data Transfer Cost
Both AWS and Google Cloud might charge for data transfer, calculated per GB, whenever data moves within or leaves its cloud. Examples of when these charges are incurred with TiDB Cloud include the following:
- When your application reads from TiDB Cloud database
- When data moves between the TiDB cluster load balancer and your cluster
- When data moves across different availability zones in the same region within your cluster
- When you perform cluster backup and recovery operations in or across regions
- When you use Data Migration to migrate data to your cluster
- When you use Changefeed to stream data to or from your cluster
- Cost of the load balancer
TiDB Cloud passes these charges onto customers as they are incurred, calculated using the published AWS and Google Cloud price tables as applicable, and without any additional fees.
This cost policy applies to all TiDB Cloud customers with TiDB Dedicated clusters, regardless of how those clusters are licensed.
To make these charges easier to view, your TiDB Cloud bills and invoices aggregate and organize all data transfer charges under the following categories:
- Data Transfer – AWS Same Region
- Data Transfer – AWS Cross Region
- Data Transfer – AWS Internet
- Data Transfer – AWS Load Balancing
- Data Transfer – Google Cloud Same Region
- Data Transfer – Google Cloud Cross Region
- Data Transfer – Google Cloud Internet
- Data Transfer – Google Cloud Load Balancing
Changefeed Cost
TiDB Cloud measures the capacity of changefeeds in TiCDC Replication Capacity Units (RCUs). When you create a changefeed, you can select an appropriate specification. The higher the RCU, the better the replication performance. And you will be charged for these TiCDC RCUs.
The following table lists the price of TiDB Cloud for each TiCDC RCUs:
RCU price ($/hr) | $0.1307 |
RCU price ($/hr) | $0.1307 |
RCU price ($/hr) | $0.1623 |
RCU price ($/hr) | $0.1588 |
RCU price ($/hr) | $0.1669 |
RCU price ($/hr) | $0.1564 |
RCU price ($/hr) | $0.1393 |
RCU price ($/hr) | $0.1452 |
RCU price ($/hr) | $0.1452 |
RCU price ($/hr) | $0.1746 |
RCU price ($/hr) | $0.1628 |
RCU price ($/hr) | $0.1868 |
Data Migration Cost
TiDB Cloud measures the capacity of Data Migration in Replication Capacity Units (RCUs). When you create a Data Migration job, you can select an appropriate specification. The higher the RCU, the better the migration performance. You will be charged for these Data Migration RCUs.
The following table lists the price of TiDB Cloud for each Data Migration RCU:
RCU price ($/hr) | $0.1307 |
RCU price ($/hr) | $0.1307 |
RCU price ($/hr) | $0.1623 |
RCU price ($/hr) | $0.1588 |
RCU price ($/hr) | $0.1669 |
RCU price ($/hr) | $0.1564 |
RCU price ($/hr) | $0.1452 |
RCU price ($/hr) | $0.1628 |
RCU price ($/hr) | $0.1868 |
RCU price ($/hr) | $0.1746 |
Database Import Cost
There are no additional charges for use of data import.
You will be charged by AWS or Google Cloud for the outgoing data transfer.
Recovery Group Cost
TiDB Cloud bills two items for recovery group:
- Recovery group service, charges based on the deployed size of your TiKV nodes in the primary cluster per replication pair (primary cluster -> secondary cluster). When you create a recovery group, the larger the TiKV configuration, the higher the cost for recovery group service. Each partial hour recovery group service consumed is billed as a full hour.
- Data processing, charges based on the amount of data processed per replication pair charges. The price varies depending on whether the data is replicated to a secondary cluster in another region, or within the same region.
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.03/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.096/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.09/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.10/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.03/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.10/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.108/GB |
Billing Type | Price |
Recovery Group Service | 35% TiKV Node Cost |
Same Region Data Processing | $0.02/GB |
Cross Region Data Processing | $0.03/GB |
TiDB Cloud Quick Start
This tutorial guides you through an easy way to get started with your TiDB Cloud.
Proof of Concept Guide
Proof of Concept (PoC) is the best way to run performance tests and evaluate workload efficiency on TiDB Cloud.