Hi @sakuraime
The logic app is billed for runs the triggers, action, and connector executions whereas the Azure Functions consumption plan is billed based on per-second resource consumption and executions. The pricing will be varied according to the business logic/workflow
I will suggest using the pricing calculator to compare what would be cheaper between the two for your business. But if you have high resource utilization then the function will be cheaper than a logic app.
In azure function consumption plan pricing includes a monthly free grant (*Free grants apply to paid, consumption subscriptions only.) In that scenario, you can leverage function rather than the logic app if it is under the free limit.
I will also suggest reviewing the serverless comparison.
App Pricing: https://azure.microsoft.com/en-us/pricing/details/logic-apps/
Function App Pricing: https://azure.microsoft.com/en-us/pricing/details/functions/
Azure Pricing Calculator: https://azure.microsoft.com/en-in/pricing/calculator/