Netlify performance with NextJs APi

I have an Api built with NextJs, which will compute things at server. It is working with dynamic data, is it advisable to host this Api in Netlify. if yes, what type of computation can be handled by Netlify. Is Netlify support moderate to high computational work.

API should be able to do whatever Netlify Functions aere capable of doing: Functions overview | Netlify Docs