Another great way to create, deploy, and monetize your function as an API is by using www.byvalue.org . There you can easily create micro services from any set of functions, including ML models. Hope you check it out :)