Free-tier serverless ecosystem usage
Special rates are applicable to services within the serverless computing ecosystem that include certain quantities of services at no extra charge. These are selected to enable you to develop and launch a small service, website, or application.
Free tier applies to the following services:
- Yandex API Gateway
- Yandex Cloud Functions
- Yandex Managed Service for YDB
- Yandex Object Storage
- Yandex Message Queue
- Yandex IoT Core
- Yandex Virtual Private Cloud
- Yandex Data Streams
- Yandex Serverless Containers
Yandex API Gateway
Yandex API Gateway is a service for managing API gateways that supports OpenAPI Specification 3.0
The first 100000 requests to API gateways each month are not charged.
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.
Yandex Cloud Functions
The Yandex Cloud Functions service allows you to run your applications in a secure, fault-tolerant, and scalable environment without creating or maintaining VMs.
The following initial amounts are offered free of charge each month:
- 1000000 function invocations.
- 10 GB×hour of function execution.
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.
Yandex Managed Service for YDB serverless mode
With Yandex Managed Service for YDB, you can deploy and maintain YDB databases in the Yandex Cloud infrastructure.
The following initial amounts are offered free of charge each month:
- 1000000 operations (in Request Units).
- 1 GB/month of data storage.
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.
Yandex Object Storage
Yandex Object Storage is a universal scalable solution for data storage. It is the perfect choice both for high-load services that require reliable and fast access to data, and for projects with minimal requirements for storage infrastructure.
Standard storage resources are provided free of charge every month:
- First 1 GB of storage per month
- First 10,000 PUT, POST, PATCH, and LIST operations
- First 100,000 GET, HEAD, and OPTIONS operations
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.
Yandex Message Queue
Yandex Message Queue is a universal, scalable solution to enable messaging between applications. You can use popular tools to work with the service: the service API is compatible with the Amazon SQS API.
The first 100000 queue requests are free of charge every month.
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.
Yandex IoT Core
Yandex IoT Core is a cloud-based fault-tolerant MQTT server that ensures secure two-way communication between devices and local or cloud resources.
The first 100000 messages each month are free of charge.
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.
Yandex Virtual Private Cloud
Yandex Virtual Private Cloud is used for managing cloud networks and enabling cloud resource connections to each other and to the internet.
The first 100 GB of outgoing traffic are provided free of charge every month.
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.
Yandex Data Streams
Yandex Data Streams is a scalable service that allows you to manage data streams in real time. Data Streams continuously collects data from various sources, including web browsing history and application and system logs. The service API is compatible with the Amazon Kinesis Data Streams API.
Data stream services with the following properties are provided free of charge each 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.
Yandex Serverless Containers
Yandex Serverless Containers allows you to run containerized applications in a secure, fault-tolerant, and scalable environment without creating or maintaining VMs.
The following is offered at no extra charge each month:
- The first 1000000 container invocations.
- The first 10 GBxhour of RAM usage when processing requests.
- The first 5 vCPU×hour of RAM usage when processing requests.
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.
Examples of cost calculations with free tier
Usage cost is calculated based on the pricing plans of the relevant service and does not include the amount of services provided for free. Here is an example:
Calculation of function usage cost
Example of calculating the cost of a function that has:
- Memory specified when creating the version: 512 MB
- Number of function calls: 10,000,000
- Execution time of each call: 800 ms
Function cost calculation:
0.043760 × ((512 / 1,024) × (800 / 3,600 / 1,000) × 10,000,000 – 10) + 0.128000 × ((10,000,000 – 1,000,000) / 1,000,000)
Total: $49.336622
Where:
- 0.043760 is the price for 1 GB×hour.
- 512 / 1,024 converts MB to GB, as execution time is calculated in GB×hour.
- 800 / 3,600 / 1,000 converts milliseconds to hours, as execution time is calculated in GB×hour.
- 10,000,000 is the number of function calls.
- 10 is subtracted because the first 10 GB×hour are free.
- 0.128000 is the price per 1 million function calls.
- 10,000,000 is the number of function calls.
- 1,000,000 is subtracted because the first million invocations are free of charge.
- 1,000,000 is the divisor used to calculate the number of millions of function calls.
Calculation of API gateway usage cost
Let's assume, you created an API gateway that processed 10,000,000 requests over HTTPS.
The cost of this API gateway will be:
0.96 × ((10,000,000 – 100,000) / 1,000,000) = $9.504
Where:
- 0.96: Price per 1 million API gateway calls.
- 10,000,000: Number of requests over HTTPS.
- 100,000 is subtracted because the first one hundred thousand calls are free of charge.
- 1,000,000 is the divisor used to calculate the number of millions of requests over HTTPS.
Calculation of Yandex IoT Core usage cost
Calculation of the cost of usage for Yandex IoT Core if during a month:
- 2,000,000 commands were sent.
- The size of each command was 1,500 B.
(1,500 / 1,024) × 2,000,000
4,000,000 messages were sent in total.
According to the pricing policy:
- 100,000 messages are free of charge.
- 900,000 messages are rated at $0.923076 per million messages.
- 3,000,000 messages are rated at $0.833333 per million messages.
The cost is calculated as follows:
900,000/1,000,000 × $0.923076 + 3,000,000/1,000,000 × $0.833333
Total: $3.330767