This topic describes the billable items and billing rules for AnalyticDB for PostgreSQL.
Notes
The prices in this topic are for reference only. For actual prices, see the purchase page on the console.
Coordinator node CU
Billing method | Pricing formula | Example |
pay-as-you-go | You are charged based on the specifications and usage duration of coordinator node CUs. Coordinator node CU cost = Unit price of a coordinator node CU × Usage duration Note
| For an AnalyticDB for PostgreSQL pay-as-you-go instance in the China (Beijing) region with 16 coordinator node CUs used for 1,500 hours, the coordinator node CU cost is calculated as follows: USD 4.166/hour × 1,500 hours = USD 6,249. |
subscription | For an AnalyticDB for PostgreSQL subscription instance in the China (Beijing) region with 16 coordinator node CUs and a subscription period of 2 months, the coordinator node CU cost is calculated as follows: USD 2,133.18/month × 2 months = USD 4,266.36. |
Computing resources
Elastic storage mode
Edition | Billing method | Pricing formula | Example |
High-performance (Basic) |
| You are charged based on the specifications and number of compute nodes, and the usage duration. Computing resources cost = Unit price per compute node × Number of compute nodes × Usage duration |
|
High-availability |
Serverless
Scheduling mode | Billing method | Pricing formula | Example |
Manual | pay-as-you-go | You are charged based on the specifications and number of compute nodes, and the usage duration. Computing resources cost = Unit price per compute node × Number of compute nodes × Usage duration | For a pay-as-you-go instance in the China (Beijing) region with four 2-core 8 GB compute nodes used for 2,000 hours, the computing resources cost is calculated as follows: USD 0.186/hour × 4 × 2,000 hours = USD 1,488. |
Serverless pro
Billing method | Pricing formula | Example |
pay-as-you-go | You are charged based on the number of compute nodes that you use and the usage duration. Computing resources cost = Unit price per compute node × Number of compute nodes × Usage duration | For a pay-as-you-go instance in the China (Beijing) region with 16 compute nodes used for 2,000 hours, the computing resources cost is calculated as follows: USD 0.053875/hour × 16 × 2,000 hours = USD 1,724. |
Supabase
Billing method | Pricing formula | Example |
| You are charged based on the computing resource specifications and usage duration. Computing resources cost = Unit price for the selected computing resources × Usage duration |
|
Storage resources
Elastic storage mode
Edition | Type | Billing method | Pricing formula | Example |
High-performance (Basic) | ESSD PL1 | The billing methods for storage resources are the same as those for computing resources. | You are charged based on the storage type, storage capacity per node, number of compute nodes, and usage duration. Storage resources cost = Storage unit price × Storage capacity per node × Number of compute nodes × Usage duration |
|
High-availability |
|
AnalyticDB for PostgreSQL supports tiered storage of hot and cold data. Cold data is stored in Object Storage Service (OSS) and also incurs storage costs. For more information, see Tiered storage of hot and cold data.
Serverless
Billing method | Pricing formula |
pay-as-you-go | You are charged based on the actual storage usage (including data and backups) and the usage duration. Storage resources cost = (Size of data + Size of backups) × Storage unit price × Usage duration |
Serverless pro
Billing method | Pricing formula | Example |
pay-as-you-go | You are charged based on the actual storage usage (including data and OSS data) and the usage duration. Storage resources cost = (Size of data + Size of OSS data) × Storage unit price × Usage duration | For a pay-as-you-go instance in the China (Beijing) region with 64 GB of data in serverless cache and 64 GB of OSS data, stored for 100 hours, the storage resources cost is calculated as follows: (64 + 64) GB × USD 0.0003125/GB/hour × 100 hours = USD 4. |
Supabase
ESSD storage resources
Edition
Type
Billing method
Pricing formula
Example
High-performance (Basic)
ESSD PL0
ESSD PL1
ESSD PL2
ESSD PL3
pay-as-you-go
subscription
You are charged based on the storage type, storage capacity, and usage duration.
Storage resources cost = Storage unit price × Storage capacity × Usage duration
pay-as-you-go
For a Supabase project in the China (Beijing) region that uses ESSD PL0 with 100 GB of storage for 2,000 hours, the cost is calculated as follows: USD 0.000151/GB/hour × 100 GB × 2,000 hours = USD 30.20.
subscription
For a Supabase project in the China (Beijing) region that uses ESSD PL0 with 100 GB of storage and a subscription period of 3 months, the cost is calculated as follows: USD 0.0765/GB/month × 100 GB × 3 months = USD 22.95.
OSS cold storage resources
You are charged for the OSS capacity you use. Formula: OSS cold storage cost = Unit price of OSS × Used capacity × Usage duration.
Example:
For a Supabase project in the China (Beijing) region that uses 100 GB of OSS cold storage for 2,000 hours, the cost is calculated as follows: USD 0.00002415/GB/hour × 100 GB × 2,000 hours = USD 4.83.
RAG service
The RAG service is an OpenAPI service provided by AnalyticDB for PostgreSQL to supplement general-purpose large language models (LLMs) in AIGC scenarios. When you call the Embedding and Rerank models, you are charged based on the number of tokens. The API response includes the number of tokens.
Billing method | Pricing formula | Example |
pay-as-you-go | You are charged based on the number of tokens. RAG service cost = Number of tokens × Unit price per token | For an instance in elastic storage mode in the China (Beijing) region with vector engine optimization enabled, if you call the Rerank API and use the bge-reranker-v2-m3 model, and the response returns 2,000 tokens, the RAG service cost is calculated as follows: USD 0.00131575 per 1,000 tokens × (2,000 / 1,000) = USD 0.0026315. |