Both your examples require Internet access so there's no reason not to use cloud-hosted model which would work magnitudes better.