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.
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 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.001200 × 24 × 31 = $0.892800
Where:
- $0.001200: Cost of allocated resources per hour when stored for 12 hours.
- 24: Number of data storage hours.
- 31: Number of days in a month.
- $0.892800: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, without VAT.
(10,713,600 - 2,000,000) / 1,000,000 × $0.010620 + $0.892800 = $0.985338
Where:
- 10,713,600: Number of data units written per month.
- 2,000,000: Number of free units per month.
- $0.010620: Cost of 1 million units of written data, without VAT.
- $0.892800: Cost of allocated resources per month with a maximum data write speed of 128 KB/s and a storage period of 24 hours, without VAT.
Total: $0.985338, 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.
Price per write unit
The first 2,000,000 units of written data per month are free of charge.
| Unit size | Price per million units, without VAT |
|---|---|
| 40 KB | $0.010620 |
Provisioned resource pricing
Retention-based pricing
The price is specified per 1 hour of provisioned resource usage:
Storage pricing with a segment throughput limit up to 1 MB/s
| Data retention period |
Price of storing data with a throughput limit per shard of 128 KB/s, without VAT |
Price of storing data with a throughput limit per shard of 512 KB/s, without VAT |
Price of storing data with a throughput limit per shard of 1 MB/s, without VAT |
|---|---|---|---|
| 1 hour, the first 744 hours of use per month | Free | Not provided | Not provided |
| 1 hour, over 744 hours of use per month* | $0.000900 | Not provided | Not provided |
| 4 hours | $0.001050 | $0.002400 | $0.003900 |
| 12 hours | $0.001200 | $0.003600 | $0.005700 |
| 24 hours | $0.001800 | $0.005400 | $0.008400 |
* 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.
Storage volume-based pricing
Data is retained for up to 7 days.
Data write price:
| Segment throughput limit | Price, without VAT |
|---|---|
| Up to 128 KB/s | $0.432000 |
| Up to 512 KB/s | $1.295999 |
| Up to 1 MB/s | $2.159999 |
Data storage price:
| Storage size | Price, without VAT |
|---|---|
| 1 GB | $0.097200 |
Minimum storage size: 50 GB per segment.
On-demand pricing
With on-demand pricing:
-
Data streams stored in YDB serverless databases are charged for based on the pricing policy YDB for the serverless mode.
-
Data streams stored in YDB dedicated databases are not charged for separately. Instead, you only pay for a dedicated database (see the pricing policy for dedicated databases for details).