Yandex Data Streams pricing policy
To estimate your service costs, see the pricing in this section.
The prices for service products are also available in the price list.
Note
Currency of Service rates (prices) depends on the company you made a contract with:
- Prices in US dollars are applicable to customers of Iron Hive doo Beograd (Serbia) or Direct Cursus Technology L.L.C. (Dubai).
- Prices in Russian roubles are applicable to customers of Yandex.Cloud LLC.
All prices below do not include VAT.
Data Streams supports two pricing models:
- 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 the performed read/write operations, the amount of read or written data, and the actual storage used for messages that are still within their retention period.
The pricing model is set individually for each data stream. By default, new Data Streams data streams use the provisioned capacity pricing model.
The size of a written data unit is 40 KB.
Provisioned capacity pricing model
In provisioned capacity mode, billing is based on allocated resources for data stream processing and the actually written data.
Pricing for provisioned resources is based on the allocated throughput limit per segment and storage configuration, i.e., size or retention period.
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 spend the free amount of services, you will be charged at the applicable rate. The unused balance of free services is reset at the end of the month.
Cost calculation examples
Let’s assume a single-shard stream receives two messages per second (50 KB each). The record retention period is 12 hours.
The cost of data processing per month (for a 31-day month) will be:
(50 / 40) = 2
Where:
- 50: Size of one message in KB.
- 40: Size of a unit of written data, in KB.
- 2: Number of units of written data 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 units of written data per message.
- 4: Number of units of written data per second.
4 × 60 × 60 × 24 × 31 = 10,713,600
Where:
- 4: Number of units of written data per second.
- 60 × 60 × 24 × 31: Number of seconds in the month.
- 10,713,600: Number of units of written data per month.
$0.0012 × 24 × 31 = $0.89
Where:
- $0.0012: Cost of allocated resources per hour when stored for 12 hours.
- 24: Number of hours to store data for.
- 31: Number of days in a month.
- $0.89: Cost of allocated resources per month with the maximum data write speed of 128 KB/s and the storage period of 24 hours, without VAT.
(10,713,600 - 2,000,000) / 1,000,000 × $0.0106 + $0.89 = $0.99
Where:
- 10,713,600: Number of units of written data per month.
- 2,000,000: Number of free units per month.
- $0.0106: Cost of 1,000,000 units of written data, without VAT.
- $0.89: Cost of allocated resources per month with the maximum data write speed of 128 KB/s and the storage period of 24 hours, without VAT.
Total: $0.99, without VAT.
Note
Yandex Cloud resources are priced differently in different regions. For more information about the available regions, see Regions.
Your payment currency is determined by your contracting legal entity. For more information on creating an account, see Registering an account in Yandex Cloud.
If the data storage time is one hour, 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 15 days. After that, you will be charged.
With extended storage, data is stored for up to 7 days.
The minimum storage size for the provided storage limit is 50 GB per segment.
On-demand pricing
To calculate the cost of requests in Yandex Data Streams, we use so-called request units (RU). Each executed request, depending on its type, complexity, and data size, consumes a certain number of RUs. The total cost of all executed requests to YDB is the sum of the RU costs for each request.
Below, you can find the rules for calculating the cost of requests to Yandex Data Streams in RUs:
With on-demand pricing:
-
Until February 19, 2026, data streams stored in serverless YDB databases are charged for based on the pricing policy YDB for the serverless mode. After February 20, 2026, pricing will be calculated according to the table below.
Service Price Billing unit Yandex Data Streams. Data operations, from 0 to 1 billing units per month Free 1 million RU Yandex Data Streams. Data operations, from 1 billing units per month $0.1924 1 million RU Yandex Data Streams. Data storage, from 0 to 720 billing units per month Free GB × hour Yandex Data Streams. Data storage, from 720 billing units per month $0.000267 GB × hour -
Data streams stored in dedicated YDB databases are not charged for separately. Instead, you only pay for a dedicated database (see the pricing policy for dedicated databases for details).