Yandex Data Streams pricing policy
To calculate the cost of using the service, see the prices in this section.
Data Streams supports two pricing modes:
- Based on allocated resources: You pay a fixed hourly rate for the established throughput limit and message retention period and additionally for the number of units of actually written data.
- On-demand: You pay for data writes and reads performed, the amount of data read/written, and the size of storage actually used for messages with a valid retention period.
The pricing mode is set for each data stream individually. By default, streams in Data Streams are created with pricing based on allocated resources.
Pricing based on allocated resources
If pricing for allocated resources is used, the number of units of written data and resources allocated for streaming data are billed.
Pricing for the allocated resources includes the established segment throughput limit as well as storage time and size.
You get the first 744 hours of data storage and data stream maintenance with the following characteristics at no charge every month:
- Segment write speed: no more than 128 KBps.
- Message retention period: 1 hour.
- Number of data units written per month: no more than 2 million.
After you've used up your free service amounts, you will be charged at the applicable rate. The unused balance of free services is reset at the end of the month.
Examples of cost calculation
A single-shard stream receives two 50 KB messages per second. The message retention period is 12 hours.
Data processing cost per month (for a 31-day month):
(50 / 40) = 2
Where:
- 50: Size of one message in KB.
- 40: Size of units of written data in KB.
- 2: Number of data units written per message.
While calculating the cost, the number of units of written data is rounded up to an integer. In this example, the number is rounded to 2.
2 × 2 = 4
Where:
- 2: Number of messages per second.
- 2: Number of data units written per message.
- 4: Number of data units written per second.
4 × 60 × 60 × 24 × 31 = 10,713,600
Where:
- 4: Number of data units written per second.
- 60 × 60 × 24 × 31: Number of seconds in the month.
- 10,713,600: Number of data units written per month.
₽0.1333 × 24 × 31 = ₽99.1752
Where:
- ₽0.1333: Cost of allocated resources per hour when stored for 12 hours.
- 24: Number of data storage hours.
- 31: Number of days in a month.
- ₽99.1752: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, including VAT.
(10,713,600 - 2,000,000) / 1,000,000 × ₽1.18 + ₽99.1752 = ₽109.4572
Where:
- 10,713,600: Number of data units written per month.
- 2,000,000: Number of free units per month.
- ₽1.18: Cost of 1 million units of written data, including VAT.
- ₽99.1752: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, including VAT.
Total: ₽109.4572, including VAT.
(50 / 40) = 2
Where:
- 50: Size of one message in KB.
- 40: Size of units of written data in KB.
- 2: Number of data units written per message.
While calculating the cost, the number of units of written data is rounded up to an integer. In this example, the number is rounded to 2.
2 × 2 = 4
Where:
- 2: Number of messages per second.
- 2: Number of data units written per message.
- 4: Number of data units written per second.
4 × 60 × 60 × 24 × 31 = 10,713,600
Where:
- 4: Number of data units written per second.
- 60 × 60 × 24 × 31: Number of seconds in the month.
- 10,713,600: Number of data units written per month.
₸0.80 × 24 × 31 = ₸595.20
Where:
- ₸0.80: Cost of allocated resources per hour when stored for 12 hours.
- 24: Number of data storage hours.
- 31: Number of days in a month.
- ₸595.20: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, including VAT.
(10,713,600 - 2,000,000) / 1,000,000 × ₸7.08 + ₸595.20 = ₸656.8923
Where:
- 10,713,600: Number of data units written per month.
- 2,000,000: Number of free units per month.
- ₸7.08: Cost of 1 million units of written data, including VAT.
- ₸595.20: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, including VAT.
Total: ₸656.8923, including VAT.
Prices for the Russia region
Warning
Prices for Yandex Cloud resources vary from region to region. For more information about the available regions, see Regions.
The currency that can be used to pay for resources depends on which legal entity the user has entered into agreement with. For more information about account registration, see Registering an account in Yandex Cloud.
Price per unit of written data
The first 2,000,000 units of written data per month are free of charge.
Unit size | Cost per million units, including VAT |
---|---|
40 KB | ₽1.18 |
Unit size | Cost per million units, including VAT |
---|---|
40 KB | ₸5.90 |
Price of allocated resources
Pricing based on storage time
The price is specified for one hour of using allocated resources:
Data storage with throughput limit per segment of up to 128 KB/s
Data retention period | Cost, including VAT |
---|---|
1 hour, the first 744 hours of use per month | Free |
1 hour, over 744 hours of use per month* | ₽0.10 |
4 hours | ₽0.1167 |
12 hours | ₽0.1333 |
24 hours | ₽0.20 |
* The time of resource usage by multiple streams is summed up. For example, if two streams are running 24/7 during a month, the time of resource usage will be 2 × 24 × 30 = 1.440 hours. The first 744 hours are free of charge. They will be used up by the two streams in half a month. After that, you will start to be charged for the service.
Data retention period | Cost, including VAT |
---|---|
1 hour, the first 744 hours of use per month | Free |
1 hour, over 744 hours of use per month* | ₸0.50 |
4 hours | ₸0.5833 |
12 hours | ₸0.6667 |
24 hours | ₸1.00 |
* The time of resource usage by multiple streams is summed up. For example, if two streams are running 24/7 during a month, the time of resource usage will be 2 × 24 × 30 = 1.440 hours. The first 744 hours are free of charge. They will be used up by the two streams in half a month. After that, you will start to be charged for the service.
Data storage with throughput limit per segment of up to 512 KB/s
Data retention period | Cost, including VAT |
---|---|
1 hour | Not provided |
4 hours | ₽0.2667 |
12 hours | ₽0.40 |
24 hours | ₽0.60 |
Data retention period | Cost, including VAT |
---|---|
1 hour | Not provided |
4 hours | ₸1.3333 |
12 hours | ₸2.00 |
24 hours | ₸3.00 |
Data storage with throughput limit per segment of up to 1 MB/s
Data retention period | Cost, including VAT |
---|---|
1 hour | Not provided |
4 hours | ₽0.4333 |
12 hours | ₽0.6333 |
24 hours | ₽0.9333 |
Data retention period | Cost, including VAT |
---|---|
1 hour | Not provided |
4 hours | ₸2.1667 |
12 hours | ₸3.1667 |
24 hours | ₸4.6667 |
Pricing based on storage size
Data is stored for up to 7 days.
Data write price
Segment throughput limit | Cost, including VAT |
---|---|
Up to 128 KB/s | ₽48.00 |
Up to 512 KB/s | ₽144.00 |
Up to 1 MB/s | ₽240.00 |
Segment throughput limit | Cost, including VAT |
---|---|
Up to 128 KB/s | ₸240.00 |
Up to 512 KB/s | ₸720.00 |
Up to 1 MB/s | ₸1200.00 |
Data storage price
Storage size | Cost, including VAT |
---|---|
1 GB | ₽10.80 |
Minimum storage size: 50 GB per segment.
Storage size | Cost, including VAT |
---|---|
1 GB | ₸54.00 |
Minimum storage size: 50 GB per segment.
Pricing based on actual usage
If pricing based on the actual usage is used:
-
Data streams stored in YDB serverless databases are charged for based on the pricing policy for YDB serverless mode.
-
Data streams stored in YDB dedicated databases are not charged for separately (you only pay for a dedicated database, see the pricing policy for dedicated databases).