This topic describes the pricing details for AnalyticDB for PostgreSQL.
Billing methods
AnalyticDB for PostgreSQL provides two billing methods:
Pay-as-you-go: With this billing method, you are billed hourly for the resources that you use. This method is suitable for short-term needs. You can release instances at any time to save costs.
Subscription: With this billing method, you pay upfront when you create an instance. This method is suitable for long-term needs and is more cost-effective than the pay-as-you-go method.
Elastic Storage Mode
Elastic Storage Mode is an edition of AnalyticDB for PostgreSQL that was commercially released in 2020. This edition uses a dedicated mode that integrates storage and computing, supports elastic scaling, and provides a wide range of specifications. It is available in two instance series: High-availability and High-performance (Basic Edition). These series differ in compute specifications and the number of storage replicas. The fees for Elastic Storage Mode consist of four components: Master resource fees, computing resource fees, storage resource fees, and retrieval-augmented generation (RAG) Service fees.
Master resources
In AnalyticDB for PostgreSQL, master nodes are responsible for tasks such as accepting business requests, query optimization, task distribution, metadata management, and transaction management. The master nodes of AnalyticDB for PostgreSQL are measured in Master Compute Units (MCUs). Various specifications are available.
Before January 1, 2024, Master resources are free of charge.
Starting from January 1, 2024, Master resources with specifications of 8 CU or less are free. Master resources with specifications of 16 CU or higher are billable.
The prices of Master resources are subject to the prices on the buy page and in your bill.
Computing resources
The prices of computing resources are subject to the prices on the buy page and in your bill.
Storage resources
Elastic Storage Mode for AnalyticDB for PostgreSQL provides two disk storage classes :
Enterprise SSD (ESSD) (Recommended): Suitable for High-availability and High-performance (Basic Edition) series.
Ultra disk: Suitable for the High-availability series.
The High-availability series uses a dual-replica architecture. Therefore, the price per GB for ESSDs is twice that of the High-performance (Basic Edition) series.
The High-performance (Basic Edition) series uses a single-replica architecture. The underlying storage medium provides high reliability with a triplicate mechanism.
You can no longer purchase new instances that use ultra disks. Existing instances are not affected.
The prices of different disk storage classes vary. The actual price is subject to the price on the buy page and in your bill.
For pay-as-you-go Elastic Storage Mode instances of AnalyticDB for PostgreSQL, the Configuration Fee on the buy page includes the disk storage fee for only one compute node. The actual disk storage fee is charged based on the number of compute nodes in the instance.
RAG Service
The RAG Service for AnalyticDB for PostgreSQL is an innovative AI service. It combines retrieval and generation technologies to provide you with a more precise, flexible, and high-quality end-to-end RAG experience. Fees are incurred when you call the RAG Service. The following tables provide the pricing details.
Model category | Model name | USD/1,000 tokens |
Embedding | text2vec | 0.00248128189231723 |
text-embedding-v1 | 0.000994837476099427 | |
text-embedding-v2 | 0.000994837476099427 | |
text-embedding-v3 | 0.000994837476099427 | |
m3e-small | 0.000239493670886076 | |
m3e-base | 0.001253987 | |
Rerank | bge-reranker-v2-minicpm-layerwise | 0.00814631831023507 |
bge-reranker-v2-m3 | 0.00131577727293801 |
Model category | Model name | USD/1,000 images |
Embedding (Image) | multimodal-embedding-one-peace-v1 | 0 |
clip-vit-b-16 | 0.8447965828 | |
clip-vit-b-32 | 0.8447965828 | |
clip-vit-l-14 | 0.8447965828 | |
clip-vit-l-14-336px | 0.8447965828 | |
clip-rn50 | 0.8447965828 | |
clip-rn50x4 | 0.8447965828 | |
clip-rn50x16 | 0.8447965828 | |
clip-rn50x64 | 0.8447965828 |
Serverless
Serverless is an edition of AnalyticDB for PostgreSQL that was commercially released on February 1, 2022. This edition is fully cloud-native. It supports pay-as-you-go storage without pre-provisioning. It also supports scaling in seconds, which lets you flexibly adjust computing resources based on your business needs. It provides hardware cache acceleration. The fees for Serverless instances consist of three components: Master resource fees, computing resource fees, and storage resource fees.
Master resources
In AnalyticDB for PostgreSQL, master nodes are responsible for tasks such as accepting business requests, query optimization, task distribution, metadata management, and transaction management. The master nodes of AnalyticDB for PostgreSQL are measured in Master Compute Units (MCUs). Various specifications are available.
Before January 1, 2024, Master resources are free of charge.
Starting from January 1, 2024, Master resources with specifications of 8 CU or less are free. Master resources with specifications of 16 CU or higher are billable.
The prices of Master resources are subject to the prices on the buy page and in your bill.
Computing resources
Manual scheduling mode
The prices for subscription and pay-as-you-go instances are subject to the prices on the buy page and in your bill.
Storage resources
For Serverless instances, disk storage fees are billed on a pay-as-you-go basis. You are charged for the storage that you use and do not need to purchase storage space in advance.
The actual price is subject to the price on the buy page and in your bill.
Serverless Pro
Serverless Pro is an edition of AnalyticDB for PostgreSQL that will be commercially released in June 2025 to replace Serverless. This edition is fully cloud-native. It supports pay-as-you-go storage without pre-provisioning. It also supports scaling in seconds, which lets you flexibly adjust computing resources based on your business needs. It provides hardware cache acceleration. The fees for Serverless Pro consist of three components: Master resource fees, computing resource fees, and storage resource fees.
Master resources
In AnalyticDB for PostgreSQL, master nodes are responsible for tasks such as accepting business requests, query optimization, task distribution, metadata management, and transaction management. The master nodes of AnalyticDB for PostgreSQL are measured in Master Compute Units (MCUs). Various specifications are available.
Before January 1, 2024, Master resources are free of charge.
Starting from January 1, 2024, Master resources with specifications of 8 CU or less are free. Master resources with specifications of 16 CU or higher are billable.
The prices of Master resources are subject to the prices on the buy page and in your bill.
Computing resources
The computing resources for Serverless Pro are billed on a pay-as-you-go basis. You are charged for the resources that you use and do not need to purchase computing resources in advance.
The prices of computing resources are subject to the prices on the buy page and in your bill.
Storage resources
The disk storage fees for the cache space of Serverless Pro are billed on a pay-as-you-go basis. You are charged for the storage that you use and do not need to purchase storage space in advance.
The actual price is subject to the price on the buy page and in your bill.
Supabase
Computing resources
Compute node specifications | Region | Subscription (USD/Month) | Pay-as-you-go (USD/Hour) |
2C2G |
| 6.838 | 0.01424583333 |
China (Hong Kong) | 15.054 | 0.0313625 | |
Indonesia (Jakarta) | 13.585 | 0.02830208333 | |
Malaysia (Kuala Lumpur) | 12.909 | 0.02689375 | |
Singapore | 13.585 | 0.02830208333 | |
South Korea (Seoul) | 13.585 | 0.02830208333 | |
Japan (Tokyo) | 15.223 | 0.03171458333 | |
2C4G |
| 25.779 | 0.05370625 |
China (Hong Kong) | 45.786 | 0.0953875 | |
Indonesia (Jakarta) | 50.518 | 0.1052458333 | |
Malaysia (Kuala Lumpur) | 48.971 | 0.1020229167 | |
Singapore | 48.971 | 0.1020229167 | |
South Korea (Seoul) | 45.786 | 0.0953875 | |
Japan (Tokyo) | 45.786 | 0.0953875 | |
2C8G |
| 39.228 | 0.081725 |
China (Hong Kong) | 57.852 | 0.120525 | |
Indonesia (Jakarta) | 57.852 | 0.120525 | |
Malaysia (Kuala Lumpur) | 57.852 | 0.120525 | |
Singapore | 57.852 | 0.120525 | |
South Korea (Seoul) | 60.828 | 0.126725 | |
Japan (Tokyo) | 57.852 | 0.120525 | |
4C16G |
| 78.456 | 0.16345 |
China (Hong Kong) | 115.704 | 0.24105 | |
Indonesia (Jakarta) | 115.704 | 0.24105 | |
Malaysia (Kuala Lumpur) | 115.704 | 0.24105 | |
Singapore | 115.704 | 0.24105 | |
South Korea (Seoul) | 121.656 | 0.25345 | |
Japan (Tokyo) | 121.656 | 0.25345 | |
8C32G |
| 156.912 | 0.3269 |
China (Hong Kong) | 231.408 | 0.4821 | |
Indonesia (Jakarta) | 231.408 | 0.4821 | |
Malaysia (Kuala Lumpur) | 231.408 | 0.4821 | |
Singapore | 231.408 | 0.4821 | |
South Korea (Seoul) | 243.312 | 0.5069 | |
Japan (Tokyo) | 243.312 | 0.5069 | |
16C64G |
| 313.824 | 0.6538 |
China (Hong Kong) | 462.816 | 0.9642 | |
Indonesia (Jakarta) | 462.816 | 0.9642 | |
Malaysia (Kuala Lumpur) | 462.816 | 0.9642 | |
Singapore | 462.816 | 0.9642 | |
South Korea (Seoul) | 486.624 | 1.0138 | |
Japan (Tokyo) | 486.624 | 1.0138 | |
32C128G |
| 627.648 | 1.3076 |
China (Hong Kong) | 925.632 | 1.9284 | |
Indonesia (Jakarta) | 925.632 | 1.9284 | |
Malaysia (Kuala Lumpur) | 925.632 | 1.9284 | |
Singapore | 925.632 | 1.9284 | |
South Korea (Seoul) | 973.248 | 2.0276 | |
Japan (Tokyo) | 973.248 | 2.0276 | |
64C256G |
| 1255.296 | 2.6152 |
China (Hong Kong) | 1851.264 | 3.8568 | |
Indonesia (Jakarta) | 1851.264 | 3.8568 | |
Malaysia (Kuala Lumpur) | 1851.264 | 3.8568 | |
Singapore | 1851.264 | 3.8568 | |
South Korea (Seoul) | 1946.496 | 4.0552 | |
Japan (Tokyo) | 1946.496 | 4.0552 |
Storage resources
Disk storage class | Subscription (USD/GB/Month) | Pay-as-you-go (USD/GB/Hour) | Minimum capacity (GB) |
ESSD PL0 | 0.0765 | 0.000150966174 | 10 |
ESSD PL1 | 0.153 | 0.000301932362 | 20 |
ESSD PL2 | 0.306 | 0.000603864725 | 470 |
ESSD PL3 | 0.612 | 0.001207729449 | 1270 |
Cold storage resource price
Region | Pay-as-you-go (USD/GB/Hour) |
| 0.000024155072 |
China (Hong Kong) | 0.000024155072 |
Indonesia (Jakarta) | 0.000026168116 |
Malaysia (Kuala Lumpur) | 0.000026168116 |
Singapore | 0.000026168116 |
South Korea (Seoul) | 0.000028582609 |
Japan (Tokyo) | 0.000028582609 |