@felipe jimenez reinoso , Just checking if you had got a chance to see the previous response by Sedat. If the answer helped (pointed you in the right direction) > please click Accept Answer -benefits the community to find the right answers.
Since you have posted the question on Azure App Service, I presume you’re leveraging Azure App Service WebApp.
Just adding additional cost optimization techniques.
Cost Management gives you the tools to plan for, analyze and reduce your spending to maximize your cloud investment. This document provides you with a methodical approach to cost management and highlights the tools available to you as you address your organization's cost challenges
How to optimize your cloud investment with Cost Management
Cost Management works with Azure Advisor to provide cost optimization recommendations. Azure Advisor helps you optimize and improve efficiency by identifying idle and underutilized resources. This tutorial walks you through an example where you identify underutilized Azure resources and then you take action to reduce costs.
Tutorial: Optimize costs from recommendations
Specific to Azure App Service:
The App Service Plan (ASP) defines the number of VM instances the apps are scaled to, so each VM instance in the ASP is charged. These VM instances are charged the same regardless of how many apps are running on them.
If multiple apps are in the same ASP, they all share the same VM instances. If you have multiple deployment slots for an app, all deployment slots also run on the same VM instances. In a nutshell, the ASP is the scale unit of the App Service Apps. If the plan is configured to run 4 VM instances, then all apps in the plan run on all 4 instances.
Checkout the FAQs in this doc: How much does my App Service plan cost? and Should I put an app in a new plan or an existing plan? Azure App Service and cost optimization